This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-20000110 and 17 crash: -O -ggdb3, inline function redefined as out of line
- To: gcc-bugs at gcc dot gnu dot org
- Subject: egcs-20000110 and 17 crash: -O -ggdb3, inline function redefined as out of line
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Tue, 18 Jan 2000 22:48:10 -0300
i686, RedHat 6.1, binutils-2.9.0.22 for building egcs-2000010 and 17
The following crashes gcc -O -ggdb3 with:
tst.c: In function `odd':
tst.c:18: Internal compiler error in `add_abstract_origin_attribute', at dwarf2out.c:7523
extern __inline__ int
odd(int i)
{
return i & 0x1;
}
int
foo(int i, int j)
{
return odd(i + j);
}
int
odd(int i)
{
return i & 0x1;
}
Both egcs-1.1.2-24 (RedHat 6.1) and gcc-2.95.2 work fine.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile +56 32 672616