* [Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
@ 2010-01-17 16:05 ` rguenth at gcc dot gnu dot org
2010-01-17 19:07 ` armin76 at gentoo dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-17 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-17 16:05 -------
Please try to reproduce with the 4.4.3 release candidate.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|bootstrap |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
2010-01-17 16:05 ` [Bug target/42775] " rguenth at gcc dot gnu dot org
@ 2010-01-17 19:07 ` armin76 at gentoo dot org
2010-01-18 8:41 ` laurent at guerby dot net
` (8 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: armin76 at gentoo dot org @ 2010-01-17 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from armin76 at gentoo dot org 2010-01-17 19:07 -------
(In reply to comment #1)
> Please try to reproduce with the 4.4.3 release candidate.
>
gcc-4.4.3-RC-20100116 fails the same way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
2010-01-17 16:05 ` [Bug target/42775] " rguenth at gcc dot gnu dot org
2010-01-17 19:07 ` armin76 at gentoo dot org
@ 2010-01-18 8:41 ` laurent at guerby dot net
2010-03-21 19:57 ` laurent at guerby dot net
` (7 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2010-01-18 8:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from laurent at guerby dot net 2010-01-18 08:41 -------
Same result for me with 4.4.3 RC1. backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x004ca580 in copy_virtual_operands ()
Current language: auto; currently asm
(gdb) bt
#0 0x004ca580 in copy_virtual_operands ()
#1 0x003d58a0 in gimple_duplicate_bb ()
#2 0x0010be80 in duplicate_block ()
#3 0x0010f5e8 in copy_bbs ()
#4 0x00118650 in duplicate_loop_to_header_edge ()
#5 0x004b9350 in gimple_duplicate_loop_to_header_edge ()
#6 0x004a5458 in canonicalize_loop_induction_variables ()
#7 0x004a62e8 in tree_unroll_loops_completely ()
#8 0x004c4d80 in tree_complete_unroll ()
#9 0x003052b8 in execute_one_pass ()
#10 0x00305494 in execute_pass_list ()
#11 0x003054b8 in execute_pass_list ()
#12 0x003054b8 in execute_pass_list ()
#13 0x0042ba74 in tree_rest_of_compilation ()
#14 0x005d05b0 in cgraph_expand_function ()
#15 0x005d2ab8 in cgraph_optimize ()
#16 0x00028308 in c_write_global_declarations ()
#17 0x003cbbb0 in toplev_main ()
#18 0x000adaf4 in main ()
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-18 08:41:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (2 preceding siblings ...)
2010-01-18 8:41 ` laurent at guerby dot net
@ 2010-03-21 19:57 ` laurent at guerby dot net
2010-09-19 12:20 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2010-03-21 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from laurent at guerby dot net 2010-03-21 19:56 -------
Summary work/fail.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
Known to fail| |4.4.0 4.4.1 4.4.2 4.4.3
Known to work| |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (3 preceding siblings ...)
2010-03-21 19:57 ` laurent at guerby dot net
@ 2010-09-19 12:20 ` ebotcazou at gcc dot gnu dot org
2010-09-19 21:58 ` [Bug target/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1 ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-19 12:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2010-09-19 12:19 -------
Investigating.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ebotcazou at gcc dot gnu dot|
|org |
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-01-18 08:41:23 |2010-09-19 12:19:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (4 preceding siblings ...)
2010-09-19 12:20 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-19 21:58 ` ebotcazou at gcc dot gnu dot org
2010-09-20 10:31 ` [Bug rtl-optimization/42775] " ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-19 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-19 21:58 -------
tree-ssa-operands.c:copy_virtual_operands is miscompiled by delay slot
scheduling so the workaround is to use STAGE1_CFLAGS="-O1 -fno-delayed-branch".
Another way out is probably to configure with --disable-stage1-checking.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (5 preceding siblings ...)
2010-09-19 21:58 ` [Bug target/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1 ebotcazou at gcc dot gnu dot org
@ 2010-09-20 10:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:30 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-09-20 10:31 -------
Created an attachment (id=21847)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21847&action=view)
Semi-reduced testcase
To be compiled at -O -mcpu=v8.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (6 preceding siblings ...)
2010-09-20 10:31 ` [Bug rtl-optimization/42775] " ebotcazou at gcc dot gnu dot org
@ 2010-09-20 21:30 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 21:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:30 -------
Subject: Bug 42775
Author: ebotcazou
Date: Mon Sep 20 21:29:48 2010
New Revision: 164458
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164458
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgrtl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (7 preceding siblings ...)
2010-09-20 21:30 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:35 ` ebotcazou at gcc dot gnu dot org
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:31 -------
Subject: Bug 42775
Author: ebotcazou
Date: Mon Sep 20 21:30:35 2010
New Revision: 164460
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164460
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cfgrtl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (8 preceding siblings ...)
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
2010-09-20 21:35 ` ebotcazou at gcc dot gnu dot org
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:31 -------
Subject: Bug 42775
Author: ebotcazou
Date: Mon Sep 20 21:31:14 2010
New Revision: 164461
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164461
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/cfgrtl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1
2010-01-17 15:52 [Bug bootstrap/42775] New: sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1 laurent at guerby dot net
` (9 preceding siblings ...)
2010-09-20 21:31 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-20 21:35 ` ebotcazou at gcc dot gnu dot org
10 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 21:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:35 -------
At last.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2010-
| |09/msg01614.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775
^ permalink raw reply [flat|nested] 14+ messages in thread