This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48611] New: [4.6/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 on basic code
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Apr 2011 18:40:23 +0000
- Subject: [Bug tree-optimization/48611] New: [4.6/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 on basic code
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48611
Summary: [4.6/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 on basic code
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23986
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23986
auto-reduced testcase
$ gcc -Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop
testcase-min1.f90
==12201== Invalid read of size 4
==12201== at 0xBD4B3F: remap_eh_region_nr.isra.81 (tree-inline.c:1194)
==12201== by 0xBD8A59: remap_gimple_stmt (tree-inline.c:1444)
==12201== by 0xBD97EF: copy_cfg_body (tree-inline.c:1540)
==12201== by 0xBDB6B6: copy_body (tree-inline.c:2410)
==12201== by 0xBDE493: optimize_inline_calls (tree-inline.c:3928)
==12201== by 0xBB67A2: cgraph_early_inlining (ipa-inline.c:1642)
==12201== by 0x87F305: execute_one_pass (passes.c:1555)
==12201== by 0x87F5F4: execute_pass_list (passes.c:1610)
==12201== by 0x87E80B: do_per_function_toporder (passes.c:1141)
==12201== by 0x87FA95: execute_ipa_pass_list (passes.c:1927)
==12201== by 0xBAC6DC: cgraph_optimize (cgraphunit.c:1789)
==12201== by 0xBAC949: cgraph_finalize_compilation_unit (cgraphunit.c:1102)
==12201== by 0x836BFC: write_global_declarations (langhooks.c:303)
==12201== by 0x96CC99: toplev_main (toplev.c:591)
==12201== by 0x644AB6C: (below main) (in /lib64/libc-2.11.3.so)
==12201== Address 0x18 is not stack'd, malloc'd or (recently) free'd
==12201==
testcase-min1.f90: In function 'main':
testcase-min1.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.