public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48794] New: [4.7 Regression] ICE: SIGSEGV in remap_eh_region_nr (tree-inline.c:1194) with -Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop
@ 2011-04-27 18:35 zsojka at seznam dot cz
  2011-04-27 22:51 ` [Bug middle-end/48794] " hjl.tools at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2011-04-27 18:35 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] ICE: SIGSEGV in remap_eh_region_nr
                    (tree-inline.c:1194) with -Os -fopenmp -fexceptions
                    -fno-tree-ccp -fno-tree-copy-prop
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: jakub@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 24119
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24119
auto-reduced testcase (from libgomp.fortran/allocatable3.f90)

This is very similiar ro PR48611.

Compiler output:
$ gcc -Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop testcase.f90
==32088== Invalid read of size 4
==32088==    at 0xBCFC1F: remap_eh_region_nr.isra.74 (tree-inline.c:1194)
==32088==    by 0xBD3A89: remap_gimple_stmt (tree-inline.c:1444)
==32088==    by 0xBD4477: copy_bb (tree-inline.c:1540)
==32088==    by 0xBD5654: copy_body (tree-inline.c:2244)
==32088==    by 0xBD7D8E: expand_call_inline (tree-inline.c:3906)
==32088==    by 0xBDA2BF: optimize_inline_calls (tree-inline.c:4018)
==32088==    by 0xBB3B06: inline_transform (ipa-inline-transform.c:313)
==32088==    by 0x872E30: execute_all_ipa_transforms (passes.c:1455)
==32088==    by 0x9BBCA1: tree_rest_of_compilation (tree-optimize.c:416)
==32088==    by 0xB9F1B2: cgraph_expand_function (cgraphunit.c:1578)
==32088==    by 0xBA16CB: cgraph_optimize (cgraphunit.c:1637)
==32088==    by 0xBA1C59: cgraph_finalize_compilation_unit (cgraphunit.c:1098)
==32088==    by 0x82A75C: write_global_declarations (langhooks.c:303)
==32088==    by 0x95FCC7: toplev_main (toplev.c:591)
==32088==    by 0x644AB6C: (below main) (in /lib64/libc-2.11.3.so)
==32088==  Address 0x18 is not stack'd, malloc'd or (recently) free'd
==32088== 
testcase.f90: In function 'main':
testcase.f90:8:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r173040 - crash
4.6 r172337 - OK


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-01-26 13:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-27 18:35 [Bug middle-end/48794] New: [4.7 Regression] ICE: SIGSEGV in remap_eh_region_nr (tree-inline.c:1194) with -Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop zsojka at seznam dot cz
2011-04-27 22:51 ` [Bug middle-end/48794] " hjl.tools at gmail dot com
2011-04-28  8:57 ` rguenth at gcc dot gnu.org
2011-05-09 16:03 ` [Bug tree-optimization/48794] " jakub at gcc dot gnu.org
2011-05-10  6:11 ` jakub at gcc dot gnu.org
2011-05-10  6:33 ` jakub at gcc dot gnu.org
2011-05-10  6:47 ` jakub at gcc dot gnu.org
2012-01-25 15:37 ` matz at gcc dot gnu.org
2012-01-25 15:55 ` jakub at gcc dot gnu.org
2012-01-25 16:23 ` matz at gcc dot gnu.org
2012-01-26 14:10 ` matz at gcc dot gnu.org
2012-01-26 14:24 ` matz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).