This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39903] ICE in tmpdir-gcc.dg-struct-layout-1/t026 c_compat_(x,y)_tst.o compile at -m64
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2009 07:20:29 -0000
- Subject: [Bug c/39903] ICE in tmpdir-gcc.dg-struct-layout-1/t026 c_compat_(x,y)_tst.o compile at -m64
- References: <bug-39903-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ubizjak at gmail dot com 2009-04-26 07:20 -------
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.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-26 07:20:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39903