If no options are passed to DejaGNU for the GCC testsuite, it will take default ones in testsuite/lib/gcc-dg.exp and testsuite/lib/c-torture.exp. So 'dg' tests, as well as c-torture, use basic options.
By the way, I'm working on gcc-4.5.2 (gnat-6.4.2) ----- FromĀ : Andreas Schwab OnĀ 21/08/2012 PARAT Didier <didier.pa...@fr.thalesgroup.com> writes: > For example: The test gcc.dg/pr27528.c has the line " /* { dg-options > "" } */ " which means that this test should be compiled without any > options, right? But DejaGNU seems to pass some basic options anyway > (for ex. -O1, -O2, etc...) Does it? Only c-torture tests normally do that. What does the testuite log file says for that test? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -----