public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c
@ 2006-02-08 20:58 ahaas at airmail dot net
2006-02-08 21:01 ` [Bug c++/26179] " ahaas at airmail dot net
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: ahaas at airmail dot net @ 2006-02-08 20:58 UTC (permalink / raw)
To: gcc-bugs
Hi.
As of February 6, my GCC build has an ICE when building CVS mozilla code.
The output of compiling the file with '-v -save-temps' is below. The
preprocessed file will be submitted once this messages gets into bugzilla.
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/arth/gcc/configure --prefix=/opt/gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,objc
--disable-checking --with-system-zlib --with-gc=page
Thread model: posix
gcc version 4.2.0 20060208 (experimental)
/opt/gnu/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1plus -E -quiet -v
-I../../dist/include/system_wrappers -I/home/arth/mozilla/layout/generic
-I/home/arth/mozilla/layout/generic/../base
-I/home/arth/mozilla/layout/generic/../tables
-I/home/arth/mozilla/layout/generic/../xul/base/src
-I/home/arth/mozilla/layout/generic/../../content/xul/content/src
-I/home/arth/mozilla/layout/generic/../../content/base/src
-I/home/arth/mozilla/layout/generic/../../content/html/content/src
-I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/dom
-I../../dist/include/content -I../../dist/include/gfx
-I../../dist/include/widget -I../../dist/include/locale
-I../../dist/include/view -I../../dist/include/necko -I../../dist/include/js
-I../../dist/include/caps -I../../dist/include/pref
-I../../dist/include/htmlparser -I../../dist/include/webshell
-I../../dist/include/plugin -I../../dist/include/docshell
-I../../dist/include/uriloader -I../../dist/include/mimetype
-I../../dist/include/webbrwsr -I../../dist/include/oji
-I../../dist/include/unicharutil -I../../dist/include/lwbrk
-I../../dist/include/imglib2 -I../../dist/include/accessibility
-I../../dist/include/xpconnect -I../../dist/include/java
-I../../dist/include/exthandler -I../../dist/include/intl
-I../../dist/include/uconv -I../../dist/include -I../../dist/include/layout
-I../../dist/include/nspr -I../../dist/sdk/include -D_GNU_SOURCE -D_REENTRANT
-DMOZILLA_INTERNAL_API -DOSTYPE="Linux2.6.15-1" -DOSARCH="Linux"
-DBUILD_ID=2006020810 -D_IMPL_NS_LAYOUT -DNDEBUG -DTRIMMED -DMOZILLA_CLIENT
-include /home/arth/mozilla/config/gcc_hidden.h -include ../../mozilla-config.h
-MD .deps/nsTextFrame.pp /home/arth/mozilla/layout/generic/nsTextFrame.cpp
-march=pentium3 -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -pedantic -fPIC -fno-rtti -fno-exceptions -fno-check-new
-fshort-wchar -ffunction-sections -O2 -fpch-preprocess -o
nsTextFrame.iiignoring nonexistent directory
"/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
../../dist/include/system_wrappers
/home/arth/mozilla/layout/generic
/home/arth/mozilla/layout/generic/../base
/home/arth/mozilla/layout/generic/../tables
/home/arth/mozilla/layout/generic/../xul/base/src
/home/arth/mozilla/layout/generic/../../content/xul/content/src
/home/arth/mozilla/layout/generic/../../content/base/src
/home/arth/mozilla/layout/generic/../../content/html/content/src
../../dist/include/xpcom
../../dist/include/string
../../dist/include/dom
../../dist/include/content
../../dist/include/gfx
../../dist/include/widget
../../dist/include/locale
../../dist/include/view
../../dist/include/necko
../../dist/include/js
../../dist/include/caps
../../dist/include/pref
../../dist/include/htmlparser
../../dist/include/webshell
../../dist/include/plugin
../../dist/include/docshell
../../dist/include/uriloader
../../dist/include/mimetype
../../dist/include/webbrwsr
../../dist/include/oji
../../dist/include/unicharutil
../../dist/include/lwbrk
../../dist/include/imglib2
../../dist/include/accessibility
../../dist/include/xpconnect
../../dist/include/java
../../dist/include/exthandler
../../dist/include/intl
../../dist/include/uconv
../../dist/include
../../dist/include/layout
../../dist/include/nspr
../../dist/sdk/include
/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0
/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/i686-pc-linux-gnu
/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/backward
/usr/local/include
/opt/gnu/include
/opt/gnu/lib/gcc/i686-pc-linux-gnu/4.2.0/include
/usr/include
End of search list.
/opt/gnu/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1plus -fpreprocessed
nsTextFrame.ii -quiet -dumpbase nsTextFrame.cpp -march=pentium3 -auxbase-strip
nsTextFrame.o -O2 -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -pedantic -version -fPIC -fno-rtti -fno-exceptions
-fno-check-new -fshort-wchar -ffunction-sections -o nsTextFrame.s
GNU C++ version 4.2.0 20060208 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.0 20060208 (experimental).
GGC heuristics: --param ggc-min-expand=46 --param ggc-min-heapsize=31772
Compiler executable checksum: d7474398a8dcc6bc2280de373ea5e626
{ ... mozilla code warnings ... }
/home/arth/mozilla/layout/generic/nsTextFrame.cpp:6291: internal compiler
error: in create_component_ref_by_pieces, at tree-ssa-pre.c:2167
Please submit a full bug report,
with preprocessed source if appropriate.
--
Summary: ICE while compiling mozilla in tree-ssa-pre.c
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ahaas at airmail dot net
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/26179] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
@ 2006-02-08 21:01 ` ahaas at airmail dot net
2006-02-08 23:14 ` [Bug tree-optimization/26179] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ahaas at airmail dot net @ 2006-02-08 21:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ahaas at airmail dot net 2006-02-08 21:01 -------
Created an attachment (id=10804)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10804&action=view)
Pre-processed output of file inducing ICE
Attaching pre-processed output. File compressed with bzip2 due to size.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
2006-02-08 21:01 ` [Bug c++/26179] " ahaas at airmail dot net
@ 2006-02-08 23:14 ` pinskia at gcc dot gnu dot org
2006-02-08 23:16 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-08 23:14 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
Component|c++ |tree-optimization
Keywords| |ice-on-valid-code
Summary|ICE while compiling mozilla |[4.2 Regression] ICE while
|in tree-ssa-pre.c |compiling mozilla in tree-
| |ssa-pre.c
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
2006-02-08 21:01 ` [Bug c++/26179] " ahaas at airmail dot net
2006-02-08 23:14 ` [Bug tree-optimization/26179] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-08 23:16 ` pinskia at gcc dot gnu dot org
2006-02-08 23:23 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-08 23:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-08 23:16 -------
I bet it is RETURN_DECL which is the problem but checking for sure now.
If it is I will apply the obvious patch with a testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
` (2 preceding siblings ...)
2006-02-08 23:16 ` pinskia at gcc dot gnu dot org
@ 2006-02-08 23:23 ` pinskia at gcc dot gnu dot org
2006-02-08 23:31 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-08 23:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-08 23:23 -------
Reduced testcase for the RETURN_DECL issue (I still have to figure out if this
is the same issue):
struct a
{
int i;
};
void h(struct a&);
void l(void);
struct a g(void)
{
struct a fl;
h(fl);
if (fl.i)
l();
fl.i+=2;
return fl;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
` (3 preceding siblings ...)
2006-02-08 23:23 ` pinskia at gcc dot gnu dot org
@ 2006-02-08 23:31 ` pinskia at gcc dot gnu dot org
2006-02-09 14:31 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-08 23:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-08 23:31 -------
Yes it is the same issue.
(gdb) p debug_tree(genop)
<result_decl 0x2aaaae498be0 addedDimensions
Fixing
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-08 23:31:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
` (4 preceding siblings ...)
2006-02-08 23:31 ` pinskia at gcc dot gnu dot org
@ 2006-02-09 14:31 ` pinskia at gcc dot gnu dot org
2006-02-09 14:32 ` pinskia at gcc dot gnu dot org
2006-02-10 13:40 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-09 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-09 14:31 -------
Subject: Bug 26179
Author: pinskia
Date: Thu Feb 9 14:31:28 2006
New Revision: 110801
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110801
Log:
2006-02-09 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/26179
* g++.dg/opt/pr26179.C: New test.
2006-02-09 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/26179
* tree-ssa-pre.c (create_component_ref_by_pieces):
Handle RETURN_DECL like VAR_DECL.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr26179.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
` (5 preceding siblings ...)
2006-02-09 14:31 ` pinskia at gcc dot gnu dot org
@ 2006-02-09 14:32 ` pinskia at gcc dot gnu dot org
2006-02-10 13:40 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-09 14:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-02-09 14:32 -------
Fixed. Thanks for your report.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/26179] [4.2 Regression] ICE while compiling mozilla in tree-ssa-pre.c
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
` (6 preceding siblings ...)
2006-02-09 14:32 ` pinskia at gcc dot gnu dot org
@ 2006-02-10 13:40 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-10 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-02-10 13:40 -------
*** Bug 26212 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mueller at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26179
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-02-10 13:40 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 20:58 [Bug c++/26179] New: ICE while compiling mozilla in tree-ssa-pre.c ahaas at airmail dot net
2006-02-08 21:01 ` [Bug c++/26179] " ahaas at airmail dot net
2006-02-08 23:14 ` [Bug tree-optimization/26179] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-08 23:16 ` pinskia at gcc dot gnu dot org
2006-02-08 23:23 ` pinskia at gcc dot gnu dot org
2006-02-08 23:31 ` pinskia at gcc dot gnu dot org
2006-02-09 14:31 ` pinskia at gcc dot gnu dot org
2006-02-09 14:32 ` pinskia at gcc dot gnu dot org
2006-02-10 13:40 ` pinskia 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).