naked-1.c (dg-options): Add -fno-pic.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 1 Aug 2017 05:56:28 +0000 (07:56 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 1 Aug 2017 05:56:28 +0000 (07:56 +0200)
* gcc.target/i386/naked-1.c (dg-options): Add -fno-pic.

From-SVN: r250757

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/naked-1.c

index be58e3c877b0aae0b09bfbbab8689afe272496b0..9315835f4d665f1c8eff8fcacc54ab415de55bbd 100644 (file)
@@ -1,7 +1,11 @@
+2017-07-31  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/naked-1.c (dg-options): Add -fno-pic.
+
 2017-07-31  Steve Ellcey  <sellcey@cavium.com>
 
        PR tree-optimization/80925
-       * gcc.dg/vect/no-section-anchors-vect-69.c: Add 
+       * gcc.dg/vect/no-section-anchors-vect-69.c: Add
        --param vect-max-peeling-for-alignment=0 option.
        Remove unaligned access and peeling checks.
        * gcc.dg/vect/section-anchors-vect-69.c: Ditto.
index 440dbe9ee7aa0edfe38e5a7aa2bcd2310768625b..cf62bb1114f087353f10527cfff796e582955f23 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O0" } */
+/* { dg-options "-O0 -fno-pic" } */
 
 /* Verify that __attribute__((naked)) produces a naked function 
    that does not use ret to return but traps at the end.  */