[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-24 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2010-03-24 20:52 --- Should be fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|AS

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-24 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-03-24 20:31 --- Subject: Bug 43498 Author: jakub Date: Wed Mar 24 20:31:09 2010 New Revision: 157706 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157706 Log: PR target/43498 * config/i386/i386.c (x86_output

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-24 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-03-24 12:06 --- Created an attachment (id=20182) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20182&action=view) gcc45-pr43498.patch Patch to emit unwind info for thunks on x86, x86-64 and s390{,x}. ppc/ppc64, sparc/sparc64 a

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-24 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-03-24 11:59 --- Actually, as the thunks are emitted before .eh_frame, it is much easier. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-23 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-03-23 22:10 --- At least when using CFI asm this is solvable easily, see how I've changed i386 PIC setup generation. Without CFI asm it would be much harder though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498

[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables

2010-03-23 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-03-23 19:13 --- The x86-64 target writes directly out asm rather than going through some RTL code which causes unwind tables not to be written out for the thunks. -- pinskia at gcc dot gnu dot org changed: What|R