public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap
@ 2004-07-15 18:59 fche at redhat dot com
2004-07-15 19:00 ` [Bug tree-optimization/16573] " fche at redhat dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: fche at redhat dot com @ 2004-07-15 18:59 UTC (permalink / raw)
To: gcc-bugs
Building groff/src/libs/libgroff/font.cpp recently started to die when
compiled with -fmudflap with a mainline CVS compiler. I attach various
versions of test cases, and show the transcript here.
int text_file::next()
{
if (buf == 0) {
buf = 0;
}
for (;;) {
int c;
if
#if COMPILER_SEGV
(0)
#else /* DOMINANCE_ABORT */
(invalid_input_char(c))
#endif
error("invalid input character code `%1'", int(c));
}
return 0;
}
with COMPILER_SEGV defined, one gets
/notnfs/fche/BUILD-gcc-mudflap/INST/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1plus
-fpreprocessed font2.ii -quiet -dumpbase font2.cpp -mtune=pentiumpro -auxbase
font2 -g -O2 -version -fmudflap -fno-builtin -fno-merge-constants -o font2.s
GNU C++ version 3.5.0 20040715 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.5.0 20040713 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
font2.cpp: In member function `int text_file::next()':
font2.cpp:52: internal compiler error: Segmentation fault
without COMPILER_SEGV, one gets
/notnfs/fche/BUILD-gcc-mudflap/INST/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1plus
-fpreprocessed font2.ii -quiet -dumpbase font2.cpp -mtune=pentiumpro -auxbase
font2 -g -O2 -version -fmudflap -fno-builtin -fno-merge-constants -o font2.s
GNU C++ version 3.5.0 20040715 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.5.0 20040713 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
font2.cpp: In member function `int text_file::next()':
font2.cpp:52: error: dominator of 10 should be 11, not 0
font2.cpp:52: internal compiler error: in verify_dominators, at dominance.c:828
Please submit a full bug report,
--
Summary: compiler crash while building groff with -fmudflap
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fche at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
@ 2004-07-15 19:00 ` fche at redhat dot com
2004-07-15 19:01 ` fche at redhat dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2004-07-15 19:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fche at redhat dot com 2004-07-15 19:00 -------
Created an attachment (id=6757)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6757&action=view)
font2.ii for normal case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
2004-07-15 19:00 ` [Bug tree-optimization/16573] " fche at redhat dot com
@ 2004-07-15 19:01 ` fche at redhat dot com
2004-07-15 19:19 ` fche at redhat dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2004-07-15 19:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fche at redhat dot com 2004-07-15 19:01 -------
Created an attachment (id=6758)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6758&action=view)
font2.ii for -DCOMPILER_SEGV case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
2004-07-15 19:00 ` [Bug tree-optimization/16573] " fche at redhat dot com
2004-07-15 19:01 ` fche at redhat dot com
@ 2004-07-15 19:19 ` fche at redhat dot com
2004-10-14 1:48 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2004-07-15 19:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-15 19:19:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
` (2 preceding siblings ...)
2004-07-15 19:19 ` fche at redhat dot com
@ 2004-10-14 1:48 ` pinskia at gcc dot gnu dot org
2004-10-15 15:21 ` fche at redhat dot com
2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-14 1:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-14 01:48 -------
Is this fixed? (if not I will look into later this week).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
` (3 preceding siblings ...)
2004-10-14 1:48 ` pinskia at gcc dot gnu dot org
@ 2004-10-15 15:21 ` fche at redhat dot com
2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: fche at redhat dot com @ 2004-10-15 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fche at redhat dot com 2004-10-15 15:21 -------
I cannot reproduce this problem with current mainline any more.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/16573] compiler crash while building groff with -fmudflap
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
` (4 preceding siblings ...)
2004-10-15 15:21 ` fche at redhat dot com
@ 2004-10-15 17:13 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 17:13 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16573
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-10-15 17:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15 18:59 [Bug tree-optimization/16573] New: compiler crash while building groff with -fmudflap fche at redhat dot com
2004-07-15 19:00 ` [Bug tree-optimization/16573] " fche at redhat dot com
2004-07-15 19:01 ` fche at redhat dot com
2004-07-15 19:19 ` fche at redhat dot com
2004-10-14 1:48 ` pinskia at gcc dot gnu dot org
2004-10-15 15:21 ` fche at redhat dot com
2004-10-15 17:13 ` 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).