* [Bug bootstrap/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
@ 2004-11-09 15:09 ` rearnsha at gcc dot gnu dot org
2004-11-09 15:10 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-11-09 15:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-09 15:09 -------
Created an attachment (id=7504)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7504&action=view)
Testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
2004-11-09 15:09 ` [Bug bootstrap/18401] " rearnsha at gcc dot gnu dot org
@ 2004-11-09 15:10 ` pinskia at gcc dot gnu dot org
2004-11-09 15:47 ` rearnsha at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-09 15:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
2004-11-09 15:09 ` [Bug bootstrap/18401] " rearnsha at gcc dot gnu dot org
2004-11-09 15:10 ` pinskia at gcc dot gnu dot org
@ 2004-11-09 15:47 ` rearnsha at gcc dot gnu dot org
2004-11-09 17:55 ` [Bug rtl-optimization/18401] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-11-09 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-09 15:47 -------
Subject: Re: [4.0.0 Regression] Bootstrap failure on
all ARM targets due to incorrect GCSE
On Tue, 2004-11-09 at 15:09, rearnsha at gcc dot gnu dot org wrote:
> ------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-09 15:09 -------
> Created an attachment (id=7504)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7504&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7504&action=view)
> Testcase
Just a note that the bug can be triggered with the filed testcase on an
arm-elf cross using flags '-O2'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-09 15:47 ` rearnsha at gcc dot gnu dot org
@ 2004-11-09 17:55 ` pinskia at gcc dot gnu dot org
2004-12-12 22:10 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-09 17:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |rtl-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-09 17:55 ` [Bug rtl-optimization/18401] " pinskia at gcc dot gnu dot org
@ 2004-12-12 22:10 ` pinskia at gcc dot gnu dot org
2004-12-13 9:54 ` rearnsha at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-12 22:10 -------
I cannot reproduce it with today's mainline, is this fixed or latent again?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-12-12 22:10 ` pinskia at gcc dot gnu dot org
@ 2004-12-13 9:54 ` rearnsha at gcc dot gnu dot org
2004-12-22 13:03 ` steven at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-12-13 9:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-13 09:54 -------
Subject: Re: [4.0.0 Regression] Bootstrap
failure on all ARM targets due to incorrect GCSE
On Sun, 2004-12-12 at 22:10, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-12 22:10 -------
> I cannot reproduce it with today's mainline, is this fixed or latent again?
Don't know. It seemed to disappear again fairly quickly, but I never
saw any patch proposed that might have directly addressed the issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-12-13 9:54 ` rearnsha at gcc dot gnu dot org
@ 2004-12-22 13:03 ` steven at gcc dot gnu dot org
2005-01-05 19:00 ` rearnsha at gcc dot gnu dot org
2005-01-05 19:05 ` [Bug rtl-optimization/18401] " pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-22 13:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-22 13:03 -------
If only we had unit testing...
Richard, you think you can figure out when this problem *disappeared*? Maybe
it was one of the many bitmaps changes, and there really is no GCSE bug. If
there is a real GCSE bug, I would think we'd have found it much earlier. But
if some unrelated patch fixed the bug, I'll build a 2004-11-03 i686-x-arm
compiler and see if I can figure out what is going on...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-12-22 13:03 ` steven at gcc dot gnu dot org
@ 2005-01-05 19:00 ` rearnsha at gcc dot gnu dot org
2005-01-05 19:05 ` [Bug rtl-optimization/18401] " pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2005-01-05 19:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-05 19:00 -------
It went away after this patch:
2004-11-10 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in
right order.
(force_var_cost): Determine cost of addition and multiplication more
precisely.
(get_computation_cost_at): Add cost for computing address elements to
the final cost.
* fold-const.c (fold): Attempt to use ptr_difference_const whenever
one of the arguments of MINUS_EXPR is an address.
(split_address_to_core_and_offset): New function.
(ptr_difference_const): Handle case when one of the operands is a
pointer.
* tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr.
(ptr_difference_cost): Pass addresses instead of objects to
ptr_difference_const.
So I suspect it might have gone latent again, but it might be that it was fixed
by the canonicalization change to get_address_cost and that the problem can only
occur with RTL that is not in correct canonical form.
For reference here are the links to the two patch proposals:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00610.html
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00715.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/18401] Bootstrap failure on all ARM targets due to incorrect GCSE
2004-11-09 15:08 [Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE rearnsha at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-01-05 19:00 ` rearnsha at gcc dot gnu dot org
@ 2005-01-05 19:05 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-05 19:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-05 19:05 -------
Lets remove the regression marker for now and confirm it as it is latent but not reproducible.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|WAITING |NEW
Ever Confirmed| |1
Keywords|build |
Last reconfirmed|0000-00-00 00:00:00 |2005-01-05 19:05:05
date| |
Summary|[4.0.0 Regression] Bootstrap|Bootstrap failure on all ARM
|failure on all ARM targets |targets due to incorrect
|due to incorrect GCSE |GCSE
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401
^ permalink raw reply [flat|nested] 10+ messages in thread