https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62158
--- Comment #3 from Sabrina Souto <sabrinadfs at gmail dot com> --- You are right, but indeed this test ran with the option -Ofast, I did not explicitly use this option in the command line because this is already done by DejaGnu, as you can see in the test code below. Test case gcc.dg/pr55027.c -------------------------------------------------------- /* { dg-do compile } */ /* { dg-options "-Ofast -fdump-tree-optimized-raw" } */ typedef double v2df __attribute__ ((__vector_size__ (2 * sizeof (double)))); void f (v2df *x) { *x = 0 + 1 * *x; } /* { dg-final { scan-tree-dump-not "gimple_assign" "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -------------------------------------------------------- Moreover, in the execution log there is the complete configuration that GCC really uses: Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc -B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/ /Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/pr55027.c -fno-diagnostics-show-caret -fdiagnostics-color=never -Ofast -fdump-tree-optimized-raw -S -O0 -o pr55027.s (timeout = 300) spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc -B/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/ /Users/sabrinasouto/Downloads/gcc_trunk/trunk/gcc/testsuite/gcc.dg/pr55027.c -fno-diagnostics-show-caret -fdiagnostics-color=never -Ofast -fdump-tree-optimized-raw -S -O0 -o pr55027.s I attached the complete log if you need. Thanks, Sabrina Souto. (In reply to Richard Biener from comment #1) > Well, that's expected - the testcase explicitely requires -Ofast, it's an > optimization testcase.