[Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 27 21:45:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12795
Summary: [3.4 regression] ICE with attribute __alias__
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
Mainline's c++ frontend crashes with the following code snippet
(which is the same as in PR12794 ans PR 7490):
============================================================
void foo()
{
extern void bar () __attribute__ ((__alias__ ("BAR")));
bar ();
}
============================================================
Compiled with "g++ -c" I get:
PR7490.cc: In function `void foo()':
PR7490.cc:8: internal compiler error: tree check: expected namespace_decl, have
function_decl in namespace_binding, at cp/name-lookup.c:2848
Please submit a full bug report, [etc.]
According to Phil's regression hunter the regression appeared
between 2003-03-23-trunk (#253) and 2003-03-30-trunk (#254).
More information about the Gcc-bugs
mailing list