* [Bug c/13472] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
@ 2003-12-23 3:45 ` p dot van-hoof at qub dot ac dot uk
2003-12-23 6:23 ` [Bug optimization/13472] [3.3 Regression] " pinskia at gcc dot gnu dot org
` (20 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2003-12-23 3:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From p dot van-hoof at qub dot ac dot uk 2003-12-23 02:10 -------
Created an attachment (id=5357)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5357&action=view)
code that triggers the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
2003-12-23 3:45 ` [Bug c/13472] " p dot van-hoof at qub dot ac dot uk
@ 2003-12-23 6:23 ` pinskia at gcc dot gnu dot org
2003-12-23 14:50 ` ebotcazou at gcc dot gnu dot org
` (19 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-23 6:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-23 05:49 -------
pentanic changes how global const int are handled, really const and replace the variable with a
constant which changes the code. I do not know where the problem is. I do know that the
mainline does not seg fault.
Confirmed. I am wondering if GCC loses track that q is constant.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |optimization
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2003-12-23 05:49:29
date| |
Summary|optimizer generates code to |[3.3 Regression] optimizer
|store data in const int, |generates code to store data
|resulting in a segfault |in const int, resulting in a
| |segfault
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
2003-12-23 3:45 ` [Bug c/13472] " p dot van-hoof at qub dot ac dot uk
2003-12-23 6:23 ` [Bug optimization/13472] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2003-12-23 14:50 ` ebotcazou at gcc dot gnu dot org
2003-12-23 14:53 ` ebotcazou at gcc dot gnu dot org
` (18 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-12-23 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-12-23 14:19 -------
The final culprit is the reload pass: it generates the store (although the MEM
is marked as unchanging) because it thinks the memory location is a regular
spill slot. It appears that the reload pass doesn't care about the /u flag when
recording equivalent memory locations based on the presence of REG_EQUIV notes.
But I don't know if this is really a reload problem: maybe reload implicitly
expects full equivalence between objects in pairs that carry REG_EQUIV notes.
In any cases, the dependence upon -pedantic is certainly a bug and is actually
recognized as such in the code (c-typeck.c:790):
/* Return either DECL or its known constant value (if it has one), but
return DECL if pedantic or DECL has mode BLKmode. This is for
bug-compatibility with the old behavior of decl_constant_value
(before GCC 3.0); every use of this function is a bug and it should
be removed before GCC 3.1. It is not appropriate to use pedantic
in a way that affects optimization, and BLKmode is probably not the
right test for avoiding misoptimizations either. */
static tree
decl_constant_value_for_broken_optimization (decl)
tree decl;
{
if (pedantic || DECL_MODE (decl) == BLKmode)
return decl;
else
return decl_constant_value (decl);
}
So I think the fix is to remove decl_constant_value_for_broken_optimization
altogether from the C front-end. But this is probably not doable on a release
branch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (2 preceding siblings ...)
2003-12-23 14:50 ` ebotcazou at gcc dot gnu dot org
@ 2003-12-23 14:53 ` ebotcazou at gcc dot gnu dot org
2003-12-26 14:10 ` pinskia at gcc dot gnu dot org
` (17 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-12-23 14:53 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (3 preceding siblings ...)
2003-12-23 14:53 ` ebotcazou at gcc dot gnu dot org
@ 2003-12-26 14:10 ` pinskia at gcc dot gnu dot org
2004-01-07 8:41 ` ebotcazou at gcc dot gnu dot org
` (16 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 14:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-26 05:53 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02005.html>
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (4 preceding siblings ...)
2003-12-26 14:10 ` pinskia at gcc dot gnu dot org
@ 2004-01-07 8:41 ` ebotcazou at gcc dot gnu dot org
2004-01-11 21:27 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-07 8:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-07 08:41 -------
Confirmed, thanks for this second testcase.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-12-23 05:49:29 |2004-01-07 08:41:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (5 preceding siblings ...)
2004-01-07 8:41 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-11 21:27 ` pinskia at gcc dot gnu dot org
2004-01-21 3:29 ` dhazeghi at yahoo dot com
` (14 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-11 21:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-11 21:27 -------
newer patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-01/msg00769.html>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (6 preceding siblings ...)
2004-01-11 21:27 ` pinskia at gcc dot gnu dot org
@ 2004-01-21 3:29 ` dhazeghi at yahoo dot com
2004-01-21 3:35 ` gdr at integrable-solutions dot net
` (13 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 3:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 03:29 -------
Eric, was your patch approved? Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (7 preceding siblings ...)
2004-01-21 3:29 ` dhazeghi at yahoo dot com
@ 2004-01-21 3:35 ` gdr at integrable-solutions dot net
2004-01-21 7:23 ` ebotcazou at gcc dot gnu dot org
` (12 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-01-21 3:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2004-01-21 03:35 -------
Subject: Re: [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
"dhazeghi at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| Eric, was your patch approved? Thanks.
Yes, I think it was. Eric, please could you put all that in the usual
form, or even better apply it? Thanks,
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (8 preceding siblings ...)
2004-01-21 3:35 ` gdr at integrable-solutions dot net
@ 2004-01-21 7:23 ` ebotcazou at gcc dot gnu dot org
2004-01-21 7:36 ` ebotcazou at gcc dot gnu dot org
` (11 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-21 7:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-21 07:22 -------
No, I don't want to apply it until the branch has fully recovered from its
January chaos.
This patch
2004-01-16 Jan Hubicka <jh@suse.cz>
PR opt/11350
* cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
after reload.
* cfgrtl.c (try_redirect_by_replacing_branch): Likewise.
caused a disaster on mainline on anything else than x86.
This patch
2004-01-15 J"orn Rennecke <joern.rennecke@superh.com>
PR optimization/10392
* reload.c (can_reload_into): New function.
(push_reload): Use it.
should never have been put on the branch at this point.
I found this patch
2004-01-09 Richard Henderson <rth@redhat.com>
* recog.c (constrain_operands): Validate mem operands.
very risky too.
So don't count on me to put a patch to reload on the branch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (9 preceding siblings ...)
2004-01-21 7:23 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-21 7:36 ` ebotcazou at gcc dot gnu dot org
2004-01-21 7:37 ` ebotcazou at gcc dot gnu dot org
` (10 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-21 7:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-21 07:36 -------
The original problem can be easily worked around by not passing -pedantic.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (10 preceding siblings ...)
2004-01-21 7:36 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-21 7:37 ` ebotcazou at gcc dot gnu dot org
2004-01-21 7:38 ` gdr at integrable-solutions dot net
` (9 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-21 7:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-21 07:37 -------
*** Bug 13634 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rosbacke at nada dot kth dot
| |se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (11 preceding siblings ...)
2004-01-21 7:37 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-21 7:38 ` gdr at integrable-solutions dot net
2004-01-21 8:36 ` ebotcazou at gcc dot gnu dot org
` (8 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-01-21 7:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2004-01-21 07:38 -------
Subject: Re: [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
"ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| No, I don't want to apply it until the branch has fully recovered from its
| January chaos.
I don't understand this part of your comment.
| This patch
|
| 2004-01-16 Jan Hubicka <jh@suse.cz>
|
| PR opt/11350
| * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
| after reload.
| * cfgrtl.c (try_redirect_by_replacing_branch): Likewise.
|
| caused a disaster on mainline on anything else than x86.
Do you see similar disaster on branch?
[...]
| So don't count on me to put a patch to reload on the branch.
I hear you. Thanks,
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (12 preceding siblings ...)
2004-01-21 7:38 ` gdr at integrable-solutions dot net
@ 2004-01-21 8:36 ` ebotcazou at gcc dot gnu dot org
2004-01-21 14:06 ` gdr at integrable-solutions dot net
` (7 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-21 8:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-21 08:35 -------
> I don't understand this part of your comment.
Until early January, bugfixes on the 3.3 branch had been very localized, either
in a specific back-end or front-end or optimization pass that can be disabled.
Then, suddendly, central parts of the compiler that are run at any optimization
levels started to be touched:
- I think Richard's patch has a potential effect on every memory pattern in
every back-end,
- Joern's reload patch is... a reload patch and, judging by him asking you to
put his other reload patch (fix for PR 11864) to the branch, this latter patch
having a serious impact on the back-end (Alpha, PA, MIPS and SPARC at least),
I'm not sure that he fully evaluated the impact of this patch,
- Jan's patch deals with a very hot topic: table jump removal. We have been
fighting this problem for a long time and I was under the impression it is more
or less under control on the 3.3 branch.
> Do you see similar disaster on branch?
No.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (13 preceding siblings ...)
2004-01-21 8:36 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-21 14:06 ` gdr at integrable-solutions dot net
2004-01-21 14:33 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-01-21 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2004-01-21 14:06 -------
Subject: Re: [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
"ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| > I don't understand this part of your comment.
|
| Until early January, bugfixes on the 3.3 branch had been very
| localized, either in a specific back-end or front-end or
| optimization pass that can be disabled. Then, suddendly, central
| parts of the compiler that are run at any optimization levels
| started to be touched:
Thanks for explaining yourself. But I would not have used the word
"chaos", though.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (14 preceding siblings ...)
2004-01-21 14:06 ` gdr at integrable-solutions dot net
@ 2004-01-21 14:33 ` ebotcazou at gcc dot gnu dot org
2004-01-29 5:04 ` gdr at gcc dot gnu dot org
` (5 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-21 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-21 14:33 -------
I concede that the wording was a bit harsh. But I was a bit frustrated to see
these three IMHO risky patches on the branch. Sorry.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (15 preceding siblings ...)
2004-01-21 14:33 ` ebotcazou at gcc dot gnu dot org
@ 2004-01-29 5:04 ` gdr at gcc dot gnu dot org
2004-01-29 5:12 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-01-29 5:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-01-29 05:04 -------
Potsponed until 3.3.4
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (16 preceding siblings ...)
2004-01-29 5:04 ` gdr at gcc dot gnu dot org
@ 2004-01-29 5:12 ` pinskia at gcc dot gnu dot org
2004-03-08 7:13 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-29 5:12 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.3 |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (17 preceding siblings ...)
2004-01-29 5:12 ` pinskia at gcc dot gnu dot org
@ 2004-03-08 7:13 ` ebotcazou at gcc dot gnu dot org
2004-03-13 0:31 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-08 7:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-03-08 07:13 -------
The final patch is at http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01296.html
But I'm still not convinced it is appropriate for the 3.3 branch, nor that it is
the real fix for the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|ebotcazou at gcc dot gnu dot|unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (18 preceding siblings ...)
2004-03-08 7:13 ` ebotcazou at gcc dot gnu dot org
@ 2004-03-13 0:31 ` cvs-commit at gcc dot gnu dot org
2004-03-13 0:35 ` gdr at gcc dot gnu dot org
2004-04-18 22:43 ` pinskia at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-13 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-13 00:31 -------
Subject: Bug 13472
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-03-13 00:30:54
Modified files:
gcc : ChangeLog reload1.c
Added files:
gcc/testsuite/gcc.dg: const-1.c
Log message:
Endorse:
2004-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR optimization/13472
* reload.c (reload): Don't record unchanging memory locations.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.935&r2=1.16114.2.936
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.366.2.9&r2=1.366.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/const-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (19 preceding siblings ...)
2004-03-13 0:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-13 0:35 ` gdr at gcc dot gnu dot org
2004-04-18 22:43 ` pinskia at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-03-13 0:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-03-13 00:35 -------
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01081.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
2003-12-23 3:23 [Bug c/13472] New: optimizer generates code to store data in const int, resulting in a segfault p dot van-hoof at qub dot ac dot uk
` (20 preceding siblings ...)
2004-03-13 0:35 ` gdr at gcc dot gnu dot org
@ 2004-04-18 22:43 ` pinskia at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 22:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-18 21:50 -------
*** Bug 12271 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |fargaud at yahoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472
^ permalink raw reply [flat|nested] 23+ messages in thread