OSDN Git Service

PR testsuite/44505
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 18:07:59 +0000 (18:07 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 18:07:59 +0000 (18:07 +0000)
* gcc.c-torture/execute/frame-address.c (check_fa): Avoid
tail call to check_fa_mid.

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

gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/frame-address.c

index 140b940..a553a10 100644 (file)
@@ -44,8 +44,7 @@
        * cfgexpand.c: Include insn-attr.h.
        (gimple_expand_cfg): Call init_sched_attrs.
 
-       * stmt.c (resolve_asm_operand_names): Fix handling
-       of %%.
+       * stmt.c (resolve_asm_operand_names): Fix handling of %%.
 
        PR target/44575
        * config/i386/i386.c (ix86_gimplify_va_arg): When copying
@@ -79,8 +78,7 @@
        (rx_print_operand_address): Make static.
        (rx_gen_move_template): Rename local variable 'template' to
        out_template.
-       (rx_function_arg): Do not pass unknown sized objects in
-       registers.
+       (rx_function_arg): Do not pass unknown sized objects in registers.
        (TARGET_PRINT_OPERAND): Define.
        (TARGET_PRINT_OPERAND_ADDRESS): Define.
 
        PR target/44546
        * config/i386/predicates.md (ix86_swapped_fp_comparsion_operator):
        New predicate.
-       * config/i386/i386.md (*fp_jcc_8<mode>_387): Use
+       * config/i386/i386.md (*fp_jcc_8<mode>_387 and splitters): Use
        ix86_swapped_fp_comparsion_operator instead of
        ix86_fp_comparison_operator.
 
index b61001c..c076457 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-21  Alan Modra  <amodra@gmail.com>
+
+       PR testsuite/44505
+       * gcc.c-torture/execute/frame-address.c (check_fa): Avoid
+       tail call to check_fa_mid.
+
 2010-06-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/44575
index 942f5c5..109c2b2 100644 (file)
@@ -25,7 +25,8 @@ int check_fa (char *unused)
 {
   const char c = 0;
 
-  return check_fa_mid (&c);
+  /* Prevent a tail call to check_fa_mid, eliding the current stack frame.  */
+  return check_fa_mid (&c) != 0;
 }
 
 int how_much (void)