[Bug middle-end/38969] [4.3 Regression] -foptimize-sibling-calls generates wrong code on alpha

2009-01-29 Thread uros at gcc dot gnu dot org


--- Comment #8 from uros at gcc dot gnu dot org  2009-01-29 10:05 ---
Subject: Bug 38969

Author: uros
Date: Thu Jan 29 10:05:17 2009
New Revision: 143752

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143752
Log:
Backport from mainline:
2009-01-28  Uros Bizjak  ubiz...@gmail.com

PR target/38988
* gcc.target/i386/pr38988.c: New test.

2009-01-27  Uros Bizjak  ubiz...@gmail.com

PR middle-end/38969
* gcc.c-torture/execute/pr38969.c: New test.

testsuite/ChangeLog:

Backport from mainline:
2009-01-28  Uros Bizjak  ubiz...@gmail.com

PR target/38988
* config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
(set_got_offset_rex64): Ditto.

2009-01-27  Uros Bizjak  ubiz...@gmail.com

PR middle-end/38969
* calls.c (initialize_argument_information): Do not wrap complex
arguments in SAVE_EXPR.


Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr38969.c
  - copied unchanged from r143699,
trunk/gcc/testsuite/gcc.c-torture/execute/pr38969.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/pr38988.c
  - copied unchanged from r143720,
trunk/gcc/testsuite/gcc.target/i386/pr38988.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/calls.c
branches/gcc-4_3-branch/gcc/config/i386/i386.md
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38969



[Bug middle-end/38969] [4.3 Regression] -foptimize-sibling-calls generates wrong code on alpha

2009-01-29 Thread ubizjak at gmail dot com


--- Comment #9 from ubizjak at gmail dot com  2009-01-29 10:10 ---
Fixed.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38969



[Bug middle-end/38969] [4.3 Regression] -foptimize-sibling-calls generates wrong code on alpha

2009-01-27 Thread ubizjak at gmail dot com


--- Comment #6 from ubizjak at gmail dot com  2009-01-27 10:27 ---
Fixed in the trunk.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2009-
   ||01/msg01292.html
  Component|rtl-optimization|middle-end
Summary|[4.3/4.4 Regression] -  |[4.3 Regression] -foptimize-
   |foptimize-sibling-calls |sibling-calls generates
   |generates wrong code on |wrong code on alpha
   |alpha   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38969



[Bug middle-end/38969] [4.3 Regression] -foptimize-sibling-calls generates wrong code on alpha

2009-01-27 Thread aurelien at aurel32 dot net


--- Comment #7 from aurelien at aurel32 dot net  2009-01-27 20:00 ---
Thanks a lot, I confirm it also fixes the original problem, that is problem in
glibc testsuite (test-float and test-ifloat failing on most of the complex
number functions).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38969