Richard Biener: > On Tue, Oct 18, 2016 at 2:35 PM, Ximin Luo <infini...@pwned.gg> wrote: >> >> Thanks, I'll add the Changelog entry. My computer isn't very powerful, so I >> didn't bootstrap it yet, I only tested it on a stage1 compiler, on Debian >> testing/unstable. I'll find some time to bootstrap it and test it fully over >> the next few days. >> >> Shall I also get rid of the Darwin force_at_comp_dir stuff? Looking into it >> a bit more, my patch basically obsoletes the need for this so I can delete >> that as well. > > That would be nice. >
Hi, Attached is the ChangeLog plus updated patch, rebased against the 2016-10-16 snapshot. Also I noticed I got the wrong bug number, the correct one is 77985 not 77895. I've tested it on a Debian testing/unstable x86_64-linux-gnu system. The results are good, the same tests fail both before and after the patch, and we have 2 new expected successes. Unfortunately I don't have access (and am unlikely to get access) to a Darwin system to test it on. Snippets of the test logs are attached. The full logs are about 200MB each in size (4MB XZ-compressed, each) so I guessed I shouldn't send them via email... The snippets were grepped from the logs using the '^FAIL: \|^# of\|pr77985' pattern. You can diff them to check that the results are same in both cases. X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git
== gcc-build/gcc/testsuite/gcc/gcc.log == FAIL: c is -1, not 6303904 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303904 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303920 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303920 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303936 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303936 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303952 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303952 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303968 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303968 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303984 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: ret is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: o is -1, not 6303904 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: o is -1, not 6303904 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: o is -1, not 6303920 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: o is -1, not 6303920 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: o is -1, not 6303936 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: o is -1, not 6303936 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: o is -1, not 6303952 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: o is -1, not 6303952 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303984 FAIL: o is -1, not 6303968 FAIL: w is -1, not 6303984 FAIL: ret is -1, not 6303968 FAIL: c is -1, not 6303904 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303904 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: e is -1, not 6303984 FAIL: ret is -1, not 0 FAIL: c is -1, not 6303904 FAIL: n is -1, not 6303920 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303904 FAIL: n is -1, not 6303920 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: n is -1, not 6303936 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: n is -1, not 6303936 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: n is -1, not 6303952 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: n is -1, not 6303952 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: n is -1, not 6303968 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: n is -1, not 6303968 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: n is -1, not 6303984 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: n is -1, not 6303984 FAIL: t is -1, not 6303984 FAIL: ret is -1, not 0 FAIL: 5 PASS, 114 FAIL, 0 UNRESOLVED FAIL: ret is -1, not 6299888 FAIL: o is -1, not 6299808 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299808 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299824 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299824 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299840 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299840 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299856 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299856 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299872 FAIL: w is -1, not 6299888 FAIL: ret is -1, not 6299872 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: n is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299808 FAIL: n is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299824 FAIL: n is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299840 FAIL: n is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299856 FAIL: n is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299872 FAIL: n is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: 62 PASS, 57 FAIL, 0 UNRESOLVED FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: 109 PASS, 10 FAIL, 0 UNRESOLVED FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: ret is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: ret is -1, not 6299872 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299808 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: 59 PASS, 60 FAIL, 0 UNRESOLVED FAIL: b is -1, not 1 FAIL: 1 PASS, 1 FAIL, 0 UNRESOLVED FAIL: gcc.dg/guality/pr41616-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test FAIL: gcc.dg/guality/pr43051-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions line 34 c == &a[0] FAIL: gcc.dg/guality/pr43051-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions line 36 e == &a[1] FAIL: gcc.dg/guality/pr54200.c -Os line 20 z == 3 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 y == 25 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 z == 6 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 y == 117 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 z == 8 FAIL: gcc.dg/guality/pr54519-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 z == 6 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 y == 117 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 z == 8 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 20 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 20 z == 6 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 23 y == 117 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 23 z == 8 FAIL: gcc.dg/guality/pr54519-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr54519-5.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-5.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg6 == 6 FAIL: gcc.dg/guality/vla-1.c -O1 line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O3 -g line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -Os line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 sizeof (a) == 6 FAIL: b is 4589168020290535424, not 3003 FAIL: ab is not computable, expected 6299768 FAIL: ac is not computable, expected 6299772 FAIL: msg is not computable, expected 4197965 FAIL: 0 PASS, 4 FAIL, 0 UNRESOLVED FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 d == 112 FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 e == 142 FAIL: gcc.dg/tree-ssa/pr69270-3.c scan-tree-dump-times uncprop1 ", 1" 4 FAIL: gcc.dg/tree-ssa/slsr-8.c scan-tree-dump-times optimized " w?\\* " 7 # of expected passes 127308 # of unexpected failures 56 # of unexpected successes 22 # of expected failures 339 # of unsupported tests 2049 == gcc-build/gcc/testsuite/gfortran/gfortran.log == FAIL: gfortran.dg/graphite/pr68279.f90 -O (internal compiler error) FAIL: gfortran.dg/graphite/pr68279.f90 -O (test for excess errors) # of expected passes 43523 # of unexpected failures 2 # of expected failures 76 # of unsupported tests 67 == gcc-build/gcc/testsuite/g++/g++.log == FAIL: g++.dg/guality/pr55665.C -O2 line 23 p == 40 FAIL: g++.dg/guality/pr55665.C -O3 -g line 23 p == 40 # of expected passes 110403 # of unexpected failures 2 # of unexpected successes 2 # of expected failures 333 # of unsupported tests 3975 == gcc-build/gcc/testsuite/objc/objc.log == # of expected passes 2797 # of expected failures 6 # of unsupported tests 68 == gcc-build/x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log == # of expected passes 54 == gcc-build/x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log == # of expected passes 5098 # of unsupported tests 319 == gcc-build/x86_64-pc-linux-gnu/libitm/testsuite/libitm.log == # of expected passes 42 # of expected failures 3 # of unsupported tests 1 == gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log == # of added symbols: 26 # of missing symbols: 0 # of undesignated symbols: 2 # of incompatible symbols: 0 FAIL: 22_locale/numpunct/members/char/3.cc execution test FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test # of expected passes 11862 # of unexpected failures 2 # of expected failures 65 # of unsupported tests 244
== gcc-build/gcc/testsuite/gcc/gcc.log == Executing on host: /dev/shm/gcc/gcc-build/gcc/xgcc -B/dev/shm/gcc/gcc-build/gcc/ /home/infinity0/var/lib/reproducible/gcc-7-20161016/gcc/testsuite/gcc.dg/debug/dwarf2/pr77985.c -fno-diagnostics-show-caret -fdiagnostics-color=never -g -dA -ffat-lto-objects -S -o pr77985.s (timeout = 300) spawn -ignore SIGHUP /dev/shm/gcc/gcc-build/gcc/xgcc -B/dev/shm/gcc/gcc-build/gcc/ /home/infinity0/var/lib/reproducible/gcc-7-20161016/gcc/testsuite/gcc.dg/debug/dwarf2/pr77985.c -fno-diagnostics-show-caret -fdiagnostics-color=never -g -dA -ffat-lto-objects -S -o pr77985.s PASS: gcc.dg/debug/dwarf2/pr77985.c (test for excess errors) PASS: gcc.dg/debug/dwarf2/pr77985.c scan-assembler DW_AT_comp_dir: FAIL: c is -1, not 6303904 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303904 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303920 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303920 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303936 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303936 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303952 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303952 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303968 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303968 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: c is -1, not 6303984 FAIL: v is -1, not 13 FAIL: e is -1, not 6304000 FAIL: ret is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: o is -1, not 6303904 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: o is -1, not 6303904 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: o is -1, not 6303920 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: o is -1, not 6303920 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: o is -1, not 6303936 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: o is -1, not 6303936 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: o is -1, not 6303952 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: o is -1, not 6303952 FAIL: w is -1, not 6303984 FAIL: c is -1, not 6303984 FAIL: o is -1, not 6303968 FAIL: w is -1, not 6303984 FAIL: ret is -1, not 6303968 FAIL: c is -1, not 6303904 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303904 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: e is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: e is -1, not 6303984 FAIL: ret is -1, not 0 FAIL: c is -1, not 6303904 FAIL: n is -1, not 6303920 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303904 FAIL: n is -1, not 6303920 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: n is -1, not 6303936 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303920 FAIL: n is -1, not 6303936 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: n is -1, not 6303952 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303936 FAIL: n is -1, not 6303952 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: n is -1, not 6303968 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303952 FAIL: n is -1, not 6303968 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: n is -1, not 6303984 FAIL: t is -1, not 6303984 FAIL: c is -1, not 6303968 FAIL: n is -1, not 6303984 FAIL: t is -1, not 6303984 FAIL: ret is -1, not 0 FAIL: 5 PASS, 114 FAIL, 0 UNRESOLVED FAIL: ret is -1, not 6299888 FAIL: o is -1, not 6299808 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299808 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299824 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299824 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299840 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299840 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299856 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299856 FAIL: w is -1, not 6299888 FAIL: o is -1, not 6299872 FAIL: w is -1, not 6299888 FAIL: ret is -1, not 6299872 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: n is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299808 FAIL: n is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299824 FAIL: n is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299840 FAIL: n is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299856 FAIL: n is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: n is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299872 FAIL: n is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: 62 PASS, 57 FAIL, 0 UNRESOLVED FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: e is 6299904, not 6299888 FAIL: 109 PASS, 10 FAIL, 0 UNRESOLVED FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: v is -1, not 13 FAIL: e is -1, not 6299904 FAIL: ret is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: w is -1, not 6299888 FAIL: ret is -1, not 6299872 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: e is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299808 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299824 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299840 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299856 FAIL: t is -1, not 6299888 FAIL: t is -1, not 6299888 FAIL: c is -1, not 6299872 FAIL: t is -1, not 6299888 FAIL: ret is -1, not 0 FAIL: 59 PASS, 60 FAIL, 0 UNRESOLVED FAIL: b is 4589168020290535424, not 3003 FAIL: ab is not computable, expected 6299768 FAIL: ac is not computable, expected 6299772 FAIL: msg is not computable, expected 4197965 FAIL: 0 PASS, 4 FAIL, 0 UNRESOLVED FAIL: b is -1, not 1 FAIL: 1 PASS, 1 FAIL, 0 UNRESOLVED FAIL: gcc.dg/guality/pr41616-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test FAIL: gcc.dg/guality/pr43051-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions line 34 c == &a[0] FAIL: gcc.dg/guality/pr43051-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions line 36 e == &a[1] FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 d == 112 FAIL: gcc.dg/guality/pr45882.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 e == 142 FAIL: gcc.dg/guality/pr54200.c -Os line 20 z == 3 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 y == 25 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 z == 6 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 y == 117 FAIL: gcc.dg/guality/pr54519-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 z == 8 FAIL: gcc.dg/guality/pr54519-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 20 z == 6 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 y == 117 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 23 z == 8 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 20 y == 25 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 20 z == 6 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 23 y == 117 FAIL: gcc.dg/guality/pr54519-3.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 23 z == 8 FAIL: gcc.dg/guality/pr54519-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-4.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr54519-5.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 y == 25 FAIL: gcc.dg/guality/pr54519-5.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 y == 25 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 16 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 arg6 == 6 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg1 == 1 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg2 == 2 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg3 == 3 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg4 == 4 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg5 == 5 FAIL: gcc.dg/guality/pr68860-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 16 arg6 == 6 FAIL: gcc.dg/guality/vla-1.c -O1 line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O3 -g line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -Os line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 17 sizeof (a) == 6 FAIL: gcc.dg/guality/vla-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 17 sizeof (a) == 6 FAIL: gcc.dg/tree-ssa/pr69270-3.c scan-tree-dump-times uncprop1 ", 1" 4 FAIL: gcc.dg/tree-ssa/slsr-8.c scan-tree-dump-times optimized " w?\\* " 7 # of expected passes 127310 # of unexpected failures 56 # of unexpected successes 22 # of expected failures 339 # of unsupported tests 2049 == gcc-build/gcc/testsuite/gfortran/gfortran.log == FAIL: gfortran.dg/graphite/pr68279.f90 -O (internal compiler error) FAIL: gfortran.dg/graphite/pr68279.f90 -O (test for excess errors) # of expected passes 43523 # of unexpected failures 2 # of expected failures 76 # of unsupported tests 67 == gcc-build/gcc/testsuite/g++/g++.log == FAIL: g++.dg/guality/pr55665.C -O2 line 23 p == 40 FAIL: g++.dg/guality/pr55665.C -O3 -g line 23 p == 40 # of expected passes 110403 # of unexpected failures 2 # of unexpected successes 2 # of expected failures 333 # of unsupported tests 3975 == gcc-build/gcc/testsuite/objc/objc.log == # of expected passes 2797 # of expected failures 6 # of unsupported tests 68 == gcc-build/x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log == # of expected passes 54 == gcc-build/x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log == # of expected passes 5098 # of unsupported tests 319 == gcc-build/x86_64-pc-linux-gnu/libitm/testsuite/libitm.log == # of expected passes 42 # of expected failures 3 # of unsupported tests 1 == gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log == # of added symbols: 26 # of missing symbols: 0 # of undesignated symbols: 2 # of incompatible symbols: 0 FAIL: 22_locale/numpunct/members/char/3.cc execution test FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test # of expected passes 11862 # of unexpected failures 2 # of expected failures 65 # of unsupported tests 244
2016-10-18 Ximin Luo <infini...@pwned.gg> PR debug/77985 * dwarf2out.c (file_table_relative_p): Remove. (gen_compile_unit_die, dwarf2out_early_finish): Emit DW_AT_comp_dir for absolute paths. As a consequence of this, PR 53453 (2012-05-29) is no longer necessary and therefore also reverted, as follows: * doc/tm.texi: Update. * doc/tm.texi.in (SDB and DWARF) <TARGET_FORCE_AT_COMP_DIR>: Remove @hook. * target.def (force_at_comp_dir): Remove hook. * config/darwin.h (TARGET_FORCE_AT_COMP_DIR): Remove define.
Index: gcc-7-20161016/gcc/dwarf2out.c =================================================================== --- gcc-7-20161016.orig/gcc/dwarf2out.c +++ gcc-7-20161016/gcc/dwarf2out.c @@ -22053,7 +22053,7 @@ gen_compile_unit_die (const char *filena { add_name_attribute (die, filename); /* Don't add cwd for <built-in>. */ - if (!IS_ABSOLUTE_PATH (filename) && filename[0] != '<') + if (filename[0] != '<') add_comp_dir_attribute (die); } @@ -26416,20 +26416,6 @@ prune_unused_types (void) prune_unmark_dies (ctnode->root_die); } -/* Set the parameter to true if there are any relative pathnames in - the file table. */ -int -file_table_relative_p (dwarf_file_data **slot, bool *p) -{ - struct dwarf_file_data *d = *slot; - if (!IS_ABSOLUTE_PATH (d->filename)) - { - *p = true; - return 0; - } - return 1; -} - /* Helpers to manipulate hash table of comdat type units. */ struct comdat_type_hasher : nofree_ptr_hash <comdat_type_node> @@ -28243,15 +28229,7 @@ dwarf2out_early_finish (const char *file /* Add the name for the main input file now. We delayed this from dwarf2out_init to avoid complications with PCH. */ add_name_attribute (comp_unit_die (), remap_debug_filename (filename)); - if (!IS_ABSOLUTE_PATH (filename) || targetm.force_at_comp_dir) - add_comp_dir_attribute (comp_unit_die ()); - else if (get_AT (comp_unit_die (), DW_AT_comp_dir) == NULL) - { - bool p = false; - file_table->traverse<bool *, file_table_relative_p> (&p); - if (p) - add_comp_dir_attribute (comp_unit_die ()); - } + add_comp_dir_attribute (comp_unit_die ()); /* With LTO early dwarf was really finished at compile-time, so make sure to adjust the phase after annotating the LTRANS CU DIE. */ Index: gcc-7-20161016/gcc/testsuite/gcc.dg/debug/dwarf2/pr77985.c =================================================================== --- /dev/null +++ gcc-7-20161016/gcc/testsuite/gcc.dg/debug/dwarf2/pr77985.c @@ -0,0 +1,9 @@ +/* DW_AT_comp_dir is emitted even if the file is compiled via an absolute path, + as is the case in the gcc testsuite. */ +/* { dg-do compile } */ +/* { dg-options "-g -dA" } */ +/* { dg-final { scan-assembler "DW_AT_comp_dir:" } } */ + +void func (void) +{ +} Index: gcc-7-20161016/gcc/config/darwin.h =================================================================== --- gcc-7-20161016.orig/gcc/config/darwin.h +++ gcc-7-20161016/gcc/config/darwin.h @@ -424,8 +424,6 @@ extern GTY(()) int darwin_ms_struct; #define TARGET_WANT_DEBUG_PUB_SECTIONS true -#define TARGET_FORCE_AT_COMP_DIR true - /* When generating stabs debugging, use N_BINCL entries. */ #define DBX_USE_BINCL Index: gcc-7-20161016/gcc/doc/tm.texi =================================================================== --- gcc-7-20161016.orig/gcc/doc/tm.texi +++ gcc-7-20161016/gcc/doc/tm.texi @@ -9784,10 +9784,6 @@ tables, and hence is desirable if it wor True if the @code{.debug_pubtypes} and @code{.debug_pubnames} sections should be emitted. These sections are not used on most platforms, and in particular GDB does not use them. @end deftypevr -@deftypevr {Target Hook} bool TARGET_FORCE_AT_COMP_DIR -True if the @code{DW_AT_comp_dir} attribute should be emitted for each compilation unit. This attribute is required for the darwin linker to emit debug information. -@end deftypevr - @deftypevr {Target Hook} bool TARGET_DELAY_SCHED2 True if sched2 is not to be run at its normal place. This usually means it will be run as part of machine-specific reorg. Index: gcc-7-20161016/gcc/doc/tm.texi.in =================================================================== --- gcc-7-20161016.orig/gcc/doc/tm.texi.in +++ gcc-7-20161016/gcc/doc/tm.texi.in @@ -7084,8 +7084,6 @@ tables, and hence is desirable if it wor @hook TARGET_WANT_DEBUG_PUB_SECTIONS -@hook TARGET_FORCE_AT_COMP_DIR - @hook TARGET_DELAY_SCHED2 @hook TARGET_DELAY_VARTRACK Index: gcc-7-20161016/gcc/target.def =================================================================== --- gcc-7-20161016.orig/gcc/target.def +++ gcc-7-20161016/gcc/target.def @@ -6057,13 +6057,6 @@ DEFHOOKPOD bool, false) DEFHOOKPOD -(force_at_comp_dir, - "True if the @code{DW_AT_comp_dir} attribute should be emitted for each \ - compilation unit. This attribute is required for the darwin linker \ - to emit debug information.", - bool, false) - -DEFHOOKPOD (delay_sched2, "True if sched2 is not to be run at its normal place.\n\ This usually means it will be run as part of machine-specific reorg.", bool, false)