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

2014-04-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60516

--- Comment #12 from Jakub Jelinek  ---
Author: jakub
Date: Thu Apr 10 07:49:02 2014
New Revision: 209264

URL: http://gcc.gnu.org/viewcvs?rev=209264&root=gcc&view=rev
Log:
Backport from mainline
2014-03-17  Jakub Jelinek  

PR target/60516
* config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
note creation for the 2010-08-31 changes.

* gcc.target/i386/pr60516.c: New test.

Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr60516.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/i386/i386.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


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

2014-03-17 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60516

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[4.7/4.8/4.9 regression]:   |[4.7/4.8 regression]:
   |cc1plus crashes compiling a |cc1plus crashes compiling a
   |method with a huge struct   |method with a huge struct
   |as argument |as argument

--- Comment #11 from Jakub Jelinek  ---
Fixed on the trunk so far.