public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10660: (ICE) segfault with -O -Wunreachable-code -fgcse
@ 2003-05-07 21:53 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-05-07 21:53 UTC (permalink / raw)
  To: denys.duchier, gcc-bugs, gcc-prs, kost, nobody

Synopsis: (ICE) segfault with -O -Wunreachable-code -fgcse

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed May  7 21:53:43 2003
State-Changed-Why:
    This has been fixed in the days before the actual release.
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10660


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/10660: (ICE) segfault with -O -Wunreachable-code -fgcse
@ 2003-05-07 11:16 denys.duchier
  0 siblings, 0 replies; 2+ messages in thread
From: denys.duchier @ 2003-05-07 11:16 UTC (permalink / raw)
  To: gcc-gnats; +Cc: kost


>Number:         10660
>Category:       c++
>Synopsis:       (ICE) segfault with -O -Wunreachable-code -fgcse
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed May 07 11:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     denys.duchier@loria.fr
>Release:        gcc 3.2.3
>Organization:
>Environment:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
>Description:
compiling the attached file with options -O -Wunreachable-code -fgcse causes an ICE

bug.cc: In static member function `static MyName* MyName::newName(void*)':
bug.cc:29: internal error: Segmentation fault

The attached file is the smallest I could derive from the original file on which we noticed the ICE and still get this ICE
>How-To-Repeat:
g++  -O -Wunreachable-code -fgcse -c -o bug.o bug.cc
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="bug.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cc"

ZXh0ZXJuIHZvaWQgZ2V0TmV3SGVhcENodW5rKGNvbnN0IGludCk7CmV4dGVybiBib29sIGZsYWc7
CgppbmxpbmUgCnZvaWQgKiBoZWFwTWFsbG9jKGNvbnN0IGludCBzeikKewogcmV0cnk6CiAgewog
ICAgaWYgKGZsYWcpIHsKICAgICAgZ2V0TmV3SGVhcENodW5rKDApOwogICAgICBnb3RvIHJldHJ5
OwogICAgfQogICAgcmV0dXJuICh2b2lkKikgMDsKICB9Cn0KCmNsYXNzIE15TmFtZSB7CnByb3Rl
Y3RlZDoKICBpbnQgaG9tZU9yR05hbWU7CnB1YmxpYzoKICBzdGF0aWMgTXlOYW1lICpuZXdOYW1l
KHZvaWQgKik7Cn07CgpNeU5hbWUgKk15TmFtZTo6bmV3TmFtZSh2b2lkICpob21lKQp7CiAgTXlO
YW1lICpyZXQgPSAoTXlOYW1lKikgaGVhcE1hbGxvYyhzaXplb2YoTXlOYW1lKSk7CiAgcmV0LT5o
b21lT3JHTmFtZSA9IChpbnQpKGhvbWUpOwogIHJldHVybiByZXQ7Cn0K


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-07 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 21:53 c++/10660: (ICE) segfault with -O -Wunreachable-code -fgcse bangerth
  -- strict thread matches above, loose matches on Subject: below --
2003-05-07 11:16 denys.duchier

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).