]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
badshift.c: Renamed to...
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 24 Mar 2005 09:38:15 +0000 (09:38 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 24 Mar 2005 09:38:15 +0000 (09:38 +0000)
* gcc.target/i386/badshift.c: Renamed to...
* gcc.dg/badshift.c: ... this.  Fix typo.  Use -march=i386 on i?86
only.

From-SVN: r96988

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/badshift.c [moved from gcc/testsuite/gcc.target/i386/badshift.c with 80% similarity]

index 41fd479b52d209e5703a5f1bee1c4a5137eb3c5c..e53a19436384cbe4a40dd672e7c9e8c6bac15bf3 100644 (file)
@@ -1,5 +1,9 @@
 2005-03-24  Alexandre Oliva  <aoliva@redhat.com>
 
+       * gcc.target/i386/badshift.c: Renamed to...
+       * gcc.dg/badshift.c: ... this.  Fix typo.  Use -march=i386 on i?86
+       only.
+
        PR rtl-optimization/20532
        * gcc.target/i386/badshift.c: New.
 
similarity index 80%
rename from gcc/testsuite/gcc.target/i386/badshift.c
rename to gcc/testsuite/gcc.dg/badshift.c
index ddbf6130b8ea1a8652f40f28cc2513d7b3a315be..6c32d888c47434db4c13b7aa833aa5a7fd808e71 100644 (file)
@@ -1,12 +1,13 @@
 /* PR rtl-optimization/20532 */
 
 /* { dg-do run } */
-/* { dg-options "-m32 -march=i386 -O1" } */
+/* { dg-options "-O1" } */
+/* { dg-options "-march=i386 -O1" { target i?86-*-* } } */
 
 /* We used to optimize the DImode shift-by-32 to zero because in combine
    we turned:
 
-     (v << 31) * (v << 31)
+     (v << 31) + (v << 31)
 
    into: