This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/17099] New: Bootstrap failure on powerpc64-redhat-linux
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2004 12:43:30 -0000
- Subject: [Bug bootstrap/17099] New: Bootstrap failure on powerpc64-redhat-linux
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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