public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0
@ 2007-04-17 18:07 aldot at gcc dot gnu dot org
2007-04-17 18:08 ` [Bug tree-optimization/31611] " aldot at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-04-17 18:07 UTC (permalink / raw)
To: gcc-bugs
trunk, revision 123843 gives for -ftree-loop-linear:
Program received signal SIGSEGV, Segmentation fault.
0x082dfc97 in remove_referenced_var (var=0xb7ca961c)
at ../../../src/gcc-4.3/gcc/tree-dfa.c:791
791 ggc_free (*loc);
(gdb) bt
#0 0x082dfc97 in remove_referenced_var (var=0xb7ca961c)
at ../../../src/gcc-4.3/gcc/tree-dfa.c:791
#1 0x0833535a in remove_unused_locals ()
at ../../../src/gcc-4.3/gcc/tree-ssa-live.c:518
#2 0x08222641 in execute_function_todo (data=0x21)
at ../../../src/gcc-4.3/gcc/passes.c:865
#3 0x08222387 in do_per_function (callback=0x8222554 <execute_function_todo>,
data=0x21) at ../../../src/gcc-4.3/gcc/passes.c:757
#4 0x08222818 in execute_todo (flags=33)
at ../../../src/gcc-4.3/gcc/passes.c:935
#5 0x08222bb3 in execute_one_pass (pass=0x871f840)
at ../../../src/gcc-4.3/gcc/passes.c:1080
#6 0x08222c35 in execute_pass_list (pass=0x871f840)
at ../../../src/gcc-4.3/gcc/passes.c:1110
#7 0x08222c51 in execute_pass_list (pass=0x871f4c0)
at ../../../src/gcc-4.3/gcc/passes.c:1111
#8 0x08222c51 in execute_pass_list (pass=0x871ed40)
at ../../../src/gcc-4.3/gcc/passes.c:1111
#9 0x082f9da4 in tree_rest_of_compilation (fndecl=0xb7c619f8)
at ../../../src/gcc-4.3/gcc/tree-optimize.c:412
#10 0x080bc124 in gfc_expand_function (fndecl=0xb7c619f8)
at ../../../src/gcc-4.3/gcc/fortran/f95-lang.c:237
#11 0x083eef01 in cgraph_expand_function (node=0xb7bf8700)
at ../../../src/gcc-4.3/gcc/cgraphunit.c:1016
#12 0x083ef0b1 in cgraph_expand_all_functions ()
at ../../../src/gcc-4.3/gcc/cgraphunit.c:1085
#13 0x083ef62e in cgraph_optimize ()
at ../../../src/gcc-4.3/gcc/cgraphunit.c:1288
#14 0x080bc2a3 in gfc_be_parse_file (set_yydebug=0)
at ../../../src/gcc-4.3/gcc/fortran/f95-lang.c:309
#15 0x082b8f9c in compile_file () at ../../../src/gcc-4.3/gcc/toplev.c:1050
#16 0x082ba762 in do_compile () at ../../../src/gcc-4.3/gcc/toplev.c:2124
#17 0x082ba7c4 in toplev_main (argc=17, argv=0xbfc79d94)
at ../../../src/gcc-4.3/gcc/toplev.c:2156
#18 0x080febc6 in main (argc=Cannot access memory at address 0x8
) at ../../../src/gcc-4.3/gcc/main.c:35
(gdb) p loc
$1 = (void **) 0x0
--
Summary: ICE in remove_referenced_var for loc == *0
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] ICE in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
@ 2007-04-17 18:08 ` aldot at gcc dot gnu dot org
2007-04-17 18:09 ` aldot at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-04-17 18:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from aldot at gcc dot gnu dot org 2007-04-17 19:08 -------
Created an attachment (id=13381)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13381&action=view)
file1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] ICE in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
2007-04-17 18:08 ` [Bug tree-optimization/31611] " aldot at gcc dot gnu dot org
@ 2007-04-17 18:09 ` aldot at gcc dot gnu dot org
2007-04-24 7:52 ` [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear " aldot at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-04-17 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from aldot at gcc dot gnu dot org 2007-04-17 19:09 -------
Created an attachment (id=13382)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13382&action=view)
file2
$ gfortran-4.3-HEAD -ffixed-line-length-none -ffree-line-length-none -O1
-ftree-loop-linear -c lattice.f90
$ gfortran-4.3-HEAD -ffixed-line-length-none -ffree-line-length-none -O1
-ftree-loop-linear -c dyna.f90
dyna.f90: In function 'check':
dyna.f90:214: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
2007-04-17 18:08 ` [Bug tree-optimization/31611] " aldot at gcc dot gnu dot org
2007-04-17 18:09 ` aldot at gcc dot gnu dot org
@ 2007-04-24 7:52 ` aldot at gcc dot gnu dot org
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-04-24 7:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from aldot at gcc dot gnu dot org 2007-04-24 08:52 -------
Works with gcc version 4.2.0 20060922
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.0
Summary|ICE in remove_referenced_var|[4.3 regression] ICE with -
|for loc == *0 |ftree-loop-linear in
| |remove_referenced_var for
| |loc == *0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-04-24 7:52 ` [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear " aldot at gcc dot gnu dot org
@ 2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-30 9:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2007-04-30 10:08 -------
Confirmed via 31762 (which has a single file testcase).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-30 10:08:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
@ 2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
2007-04-30 9:09 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-30 9:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-04-30 10:07 -------
*** Bug 31762 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jb at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
@ 2007-04-30 9:09 ` rguenth at gcc dot gnu dot org
2007-06-22 8:49 ` spop at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-30 9:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-04-30 10:09 -------
Also related to PR31280.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |31280
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-04-30 9:09 ` rguenth at gcc dot gnu dot org
@ 2007-06-22 8:49 ` spop at gcc dot gnu dot org
2007-06-30 9:19 ` pinskia at gcc dot gnu dot org
2007-08-10 0:25 ` mmitchel at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-06-22 8:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from spop at gcc dot gnu dot org 2007-06-22 08:49 -------
I cannot reproduce this bug on trunk rev.125915, on i686-linux.
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spop at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (6 preceding siblings ...)
2007-06-22 8:49 ` spop at gcc dot gnu dot org
@ 2007-06-30 9:19 ` pinskia at gcc dot gnu dot org
2007-08-10 0:25 ` mmitchel at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-30 9:19 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear in remove_referenced_var for loc == *0
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-06-30 9:19 ` pinskia at gcc dot gnu dot org
@ 2007-08-10 0:25 ` mmitchel at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-08-10 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2007-08-10 00:25 -------
Closed, as Sebastian says he cannot reproduce, and as Richard says there is
another testcase in PR31762.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31611
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-08-10 0:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 18:07 [Bug tree-optimization/31611] New: ICE in remove_referenced_var for loc == *0 aldot at gcc dot gnu dot org
2007-04-17 18:08 ` [Bug tree-optimization/31611] " aldot at gcc dot gnu dot org
2007-04-17 18:09 ` aldot at gcc dot gnu dot org
2007-04-24 7:52 ` [Bug tree-optimization/31611] [4.3 regression] ICE with -ftree-loop-linear " aldot at gcc dot gnu dot org
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
2007-04-30 9:08 ` rguenth at gcc dot gnu dot org
2007-04-30 9:09 ` rguenth at gcc dot gnu dot org
2007-06-22 8:49 ` spop at gcc dot gnu dot org
2007-06-30 9:19 ` pinskia at gcc dot gnu dot org
2007-08-10 0:25 ` mmitchel 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).