This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/23492] New: [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Aug 2005 07:56:03 -0000
- Subject: [Bug ada/23492] New: [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Started failing on x86_64-linux only (x86 is o) between
LAST_UPDATED: Tue Aug 16 18:50:47 UTC 2005
LAST_UPDATED: Fri Aug 19 19:26:06 UTC 2005
(gdb) r -O2
-I/home/guerby/work/gcc/build/build-20050819T214115/gcc/testsuite/ada/acats/support
c48009e.adb
Starting program: /home/guerby/work/gcc/build/build-20050819T214115/gcc/gnat1
-O2
-I/home/guerby/work/gcc/build/build-20050819T214115/gcc/testsuite/ada/acats/support
c48009e.adb
C48009E C48009E.ALLOC1 C48009E.ALLOC2c48009e.adb:150:40: warning: too few
elements for type "SA1_3" defined at line 65
c48009e.adb:150:40: warning: "Constraint_Error" will be raised at run time
c48009e.adb:160:40: warning: upper bound of aggregate out of range
c48009e.adb:160:40: warning: Constraint_Error will be raised at run-time
c48009e.adb:180:40: warning: too few elements for subtype of "UA" defined at line 76
c48009e.adb:180:40: warning: "Constraint_Error" will be raised at run time
c48009e.adb:190:40: warning: too many elements for subtype of "UA" defined at
line 76
c48009e.adb:190:40: warning: "Constraint_Error" will be raised at run time
Analyzing compilation unitPerforming intraprocedural optimizations
Assembling functions:
C48009E.ALLOC1 C48009E
Program received signal SIGSEGV, Segmentation fault.
set_bb_for_stmt (t=0x0, bb=0x2a95db3800) at
/home/guerby/work/gcc/version-head/gcc/tree-cfg.c:2673
2673 if (TREE_CODE (t) == PHI_NODE)
(gdb) bt
#0 set_bb_for_stmt (t=0x0, bb=0x2a95db3800) at
/home/guerby/work/gcc/version-head/gcc/tree-cfg.c:2673
#1 0x0000000000980fdd in bsi_insert_after (i=0x7fbffff510, t=0x0,
m=BSI_NEW_STMT) at /home/guerby/work/gcc/version-head/gcc/tree-cfg.c:2761
#2 0x000000000095f304 in setup_one_parameter (id=0x7fbffff5e0, p=0x2a95a74980,
value=0x2a95a74980, fn=0x2a95de49a0, bb=0x2a95db3800, vars=0x7fbffff680)
at /home/guerby/work/gcc/version-head/gcc/tree-inline.c:1142
#3 0x0000000000961b2b in optimize_inline_calls (fn=0x2a95a45300) at
/home/guerby/work/gcc/version-head/gcc/tree-inline.c:1177
#4 0x000000000064a268 in tree_rest_of_compilation (fndecl=0x2a95a45300) at
/home/guerby/work/gcc/version-head/gcc/tree-optimize.c:393
#5 0x000000000041b845 in gnat_expand_body (gnu_decl=0x2a95a45300) at
/home/guerby/work/gcc/version-head/gcc/ada/misc.c:636
#6 0x0000000000964946 in cgraph_expand_function (node=0x2a95a5ff20) at
/home/guerby/work/gcc/version-head/gcc/cgraphunit.c:1037
#7 0x0000000000966a6b in cgraph_optimize () at
/home/guerby/work/gcc/version-head/gcc/cgraphunit.c:1103
--
Summary: [4.1 Regression] ACATS c48009e SEGV in set_bb_for_stmt
tree-cfg.c:2673 on x86_64
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: laurent at guerby dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-linux-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23492