This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/7490: gcc dumps core when trying to compile the attached code.
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, keithr at keithr dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 16:49:16 +0200
- Subject: Re: c/7490: gcc dumps core when trying to compile the attached code.
Hi,
the problem can be reduced to the following code snippet:
------------------------snip here-----------------------------
void foo()
{
extern void bar () __attribute__ ((__alias__ ("BAR")));
bar ();
}
------------------------snip here-----------------------------
It crashes with gcc 3.0.x and 3.1.1, but compiles well using
gcc 2.95.2 or 3.1 (checked on i686-pc-linux-gnu and mips-sgi-irix6.5).
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7490