ieee.exp (additional_flags): Add -fno-inline.

* gcc.c-torture/execute/ieee/ieee.exp (additional_flags):
	Add -fno-inline.
	* gcc.c-torture/execute/ieee/pr36332.c (foo): Remove attributes.
	* gcc.c-torture/execute/ieee/pr30704.c (f1): Ditto.
	(f2): Ditto.

From-SVN: r151915
This commit is contained in:
Uros Bizjak 2009-09-21 12:52:57 +02:00 committed by Uros Bizjak
parent 473ebbc582
commit 9e2ceea07a
4 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2009-09-21 Uros Bizjak <ubizjak@gmail.com>
* gcc.c-torture/execute/ieee/ieee.exp (additional_flags):
Add -fno-inline.
* gcc.c-torture/execute/ieee/pr36332.c (foo): Remove attributes.
* gcc.c-torture/execute/ieee/pr30704.c (f1): Ditto.
(f2): Ditto.
2009-09-20 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/ipa/ipa-sra-1.c (dg-options): Add -fipa-sra.

View file

@ -37,7 +37,7 @@ if $tracelevel then {
torture-init
set-torture-options $C_TORTURE_OPTIONS
set additional_flags ""
set additional_flags "-fno-inline"
# We must use -ffloat-store/-mieee to ensure that excess precision on some
# machines does not cause problems

View file

@ -6,7 +6,6 @@ extern int memcmp (const void *, const void *, size_t);
extern void *memcpy (void *, const void *, size_t);
long long
__attribute__((noinline))
f1 (void)
{
long long t;
@ -16,7 +15,6 @@ f1 (void)
}
double
__attribute__((noinline))
f2 (void)
{
long long t = 0x000fedcba9876543LL;

View file

@ -1,6 +1,6 @@
/* PR target/36332 */
int __attribute__((noinline, used))
int
foo (long double ld)
{
return ld == __builtin_infl ();