c/7490: gcc dumps core when trying to compile the attached code.
Reichelt
reichelt@igpm.rwth-aachen.de
Thu Aug 8 07:35:00 GMT 2002
The following reply was made to PR c/7490; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, keithr@keithr.org, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Cc:
Subject: Re: c/7490: gcc dumps core when trying to compile the attached code.
Date: Thu, 8 Aug 2002 16:49:16 +0200
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
More information about the Gcc-prs
mailing list