public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/24601]  New: ICE/segfault on valid code gcc-4.1-20051001
@ 2005-10-31 23:24 jean-marc dot valin at usherbrooke dot ca
  2005-10-31 23:25 ` [Bug c/24601] " jean-marc dot valin at usherbrooke dot ca
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-10-31 23:24 UTC (permalink / raw)
  To: gcc-bugs

I'm getting an ICE with gcc-4.1-20051001 on the code in attachment. When
compiling with:
% gcc -O2 -march=pentium3 -ftree-vectorize -c cb_search_pre.c
the result is:
cb_search.c: In function 'split_cb_search_shape_sign':
cb_search.c:268: 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.

If I remove any of the three optimization switches, the ICE goes away
(anything older than pentium3 is also OK for -march). In case it's of
any interest, this file is part of the Speex codec.

I ogiginally sent an email:
http://www.archivum.info/gcc-bugs@gcc.gnu.org/2005-10/msg00545.html but it
didn't seem to make it to the database.


-- 
           Summary: ICE/segfault on valid code gcc-4.1-20051001
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jean-marc dot valin at usherbrooke dot ca
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug c/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
@ 2005-10-31 23:25 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-01  0:08 ` [Bug middle-end/24601] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-10-31 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jean-marc dot valin at usherbrooke dot ca  2005-10-31 23:25 -------
Created an attachment (id=10091)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10091&action=view)
Preprocessed source


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
  2005-10-31 23:25 ` [Bug c/24601] " jean-marc dot valin at usherbrooke dot ca
@ 2005-11-01  0:08 ` pinskia at gcc dot gnu dot org
  2005-11-01  0:17 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-01  0:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|major                       |normal
          Component|c                           |middle-end
           Keywords|                            |ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
  2005-10-31 23:25 ` [Bug c/24601] " jean-marc dot valin at usherbrooke dot ca
  2005-11-01  0:08 ` [Bug middle-end/24601] " pinskia at gcc dot gnu dot org
@ 2005-11-01  0:17 ` pinskia at gcc dot gnu dot org
  2005-11-01  0:20 ` jean-marc dot valin at usherbrooke dot ca
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-01  0:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-01 00:17 -------
Can you try a newer compiler as I cannot reproduce this with 20051026 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
                   ` (2 preceding siblings ...)
  2005-11-01  0:17 ` pinskia at gcc dot gnu dot org
@ 2005-11-01  0:20 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-01  0:52 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-11-01  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jean-marc dot valin at usherbrooke dot ca  2005-11-01 00:20 -------
Can you send a link to a tarball of the compiler you want me to try?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
                   ` (3 preceding siblings ...)
  2005-11-01  0:20 ` jean-marc dot valin at usherbrooke dot ca
@ 2005-11-01  0:52 ` pinskia at gcc dot gnu dot org
  2005-11-01 23:45 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-01  0:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-01 00:52 -------
http://gcc.gnu.org/ml/gcc/2005-10/msg01152.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
                   ` (4 preceding siblings ...)
  2005-11-01  0:52 ` pinskia at gcc dot gnu dot org
@ 2005-11-01 23:45 ` pinskia at gcc dot gnu dot org
  2005-11-02  0:57 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-02  1:07 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-01 23:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
                   ` (5 preceding siblings ...)
  2005-11-01 23:45 ` pinskia at gcc dot gnu dot org
@ 2005-11-02  0:57 ` jean-marc dot valin at usherbrooke dot ca
  2005-11-02  1:07 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jean-marc dot valin at usherbrooke dot ca @ 2005-11-02  0:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jean-marc dot valin at usherbrooke dot ca  2005-11-02 00:57 -------
Tried it with gcc-4.1-20051029 and the problem's gone (well, this one at
least).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

* [Bug middle-end/24601] ICE/segfault on valid code gcc-4.1-20051001
  2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
                   ` (6 preceding siblings ...)
  2005-11-02  0:57 ` jean-marc dot valin at usherbrooke dot ca
@ 2005-11-02  1:07 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-02  1:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-11-02 01:07 -------
Fixed then.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601


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

end of thread, other threads:[~2005-11-02  1:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-31 23:24 [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001 jean-marc dot valin at usherbrooke dot ca
2005-10-31 23:25 ` [Bug c/24601] " jean-marc dot valin at usherbrooke dot ca
2005-11-01  0:08 ` [Bug middle-end/24601] " pinskia at gcc dot gnu dot org
2005-11-01  0:17 ` pinskia at gcc dot gnu dot org
2005-11-01  0:20 ` jean-marc dot valin at usherbrooke dot ca
2005-11-01  0:52 ` pinskia at gcc dot gnu dot org
2005-11-01 23:45 ` pinskia at gcc dot gnu dot org
2005-11-02  0:57 ` jean-marc dot valin at usherbrooke dot ca
2005-11-02  1:07 ` 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).