public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27535] New: ICE, Regression from gcc-4.1.0
@ 2006-05-10 19:02 kminola at eng dot umd dot edu
2006-05-10 19:06 ` [Bug rtl-optimization/27535] ICE with -O2 -fsee pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: kminola at eng dot umd dot edu @ 2006-05-10 19:02 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1731 bytes --]
/*
ICE using gcc-4.2-20060506 on x86_64-unknown-linux-gnu
Regression from gcc-4.1.0
Source cut down from gmp-4.2.1/tests/refmpf.c
% gcc-4.2-20060506 -O3 -c foo.c
foo.c: In function âfooâ:
foo.c:27: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
%
% gcc-4.2-20060506 -O2 -c foo.c
%
% gcc-4.2-20060506 -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /home/kate/test/gcc-4.2-20060506/configure
--enable-languages=c --prefix=/home/kate/test/bin/x86_64-Linux
Thread model: posix
gcc version 4.2.0 20060506 (experimental)
%
%
% gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /usr/local/gcc-4.1.0/src/gcc-4.1.0/configure
--enable-languages=c,c++
--prefix=/usr/local/gcc-4.1.0/x86_64-Linux-g++
Thread model: posix
gcc version 4.1.0
%
% gcc -O3 -c foo.c
%
*/
#include <stdlib.h>
typedef struct
{
int a;
} strt;
typedef strt *ptr;
void
foo (ptr w, int u, int v)
{
int b;
if (u == 0)
{
b = v > 0;
goto done;
}
if (v == 0)
{
b = u < 0;
}
done:
w->a = b == 0 ? 1 : -1;
}
--
Summary: ICE, Regression from gcc-4.1.0
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kminola at eng dot umd dot edu
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/27535] ICE with -O2 -fsee
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
@ 2006-05-10 19:06 ` pinskia at gcc dot gnu dot org
2006-05-21 1:24 ` kazu at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-10 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-10 19:06 -------
Oh, this is no longer a regression as -fsee is not enabled by default in newer
versions of 4.2 (a day after it was enabled by default for -O3, it was turned
off to fix some regressions at -O3).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |rtl-optimization
Keywords| |ice-on-valid-code
Summary|ICE, Regression from gcc- |ICE with -O2 -fsee
|4.1.0 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/27535] ICE with -O2 -fsee
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
2006-05-10 19:06 ` [Bug rtl-optimization/27535] ICE with -O2 -fsee pinskia at gcc dot gnu dot org
@ 2006-05-21 1:24 ` kazu at gcc dot gnu dot org
2006-05-21 1:28 ` kazu at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-05-21 1:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from kazu at gcc dot gnu dot org 2006-05-21 01:24 -------
Can you still reproduce this bug with the most recent mainline?
I am having trouble reproducing this bug.
--
kazu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/27535] ICE with -O2 -fsee
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
2006-05-10 19:06 ` [Bug rtl-optimization/27535] ICE with -O2 -fsee pinskia at gcc dot gnu dot org
2006-05-21 1:24 ` kazu at gcc dot gnu dot org
@ 2006-05-21 1:28 ` kazu at gcc dot gnu dot org
2006-05-21 1:30 ` [Bug rtl-optimization/27535] ICE with -O3 -fsee pinskia at gcc dot gnu dot org
2006-05-29 23:04 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-05-21 1:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kazu at gcc dot gnu dot org 2006-05-21 01:28 -------
Confirmed with -O3 -fsee.
--
kazu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2006-05-21 01:28:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/27535] ICE with -O3 -fsee
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
` (2 preceding siblings ...)
2006-05-21 1:28 ` kazu at gcc dot gnu dot org
@ 2006-05-21 1:30 ` pinskia at gcc dot gnu dot org
2006-05-29 23:04 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-21 1:30 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|2006-05-21 01:28:12 |2006-05-21 01:30:07
date| |
Summary|ICE with -O2 -fsee |ICE with -O3 -fsee
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/27535] ICE with -O3 -fsee
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
` (3 preceding siblings ...)
2006-05-21 1:30 ` [Bug rtl-optimization/27535] ICE with -O3 -fsee pinskia at gcc dot gnu dot org
@ 2006-05-29 23:04 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 23:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-29 23:03 -------
*** This bug has been marked as a duplicate of 27437 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-29 23:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-10 19:02 [Bug c/27535] New: ICE, Regression from gcc-4.1.0 kminola at eng dot umd dot edu
2006-05-10 19:06 ` [Bug rtl-optimization/27535] ICE with -O2 -fsee pinskia at gcc dot gnu dot org
2006-05-21 1:24 ` kazu at gcc dot gnu dot org
2006-05-21 1:28 ` kazu at gcc dot gnu dot org
2006-05-21 1:30 ` [Bug rtl-optimization/27535] ICE with -O3 -fsee pinskia at gcc dot gnu dot org
2006-05-29 23:04 ` 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).