[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2010-09-07 09:25 --- We just calculated SP in the code following the comment: /* eh_return epilogues need %ecx added to the stack pointer. */ So, stack pointer should be valid at the end. I'm testing following patch: Index: i386.c

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2010-09-07 14:38 --- Patch at [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00563.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread uros at gcc dot gnu dot org
--- Comment #12 from uros at gcc dot gnu dot org 2010-09-07 15:39 --- Subject: Bug 45206 Author: uros Date: Tue Sep 7 15:38:59 2010 New Revision: 163955 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163955 Log: PR target/45206 * config/i386/i386.c

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-09-07 15:42 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-08-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-08-14 14:01 --- Recategorizing after: 2010-08-12 H.J. Lu hongjiu...@intel.com Uros Bizjak ubiz...@gmail.com * config.gcc: Handle --enable-frame-pointer. * configure.ac: Add

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-08-14 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2010-08-14 22:23 --- assert is too strong as shown in the testcase. This patch works for me: -- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b925122..863c9bf 100644 --- a/gcc/config/i386/i386.c +++