[Bug bootstrap/17099] New: Bootstrap failure on powerpc64-redhat-linux
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 19 12:43:00 GMT 2004
GCC 3.5.0 20040818 fails to bootstrap on powerpc64-redhat-linux
(no matter if starting bootstrap from GCC 3.4.1 or 3.3.4), there are lost of
comparison failures, apparently in .debug_info sections.
So far I have tracked it down to a miscompilation of modified_type_die.
Small testcase which shows the miscompilation is:
extern void exit (int);
extern void abort (void);
void
check (int a)
{
if (a != 1)
abort ();
}
void
test (int a, int b)
{
check ((a ? 1 : 0) | (b ? 2 : 0));
}
int
main (void)
{
test (1, 0);
exit (0);
}
At -O2 -m64 this aborts.
--
Summary: Bootstrap failure on powerpc64-redhat-linux
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17099
More information about the Gcc-bugs
mailing list