* [Bug c/17885] gimplify.c fatal error while expanding a macro
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
@ 2004-10-07 19:37 ` 10 dot 50 at free dot fr
2004-10-07 19:51 ` [Bug middle-end/17885] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: 10 dot 50 at free dot fr @ 2004-10-07 19:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 10 dot 50 at free dot fr 2004-10-07 19:37 -------
Created an attachment (id=7304)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7304&action=view)
.i file (bzip'ed)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplify.c fatal error while expanding a macro
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
2004-10-07 19:37 ` [Bug c/17885] " 10 dot 50 at free dot fr
@ 2004-10-07 19:51 ` pinskia at gcc dot gnu dot org
2004-10-07 19:52 ` pinskia 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-10-07 19:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-07 19:51 -------
struct lock {
int lk_interlock;
};
void
acquire(volatile struct lock *lkp)
{
&lkp->lk_interlock;
}
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-10-07 19:51:36
date| |
Summary|gimplify.c fatal error while|[4.0 Regression] gimplify.c
|expanding a macro |fatal error while expanding
| |a macro
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplify.c fatal error while expanding a macro
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
2004-10-07 19:37 ` [Bug c/17885] " 10 dot 50 at free dot fr
2004-10-07 19:51 ` [Bug middle-end/17885] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-07 19:52 ` pinskia at gcc dot gnu dot org
2004-10-16 16:07 ` [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a-> reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-07 19:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-07 19:52 -------
: Search converges between 2004-08-22-trunk (#521) and 2004-08-23-trunk (#522).
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
GCC host triplet|i386-unknown-netbsdelf2.99.9|
GCC target triplet|i386-unknown-netbsdelf2.99.9|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (2 preceding siblings ...)
2004-10-07 19:52 ` pinskia at gcc dot gnu dot org
@ 2004-10-16 16:07 ` reichelt at gcc dot gnu dot org
2004-10-16 16:10 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-16 16:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-16 16:07 -------
Andrew, your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-08/msg01149.html
seems to be responsible for the regression.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (3 preceding siblings ...)
2004-10-16 16:07 ` [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a-> reichelt at gcc dot gnu dot org
@ 2004-10-16 16:10 ` pinskia at gcc dot gnu dot org
2004-10-18 14:25 ` pinskia 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-10-16 16:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-16 16:10 -------
Yes it is responable in finding the latent bug in the gimplifier, if I have time I will try to see how to fix it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (4 preceding siblings ...)
2004-10-16 16:10 ` pinskia at gcc dot gnu dot org
@ 2004-10-18 14:25 ` pinskia at gcc dot gnu dot org
2004-10-18 22:17 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-18 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 14:25 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01476.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (5 preceding siblings ...)
2004-10-18 14:25 ` pinskia at gcc dot gnu dot org
@ 2004-10-18 22:17 ` pinskia at gcc dot gnu dot org
2004-10-19 17:24 ` cvs-commit at gcc dot gnu dot org
2004-10-20 9:33 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-18 22:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 22:17 -------
My patch is wrong, RTH is working on this now.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
Keywords|patch |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (6 preceding siblings ...)
2004-10-18 22:17 ` pinskia at gcc dot gnu dot org
@ 2004-10-19 17:24 ` cvs-commit at gcc dot gnu dot org
2004-10-20 9:33 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-19 17:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-19 17:24 -------
Subject: Bug 17885
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2004-10-19 17:24:48
Modified files:
gcc : ChangeLog tree.c
Log message:
PR middle-end/17885
* tree.c (recompute_tree_invarant_for_addr_expr): Always poll address
of INDIRECT_REF.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5948&r2=2.5949
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.437&r2=1.438
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/17885] [4.0 Regression] gimplifing of volatile &a->
2004-10-07 19:35 [Bug c/17885] New: gimplify.c fatal error while expanding a macro 10 dot 50 at free dot fr
` (7 preceding siblings ...)
2004-10-19 17:24 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-20 9:33 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-20 9:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-20 09:33 -------
Do we want to add a testcase to testsuite for this?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885
^ permalink raw reply [flat|nested] 10+ messages in thread