This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26577] [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile and call to static
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2006 21:25:30 -0000
- Subject: [Bug c++/26577] [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile and call to static
- References: <bug-26577-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from jason at gcc dot gnu dot org 2006-06-30 21:25 -------
Subject: Bug 26577
Author: jason
Date: Fri Jun 30 21:25:21 2006
New Revision: 115107
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115107
Log:
PR c++/26577
* call.c (build_new_method_call): Force evaluation of the
instance pointer, not the object.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/init/volatile1.C
- copied unchanged from r115105,
trunk/gcc/testsuite/g++.dg/init/volatile1.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/call.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577