This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21318] New: [4.1 Regression] ICE in instantiate_virtual_regs_in_insn
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2005 14:55:25 -0000
- Subject: [Bug middle-end/21318] New: [4.1 Regression] ICE in instantiate_virtual_regs_in_insn
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following test failures appeared on ia64-hpux (-milp32 only) between
20050429 and 20050430. Both are cc1 segmentation faults in
instantiate_virtual_regs_in_insn, which can be reproduced with a cross-compiler cc1.
0x08330cf4 in instantiate_virtual_regs_in_insn (insn=0x401b51b8)
at ../../gcc-cvs-mainline/gcc/function.c:1488
1488 x = simplify_gen_subreg (insn_data[insn_code].operand[i].mode,
FAIL: gcc.dg/tree-ssa/20031015-1.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/stdarg-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/stdarg-2.c scan-tree-dump f10: va_list escapes 1, needs to
save all GPR units
FAIL: gcc.dg/tree-ssa/stdarg-2.c scan-tree-dump f11: va_list escapes 0, needs to
save (3|12|24) GPR units
FAIL: gcc.dg/tree-ssa/stdarg-2.c scan-tree-dump f12: va_list escapes 0, needs to
save [1-9][0-9]* GPR units
FAIL: gcc.dg/tree-ssa/stdarg-2.c scan-tree-dump f13: va_list escapes 0, needs to
save [1-9][0-9]* GPR units
FAIL: gcc.dg/tree-ssa/stdarg-2.c scan-tree-dump f14: va_list escapes 0, needs to
save [1-9][0-9]* GPR units
Binary search shows the 20031015-1.c failure appeared between 2005-04-30 03:15
UTC and 2005-04-30 04:56 UTC, i.e. was caused by
2005-04-29 Richard Henderson <rth@redhat.com>
* function.c (instantiate_decls): Remove valid_only argument.
(instantiate_decls_1, instantiate_decl): Likewise.
(instantiate_virtual_regs_1): Delete.
(instantiate_virtual_regs_lossage): Delete.
(instantiate_virtual_regs_in_rtx): New.
(safe_insn_predicate): New.
(instantiate_virtual_regs_in_insn): New.
(instantiate_virtual_regs): Update to match all that. Only run
instantiate_decls once.
The binary search for the stdarg-2.c failure is still running but I expect it
will prove to be caused by the same patch.
--
Summary: [4.1 Regression] ICE in instantiate_virtual_regs_in_insn
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
org
GCC target triplet: ia64-*-hpux11.*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21318