public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6185: Core Dump using gcc -O3
@ 2002-04-06 16:07 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-04-06 16:07 UTC (permalink / raw)
To: dave, gcc-bugs, gcc-prs, nobody
Synopsis: Core Dump using gcc -O3
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Apr 6 16:07:54 2002
State-Changed-Why:
Works with gcc 3.0.4
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6185
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/6185: Core Dump using gcc -O3
@ 2002-04-04 23:56 dave
0 siblings, 0 replies; 2+ messages in thread
From: dave @ 2002-04-04 23:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 6185
>Category: c++
>Synopsis: Core Dump using gcc -O3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 04 23:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Dave Jarvis
>Release: gcc v3.0.2
>Organization:
>Environment:
Linux RedHat v7.2
>Description:
Compiling the attached source at optimisation level 3
results in a core dump 100% of the time. Regular compile,
or compiling at -O2 never core dumps.
>How-To-Repeat:
gcc -O3 filler.c
strip a.out
./a.out > file.txt
Aborted (core dumped)
>Fix:
Don't compile using -O3. ;-)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="filler.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="filler.c"
LyoKICogVXNlZCB0byBmaWxsIHVwIGEgdXNlcidzIGZ1bGwgZmlsZSBxdW90YSBpbiBhIHNpbmds
ZSBmaWxlLiAgUmVkaXJlY3QKICogdGhlIG91dHB1dCB0byBhIGZpbGUuICBFeGFtcGxlIHVzYWdl
OgogKgogKiAgIGZpbGxlciA+IGx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ested] 2+ messages in thread
end of thread, other threads:[~2002-04-07 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-06 16:07 c++/6185: Core Dump using gcc -O3 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-04-04 23:56 dave
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).