public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21932] New: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8
@ 2005-06-06 15:49 magerman at rentec dot com
2005-06-06 15:59 ` [Bug debug/21932] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: magerman at rentec dot com @ 2005-06-06 15:49 UTC (permalink / raw)
To: gcc-bugs
The following sequence produces an ICE in gcc-3.4.4:
$ cat > foo.C <<FOO
namespace N {
class X {};
class Y { Y(const X&); };
void b();
void a() { b(); Y z(X()); }
}
FOO
$ g++-3.4.4 -save-temps -v -g -O3 -fno-unit-at-a-time -c foo.C
Reading specs from /work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/work/external/wwc/prgcc
--program-suffix=-3.4.4 --enable-threads --with-included-gettext
--enable-languages=c,c++,f77 --with-gnu-as
--with-as=/work/external/wwc/prodbinu216/bin/as --with-gnu-ld
--with-ld=/work/external/wwc/prodbinu216/bin/ld : (reconfigured)
../gcc-3.4.4/configure --prefix=/work/external/wwc/prgcc --program-suffix=-3.4.4
--enable-threads --with-included-gettext --enable-languages=c,c++,f77
--with-gnu-as --with-as=/work/external/wwc/prodbinu216/bin/as --with-gnu-ld
--with-ld=/work/external/wwc/prodbinu216/bin/ld
Thread model: posix
gcc version 3.4.4
/work/external/wwc/prgcc/libexec/gcc/sparc-sun-solaris2.8/3.4.4/cc1plus -E
-quiet -v foo.C -mcpu=v7 -fno-unit-at-a-time -fworking-directory -O3 -o foo.ii
ignoring nonexistent directory
"/work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../sparc-sun-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
/work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../include/c++/3.4.4
/work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../include/c++/3.4.4/sparc-sun-solaris2.8
/work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../include/c++/3.4.4/backward
/usr/local/include
/work/external/wwc/prgcc/include
/work/external/wwc/prgcc/lib/gcc/sparc-sun-solaris2.8/3.4.4/include
/usr/include
End of search list.
/work/external/wwc/prgcc/libexec/gcc/sparc-sun-solaris2.8/3.4.4/cc1plus
-fpreprocessed foo.ii -quiet -dumpbase foo.C -mcpu=v7 -auxbase foo -g -O3
-version -fno-unit-at-a-time -o foo.s
GNU C++ version 3.4.4 (sparc-sun-solaris2.8)
compiled by GNU C version 3.4.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
foo.C: In function `void N::a()':
foo.C:5: internal compiler error: in gen_subprogram_die, at dwarf2out.c:10854
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ cat foo.s
.file "foo.C"
.section ".debug_abbrev"
.LLdebug_abbrev0:
.section ".debug_info"
.LLdebug_info0:
.section ".debug_line"
.LLdebug_line0:
.section ".text"
.LLtext0:
.align 4
.global _ZN1N1aEv
.type _ZN1N1aEv, #function
.proc 020
_ZN1N1aEv:
.LLFB2:
.LLM1:
!#PROLOGUE# 0
!#PROLOGUE# 1
.LLBB2:
.LLBB3:
or %o7, %g0, %g1
call _ZN1N1bEv, 0
or %g1, %g0, %o7
.LLBE3:
.LLBE2:
nop
.LLFE2:
.size _ZN1N1aEv, .-_ZN1N1aEv
Let me know if you need more information.
-- David Magerman
magerman@rentec.com
--
Summary: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on
solaris2.8
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: magerman at rentec dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21932
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/21932] [3.4 Regression] -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8
2005-06-06 15:49 [Bug c++/21932] New: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8 magerman at rentec dot com
@ 2005-06-06 15:59 ` pinskia at gcc dot gnu dot org
2005-06-06 16:03 ` pinskia at gcc dot gnu dot org
2005-06-06 18:47 ` [Bug debug/21932] [3.4 Regression] -O3 -fno-unit-at-a-time causes ICE ebotcazou at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06 15:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |debug
Keywords| |ice-on-valid-code
Summary|-fno-unit-at-a-time causes |[3.4 Regression] -fno-unit-
|ICE in gcc-3.4.4 on |at-a-time causes ICE in gcc-
|solaris2.8 |3.4.4 on solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21932
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/21932] [3.4 Regression] -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8
2005-06-06 15:49 [Bug c++/21932] New: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8 magerman at rentec dot com
2005-06-06 15:59 ` [Bug debug/21932] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-06 16:03 ` pinskia at gcc dot gnu dot org
2005-06-06 18:47 ` [Bug debug/21932] [3.4 Regression] -O3 -fno-unit-at-a-time causes ICE ebotcazou at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-06 16:03 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|sparc-sun-solaris2.8 |
GCC host triplet|sparc-sun-solaris2.8 |
GCC target triplet|sparc-sun-solaris2.8 |dwarf2
Known to fail| |3.4.0
Known to work| |3.3.3 4.0.0 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-06-06 16:03:37
date| |
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21932
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/21932] [3.4 Regression] -O3 -fno-unit-at-a-time causes ICE
2005-06-06 15:49 [Bug c++/21932] New: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8 magerman at rentec dot com
2005-06-06 15:59 ` [Bug debug/21932] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-06-06 16:03 ` pinskia at gcc dot gnu dot org
@ 2005-06-06 18:47 ` ebotcazou at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-06 18:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-06 18:47 -------
To be more explicit: it ICEs on x86-64 too.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.0 |3.4.0 3.4.4
Last reconfirmed|2005-06-06 16:03:37 |2005-06-06 18:47:45
date| |
Summary|[3.4 Regression] -fno-unit- |[3.4 Regression] -O3 -fno-
|at-a-time causes ICE in gcc-|unit-at-a-time causes ICE
|3.4.4 on solaris2.8 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21932
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-06 18:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 15:49 [Bug c++/21932] New: -fno-unit-at-a-time causes ICE in gcc-3.4.4 on solaris2.8 magerman at rentec dot com
2005-06-06 15:59 ` [Bug debug/21932] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-06-06 16:03 ` pinskia at gcc dot gnu dot org
2005-06-06 18:47 ` [Bug debug/21932] [3.4 Regression] -O3 -fno-unit-at-a-time causes ICE ebotcazou 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).