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