trippels@gcc2-power8 llvm_build % g++ --save-temps -fcompare-debug -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -O2 -pipe -mlra -Ilib/Support -I/home/trippels/llvm/lib/Support -Iinclude -I/home/trippels/llvm/include -UNDEBUG -fno-exceptions -fno-rtti -MMD -MT lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o -c /home/trippels/llvm/lib/Support/CommandLine.cpp g++: warning: -pipe ignored because -save-temps specified g++: error: /home/trippels/llvm/lib/Support/CommandLine.cpp: -fcompare-debug failure trippels@gcc2-power8 llvm_build % diff -u CommandLine.gkd CommandLine.gk.gkd --- CommandLine.gkd 2016-04-15 09:31:13.246179530 +0000 +++ CommandLine.gk.gkd 2016-04-15 09:31:16.646253990 +0000 @@ -24217,8 +24217,8 @@ (code_label # 0 0 868 "" [1 uses]) (note # 0 0 [bb 13] NOTE_INSN_BASIC_BLOCK) (insn:TI # 0 0 (set (reg:DI 9 9 [368]) - (const_int 808517632 [0x30310000])) /home/trippels/llvm/include/llvm/Support/raw_ostream.h:169# {*movdi_internal64} - (expr_list:REG_EQUAL (const_int 808517632 [0x30310000]) + (const_int 858849280 [0x33310000])) /home/trippels/llvm/include/llvm/Support/raw_ostream.h:169# {*movdi_internal64} + (expr_list:REG_EQUAL (const_int 858849280 [0x33310000]) (nil))) (insn # 0 0 (set (reg:DI 9 9 [368]) (ior:DI (reg:DI 9 9 [368]) @@ -24235,7 +24235,7 @@ (insn # 0 0 (set (reg:DI 9 9 [317]) (ior:DI (reg:DI 9 9 [368]) (const_int 14640 [0x3930]))) /home/trippels/llvm/include/llvm/Support/raw_ostream.h:169# {*booldi3_imm} - (expr_list:REG_EQUIV (const_int 3472620770666625328 [0x30313a31333a3930]) + (expr_list:REG_EQUIV (const_int 3688793552780409136 [0x33313a31333a3930]) (nil))) (insn # 0 0 (set (mem:DI (reg/f:DI 10 10 [orig:176 prephitmp_70 ] [176]) [ MEM[(void *)prephitmp_70]+0 S8 A8]) (reg:DI 9 9 [317])) /home/trippels/llvm/include/llvm/Support/raw_ostream.h:169# {*movdi_internal64} Unfortunately it doesn't fail on the CommandLine.ii file.
Can you see if the fix in PR70675 works? That is, is this a dup? Does reducing GC params make it reproduce with the .ii file?
(In reply to Richard Biener from comment #1) > Can you see if the fix in PR70675 works? That is, is this a dup? Unfortunately no. > Does reducing GC params make it reproduce with the .ii file? --param ggc-min-expand=5 --param ggc-min-heapsize=5 doesn't help.
Sorry this is a bogus bug. CommandLine.cpp contains: std::cout << " Built " << __DATE__ << " (" << __TIME__ << ").\n" So this is simply the __TIME__ difference...