public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30485]  New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math
@ 2007-01-16 19:57 jconner at apple dot com
  2007-01-18 16:44 ` [Bug target/30485] " jconner at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jconner at apple dot com @ 2007-01-16 19:57 UTC (permalink / raw)
  To: gcc-bugs

The tests pr23816-1.c and vect-111.c (from gcc.dg/vect) generate an ICE when
compiled with -fno-trapping-math for rs6000:

$ gcc pr23816-1.c -fno-trapping-math -ftree-vectorize -maltivec -O2
pr23816-1.c: In function 'foo':
pr23816-1.c:9: internal compiler error: in rs6000_emit_vector_compare, at
config/rs6000/rs6000.c:11962
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcc vect-111.c -fno-trapping-math -ftree-vectorize -maltivec -O2
vect-111.c: In function 'main1':
vect-111.c:19: internal compiler error: in rs6000_emit_vector_compare, at
config/rs6000/rs6000.c:11962
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$

I have a patch for this that I'll submit...


-- 
           Summary: ICE in rs6000_emit_vector_compare when building with -
                    fno-trapping-math
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jconner at apple dot com
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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


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

* [Bug target/30485] ICE in rs6000_emit_vector_compare when building with -fno-trapping-math
  2007-01-16 19:57 [Bug target/30485] New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math jconner at apple dot com
@ 2007-01-18 16:44 ` jconner at gcc dot gnu dot org
  2007-01-18 16:45 ` jconner at gcc dot gnu dot org
  2007-01-22  2:07 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jconner at gcc dot gnu dot org @ 2007-01-18 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jconner at gcc dot gnu dot org  2007-01-18 16:44 -------
Subject: Bug 30485

Author: jconner
Date: Thu Jan 18 16:44:03 2007
New Revision: 120902

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120902
Log:
2007-01-18  Josh Conner  <jconner@apple.com>

        PR target/30485
        * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Add
        support for UNLE, UNLT, UNGE, and UNGT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


-- 


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


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

* [Bug target/30485] ICE in rs6000_emit_vector_compare when building with -fno-trapping-math
  2007-01-16 19:57 [Bug target/30485] New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math jconner at apple dot com
  2007-01-18 16:44 ` [Bug target/30485] " jconner at gcc dot gnu dot org
@ 2007-01-18 16:45 ` jconner at gcc dot gnu dot org
  2007-01-22  2:07 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jconner at gcc dot gnu dot org @ 2007-01-18 16:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jconner at gcc dot gnu dot org  2007-01-18 16:45 -------
Subject: Bug 30485

Author: jconner
Date: Thu Jan 18 16:44:50 2007
New Revision: 120903

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120903
Log:
2007-01-18  Josh Conner  <jconner@apple.com>

        PR target/30485
        * gcc.dg/vect/vect.exp: Add support for no-trapping-math tests.
        * gcc.dg/vect/no-trapping-math-1: New.
        * gcc.dg/vect/no-trapping-math-2: New.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/no-trapping-math-1.c
    trunk/gcc/testsuite/gcc.dg/vect/no-trapping-math-2.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/vect/vect.exp


-- 


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


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

* [Bug target/30485] ICE in rs6000_emit_vector_compare when building with -fno-trapping-math
  2007-01-16 19:57 [Bug target/30485] New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math jconner at apple dot com
  2007-01-18 16:44 ` [Bug target/30485] " jconner at gcc dot gnu dot org
  2007-01-18 16:45 ` jconner at gcc dot gnu dot org
@ 2007-01-22  2:07 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-22  2:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-01-22 02:07 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-valid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-01-22  2:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-16 19:57 [Bug target/30485] New: ICE in rs6000_emit_vector_compare when building with -fno-trapping-math jconner at apple dot com
2007-01-18 16:44 ` [Bug target/30485] " jconner at gcc dot gnu dot org
2007-01-18 16:45 ` jconner at gcc dot gnu dot org
2007-01-22  2: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).