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 target/60516] [4.7/4.8/4.9 regression]: cc1plus crashes compiling a method with a huge struct as argument


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)
{
}


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