This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26577] New: [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2006 08:06:20 -0000
- Subject: [Bug c++/26577] New: [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
As reported here:
http://gcc.gnu.org/ml/gcc-bugs/2006-03/msg00589.html
Confirmed. Fails since GCC 4.0.0.
However, this has nothing to do with templates or inline asm as the
reduced testcase shows:
==================================
struct A
{
A(const A&);
A& operator=(const A&);
static void bar();
void foo() volatile {}
void baz() volatile;
};
void A::baz() volatile
{
foo();
bar();
}
==================================
--
Summary: [4.0/4.1/4.2 regression] ICE in cp_expr_size with
volatile
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577