This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2006 04:58:44 -0000
- Subject: [Bug c++/28148] [4.0/4.1/4.2 Regression] ICE with pointer to member function initializer and cast to a different type
- References: <bug-28148-12429@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-08-04 04:58 -------
Subject: Bug 28148
Author: mmitchel
Date: Fri Aug 4 04:58:36 2006
New Revision: 115919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115919
Log:
PR c++/28148
* varasm.c (output_constant): Give the front end another chance to
expand constants, after stripping NOPs.
PR c++/28148
* g++.dg/init/ptrmem3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/init/ptrmem3.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28148