public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE
@ 2007-08-16 16:01 sje at cup dot hp dot com
2007-08-16 16:54 ` [Bug middle-end/33092] [4.3 Regrsssion] " pinskia at gcc dot gnu dot org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2007-08-16 16:01 UTC (permalink / raw)
To: gcc-bugs
While turning off optimizations to try and track down a compiler bug I noticed
that if I used -fno-tree-salias with -O1 the compiler would ICE:
x.c: In function 'main':
x.c:1: internal compiler error: in verify_curr_properties, at passes.c:1035
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This can be reproduced by compiling any program with "-O1 -fno-tree-salias".
--
Summary: Using -O1 -fno-tree-salias results in ICE
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
@ 2007-08-16 16:54 ` pinskia at gcc dot gnu dot org
2007-08-16 17:38 ` dberlin at dberlin dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-16 16:54 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org
Summary|Using -O1 -fno-tree-salias |[4.3 Regrsssion] Using -O1 -
|results in ICE |fno-tree-salias results in
| |ICE
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
2007-08-16 16:54 ` [Bug middle-end/33092] [4.3 Regrsssion] " pinskia at gcc dot gnu dot org
@ 2007-08-16 17:38 ` dberlin at dberlin dot org
2007-08-20 1:46 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dberlin at dberlin dot org @ 2007-08-16 17:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dberlin at gcc dot gnu dot org 2007-08-16 17:37 -------
Subject: Re: [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
Yeah, we either need to remove salias, or force create an empty
may_alias pass that returns TODO_may_alias but does nothing else.
I'm not sure which is the better option (I don't really see the point
of -fno-tree-salias, it would be like -fno-tree-call-cloberring)
On 16 Aug 2007 16:54:38 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> --
>
> pinskia at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |dberlin at gcc dot gnu dot
> | |org
> Summary|Using -O1 -fno-tree-salias |[4.3 Regrsssion] Using -O1 -
> |results in ICE |fno-tree-salias results in
> | |ICE
> Target Milestone|--- |4.3.0
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
2007-08-16 16:54 ` [Bug middle-end/33092] [4.3 Regrsssion] " pinskia at gcc dot gnu dot org
2007-08-16 17:38 ` dberlin at dberlin dot org
@ 2007-08-20 1:46 ` pinskia at gcc dot gnu dot org
2007-09-05 1:31 ` mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20 1:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-20 01:46 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-08-20 01:46:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (2 preceding siblings ...)
2007-08-20 1:46 ` pinskia at gcc dot gnu dot org
@ 2007-09-05 1:31 ` mmitchel at gcc dot gnu dot org
2007-10-03 23:13 ` [Bug tree-optimization/33092] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-05 1:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mmitchel at gcc dot gnu dot org 2007-09-05 01:31 -------
I'm all for removing optimization options if we don't ever want to turn them
off. Fewer options would be better...
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (3 preceding siblings ...)
2007-09-05 1:31 ` mmitchel at gcc dot gnu dot org
@ 2007-10-03 23:13 ` pinskia at gcc dot gnu dot org
2007-10-06 21:23 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-03 23:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-10-03 23:12 -------
*** Bug 33650 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (4 preceding siblings ...)
2007-10-03 23:13 ` [Bug tree-optimization/33092] " pinskia at gcc dot gnu dot org
@ 2007-10-06 21:23 ` pinskia at gcc dot gnu dot org
2007-11-16 20:00 ` rob dot quill at gmail dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-06 21:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-10-06 21:22 -------
*** Bug 33681 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |patrik dot hagglund at
| |bredband dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (5 preceding siblings ...)
2007-10-06 21:23 ` pinskia at gcc dot gnu dot org
@ 2007-11-16 20:00 ` rob dot quill at gmail dot com
2007-11-17 19:27 ` rob dot quill at gmail dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rob dot quill at gmail dot com @ 2007-11-16 20:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rob dot quill at gmail dot com 2007-11-16 20:00 -------
I'm working on adding a new pass for this.
Rob
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (6 preceding siblings ...)
2007-11-16 20:00 ` rob dot quill at gmail dot com
@ 2007-11-17 19:27 ` rob dot quill at gmail dot com
2007-11-19 13:46 ` rob dot quill at gmail dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rob dot quill at gmail dot com @ 2007-11-17 19:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rob dot quill at gmail dot com 2007-11-17 19:27 -------
I believe I have this done, just checking there are no regressions.
Rob
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (7 preceding siblings ...)
2007-11-17 19:27 ` rob dot quill at gmail dot com
@ 2007-11-19 13:46 ` rob dot quill at gmail dot com
2008-01-22 13:36 ` [Bug tree-optimization/33092] [4.3 Regression] " manu at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rob dot quill at gmail dot com @ 2007-11-19 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rob dot quill at gmail dot com 2007-11-19 13:46 -------
Created an attachment (id=14581)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14581&action=view)
Patch adds a dummy pass, as discussed in comments
Patch attached, no regressions on x86_64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regression] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (8 preceding siblings ...)
2007-11-19 13:46 ` rob dot quill at gmail dot com
@ 2008-01-22 13:36 ` manu at gcc dot gnu dot org
2008-01-22 13:37 ` manu at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-22 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from manu at gcc dot gnu dot org 2008-01-22 13:28 -------
Subject: Bug 33092
Author: manu
Date: Tue Jan 22 13:27:52 2008
New Revision: 131717
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131717
Log:
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/33092
* tree-pass.h (pass_build_alias): New pass.
* tree-ssa-alias.c (gate_build_alias): New.
(pass_build_alias): New.
* passes.c (init_optimization_passes): Add pass_build_alias after
pass_create_structure_vars.
testsuite/
* gcc.dg/pr33092.c: New.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/passes.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-pass.h
trunk/gcc/tree-ssa-alias.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regression] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (9 preceding siblings ...)
2008-01-22 13:36 ` [Bug tree-optimization/33092] [4.3 Regression] " manu at gcc dot gnu dot org
@ 2008-01-22 13:37 ` manu at gcc dot gnu dot org
2008-01-22 13:40 ` manu at gcc dot gnu dot org
2008-01-22 14:37 ` manu at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-22 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from manu at gcc dot gnu dot org 2008-01-22 13:29 -------
Fixed for GCC 4.3
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regression] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (10 preceding siblings ...)
2008-01-22 13:37 ` manu at gcc dot gnu dot org
@ 2008-01-22 13:40 ` manu at gcc dot gnu dot org
2008-01-22 14:37 ` manu at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-22 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from manu at gcc dot gnu dot org 2008-01-22 13:32 -------
Rob,
I just noticed that you proposed a patch and got no answer. I am sorry for
that. Patches should be sent to gcc-patches@gcc.gnu.org. Even that does not
ensure that it will get noticed. If after one week or two nobody gives any
reply, it is fairly common to "ping" the patch from time to time, so it doesn't
get lost. We used to have a patch queue but it is down right now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33092] [4.3 Regression] Using -O1 -fno-tree-salias results in ICE
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
` (11 preceding siblings ...)
2008-01-22 13:40 ` manu at gcc dot gnu dot org
@ 2008-01-22 14:37 ` manu at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-22 14:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from manu at gcc dot gnu dot org 2008-01-22 14:17 -------
Subject: Bug 33092
Author: manu
Date: Tue Jan 22 14:17:00 2008
New Revision: 131721
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131721
Log:
Missed testcase in earlier commit.
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/33092
testsuite/
* gcc.dg/pr33092.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/pr33092.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-01-22 14:18 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-16 16:01 [Bug middle-end/33092] New: Using -O1 -fno-tree-salias results in ICE sje at cup dot hp dot com
2007-08-16 16:54 ` [Bug middle-end/33092] [4.3 Regrsssion] " pinskia at gcc dot gnu dot org
2007-08-16 17:38 ` dberlin at dberlin dot org
2007-08-20 1:46 ` pinskia at gcc dot gnu dot org
2007-09-05 1:31 ` mmitchel at gcc dot gnu dot org
2007-10-03 23:13 ` [Bug tree-optimization/33092] " pinskia at gcc dot gnu dot org
2007-10-06 21:23 ` pinskia at gcc dot gnu dot org
2007-11-16 20:00 ` rob dot quill at gmail dot com
2007-11-17 19:27 ` rob dot quill at gmail dot com
2007-11-19 13:46 ` rob dot quill at gmail dot com
2008-01-22 13:36 ` [Bug tree-optimization/33092] [4.3 Regression] " manu at gcc dot gnu dot org
2008-01-22 13:37 ` manu at gcc dot gnu dot org
2008-01-22 13:40 ` manu at gcc dot gnu dot org
2008-01-22 14:37 ` manu 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).