public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
@ 2006-07-12 13:02 peter dot soetens at fmtc dot be
2006-07-12 13:05 ` [Bug c++/28358] " peter dot soetens at fmtc dot be
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: peter dot soetens at fmtc dot be @ 2006-07-12 13:02 UTC (permalink / raw)
To: gcc-bugs
Full version string:
g++-4.1 (GCC) 4.1.2 20060708 (prerelease) (Ubuntu 4.1.1-8ubuntu1)
Same problem exists in Debian 'etch'.
The error message after the location of the crash is:
/usr/include/boost/spirit/core/composite/actions.hpp:106: internal compiler
error: in expand_expr_addr_expr_1, at expr.c:6336
It only occurs using the -O1 and -O2 flags, but succeeds in compiling using -O0
or -O3. No other flags need to be given to trigger this crash.
Older compiler versions (4.0,3.4,3.3...) do not have this bug.
Preprocessed code follows...
--
Summary: ICE on valide template code using -O1 or -O2, but *not*
with -O0 or -O3
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter dot soetens at fmtc dot be
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
@ 2006-07-12 13:05 ` peter dot soetens at fmtc dot be
2006-07-18 14:03 ` bangerth at dealii dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: peter dot soetens at fmtc dot be @ 2006-07-12 13:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from peter dot soetens at fmtc dot be 2006-07-12 13:05 -------
Created an attachment (id=11866)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11866&action=view)
Compressed (bzip2) preprocessed file
After unzipping, compile this file using:
$ g++-4.1 -c attachment.ii -O2 -o attachment.o
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
2006-07-12 13:05 ` [Bug c++/28358] " peter dot soetens at fmtc dot be
@ 2006-07-18 14:03 ` bangerth at dealii dot org
2006-10-19 18:03 ` fang at csl dot cornell dot edu
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bangerth at dealii dot org @ 2006-07-18 14:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bangerth at dealii dot org 2006-07-18 14:03 -------
Confirmed, though the testcase is huge and the error message atrocious.
Someone will have to take the time to reduce something smaller out of
this whole boost mess...
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-07-18 14:03:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
2006-07-12 13:05 ` [Bug c++/28358] " peter dot soetens at fmtc dot be
2006-07-18 14:03 ` bangerth at dealii dot org
@ 2006-10-19 18:03 ` fang at csl dot cornell dot edu
2006-10-19 18:06 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fang at csl dot cornell dot edu @ 2006-10-19 18:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from fang at csl dot cornell dot edu 2006-10-19 18:03 -------
ping? ice-on-valid in boost
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
` (2 preceding siblings ...)
2006-10-19 18:03 ` fang at csl dot cornell dot edu
@ 2006-10-19 18:06 ` pinskia at gcc dot gnu dot org
2007-02-03 13:13 ` rguenth at gcc dot gnu dot org
2007-08-24 0:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-19 18:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-19 18:06 -------
This is most likely a dup of bug 28116 anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
` (3 preceding siblings ...)
2006-10-19 18:06 ` pinskia at gcc dot gnu dot org
@ 2007-02-03 13:13 ` rguenth at gcc dot gnu dot org
2007-08-24 0:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-02-03 13:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2007-02-03 13:13 -------
I cannot reproduce this with either current 4.1 branch head nor g++ (GCC) 4.1.2
20061115 (prerelease) (Debian 4.1.1-21).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
` (4 preceding siblings ...)
2007-02-03 13:13 ` rguenth at gcc dot gnu dot org
@ 2007-08-24 0:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-24 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-08-24 00:24 -------
Yes this is a dup of PR 28116.
*** This bug has been marked as a duplicate of 28116 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28358
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-08-24 0:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-12 13:02 [Bug c++/28358] New: ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3 peter dot soetens at fmtc dot be
2006-07-12 13:05 ` [Bug c++/28358] " peter dot soetens at fmtc dot be
2006-07-18 14:03 ` bangerth at dealii dot org
2006-10-19 18:03 ` fang at csl dot cornell dot edu
2006-10-19 18:06 ` pinskia at gcc dot gnu dot org
2007-02-03 13:13 ` rguenth at gcc dot gnu dot org
2007-08-24 0:25 ` 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).