[Bug c/39903] [4.4/4.5 Regression] ICE on flexible member
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 26 21:52:00 GMT 2009
------- Comment #8 from hjl dot tools at gmail dot com 2009-04-26 21:52 -------
(In reply to comment #6)
> Confirmed on x86_64-linux, reduced testcase:
>
> --cut here--
> struct S2456
> {
> double a;
> struct {} b[];
> };
>
> struct S2456 s2456;
>
> extern void check2456va (struct S2456);
>
> void test2456 (void)
> {
> check2456va (s2456);
> }
> --cut here--
>
> gcc t.c
>
> t.c: In function Âtest2456Â:
> t.c:13: note: The ABI of passing struct with a flexible array member has
> changed in GCC 4.4
> t.c:13: internal compiler error: in emit_move_insn, at expr.c:3386
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
I am very curious why I didn't see original testsuite failure on
Linux/Intel64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39903
More information about the Gcc-bugs
mailing list