[Bug target/60516] [4.7/4.8/4.9 regression]: cc1plus crashes compiling a method with a huge struct as argument

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 17 06:27:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60516

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
          Component|c++                         |target
   Target Milestone|---                         |4.7.4
            Summary|[4.9/4.8 regression]:       |[4.7/4.8/4.9 regression]:
                   |cc1plus crashes compiling a |cc1plus crashes compiling a
                   |method with a huge struct   |method with a huge struct
                   |as argument                 |as argument

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Kai Tietz from comment #3)
> Issue is that copy_rtx gets feed with invalid insn.

No, it is fed completely valid insn, but just the note creation hasn't been
adjusted for the r163679 change.

(In reply to Mikael Pettersson from comment #4)
> Started with r171890.

With an improved C testcase actually with r163679.

struct S { char c[65536]; };

__attribute__((ms_abi, thiscall)) void
foo (void *x, struct S y)
{
}



More information about the Gcc-bugs mailing list