]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/44505 (gcc.c-torture/execute/frame-address.c)
authorAlan Modra <amodra@gmail.com>
Mon, 21 Jun 2010 18:07:59 +0000 (20:07 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 21 Jun 2010 18:07:59 +0000 (20:07 +0200)
PR testsuite/44505
* gcc.c-torture/execute/frame-address.c (check_fa): Avoid
tail call to check_fa_mid.

From-SVN: r161105

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

index 140b9406f27469bb42417cc348b6377bd6b98dbe..a553a1072941c9e3d35e50336831c35d96b7e9c3 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 b61001c1e3572b1ef82008dab287e4a2cc4df5bc..c0764579672aecf0a5b5c33779d1156aaf88090e 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 942f5c5d6536d91454982963a5df905baac84bf5..109c2b229c82076252c6e938646f849bcd0f92ea 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)