https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62158
Bug ID: 62158 Summary: FAIL: scan-tree-dump-not optimized "gimple_assign" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sabrinadfs at gmail dot com GCC-4.10.0 (trunk) x86_64-apple-darwin11.4.2 Running the following test: make -s -C gcc check-gcc RUNTESTFLAGS="dg.exp=pr55027.c --target_board=unix/-O0" GCC produced this failure: ------------------------------------------------------------------------ FAIL: gcc.dg/pr55027.c scan-tree-dump-not optimized "gimple_assign" === gcc Summary === # of expected passes 1 # of unexpected failures 1 Executing on host: /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc -v (timeout = 300) spawn /Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc -v Using built-in specs. COLLECT_GCC=/Users/sabrinasouto/Downloads/gcc_trunk/objdir/gcc/xgcc Target: x86_64-apple-darwin11.4.2 Configured with: ./../trunk/configure --prefix=/Users/sabrinasouto/trunk --enable-languages=c,c++ Thread model: posix gcc version 4.10.0 20140806 (experimental) (GCC) ------------------------------------------------------------------------ I also ran this test for other optimization levels (-O1, -O2, -O3) and GCC produced the same failure. Could someone please confirm if this is a bug? Thanks, Sabrina Souto.