public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
@ 2009-09-25 14:13 jan dot kratochvil at redhat dot com
2009-09-25 15:04 ` [Bug middle-end/41470] [4.5 Regression] " rguenth at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-09-25 14:13 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
void *
af (void *a)
{
return a;
}
void
bf (void)
{
void *p;
{
int i = 1;
char v[i];
p = af (v);
}
cf (p);
}
.../xgcc (-B...) -fexceptions -c -o 1.o 1.c
1.c: In function âbfâ:
1.c:7:1: internal compiler error: in partition_view_bitmap, at
tree-ssa-live.c:331
xgcc (GCC) 4.5.0 20090925 (experimental)
Expecting it is a duplicate of similar Bug 41469.
--
Summary: -fexceptions ICE in partition_view_bitmap, at tree-ssa-
live.c:331
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jan dot kratochvil at redhat dot com
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
@ 2009-09-25 15:04 ` rguenth at gcc dot gnu dot org
2009-09-25 15:10 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-25 15:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-25 15:04 -------
Confirmed. Similar to PR40758 - out-of-SSA with optimize == 0 does not expect
overlapping life-ranges of SSA names.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-09-25 15:04:20
date| |
Summary|-fexceptions ICE in |[4.5 Regression] -
|partition_view_bitmap, at |fexceptions ICE in
|tree-ssa-live.c:331 |partition_view_bitmap, at
| |tree-ssa-live.c:331
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
2009-09-25 15:04 ` [Bug middle-end/41470] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-09-25 15:10 ` rguenth at gcc dot gnu dot org
2009-09-26 16:47 ` matz at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-25 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-25 15:09 -------
We go to the ICE of PR41469 with
Index: tree-ssa-coalesce.c
===================================================================
--- tree-ssa-coalesce.c (revision 152166)
+++ tree-ssa-coalesce.c (working copy)
@@ -1377,7 +1377,10 @@ coalesce_ssa_name (void)
{
tree a = ssa_name (i);
- if (a && SSA_NAME_VAR (a) && !DECL_ARTIFICIAL (SSA_NAME_VAR (a)))
+ if (a
+ && !has_zero_uses (a)
+ && SSA_NAME_VAR (a)
+ && !DECL_ARTIFICIAL (SSA_NAME_VAR (a)))
{
tree *slot = (tree *) htab_find_slot (ssa_name_hash, a, INSERT);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
2009-09-25 15:04 ` [Bug middle-end/41470] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-09-25 15:10 ` rguenth at gcc dot gnu dot org
@ 2009-09-26 16:47 ` matz at gcc dot gnu dot org
2009-09-26 16:49 ` matz at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: matz at gcc dot gnu dot org @ 2009-09-26 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from matz at gcc dot gnu dot org 2009-09-26 16:47 -------
Subject: Bug 41470
Author: matz
Date: Sat Sep 26 16:46:43 2009
New Revision: 152203
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152203
Log:
PR lto/40758
PR middle-end/41470
* tree-ssa-coalesce.c (coalesce_ssa_name): Add only SSA names
that are mentioned in the body.
testsuite/
* gcc.dg/pr41470.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr41470.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-coalesce.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
` (2 preceding siblings ...)
2009-09-26 16:47 ` matz at gcc dot gnu dot org
@ 2009-09-26 16:49 ` matz at gcc dot gnu dot org
2009-09-26 16:50 ` matz at gcc dot gnu dot org
2009-09-28 20:41 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: matz at gcc dot gnu dot org @ 2009-09-26 16:49 UTC (permalink / raw)
To: gcc-bugs
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |matz at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2009-09-25 15:04:20 |2009-09-26 16:49:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
` (3 preceding siblings ...)
2009-09-26 16:49 ` matz at gcc dot gnu dot org
@ 2009-09-26 16:50 ` matz at gcc dot gnu dot org
2009-09-28 20:41 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: matz at gcc dot gnu dot org @ 2009-09-26 16:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from matz at gcc dot gnu dot org 2009-09-26 16:50 -------
Fixed.
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
` (4 preceding siblings ...)
2009-09-26 16:50 ` matz at gcc dot gnu dot org
@ 2009-09-28 20:41 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-09-28 20:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl at gcc dot gnu dot org 2009-09-28 20:39 -------
Subject: Bug 41470
Author: hjl
Date: Mon Sep 28 20:38:53 2009
New Revision: 152250
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152250
Log:
2009-09-28 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-09-26 Andreas Schwab <schwab@linux-m68k.org>
PR c/41476
* gcc.dg/cond-constqual-1.c: New test.
2009-09-26 Michael Matz <matz@suse.de>
PR lto/40758
PR middle-end/41470
* gcc.dg/pr41470.c: New test.
2009-09-23 Alexandre Oliva <aoliva@redhat.com>
PR debug/41248
* gcc.dg/pr41248.c: New.
2009-09-22 Alexandre Oliva <aoliva@redhat.com>
PR debug/41295
* gcc.dg/pr41295.c: New.
2009-09-20 Andrew Pinski <pinskia@gcc.gnu.org>
PR middle-end/40642
* g++.dg/torture/pr40642.C: New testcase.
2009-09-17 Michael Matz <matz@suse.de>
PR middle-end/41347
* gfortran.dg/pr41347.f90: New test.
2009-09-16 Michael Matz <matz@suse.de>
PR fortran/41212
* gfortran.dg/pr41212.f90: New test.
2009-09-11 Michael Matz <matz@suse.de>
PR middle-end/41275
* g++.dg/tree-ssa/pr41275.C: New test.
2009-09-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/41242
* gfortran.dg/proc_ptr_comp_21.f90: New.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr40642.C
- copied unchanged from r152249,
trunk/gcc/testsuite/g++.dg/torture/pr40642.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/tree-ssa/pr41275.C
- copied unchanged from r152249,
trunk/gcc/testsuite/g++.dg/tree-ssa/pr41275.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/cond-constqual-1.c
- copied unchanged from r152248,
trunk/gcc/testsuite/gcc.dg/cond-constqual-1.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41248.c
- copied unchanged from r152248, trunk/gcc/testsuite/gcc.dg/pr41248.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41295.c
- copied unchanged from r152249, trunk/gcc/testsuite/gcc.dg/pr41295.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41470.c
- copied unchanged from r152248, trunk/gcc/testsuite/gcc.dg/pr41470.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41212.f90
- copied unchanged from r152249,
trunk/gcc/testsuite/gfortran.dg/pr41212.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41347.f90
- copied unchanged from r152249,
trunk/gcc/testsuite/gfortran.dg/pr41347.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/proc_ptr_comp_21.f90
- copied unchanged from r152249,
trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_21.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41470
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-09-28 20:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25 14:13 [Bug c/41470] New: -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331 jan dot kratochvil at redhat dot com
2009-09-25 15:04 ` [Bug middle-end/41470] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-09-25 15:10 ` rguenth at gcc dot gnu dot org
2009-09-26 16:47 ` matz at gcc dot gnu dot org
2009-09-26 16:49 ` matz at gcc dot gnu dot org
2009-09-26 16:50 ` matz at gcc dot gnu dot org
2009-09-28 20:41 ` hjl at gcc dot gnu dot 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).