* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
@ 2007-11-08 21:52 ` pinskia at gcc dot gnu dot org
2007-11-09 9:56 ` ebotcazou at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-08 21:52 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
Keywords| |ice-on-valid-code
Summary|ICE in calc_dfs_tree with - |[4.3 Regression] ICE in
|O2 -fnon-call-exceptions - |calc_dfs_tree with -O2 -
|ffast-math -fno-gcse |fnon-call-exceptions -ffast-
| |math -fno-gcse
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
2007-11-08 21:52 ` [Bug rtl-optimization/34035] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-11-09 9:56 ` ebotcazou at gcc dot gnu dot org
2007-11-09 10:20 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-09 9:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-11-09 09:55 -------
Interesting combination of options (-O2 is missing though).
--
ebotcazou 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-11-09 09:55:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
2007-11-08 21:52 ` [Bug rtl-optimization/34035] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-11-09 9:56 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-09 10:20 ` ebotcazou at gcc dot gnu dot org
2007-11-09 17:23 ` janis at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-09 10:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-11-09 10:20 -------
Investigating.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-11-09 09:55:47 |2007-11-09 10:20:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-11-09 10:20 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-09 17:23 ` janis at gcc dot gnu dot org
2007-11-12 15:25 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-11-09 17:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from janis at gcc dot gnu dot org 2007-11-09 17:23 -------
The option list should have included -O2. This is one of the failures found by
compiling SPEC CPU2000 with lots of sets of options and running with the test
input, as described in http://gcc.gnu.org/ml/gcc/2007-09/msg00496.html.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-11-09 17:23 ` janis at gcc dot gnu dot org
@ 2007-11-12 15:25 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:21 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-12 15:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ebotcazou at gcc dot gnu dot org 2007-11-12 15:25 -------
> The option list should have included -O2. This is one of the failures found
> compiling SPEC CPU2000 with lots of sets of options and running with the test
> input, as described in http://gcc.gnu.org/ml/gcc/2007-09/msg00496.html.
OK, thanks for explaining again. :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-11-12 15:25 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-12 21:21 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:24 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-12 21:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-11-12 21:21 -------
Subject: Bug 34035
Author: ebotcazou
Date: Mon Nov 12 21:21:37 2007
New Revision: 130122
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130122
Log:
PR rtl-optimization/34035
* cse.c (cse_cfg_altered): New global variable.
(cse_jumps_altered): Make boolean.
(recorded_label_ref): Likewise.
(cse_insn): Adjust for above changes.
(cse_extended_basic_block): Likewise. Set cse_cfg_altered
if dead edges have been purged.
(cse_main): Change return value specification and adjust code.
(rest_of_handle_cse): Adjust for above change.
(rest_of_handle_cse2): Likewise.
* gcse.c (rest_of_handle_gcse): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/opt/cfg5.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cse.c
trunk/gcc/gcse.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-11-12 21:21 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-12 21:24 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:28 ` steven at gcc dot gnu dot org
2007-11-12 21:55 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-12 21:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2007-11-12 21:24 -------
This should work now.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2007-
| |11/msg00666.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (6 preceding siblings ...)
2007-11-12 21:24 ` ebotcazou at gcc dot gnu dot org
@ 2007-11-12 21:28 ` steven at gcc dot gnu dot org
2007-11-12 21:55 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-12 21:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from steven at gcc dot gnu dot org 2007-11-12 21:28 -------
The fix increases compile time, please reconsider.
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/34035] [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse
2007-11-08 21:49 [Bug rtl-optimization/34035] New: ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse janis at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-11-12 21:28 ` steven at gcc dot gnu dot org
@ 2007-11-12 21:55 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-12 21:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2007-11-12 21:55 -------
The bug is nevertheless fixed.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34035
^ permalink raw reply [flat|nested] 10+ messages in thread