This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, testsuite]: Add -fno-inline to ieee.exp


Hello!

The problem with ieee.exp tests is, that inliner inlines various small
test procedures. After constants are propagated, tests simpy vanish
from the instruction stream, defeating runtime nature of the tests.

The patch adds -fno-inline to ieee.exp and removes a couple of
noinline attributes that were introduced due to this over-optimization
problems.

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.

Patch was tested on x86_64-pc-linux-gnu {,-m32}. Patch was committed
to mainline.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]