public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1
@ 2006-02-13 4:50 kkojima at gcc dot gnu dot org
2006-02-13 4:51 ` [Bug rtl-optimization/26254] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-02-13 4:50 UTC (permalink / raw)
To: gcc-bugs
On sh4-*-linux-gnu, gcc.c-torture/compile/20011109-1.c with -O1
starts to fail:
testsuite/gcc.c-torture/compile/20011109-1.c:51: error: unrecognizable insn:
(insn 26 25 232 4 (parallel [
(set (reg:SI 248)
(gt:SI (reg:DF 246)
(reg:DF 247)))
(use (reg/v:PSI 151 ))
]) -1 (insn_list:REG_DEP_TRUE 24 (insn_list:REG_DEP_TRUE 25 (nil)))
(nil))
after -fmove-loop-invariants is enabled by default.
SH backend defines set insns whose destinations are the hard reg
like T_REG and R0_REG. It seems that move_loop_invariants makes
such pattern into
(set pseudo_reg_A ...) + (set hard_reg pseudo_reg_A)
and then the former insn fails to be recognized.
--
Summary: FAIL: gcc.c-torture/compile/20011109-1.c,-O1
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
@ 2006-02-13 4:51 ` pinskia at gcc dot gnu dot org
2006-02-13 4:56 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-13 4:51 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
Summary|FAIL: gcc.c- |[4.2 Regression] FAIL:
|torture/compile/20011109- |gcc.c-
|1.c,-O1 |torture/compile/20011109-
| |1.c,-O1
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
2006-02-13 4:51 ` [Bug rtl-optimization/26254] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-13 4:56 ` pinskia at gcc dot gnu dot org
2006-02-13 5:15 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-13 4:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-13 04:56 -------
Could you try the patch referenced in PR 26222?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
2006-02-13 4:51 ` [Bug rtl-optimization/26254] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-13 4:56 ` pinskia at gcc dot gnu dot org
@ 2006-02-13 5:15 ` pinskia at gcc dot gnu dot org
2006-02-13 5:15 ` kkojima at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-13 5:15 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.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-02-13 5:15 ` pinskia at gcc dot gnu dot org
@ 2006-02-13 5:15 ` kkojima at gcc dot gnu dot org
2006-02-13 12:26 ` rakdver at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-02-13 5:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from kkojima at gcc dot gnu dot org 2006-02-13 05:14 -------
This case still fails with it.
--
kkojima at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-02-13 5:15 ` kkojima at gcc dot gnu dot org
@ 2006-02-13 12:26 ` rakdver at gcc dot gnu dot org
2006-02-13 13:08 ` kkojima at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-02-13 12:26 UTC (permalink / raw)
To: gcc-bugs
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-13 12:26:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-02-13 12:26 ` rakdver at gcc dot gnu dot org
@ 2006-02-13 13:08 ` kkojima at gcc dot gnu dot org
2006-02-13 13:59 ` rakdver at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-02-13 13:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kkojima at gcc dot gnu dot org 2006-02-13 13:08 -------
Created an attachment (id=10834)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10834&action=view)
patch in testing
I'm testing the attached patch which defines a new target hook,
though I'm not sure if it is the right way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-02-13 13:08 ` kkojima at gcc dot gnu dot org
@ 2006-02-13 13:59 ` rakdver at gcc dot gnu dot org
2006-02-13 19:53 ` rakdver at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-02-13 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rakdver at gcc dot gnu dot org 2006-02-13 13:59 -------
Created an attachment (id=10835)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10835&action=view)
Other possible patch
This might be a safer choice; although it would be nice to get all conditions
right early, it might be too difficult to handle all the special cases of all
possible targets.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-02-13 13:59 ` rakdver at gcc dot gnu dot org
@ 2006-02-13 19:53 ` rakdver at gcc dot gnu dot org
2006-02-14 0:34 ` kkojima at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-02-13 19:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rakdver at gcc dot gnu dot org 2006-02-13 19:53 -------
I have submited my patch, as it is useful regardless of whether the new hook
will be added or not. I am not sure whether it is reasonable to introduce a
new target hook just to handle this special case; if you think so, please
submit your patch and we may discuss it in the mailing list.
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |02/msg01009.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-02-13 19:53 ` rakdver at gcc dot gnu dot org
@ 2006-02-14 0:34 ` kkojima at gcc dot gnu dot org
2006-03-03 18:19 ` patchapp at dberlin dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-02-14 0:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from kkojima at gcc dot gnu dot org 2006-02-14 00:34 -------
I think your patch is the Right Thing. It fixes all regressions I've seen with
-fmove-loop-invariants on trunk for x86 cross sh4-*-linux-gnu. Thanks for
looking into this issue!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-02-14 0:34 ` kkojima at gcc dot gnu dot org
@ 2006-03-03 18:19 ` patchapp at dberlin dot org
2006-03-13 12:28 ` rakdver at gcc dot gnu dot org
2006-03-13 13:54 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: patchapp at dberlin dot org @ 2006-03-03 18:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from patchapp at dberlin dot org 2006-03-03 18:19 -------
Subject: Bug number PR 26254
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01009.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (9 preceding siblings ...)
2006-03-03 18:19 ` patchapp at dberlin dot org
@ 2006-03-13 12:28 ` rakdver at gcc dot gnu dot org
2006-03-13 13:54 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-03-13 12:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rakdver at gcc dot gnu dot org 2006-03-13 12:28 -------
Subject: Bug 26254
Author: rakdver
Date: Mon Mar 13 12:28:09 2006
New Revision: 111998
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111998
Log:
PR rtl-optimization/26254
* loop-invariant.c (seq_insns_valid_p): New function.
(move_invariant_reg): Only emit new code if it is valid.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-invariant.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
` (10 preceding siblings ...)
2006-03-13 12:28 ` rakdver at gcc dot gnu dot org
@ 2006-03-13 13:54 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-13 13:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-03-13 13:54 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26254
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-03-13 13:54 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-13 4:50 [Bug rtl-optimization/26254] New: FAIL: gcc.c-torture/compile/20011109-1.c,-O1 kkojima at gcc dot gnu dot org
2006-02-13 4:51 ` [Bug rtl-optimization/26254] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-13 4:56 ` pinskia at gcc dot gnu dot org
2006-02-13 5:15 ` pinskia at gcc dot gnu dot org
2006-02-13 5:15 ` kkojima at gcc dot gnu dot org
2006-02-13 12:26 ` rakdver at gcc dot gnu dot org
2006-02-13 13:08 ` kkojima at gcc dot gnu dot org
2006-02-13 13:59 ` rakdver at gcc dot gnu dot org
2006-02-13 19:53 ` rakdver at gcc dot gnu dot org
2006-02-14 0:34 ` kkojima at gcc dot gnu dot org
2006-03-03 18:19 ` patchapp at dberlin dot org
2006-03-13 12:28 ` rakdver at gcc dot gnu dot org
2006-03-13 13:54 ` pinskia 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).