OSDN Git Service

* gcc.target/i386/pr41900.c: Make test compile only. Scan assembler
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2009 21:33:26 +0000 (21:33 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2009 21:33:26 +0000 (21:33 +0000)
dump to not include "call *%esp".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153871 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr41900.c

index 13a8404..90dcf62 100644 (file)
@@ -56,8 +56,7 @@
        (UNSPEC_BUILTIN_MVTIPL): Define.
        (revl): Rename to bswapsi2.
        (bswaphi2): New pattern.
-       (mvtachi): Mark as volatile because it uses a register unknown to
-       GCC.
+       (mvtachi): Mark as volatile because it uses a register unknown to GCC.
        (mvtaclo): Likewise.
        (racw): Likewise.
        (mvtc): Remove clobber of cc0.
@@ -69,8 +68,7 @@
        (mcpu=): Add.
        (patch=): Add.
        (msave-acc-in-interrupts): Add.
-       * config/rx/t-rx (MULTILIB_OPTIONS): Change default to 64bit
-       doubles.
+       * config/rx/t-rx (MULTILIB_OPTIONS): Change default to 64bit doubles.
        (MULTILIB_DIRS): Likewise.
        (MULTILIB_MATCHES): Treat -fpu as an alias for -m32bit-doubles.
        * doc/extend.texi: Remove description of "exception" function
        TARGET_CALL_ESP.
        (*call_pop_1, *call_1, *call_value_pop_1, *call_value_1):
        New patterns, use "lsm" as operand 1 constraint.
-       * config/i386/predicates.md (call_insn_operand): Depend on 
+       * config/i386/predicates.md (call_insn_operand): Depend on
        index_register_operand for !TARGET_CALL_ESP to avoid %esp register.
 
 2009-11-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * config/mn10300/mn10300.c (mn10300_function_value): Make static, add
        new 'outgoing' argument.
-       (mn10300_libcall_value, mn10300_function_value_regno_p): New
-       functions.
+       (mn10300_libcall_value, mn10300_function_value_regno_p): New functions.
        (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
        * config/mn10300/mn10300.h: (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
        LIBCALL_VALUE): Remove.
        PR target/38018
        * doc/tm.texi (OVERRIDE_OPTIONS): Update.
        (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
-       * optc-gen.awk (cl_target_option_restore): Include call to 
+       * optc-gen.awk (cl_target_option_restore): Include call to
        targetm.override_options_after_change.
        * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
        * target.h (override_options_after_change): New.
 2009-10-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/arm/arm.c (find_best_start): Fix type of remainder to be
-       unsigned .
+       unsigned.
 
 2009-10-29  Martin Jambor  <mjambor@suse.cz>
 
index 6ea645a..f0d09d0 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/pr41900.c: Make test compile only.  Scan assembler
+       dump to not include "call *%esp".
+
 2009-11-03  Jason Merrill  <jason@redhat.com>
 
        PR c++/39786
@@ -26,7 +31,7 @@
 
 2009-11-03  Nick Clifton  <nickc@redhat.com>
 
-       * gcc.target/rx/builtins,c: Remove redundant tests.
+       * gcc.target/rx/builtins.c: Remove redundant tests.
        Add test of MVTIPL instruction.
        * gcc.target/rx/interrupts.c: Use fast_interrupt and interrupt
        function attributes.  Add -msave-acc-in-interrupts option to the
        * gcc.c-torture/execute/builtins/builtins.exp: Likewise.
        * gcc.c-torture/execute/ieee/ieee.exp: Likewise.
        * gcc.c-torture/unsorted/unsorted.exp: Likewise.
-       * gcc.target/i386/math-torture/math-torture.exp:
-       Likewise.
+       * gcc.target/i386/math-torture/math-torture.exp: Likewise.
        * gcc.dg/lto/lto.exp: New.
        * gfortran.dg/lto/lto.exp: New.
        * lib/target-supports.exp (check_effective_target_lto): New.
-       * lib/c-torture.exp: Load target-supports.exp.
-       Define LTO_TORTURE_OPTIONS if check_effective_target_lto
-       returns nonzero.
+       * lib/c-torture.exp: Load target-supports.exp.  Define
+       LTO_TORTURE_OPTIONS if check_effective_target_lto returns nonzero.
        * lib/gcc-dg.exp: Likewise.
        * lib/lto.exp: New.
-       * lib/torture-options.exp: Add support for a third
-       argument.
+       * lib/torture-options.exp: Add support for a third argument.
 
 2009-10-03  Uros Bizjak  <ubizjak@gmail.com>
 
index 83f74cd..55f712d 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do compile } */
 /* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -fomit-frame-pointer -mpreferred-stack-boundary=2" } */
 
@@ -9,3 +9,5 @@ int main ()
   ((void (*)(void)) &code) ();
   return 0;
 }
+
+/* { dg-final { scan-assembler-not "call\[ \\t\]+\\*%esp" } } */