This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/39903] ICE in tmpdir-gcc.dg-struct-layout-1/t026 c_compat_(x,y)_tst.o compile at -m64



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]