public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
@ 2010-03-18 3:11 ` wlam at kosmix dot com
2010-03-18 3:14 ` wlam at kosmix dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: wlam at kosmix dot com @ 2010-03-18 3:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from wlam at kosmix dot com 2010-03-18 03:11 -------
Created an attachment (id=20137)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20137&action=view)
Minimized C++ source causing segmentation fault in gcc 4.4.3 at -O3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3
@ 2010-03-18 3:11 wlam at kosmix dot com
2010-03-18 3:11 ` [Bug tree-optimization/43416] " wlam at kosmix dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: wlam at kosmix dot com @ 2010-03-18 3:11 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
I came across some code that previously compiled at -O3 without complaint on
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) and gcc version 4.4.1 (Ubuntu
4.4.1-4ubuntu9), but triggered a segmentation fault on gcc 4.4.3. After
minimization, here is the segmentation fault:
$ /net/test-hsa014/wlam/local/gcc-4.4.3/bin/gcc -Wfatal-errors -c -O3 -Wall
foo.cc
foo.cc: In member function void TypeRegistry<ValueType>::registerType(int,
const ValueType&) [with ValueType = int (*)()]:
foo.cc:119: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ /net/test-hsa014/wlam/local/gcc-4.4.3/bin/g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.4.3/configure
--prefix=/net/test-hsa014/wlam/local/gcc-4.4.3 --disable-multilib
Thread model: posix
gcc version 4.4.3 (GCC)
(built from the GNU source distribution, though
--
Summary: [4.4 regression] internal compiler error in C++ template
instantiations at -O3
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wlam at kosmix dot com
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
2010-03-18 3:11 ` [Bug tree-optimization/43416] " wlam at kosmix dot com
@ 2010-03-18 3:14 ` wlam at kosmix dot com
2010-03-18 17:55 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: wlam at kosmix dot com @ 2010-03-18 3:14 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]
------- Comment #2 from wlam at kosmix dot com 2010-03-18 03:14 -------
Oops, the description is truncated:
(built from the GNU source distribution, though the Fedora version of 4.4.3
shows similar behavior--
$ g++ -Wfatal-errors -c -O3 -Wall foo.ccfoo.cc: In member function void
TypeRegistry<ValueType>::registerType(int, const ValueType&) [with ValueType =
int (*)()]:
foo.cc:119: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc1IzDg0.out file, please attach this to
your bugreport.
$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)
--as well)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
2010-03-18 3:11 ` [Bug tree-optimization/43416] " wlam at kosmix dot com
2010-03-18 3:14 ` wlam at kosmix dot com
@ 2010-03-18 17:55 ` pinskia at gcc dot gnu dot org
2010-03-18 17:57 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-18 17:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2010-03-18 17:55 -------
Works on the trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
` (2 preceding siblings ...)
2010-03-18 17:55 ` pinskia at gcc dot gnu dot org
@ 2010-03-18 17:57 ` pinskia at gcc dot gnu dot org
2010-03-19 4:23 ` wlam at kosmix dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-18 17:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-18 17:56 -------
Could be a dup of bug 42871 or PR 43074.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
` (3 preceding siblings ...)
2010-03-18 17:57 ` pinskia at gcc dot gnu dot org
@ 2010-03-19 4:23 ` wlam at kosmix dot com
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
2010-05-24 7:45 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: wlam at kosmix dot com @ 2010-03-19 4:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from wlam at kosmix dot com 2010-03-19 04:23 -------
I think you're right--I built gcc trunk at r157545, and I don't see the
segmentation fault there. (Thanks for your quick response!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
` (4 preceding siblings ...)
2010-03-19 4:23 ` wlam at kosmix dot com
@ 2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
2010-05-24 7:45 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-11 13:39 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/43416] [4.4 regression] internal compiler error in C++ template instantiations at -O3
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
` (5 preceding siblings ...)
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
@ 2010-05-24 7:45 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-24 7:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2010-05-24 07:45 -------
Can't reproduce with either branches/gcc-4_4-branch or
branches/redhat/gcc-4_4-branch any more.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43416
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-05-24 7:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18 3:11 [Bug tree-optimization/43416] New: [4.4 regression] internal compiler error in C++ template instantiations at -O3 wlam at kosmix dot com
2010-03-18 3:11 ` [Bug tree-optimization/43416] " wlam at kosmix dot com
2010-03-18 3:14 ` wlam at kosmix dot com
2010-03-18 17:55 ` pinskia at gcc dot gnu dot org
2010-03-18 17:57 ` pinskia at gcc dot gnu dot org
2010-03-19 4:23 ` wlam at kosmix dot com
2010-05-11 13:39 ` rguenth at gcc dot gnu dot org
2010-05-24 7:45 ` jakub 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).