re PR c++/19916 (Segmentation fault in __static_initialization_and_destruction_0)
authorMark Mitchell <mark@codesourcery.com>
Wed, 2 Mar 2005 17:13:09 +0000 (17:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 2 Mar 2005 17:13:09 +0000 (17:13 +0000)
commit9560cbde527ea02aff5e5e8cb54bc605c000690e
tree80fbf71bf5886e6e3f2c8d0c427f13ed3863b027
parentbf95bc65e075027af69946f8536930132a8f7520
re PR c++/19916 (Segmentation fault in __static_initialization_and_destruction_0)

PR c++/19916
* varasm.c (initializer_constant_valid_p): Allow conversions
between OFFSET_TYPEs.  Tidy.

PR c++/19916
* g++.dg/init/ptrmem2.C: New test.

From-SVN: r95787
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/ptrmem2.C [new file with mode: 0644]
gcc/varasm.c