This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34587] New: gcc.dg/initpri1.c fails on powerpc-apple-darwin
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Dec 2007 16:44:35 -0000
- Subject: [Bug c/34587] New: gcc.dg/initpri1.c fails on powerpc-apple-darwin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The gcc.dg/initpri1.c testcase aborts on powerpc-apple-darwin9 in the following
sections...
void c2() {
if (i++ != 2)
abort (); <===
}
[....]
void c3() {
if (i++ != 1)
abort (); <===
}
[...]
void d2() {
if (--i != 2)
abort (); <===
}
[...]
void d3() {
if (j != 2)
abort ();
if (--i != 1)
abort (); <====
}
I assume this should have been reported before but can't find any PR for it.
The order of
the aborts are...
in c2
in c3
in d3 i
in d2
--
Summary: gcc.dg/initpri1.c fails on powerpc-apple-darwin
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: powerpc-apple-darwin9
GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34587