]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/60062 (wrong code (for code with the optimize attribute) at -O1 and...
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Feb 2014 10:54:20 +0000 (11:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Feb 2014 10:54:20 +0000 (11:54 +0100)
commit251901a027bfefffce90ca3d0776c677879d7124
treeb4c321fa215aaa59ff62803b0e35d3ac473f9b33
parent79b49b879d3d96c1c7761b2d114dcdfaf7ceaad0
re PR target/60062 (wrong code (for code with the optimize attribute) at -O1 and above on x86_64-linux-gnu in 32-bit mode)

PR target/60062
* tree.h (opts_for_fn): New inline function.
(opt_for_fn): Define.
* config/i386/i386.c (ix86_function_regparm): Use
opt_for_fn (decl, optimize) instead of optimize.

* gcc.c-torture/execute/pr60062.c: New test.
* gcc.c-torture/execute/pr60072.c: New test.

From-SVN: r207549
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr60062.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr60072.c [new file with mode: 0644]
gcc/tree.h