[Bug target/23150] 20050713-1.c fails on arm-none-eabi with -O2 or -Os.
kazu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 26 16:13:00 GMT 2005
------- Additional Comments From kazu at gcc dot gnu dot org 2005-09-26 16:13 -------
Slightly reduced to:
extern void abort (void) __attribute__((noreturn));
struct S
{
int a, b, c;
};
void
foo2 (struct S x, struct S y)
{
if (x.b != 4)
abort ();
}
void
bar2 (struct S x, struct S y)
{
foo2 (y, x);
}
int
main (void)
{
struct S a = { 3, 4, 5 }, b = { 6, 7, 8 };
bar2 (b, a);
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23150
More information about the Gcc-bugs
mailing list