public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree
@ 2003-10-29 13:58 falk at debian dot org
2003-10-30 4:43 ` [Bug optimization/12825] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: falk at debian dot org @ 2003-10-29 13:58 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
Summary: [tree-ssa] ICE in optimize_function_tree
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
falk@juist:/tmp% cat test.c
struct floppy_raw_cmd {
int flags, track;
} *raw_cmd, default_raw_cmd;
void
setup_format_params (void)
{
raw_cmd = &default_raw_cmd;
raw_cmd->track = 0;
raw_cmd->flags = 0;
}
falk@juist:/tmp% gcc -v -c -O test.c
Reading specs from
/usr/local/stow/gcc-tree-ssa-2003.10.29/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/specs
Configured with: ../configure --disable-nls --enable-languages=c++
Thread model: posix
gcc version 3.5-tree-ssa 20031029 (merged 20031026)
/usr/local/stow/gcc-tree-ssa-2003.10.29/bin/../libexec/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/cc1 -quiet -v -iprefix /usr/local/stow/gcc-tree-ssa-2003.10.29/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/ test.c -quiet -dumpbase test.c -mcpu=ev67 -auxbase test -O -version -o /tmp/ccgyhGMM.s
ignoring nonexistent directory
"/usr/local/stow/gcc-tree-ssa-2003.10.29/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/../../../../alphaev68-unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring duplicate directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/../../../../alphaev68-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/stow/gcc-tree-ssa-2003.10.29/bin/../lib/gcc/alphaev68-unknown-linux-gnu/3.5-tree-ssa/include
/usr/local/include
/usr/include
End of search list.
GNU C version 3.5-tree-ssa 20031029 (merged 20031026) (alphaev68-unknown-linux-gnu)
compiled by GNU C version 3.5-tree-ssa 20031029 (merged 20031026).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test.c: In function `setup_format_params':
test.c:7: internal compiler error: in optimize_function_tree, at tree-optimize.c:163
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Does not occur at -O0.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/12825] [tree-ssa] ICE in optimize_function_tree
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
@ 2003-10-30 4:43 ` pinskia at gcc dot gnu dot org
2003-10-30 14:51 ` falk at debian dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-30 4:43 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-30 04:41:59
date| |
Target Milestone|--- |tree-ssa
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-30 04:41 -------
Does not happen with -O2 either:
: Search converges between 2003-10-12-ssa (#106) and 2003-10-13-ssa (#107).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/12825] [tree-ssa] ICE in optimize_function_tree
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
2003-10-30 4:43 ` [Bug optimization/12825] " pinskia at gcc dot gnu dot org
@ 2003-10-30 14:51 ` falk at debian dot org
2003-10-30 15:21 ` dnovillo at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: falk at debian dot org @ 2003-10-30 14:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
------- Additional Comments From falk at debian dot org 2003-10-30 14:42 -------
The original test case also hast this ICE at -O2, I can provide it if anybody
is interested.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/12825] [tree-ssa] ICE in optimize_function_tree
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
2003-10-30 4:43 ` [Bug optimization/12825] " pinskia at gcc dot gnu dot org
2003-10-30 14:51 ` falk at debian dot org
@ 2003-10-30 15:21 ` dnovillo at gcc dot gnu dot org
2003-10-31 12:59 ` dnovillo at gcc dot gnu dot org
2003-10-31 13:00 ` dnovillo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2003-10-30 15:21 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
------- Additional Comments From dnovillo at gcc dot gnu dot org 2003-10-30 14:51 -------
Interesting. We are exposing new symbols after the second DOM pass. If you
replace the call to abort() at tree-optimize.c:163 with the line below, it
should work. However, I'd like to take a look at the test case and see why
weren't all the symbols exposed by the 1st DOM and CCP passes.
rewrite_into_ssa (fndecl, vars_to_rename, TDI_ssa_5);
I'll take this PR.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/12825] [tree-ssa] ICE in optimize_function_tree
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
` (2 preceding siblings ...)
2003-10-30 15:21 ` dnovillo at gcc dot gnu dot org
@ 2003-10-31 12:59 ` dnovillo at gcc dot gnu dot org
2003-10-31 13:00 ` dnovillo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2003-10-31 12:59 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |green at redhat dot com
------- Additional Comments From dnovillo at gcc dot gnu dot org 2003-10-31 12:15 -------
*** Bug 12853 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/12825] [tree-ssa] ICE in optimize_function_tree
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
` (3 preceding siblings ...)
2003-10-31 12:59 ` dnovillo at gcc dot gnu dot org
@ 2003-10-31 13:00 ` dnovillo at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2003-10-31 13:00 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12825
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From dnovillo at gcc dot gnu dot org 2003-10-31 12:59 -------
Fixed by running SSA renamer after DOM2.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-31 12:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-29 13:58 [Bug optimization/12825] New: [tree-ssa] ICE in optimize_function_tree falk at debian dot org
2003-10-30 4:43 ` [Bug optimization/12825] " pinskia at gcc dot gnu dot org
2003-10-30 14:51 ` falk at debian dot org
2003-10-30 15:21 ` dnovillo at gcc dot gnu dot org
2003-10-31 12:59 ` dnovillo at gcc dot gnu dot org
2003-10-31 13:00 ` dnovillo 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).