re PR c++/9373 (ICE with -fstrict-aliasing in set_mem_alias_set, at emit-rtl.c:1932)
authorMark Mitchell <mark@codesourcery.com>
Mon, 10 Mar 2003 07:26:34 +0000 (07:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 10 Mar 2003 07:26:34 +0000 (07:26 +0000)
commit1d719415f50716bb93edfafb789ee8d2fcf38bd1
treea26c21de35f0a5274aeeaf713351a5bc07a214a1
parentf5d9895a069ebee45e9f656c7083bbc5d671baf0
re PR c++/9373 (ICE with -fstrict-aliasing in set_mem_alias_set, at emit-rtl.c:1932)

PR c++/9373
* g++.dg/opt/ptrmem2.C: New test.

PR c++/9373
* cp-lang.c (cxx_get_alias_set): Use alias set zero for
pointers to member functions.

From-SVN: r64070
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/ptrmem2.C [new file with mode: 0644]