[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 --- Comment #2 from John David Anglin --- Similar fails: FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) UNRESOLVED: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions compilation failed to produce executable FAIL: gfortran.dg/matmul_10.f90 -O3 -g (internal compiler error) FAIL: gfortran.dg/matmul_10.f90 -O3 -g (test for excess errors) UNRESOLVED: gfortran.dg/matmul_10.f90 -O3 -g compilation failed to produce executable FAIL: gfortran.dg/matmul_2.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (internal compiler error) FAIL: gfortran.dg/matmul_2.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) UNRESOLVED: gfortran.dg/matmul_2.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions compilation failed to produce executable FAIL: gfortran.dg/matmul_2.f90 -O3 -g (internal compiler error) FAIL: gfortran.dg/matmul_2.f90 -O3 -g (test for excess errors) UNRESOLVED: gfortran.dg/matmul_2.f90 -O3 -g compilation failed to produce executable
[Bug target/83451] FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 --- Comment #1 from John David Anglin --- The subreg is strange.
[Bug target/83451] New: FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83451 Bug ID: 83451 Summary: FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 4-hp-hpux11.11/./libquadmath/.libs -lm-o ./matmul_10.exe(timeout = 300) spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11 /./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90 -fno-d iagnostics-show-caret -fdiagnostics-color=never -O3 -fomit-frame-pointer -funrol l-loops -fpeel-loops -ftracer -finline-functions -Warray-temporaries -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa6 4-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./ libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs - B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/ob jdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hp ux11.11/./libquadmath/.libs -lm -o ./matmul_10.exe /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:12:18: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:17:31: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:17:15: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:22:0: Error: unrecognizable insn: (insn 781 262 274 5 (set (subreg:DI (mem/c:SI (plus:DI (reg/f:DI 30 %r30) (const_int -244 [0xff0c])) [9 %sfp+92 S4 A128]) 0) (reg:DI 37 %fr9)) "/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90":12 -1 (nil)) during RTL pass: reload /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:22:0: internal compiler error: in extract_insn, at recog.c:2306 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:12:18: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:17:31: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:17:15: Warning: Creating array temporary at (1) [-Warray-temporaries] /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:22:0: Error: unrecognizable insn: (insn 781 262 274 5 (set (subreg:DI (mem/c:SI (plus:DI (reg/f:DI 30 %r30) (const_int -244 [0xff0c])) [9 %sfp+92 S4 A128]) 0) (reg:DI 37 %fr9)) "/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90":12 -1 (nil)) during RTL pass: reload /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/matmul_10.f90:22:0: internal compiler error: in extract_insn, at recog.c:2306 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -floops -ftracer -finline-functions (internal compiler error)
[Bug libstdc++/83450] New: FAIL: 21_strings/basic_string/pthread18185.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83450 Bug ID: 83450 Summary: FAIL: 21_strings/basic_string/pthread18185.cc (test for excess errors) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objd...skipping... ppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objd ir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/lib supc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/bas ic_string/pthread18185.cc -pthread -fno-diagnostics-show-caret -fdiagnostics-c olor=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/filesystem/.libs -lm -o ./pthread18185.exe(timeout = 600)spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objd ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-8/hppa6 4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/lib/ -isystem /op t/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/include -isystem /opt/gnu64/gcc/gcc-8/hppa 64-hp-hpux11.11/sys-include -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc ++-v3/src/.libs -fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc -pthread -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/filesystem/.libs -lm -o ./pthread18185.exe/test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc: In function 'void* foo(void*)': /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc:37: warning: control reaches end of non-void function [-Wreturn-type] output is: /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc: In function 'void* foo(void*)': /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc:37: warning: control reaches end of non-void function [-Wreturn-type] FAIL: 21_strings/basic_string/pthread18185.cc (test for excess errors) Excess errors: /test/gnu/gcc/gcc/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc:37: warning: control reaches end of non-void function [-Wreturn-type]
[Bug libstdc++/68735] FAIL: libstdc++-prettyprinters/libfundts.cc print ab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68735 John David Anglin changed: What|Removed |Added Last reconfirmed|2016-11-01 00:00:00 |2017-12-17 --- Comment #2 from John David Anglin --- Similar fails: FAIL: libstdc++-prettyprinters/cxx17.cc print ab FAIL: libstdc++-prettyprinters/cxx17.cc print ai FAIL: libstdc++-prettyprinters/cxx17.cc print ap FAIL: libstdc++-prettyprinters/cxx17.cc print as FAIL: libstdc++-prettyprinters/cxx17.cc print as2 FAIL: libstdc++-prettyprinters/cxx17.cc print am FAIL: libstdc++-prettyprinters/libfundts.cc print ab FAIL: libstdc++-prettyprinters/libfundts.cc print ai FAIL: libstdc++-prettyprinters/libfundts.cc print ap FAIL: libstdc++-prettyprinters/libfundts.cc print as FAIL: libstdc++-prettyprinters/libfundts.cc print as2 FAIL: libstdc++-prettyprinters/libfundts.cc print am FAIL: libstdc++-prettyprinters/cxx17.cc print ab FAIL: libstdc++-prettyprinters/cxx17.cc print ai FAIL: libstdc++-prettyprinters/cxx17.cc print ap FAIL: libstdc++-prettyprinters/cxx17.cc print as FAIL: libstdc++-prettyprinters/cxx17.cc print as2 FAIL: libstdc++-prettyprinters/cxx17.cc print am FAIL: libstdc++-prettyprinters/libfundts.cc print ab FAIL: libstdc++-prettyprinters/libfundts.cc print ai FAIL: libstdc++-prettyprinters/libfundts.cc print ap FAIL: libstdc++-prettyprinters/libfundts.cc print as FAIL: libstdc++-prettyprinters/libfundts.cc print as2 FAIL: libstdc++-prettyprinters/libfundts.cc print am
[Bug libstdc++/71641] 22_locale/time_get/get_date/wchar_t/4.cc runs failure if static linking
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71641 John David Anglin changed: What|Removed |Added Target||hppa-unknown-linux-gnu Last reconfirmed||2017-12-17 CC||danglin at gcc dot gnu.org --- Comment #1 from John David Anglin --- Fails on hppa-linux with libc 2.25: spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/home/dave/gnu/gcc/objdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc/objdir/hppa-linux-gn u/libstdc++-v3/src -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/dave/opt/gnu/gcc/gcc-8/hppa-linux-gnu/bin/ -B/home/dave/opt/gnu/gcc/gcc-8/hppa-linux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-8/hppa-linux-gnu/include -isystem /home/dave/opt/gnu/gcc/gcc-8/hppa-linux-gnu/sys-include -B/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hp pa-linux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include -I/ home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc/gcc/libstdc++- v3/include/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util /home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/4.cc -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -Wl,--gc-se ctions -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/filesystem/.l ibs -lm -o ./4.exe PASS: 22_locale/time_get/get_date/wchar_t/4.cc (test for excess errors)Setting LD_LIBRARY_PATH to :/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/../libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev-gcc Execution timeout is: 300 spawn [open ...] /home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/4.cc:53: void test01(): Assertion 'errorstate == ios_base::eofbit' failed. FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test
[Bug testsuite/68643] FAIL: gcc.dg/tree-prof/cold_partition_label.c scan-assembler foo[._]+cold[._]+0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68643 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from John David Anglin --- Fixed.
[Bug plugins/83442] FAIL: gcc.dg/plugin/expensive-selftests-1.c -- timeout
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83442 --- Comment #1 from John David Anglin --- Program is stuck in a loop which repeatedly calls $$dyncall: (gdb) bt #0 $$dyncall () at ../../../gcc/libgcc/config/pa/milli64.S:237 #1 0x0055b82c in try_init_one_plugin (plugin=0xfae140) at ../../gcc/gcc/plugin.c:729 #2 init_one_plugin (slot=, info=) at ../../gcc/gcc/plugin.c:753 #3 0x00cdf9c8 in htab_traverse_noresize (htab=, callback=@0xf8cdb036: 0xf69cd764 <$$dyncall>, callback@entry=0x55b7a0, info=0xd63000 , info@entry=0x0) at ../../gcc/libiberty/hashtab.c:775 #4 0x0055c370 in initialize_plugins () at ../../gcc/gcc/plugin.c:779 #5 0x000f5e58 in toplev::main (this=this@entry=0xf8d02388, argc=, argc@entry=16441664, argv=, argv@entry=0xffa8e8) at ../../gcc/gcc/toplev.c:2185 #6 0x000f80b4 in main (argc=16441664, argv=0xffa8e8) at ../../gcc/gcc/main.c:39 (gdb) step 225 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address (gdb) 231 bv %r0(%r22) ; branch to the real target (gdb) 237 stw %r2,-24(%r30) ; save return address into frame marker (gdb) 225 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address (gdb) 231 bv %r0(%r22) ; branch to the real target (gdb) 237 stw %r2,-24(%r30) ; save return address into frame marker (gdb) 225 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address (gdb) 231 bv %r0(%r22) ; branch to the real target ... 231 bv %r0(%r22) ; branch to the real target (gdb) p/x $r22 $1 = 0xf69cd764 (gdb) stepi 237 stw %r2,-24(%r30) ; save return address into frame marker (gdb) disass Dump of assembler code for function $$dyncall: 0xf69cd764 <+0>: bb,*>=,n r22,1e,0xf69cd774 <$$dyncall+16> 0xf69cd768 <+4>: depwi 0,31,2,r22 0xf69cd76c <+8>: ldw 4(r22),r19 0xf69cd770 <+12>:ldw 0(r22),r22 0xf69cd774 <+16>:bv r0(r22) => 0xf69cd778 <+20>:stw rp,-18(sp) End of assembler dump.
[Bug c/83443] New: FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443 Bug ID: 83443 Summary: FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Wno-format -Wformat-overflow -fexec-charset=IBM1047 -ftrack-macro-expansion=0 -S -o builtin-sprintf-warn-18.s(timeout = 300) spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Wno-format -Wformat-overflow -fexec-charset=IBM1047 -ftrack-macro-expansion=0 -S -o builtin-sprintf-warn-18.s /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: In function 'test_characters': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:16:3: warning: '%%' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:16:3: note: '__builtin_sprintf' output 2 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:18:3: warning: '%A' directive writing between 6 and 20 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:18:3: note: '__builtin_sprintf' output between 7 and 21 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:19:3: warning: '%a' directive writing between 6 and 20 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:19:3: note: '__builtin_sprintf' output between 7 and 21 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:22:3: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:22:3: note: '__builtin_sprintf' output 2 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:24:3: warning: '%d' directive writing 2 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:24:3: note: '__builtin_sprintf' output 3 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:25:3: warning: '% d' directive writing 3 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:25:3: note: '__builtin_sprintf' output 4 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:26:3: warning: '%-d' directive writing 3 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:26:3: note: '__builtin_sprintf' output 4 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:27:3: warning: '%+d' directive writing 5 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:27:3: note: '__builtin_sprintf' output 6 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:29:3: warning: '%1$d' directive writing 4 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:29:3: note: '__builtin_sprintf' output 5 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:32:3: warning: '%0d' directive writing 5 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:32:3: note: '__builtin_sprintf' output 6 bytes into a destination of size 0 /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:33:3: warning: '%1d' directive writing 5 bytes into a region of size 0 [-Wformat-overflow=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c:33:3: note
[Bug plugins/83442] New: FAIL: gcc.dg/plugin/expensive-selftests-1.c -- timeout
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83442 Bug ID: 83442 Summary: FAIL: gcc.dg/plugin/expensive-selftests-1.c -- timeout Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Test times out: spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/obj dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/expensive-selftests- 1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -fplugin=./expensive_s elftests_plugin.so -ansi -pedantic-errors -S -o expensive-selftests-1.s WARNING: program timed out compiler exited with status 1 FAIL: gcc.dg/plugin/expensive-selftests-1.c -fplugin=./expensive_selftests_plugi n.so dg-regexp 3 not found: "expensive_selftests_plugin: .* pass\(es\) in .* se conds" FAIL: gcc.dg/plugin/expensive-selftests-1.c -fplugin=./expensive_selftests_plugi n.so (test for excess errors) Excess errors: exit status is 1
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #19 from John David Anglin --- On hppa64-hp-hpux11.11, the tests currently fail on gcc-8 trunk with a link error: spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gc c -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/tes t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objd ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-8/hppa6 4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/lib/ -isystem /op t/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/include -isystem /opt/gnu64/gcc/gcc-8/hppa 64-hp-hpux11.11/sys-include -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc ++-v3/src/.libs -fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc -pthread -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa64hp-hpux11.11/libstdc++-v3/src /filesystem/.libs -lm -o ./default_weaktoshared.exeld: Unsatisfied symbol "__atomic_fetch_add_4" in file /var/tmp//ccfRrRyB.old: Unsatisfied symbol "__atomic_fetch_sub_4" in file /var/tmp//ccfRrRyB.o We need to link with "-latomic".
[Bug middle-end/81046] [8 Regression] FAIL: gcc.dg/pr28796-2.c execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81046 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from John David Anglin --- Fixed.
[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 --- Comment #6 from John David Anglin --- Author: danglin Date: Sat Nov 11 16:11:50 2017 New Revision: 254655 URL: https://gcc.gnu.org/viewcvs?rev=254655=gcc=rev Log: Backport from mainline 2017-08-20 John David AnglinPR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__. Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/testsuite/17_intro/names.cc
[Bug target/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739 --- Comment #13 from John David Anglin --- Author: danglin Date: Sat Nov 11 15:53:18 2017 New Revision: 254654 URL: https://gcc.gnu.org/viewcvs?rev=254654=gcc=rev Log: Backport from mainline 2017-02-25 John David AnglinPR target/68739 * inclhack.def (hpux11_pthread_pointer): New fix. (hpux11_pthread_const): Adjust to remove void * cast from define. * fixincl.x: Regenerate. * tests/base/sys/pthread.h [HPUX11_PTHREAD_CONST_CHECK]: Update tests. Modified: branches/gcc-6-branch/fixincludes/ChangeLog branches/gcc-6-branch/fixincludes/fixincl.x branches/gcc-6-branch/fixincludes/inclhack.def branches/gcc-6-branch/fixincludes/tests/base/sys/pthread.h
[Bug c++/67834] Local references inside comdat groups
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from John David Anglin --- The test case now compiles successfully with 5.4.1 20171003 (Debian 5.4.1-14), g++-6 and g++-7.
[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from John David Anglin --- Resolved by xfail.
[Bug rtl-optimization/82111] kcoreaddons-5.37.0: desktopfileparser.cpp miscompiled in dbr pass
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82111 --- Comment #2 from John David Anglin --- Created attachment 42134 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42134=edit Dump from dbr pass
[Bug rtl-optimization/82111] kcoreaddons-5.37.0: desktopfileparser.cpp miscompiled in dbr pass
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82111 --- Comment #1 from John David Anglin --- Created attachment 42133 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42133=edit Dump from barriers
[Bug rtl-optimization/82111] New: kcoreaddons-5.37.0: desktopfileparser.cpp miscompiled in dbr pass
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82111 Bug ID: 82111 Summary: kcoreaddons-5.37.0: desktopfileparser.cpp miscompiled in dbr pass Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Created attachment 42132 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42132=edit Preprocessed source The kdelibs4support fails to build on hppa due to a segmentation fault in desktoptojson. This is debian bug #874312. The fault occurs in __sync_sub_and_fetch_4. It occurs because the r26 argument register is not initialized before the call. We have in ServiceTypeDefinition::parseValue(QByteArray const&, QString const&) const the following code: 0x00018cac <+660>: ldw c(r6),r25 0x00018cb0 <+664>:ldw c(ret0),r26 0x00018cb4 <+668>:copy r5,r24 0x00018cb8 <+672>:add,l r6,r25,r25 0x00018cbc <+676>:b,l 0x13144,rp 0x00018cc0 <+680>:add,l ret0,r26,r26 0x00018cc4 <+684>:cmpib,<> 0,ret0,0x18ac0 <ServiceTypeDefinition::parseValue(QByteArray const&, QString const&) const+168> 0x00018cc8 <+688>:copy r4,r19 0x00018ccc <+692>:ldw 4(r3),ret0 0x00018cd0 <+696>:ldo -1(ret0),ret0 0x00018cd4 <+700>:cmpib,= -1,ret0,0x18cec <ServiceTypeDefinition::parseValue(QByteArray const&, QString const&) const+724> 0x00018cd8 <+704>:copy r19,r4 0x00018cdc <+708>:b,l 0x22a78 <__sync_sub_and_fetch_4>,rp 0x00018ce0 <+712>:ldi 1,r25 The call at 0x00018cbc is to memcmp. When the two cmpib instructions fall through to the call to __sync_sub_and_fetch_4, the r26 argument register is not initialized for the call to __sync_sub_and_fetch_4. The compilation command is: /usr/lib/gcc/hppa-linux-gnu/7/cc1plus -fpreprocessed desktopfileparser.ii -quiet -dumpbase desktopfileparser.cpp -auxbase-strip CMakeFiles/desktoptojson.dir/__/lib/plugin/desktopfileparser.cpp.o -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wpedantic -Wsuggest-override -std=c++11 -std=gnu++11 -version -fdebug-prefix-map=/home/dave/debian/kcoreaddons/kcoreaddons-5.37.0=. -fno-operator-names -fexceptions -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o desktopfileparser.s It appears in looking at the rtl dumps that things go bad in the dbr pass.
[Bug c/53037] warn_if_not_aligned(X)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment #40 from John David Anglin --- (In reply to Rainer Orth from comment #26) > Several of the new tests FAIL on Solaris/SPARC (both 32 and 64-bit): > > +FAIL: g++.dg/pr53037-2.C -std=gnu++11 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-2.C -std=gnu++11 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-2.C -std=gnu++11 (test for warnings, line 6) > +FAIL: g++.dg/pr53037-2.C -std=gnu++14 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-2.C -std=gnu++14 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-2.C -std=gnu++14 (test for warnings, line 6) > +FAIL: g++.dg/pr53037-2.C -std=gnu++98 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-2.C -std=gnu++98 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-2.C -std=gnu++98 (test for warnings, line 6) > +FAIL: g++.dg/pr53037-3.C -std=gnu++11 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-3.C -std=gnu++11 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-3.C -std=gnu++11 (test for warnings, line 6) > +FAIL: g++.dg/pr53037-3.C -std=gnu++14 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-3.C -std=gnu++14 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-3.C -std=gnu++14 (test for warnings, line 6) > +FAIL: g++.dg/pr53037-3.C -std=gnu++98 (test for warnings, line 16) > +FAIL: g++.dg/pr53037-3.C -std=gnu++98 (test for warnings, line 29) > +FAIL: g++.dg/pr53037-3.C -std=gnu++98 (test for warnings, line 6) > > +FAIL: gcc.dg/pr53037-2.c (test for warnings, line 16) > +FAIL: gcc.dg/pr53037-2.c (test for warnings, line 32) > +FAIL: gcc.dg/pr53037-2.c (test for warnings, line 8) > +FAIL: gcc.dg/pr53037-3.c (test for warnings, line 16) > +FAIL: gcc.dg/pr53037-3.c (test for warnings, line 32) > +FAIL: gcc.dg/pr53037-3.c (test for warnings, line 8) > > Rainer Similar fails occur on hppa.
[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from John David Anglin --- Fixed.
[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 --- Comment #3 from John David Anglin --- Author: danglin Date: Sun Aug 20 19:00:59 2017 New Revision: 251209 URL: https://gcc.gnu.org/viewcvs?rev=251209=gcc=rev Log: PR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/testsuite/17_intro/names.cc
[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 --- Comment #2 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:52:59 2017 New Revision: 251208 URL: https://gcc.gnu.org/viewcvs?rev=251208=gcc=rev Log: PR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__ Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/17_intro/names.cc
[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 --- Comment #5 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:40:28 2017 New Revision: 251207 URL: https://gcc.gnu.org/viewcvs?rev=251207=gcc=rev Log: PR ipa/77732 * gcc.dg/ipa/ipcp-cstagg-7.c: Xfail on 32-bit hppa. Modified: branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c
[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 --- Comment #4 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:23:41 2017 New Revision: 251206 URL: https://gcc.gnu.org/viewcvs?rev=251206=gcc=rev Log: PR ipa/77732 * gcc.dg/ipa/ipcp-cstagg-7.c: Xfail on 32-bit hppa. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c
[Bug tree-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #10 from John David Anglin --- Created attachment 41919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41919=edit Somewhat reduced preprocessed source
[Bug tree-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 John David Anglin changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #9 from John David Anglin --- 95% certain this is a tree optimization problem.
[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #8 from John David Anglin --- Created attachment 41897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41897=edit miniperl debug session The flow and optimization of the Perl_custom_op_get_field function is quite complex. Two switch statements are merged and it appears that ultimately the wrong case is selected to load the return value. On entry, register %r3 contains the value 0x5aedb0. %r3 is not modified in the routine but it is eventually used to load the return value. 0x0001ab70: ldw 10(r3),ret0 It seems there is some confusion as to where the variable xop resides. When we hit the following statement, we have 14879 if(field == XOPe_xop_ptr) {(gdb) disass $pc-16,$pc+16 Dump of assembler code from 0x1aa28 to 0x1aa48: 0x0001aa28 : b,l 0x3b410,rp 0x0001aa2c : stw r0,0(r8) 0x0001aa30 : movb,<> ret0,r13,0x1aa74 0x0001aa34 : ldi 14,r25 => 0x0001aa38 : cmpib,= 0,r5,0x1ab94 0x0001aa3c : ldil L%186800,ret0 0x0001aa40 : ldo -1(r5),r5 0x0001aa44 : ldil L%1a800,ret0 End of assembler dump. (gdb) info address xop Symbol "xop" is multi-location: Range 0x1a988-0x1a9a4: a variable in $r3 Range 0x1a9ac-0x1a9b8: a variable in $r3 Range 0x1aa38-0x1aa40: a complex DWARF expression: 0: DW_OP_addr 0x186a88 5: DW_OP_stack_value Range 0x1aa44-0x1aa74: a variable in $r3 Range 0x1aa84-0x1ab94: a variable in $r3 Range 0x1ab94-0x1ab9c: a complex DWARF expression: 0: DW_OP_addr 0x186a88 5: DW_OP_stack_value Range 0x1ab9c-0x1abb4: a variable in $r3 . (gdb) p/x $r3 $2 = 0x5aedb0 (gdb) p xop $3 = (XOP *) 0x186a88 The variable he is always 0 in this call. So, nominally xop should point at xop_null. After we execute the switch statement, gdb thinks we are at line 14896: (gdb) stepi Perl_custom_op_get_field (my_perl=0x1e3008, o=0x5aee58, field=XOPe_xop_peep) at op.c:14896 14896 break; (gdb) disass $pc-16,$pc+16 Dump of assembler code from 0x1ab5c to 0x1ab7c: 0x0001ab5c : b,l 0x1a9b8 ,r0 0x0001ab60 : ldw 8(r3),ret0 0x0001ab64 : b,l 0x1a9b8 ,r0 0x0001ab68 : ldw 4(r3),ret0 => 0x0001ab6c : b,l 0x1a9b8 ,r0 0x0001ab70 : ldw 10(r3),ret0 0x0001ab74 : b,l 0x1a9b8 ,r0 0x0001ab78 : ldw c(r3),ret0 Line 14896 is in the first switch expression. This should result in xop->xop_peep being returned. However, here xop is supposed in register %r3. However, the flags value from xop_null is 0. So, the code should be returning XOPd_xop_peep (ie., ((Perl_cpeep_t)0)).
[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #7 from John David Anglin --- Created attachment 41895 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41895=edit Function Perl_custom_op_get_field
[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #1 from John David Anglin --- Created attachment 41820 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41820=edit .s file Assembler output for Perl_custom_op_get_field.
[Bug rtl-optimization/81538] New: Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 Bug ID: 81538 Summary: Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26 Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Created attachment 41819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41819=edit Preprocessed source Perl 5.26 (currently in experimental) has never built on hppa yet. It's failing with ./miniperl -Ilib make_ext.pl cpan/Archive-Tar/pm_to_blib MAKE="/usr/bin/make" LIBPERL_A=libperl.a Unsuccessful Makefile.PL(cpan/Archive-Tar): code=11 at make_ext.pl line 518. Miniperl branches to non existent code after calling Perl_custom_op_get_field: Jul 20 20:18:48 mx3210 kernel: do_page_fault() command='miniperl' type=6 address=0xbf600703 in libcrypt-2.24.so[f77f9000+9000] Jul 20 20:18:48 mx3210 kernel: trap #6: Instruction TLB miss fault, vm_start = 0x001e3000, vm_end = 0x005b4000 0x0002eac8 <Perl_rpeep+2896>:b,l 0x1a8d0 ,rp 0x0002eacc <Perl_rpeep+2900>:copy r4,r26 0x0002ead0 <Perl_rpeep+2904>:movb,= ret0,r22,0x2e284 <Perl_rpeep+780> 0x0002ead4 <Perl_rpeep+2908>:copy r3,r25 0x0002ead8 <Perl_rpeep+2912>:copy r15,r24 0x0002eadc <Perl_rpeep+2916>:copy r4,r26 0x0002eae0 <Perl_rpeep+2920>:b,l 0x3b218,r31 0x0002eae4 <Perl_rpeep+2924>:copy r31,rp The branch at Perl_rpeep+2920 is an indirect call using the function pointer returned from calling Perl_custom_op_get_field. The value in $r22 for the indirect call is 0xbf600701. It is not a valid function pointer. This is debian bug #869122: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869122 The value returned by Perl_custom_op_get_field is wrong for the case when xop == _null. It appears to get messed up by the merging of the two switch statements in the C code. The debian bug report has a patch which revises the switch statements into one. With the patch, the perl build is successful on both hppa and sh. Attached preprocessed source. The compile command is: /usr/lib/gcc/hppa-linux-gnu/6/cc1 -fpreprocessed opmini.i -quiet -dumpbase opmini.c -auxbase opmini -g -g -O2 -O2 -Wdate-time -Wformat=1 -Werror=format-security -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -std=c90 -version -fdebug-prefix-map=/home/dave/debian/perl/perl-5.26.0=. -fwrapv -fno-strict-aliasing -o opmini.s The perl 5.26 build is successful at -O0.
[Bug ipa/81520] New: [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:639
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81520 Bug ID: 81520 Summary: [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:639 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 Created attachment 41812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41812=edit Preprocessed source libtool: compile: /test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gc c/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc+ +-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -L/ test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gn u/gcc/gcc-8/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-8/hppa2.0w-hp-hpux11.1 1/lib/ -isystem /opt/gnu/gcc/gcc-8/hppa2.0w-hp-hpux11.11/include -isystem /opt/g nu/gcc/gcc-8/hppa2.0w-hp-hpux11.11/sys-include -I/test/gnu/gcc/gcc/libstdc++-v3/ ../libgcc -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa 2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/incl ude -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -D_GLIBCXX_SHARED -f no-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnost ics-show-location=once -frandom-seed=pool_allocator.lo -g -O2 -c ../../../../../ gcc/libstdc++-v3/src/c++98/pool_allocator.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o p ool_allocator.o during IPA pass: whole-program ../../../../../gcc/libstdc++-v3/src/c++98/pool_allocator.cc:177:1: internal comp iler error: in function_and_variable_visibility, at ipa-visibility.c:639 } // namespace ^ libbacktrace could not find executable to open Breakpoint 1, _ZL32function_and_variable_visibilityb (whole_program=false) at ../../gcc/gcc/ipa-visibility.c:639 639 gcc_assert (alias && alias != node); (gdb) bt Python Exception Failed to load /home/gnu/lib/python2.7/lib-dynload/itertools.sl: #0 _ZL32function_and_variable_visibilityb (whole_program=false) at ../../gcc/gcc/ipa-visibility.c:639 #1 0x01762574 in (anonymous namespace)::whole_program_function_and_variable_visibility() () at ../../gcc/gcc/ipa-visibility.c:912 #2 0x017628b4 in _ZN12_GLOBAL__N_133pass_ipa_whole_program_visibility7executeEP8function (this=0x405b40a8) at ../../gcc/gcc/ipa-visibility.c:960 #3 0x01bf430c in _Z16execute_one_passP8opt_pass (pass=0x405b40a8) at ../../gcc/gcc/passes.c:2492 #4 0x01bf6148 in _Z21execute_ipa_pass_listP8opt_pass (pass=0x405b40a8) at ../../gcc/gcc/passes.c:2927 #5 0x00e7403c in _ZL10ipa_passesv () at ../../gcc/gcc/cgraphunit.c:2389 #6 0x00e74628 in _ZN12symbol_table7compileEv (this=0x7ae27000) at ../../gcc/gcc/cgraphunit.c:2475 #7 0x00e74cac in _ZN12symbol_table25finalize_compilation_unitEv ( this=0x7ae27000) at ../../gcc/gcc/cgraphunit.c:2629 #8 0x01f12510 in _ZL12compile_filev () at ../../gcc/gcc/toplev.c:493 #9 0x01f175dc in _ZL10do_compilev () at ../../gcc/gcc/toplev.c:2021 #10 0x01f17e38 in _ZN6toplev4mainEiPPc (this=0x7eff07b8, argc=23, argv=0x7eff062c) at ../../gcc/gcc/toplev.c:2155 #11 0x02a58618 in main (argc=23, argv=0x7eff062c) at ../../gcc/gcc/main.c:39 (gdb) list 634 continue; 635 636 if (!alias) 637 { 638 alias = dyn_cast (node->noninterposable_alias ()); 639 gcc_assert (alias && alias != node); 640 } 641 642 e->redirect_callee (alias); 643 if (gimple_has_body_p (e->caller->decl)) (gdb) p alias $1 = (cgraph_node *) 0x0 Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa2.0w-hp-hpux11.11 Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-8 --with-gmp=/opt/gnu/gcc/gmp --enable-threads=posix --disable-nls --disable-lto --without-cloog --without-ppl --enable-checking=yes --enable-languages=c,c++,objc,fortran,ada,obj-c++ Thread model: posix gcc version 8.0.0 20170722 (experimental) [trunk revision 250453] (GCC)
[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from John David Anglin --- Given Joseph's comments, closing.
[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #2 from John David Anglin --- If the original testcase is compiled with -fsignaling-nans, the signaling nan is not converted to a quiet nan. Thus, I believe the conversion is expected. There might be an issue with the second testcase.
[Bug middle-end/81120] __builtin_nansl ("") generates quiet NaN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 --- Comment #1 from John David Anglin --- This seems quite tricky. Conversion changes a signaling nan to a quiet nan: /* Make resulting NaN value to be qNaN. The caller has the responsibility to avoid the operation if flag_signaling_nans is on. */ if (r->cl == rvc_nan) r->signalling = 0; But the following results in a signaling nan: extern int __issignaling (double); int main (void) { long double sNaN = __builtin_nansl (""); if (!__issignaling((double)sNaN)) return 1; return 0; }
[Bug middle-end/81120] New: __builtin_nansl ("") generates quiet NaN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 Bug ID: 81120 Summary: __builtin_nansl ("") generates quiet NaN Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu The following code fails because __builtin_nansl generates a quiet NaN: extern int __issignaling (double); int main (void) { double sNaN = __builtin_nansl (""); if (!__issignaling(sNaN)) return 1; return 0; } .LC0: .word 2146959359 .word -1 (gdb) p/x 2146959359 $1 = 0x7ff7 This is a quiet NaN on PA-RISC. __builtin_nans() correctly generates a signaling NaN. long double and double are the same on hppa-linux. The problem causes several glibc testsuite failures.
[Bug libstdc++/81056] New: [7,8 Regression] FAIL: 17_intro/names.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 Bug ID: 81056 Summary: [7,8 Regression] FAIL: 17_intro/names.cc (test for excess errors) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: redi at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-hpux* Target: hppa*-*-hpux* Build: hppa*-*-hpux* Created attachment 41536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41536=edit Patch spawn /mnt/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/mnt/gnu/gcc/objdir/./gcc -nostdin c++ -L/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src -L/mnt/gnu/gcc/objdir/h ppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -L/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/nowhere/hppa2.0w-hp-hpux11.11/bin/ -B/nowhere/hppa2.0w-h p-hpux11.11/lib/ -isystem /nowhere/hppa2.0w-hp-hpux11.11/include -isystem /nowhere/hppa2 .0w-hp-hpux11.11/sys-include -B/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/ src/.libs -fmessage-length=0 -fno-show-column -g -O2 -DLOCALEDIR="." -nostdinc++ -I/mnt/ gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/mnt/gnu/gcc/gcc/libstdc++-v3 /libsupc++ -I/mnt/gnu/gcc/gcc/libstdc++-v3/include/backward -I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util /mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/names.cc -fno-diagno stics-show-caret -fdiagnostics-color=never -S -o names.sIn file included from /usr/include/sys/param.h:34, from /usr/include/limits.h:411, from /mnt/gnu/gcc/objdir/./gcc/include-fixed/limits.h:194, from /mnt/gnu/gcc/objdir/./gcc/include-fixed/syslimits.h:7, from /mnt/gnu/gcc/objdir/./gcc/include-fixed/limits.h:34, from /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/climits:42, from /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11/bits/stdc++.h:39, from /mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/names.cc:110:/mnt/gnu/gcc/objdir/./gcc/include-fixed/sys/types.h:415: error: expected unqualified-id before '[' token/mnt/gnu/gcc/objdir/./gcc/include-fixed/sys/types.h:415: error: expected ')' before '[' token In file included from /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/std_abs.h:38, from /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:47, from /mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11/bits/stdc++.h:41, from /mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/17_intro/names.cc:110:/mnt/gnu/gcc/objdir/./gcc/include-fixed/stdlib.h:39: error: expected ')' before '{' toke n [...] These errors are caused by following header issues on hpux: /mnt/gnu/gcc/objdir/./gcc/include-fixed/sys/types.h: typedef struct _physadr { intptr_t r[1]; } *physadr; /mnt/gnu/gcc/objdir/./gcc/include-fixed/stdlib.h: _NAMESPACE_STD_START inline int abs(int d) { return (d>0)?d:-d; } _NAMESPACE_STD_END Probably, the use of `r' and `d' in the above circumstances is not a problem. So, I think the test should be adjusted as on AIX. See attached fix.
[Bug middle-end/81046] New: [8 Regression] FAIL: gcc.dg/pr28796-2.c execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81046 Bug ID: 81046 Summary: [8 Regression] FAIL: gcc.dg/pr28796-2.c execution test Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr28796-2.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -funsafe-math-optimizations -fno-finite-math-only -DUNSAFE -lm -o ./pr28796-2.exe PASS: gcc.dg/pr28796-2.c (test for excess errors)Setting LD_LIBRARY_PATH to :/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libatomic/.libs::/home/dave/gnu/gcc/objdir/gcc:/home/dave/g nu/gcc/objdir/hppa-linux-gnu/./libatomic/.libs:/home/dave/gnu/gcc/objdir/hppa-li nux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/ gnu/gcc/objdir/./prev-gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/ libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev -gccExecution timeout is: 300spawn [open ...]FAIL: gcc.dg/pr28796-2.c execution test Similar fail: FAIL: gcc.dg/pr77925.c execution test Probably introduced by fix for PR 77926.
[Bug testsuite/80976] FAIL: c-c++-common/Wfloat-conversion.c -std=gnu++98 (test for warnings, line 42)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80976 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from John David Anglin --- Fixed.
[Bug c++/80976] New: FAIL: c-c++-common/Wfloat-conversion.c -std=gnu++98 (test for warnings, line 42)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80976 Bug ID: 80976 Summary: FAIL: c-c++-common/Wfloat-conversion.c -std=gnu++98 (test for warnings, line 42) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../ /home/dave/gnu/gcc/gcc/gcc/test suite/c-c++-common/Wfloat-conversion.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3 /include/hppa-linux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc/gcc /libstdc++-v3/include/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98 -Wfloat-conversion -S -o Wfloat-conversion.s /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c: In function 'void h()': /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:32:14: warning: conversion from 'double' to 'float' changes value from '3.1001 e+0' to '3.099e+0f' [-Wfloat-conversion]/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:33:12: warning: conversion from 'double' to 'float' changes value from '3.1001e+0' to '3.099e+0f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:34:15: warning: conversion from 'long double' to 'float' changes value from '3.1001e+0l' to '3.099e+0f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:35:12: warning: conversion from 'long double' to 'float' changes value from '3.1001e+0l' to '3.099e+0f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:38:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:39:12: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:40:22: warning: conversion from 'long double' to 'float' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:41:12: warning: conversion from 'long double' to 'float' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:45:12: warning: conversion from 'float' to 'int' changes value from '3.099e+0f' to '3' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:46:8: warning: conversion from 'float' to 'int' changes value from '3.099e+0f' to '3' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:47:11: warning: conversion from 'double' to 'int' changes value from '3.1001e+0' to '3' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:48:8: warning: conversion from 'double' to 'int' changes value from '3.1001e+0' to '3' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:49:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:50:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:51:18: warning: conversion from 'int' to 'float' changes value from '2147483647' to '2.14748365e+9f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:52:12: warning: conversion from 'int' to 'float' changes value from '2147483647' to '2.14748365e+9f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:53:19: warning: conversion from 'int' to 'float' changes value from '16777217' to '1.6777216e+7f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:54:12: warning: conversion from 'int' to 'float' changes value from '16777217' to '1.6777216e+7f' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:56:17: warning: conversion from 'double' to 'signed char' changes the value of '2.1001e+0' [-Wfloat-conversion] /home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wfloat-conversion.c:57:17: warning: conversion from 'double' to 'unsigned char' changes the value
[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #12 from John David Anglin --- Fixed on trunk, gcc-7 and gcc-6.
[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from John David Anglin --- Fixed on trunk, gcc-7 and gcc-6.
[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #3 from John David Anglin --- Author: danglin Date: Thu May 11 00:15:04 2017 New Revision: 247874 URL: https://gcc.gnu.org/viewcvs?rev=247874=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When outputting a SYMBOL_REF, handle calling assemble_external ourself. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/pa/pa.c
[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #2 from John David Anglin --- Author: danglin Date: Thu May 11 00:13:00 2017 New Revision: 247873 URL: https://gcc.gnu.org/viewcvs?rev=247873=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When outputting a SYMBOL_REF, handle calling assemble_external ourself. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/pa/pa.c
[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #1 from John David Anglin --- Author: danglin Date: Wed May 10 23:54:58 2017 New Revision: 247872 URL: https://gcc.gnu.org/viewcvs?rev=247872=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When outputting a SYMBOL_REF, handle calling assemble_external ourself. Modified: trunk/gcc/ChangeLog trunk/gcc/config/pa/pa.c
[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #11 from John David Anglin --- Author: danglin Date: Wed May 10 23:09:54 2017 New Revision: 247871 URL: https://gcc.gnu.org/viewcvs?rev=247871=gcc=rev Log: PR target/79027 * config/pa/pa.c (pa_cannot_change_mode_class): Reject changes to/from modes with zero size. Enhance comment. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/pa/pa.c
[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #10 from John David Anglin --- Author: danglin Date: Wed May 10 23:08:32 2017 New Revision: 247870 URL: https://gcc.gnu.org/viewcvs?rev=247870=gcc=rev Log: PR target/79027 * config/pa/pa.c (pa_cannot_change_mode_class): Reject changes to/from modes with zero size. Enhance comment. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/pa/pa.c
[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #9 from John David Anglin --- Author: danglin Date: Wed May 10 22:54:07 2017 New Revision: 247869 URL: https://gcc.gnu.org/viewcvs?rev=247869=gcc=rev Log: PR target/79027 * config/pa/pa.c (pa_cannot_change_mode_class): Reject changes to/from modes with zero size. Enhance comment. Modified: trunk/gcc/ChangeLog trunk/gcc/config/pa/pa.c
[Bug c/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #8 from John David Anglin --- The error on the trunk is caused by the middle end trying to do a mode change between SImode and BLKmode. Tweaking pa_cannot_change_mode_class() to reject changes to/modes with zero size appears to fix this bug. Running a full build and check. The bug has been present for a long time but only recently exposed by a gcc-8 change and/or selecting the right configure options.
[Bug c/79027] fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 John David Anglin changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #7 from John David Anglin --- *** Bug 80608 has been marked as a duplicate of this bug. ***
[Bug target/80608] [8 Regression] trunk 20170502 fails to build on hppa-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80608 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from John David Anglin --- Duplicate. Bug is probably in ppl. *** This bug has been marked as a duplicate of bug 79027 ***
[Bug middle-end/80090] New: Incorrect assembler - output_addr_const may generate visibility output between op and address constant
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 Bug ID: 80090 Summary: Incorrect assembler - output_addr_const may generate visibility output between op and address constant Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu The build of autodock-vina fails as follows on hppa: g++ -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/include --lto -o vina main.o cache.o coords.o current_weights.o everything.o grid.o szv_grid.o manifold.o model.o monte_carlo.o mutate.o my_pid.o naive_non_cache.o non_cache.o parallel_mc.o parse_pdbqt.o pdb.o quasi_newton.o quaternion.o random.o ssd.o terms.o weighted_terms.o -l boost_system -l boost_thread -l boost_program_options -lboost_filesystem /tmp/cceWz5Tk.s: Assembler messages: /tmp/cceWz5Tk.s:5010: Error: junk at end of line, first unrecognized character is `_' /tmp/cceWz5Tk.s:5011: Error: Unknown opcode: `_zti14internal_error' /tmp/cceWz5Tk.s:5017: Error: junk at end of line, first unrecognized character is `_' /tmp/cceWz5Tk.s:5018: Error: Unknown opcode: `_zti11parse_error' lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. In more detail, we have: dave@mx3210:~/debian/autodock-vina/autodock-vina-1.1.2/build/linux/release$ cat xx.sh Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/hppa-linux-gnu/6/lto-wrapper Target: hppa-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-9' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=hppa-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libssp --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-hppa/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-hppa --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-hppa --with-arch-directory=parisc --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc=auto --enable-multiarch --disable-libstdcxx-pch --enable-checking=release --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu Thread model: posix gcc version 6.3.0 20170316 (Debian 6.3.0-9) COMPILER_PATH=/usr/lib/gcc/hppa-linux-gnu/6/:/usr/lib/gcc/hppa-linux-gnu/6/:/usr/lib/gcc/hppa-linux-gnu/:/usr/lib/gcc/hppa-linux-gnu/6/:/usr/lib/gcc/hppa-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/hppa-linux-gnu/6/:/usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu/:/usr/lib/gcc/hppa-linux-gnu/6/../../../:/lib/hppa-linux-gnu/:/lib/:/usr/lib/hppa-linux-gnu/:/usr/lib/ COLLECT_GCC_OPTIONS='-pthread' '-ansi' '-Wno-long-long' '-O3' '-D' 'NDEBUG' '-I' '/usr/include' '-flto' '-o' 'vina' '-v' '-save-temps' '-shared-libgcc' /usr/lib/gcc/hppa-linux-gnu/6/collect2 -plugin /usr/lib/gcc/hppa-linux-gnu/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/hppa-linux-gnu/6/lto-wrapper -plugin-opt=-fresolution=-lm.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -flto --sysroot=/ --build-id --eh-frame-hdr -dynamic-linker /lib/ld.so.1 -o vina /usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu/crt1.o /usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu/crti.o /usr/lib/gcc/hppa-linux-gnu/6/crtbegin.o -L/usr/lib/gcc/hppa-linux-gnu/6 -L/usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu -L/usr/lib/gcc/hppa-linux-gnu/6/../../.. -L/lib/hppa-linux-gnu -L/usr/lib/hppa-linux-gnu main.o cache.o coords.o current_weights.o everything.o grid.o szv_grid.o manifold.o model.o monte_carlo.o mutate.o my_pid.o naive_non_cache.o non_cache.o parallel_mc.o parse_pdbqt.o pdb.o quasi_newton.o quaternion.o random.o ssd.o terms.o weighted_terms.o -lboost_system -lboost_thread -lboost_program_options -lboost_filesystem -lstdc++ -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/lib/gcc/hppa-linux-gnu/6/crtend.o /usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu/crtn.o g++ @/tmp/ccp6Ob4O Using built-in specs. COLLECT_GCC=g++ Target: hppa-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-9' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable
[Bug target/77850] FAIL: gcc.dg/compat/scalar-by-value-4 c_compat_x_tst.o-c_compat_y_tst.o execute
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77850 --- Comment #4 from John David Anglin --- Fixed by following commits on hppa64-*-*: https://gcc.gnu.org/ml/gcc-cvs/2017-03/msg00134.html https://gcc.gnu.org/ml/gcc-cvs/2017-03/msg00136.html https://gcc.gnu.org/ml/gcc-cvs/2017-03/msg00137.html
[Bug target/77850] FAIL: gcc.dg/compat/scalar-by-value-4 c_compat_x_tst.o-c_compat_y_tst.o execute
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77850 --- Comment #3 from John David Anglin --- We currently use genetic code in hppa_gimplify_va_arg_expr: static tree hppa_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, gimple_seq *post_p) { if (TARGET_64BIT) { /* Args grow upward. We can use the generic routines. */ return std_gimplify_va_arg_expr (valist, type, pre_p, post_p); }
[Bug target/77850] FAIL: gcc.dg/compat/scalar-by-value-4 c_compat_x_tst.o-c_compat_y_tst.o execute
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77850 John David Anglin changed: What|Removed |Added Target|powerpc-*-* |powerpc-*-* hppa64-*-* CC||danglin at gcc dot gnu.org --- Comment #2 from John David Anglin --- Same on hppa64-hp-hpux11.11: # ./gcc-dg-compat-scalar-by-value-4-01.exe cc init: cc test: cc testva: F FF FFF F FF FFF F FF FFF F FF FFF cc test2: cs init: cs test: cs testva: F FF FFF F FF FFF F FF FFF F FF FFF cs test2: cf init: cf test: cf testva: . .. ... . .. ... . .. ... . .. ... cf test2: failed ABORT instruction (core dumped)
[Bug testsuite/79427] g++.dg/tls/thread_local-order2.C fails starting with r245249
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79427 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #7 from John David Anglin --- I don't think this can be fixed on hppa-hpux due to the way destructors are handled.
[Bug target/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from John David Anglin --- Fixed...
[Bug target/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739 --- Comment #11 from John David Anglin --- Fixed on trunk.
[Bug target/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739 --- Comment #10 from John David Anglin --- Author: danglin Date: Sat Feb 25 20:29:39 2017 New Revision: 245740 URL: https://gcc.gnu.org/viewcvs?rev=245740=gcc=rev Log: PR target/68739 * inclhack.def (hpux11_pthread_pointer): New fix. (hpux11_pthread_const): Adjust to remove void * cast from define. * fixincl.x: Regenerate. Modified: trunk/fixincludes/ChangeLog trunk/fixincludes/fixincl.x trunk/fixincludes/inclhack.def trunk/fixincludes/tests/base/sys/pthread.h
[Bug libstdc++/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739 --- Comment #3 from John David Anglin --- As far as I can tell, the definition for PTHREAD_MUTEX_INITIALIZE only involves constant elements: #define PTHREAD_MUTEX_INITIALIZER {\ __PTHREAD_MUTEX_VALID, 0, \ (PTHREAD_MUTEX_DEFAULT | PTHREAD_PROCESS_PRIVATE), \ __SPNLCK_INITIALIZER, \ 0, 0, -1, 0,\ 0, __LWP_MTX_VALID, 0, 1, 1, 1, 1, \ 0, 0\ } __GTHREAD_MUTEX_INIT is defined. We have the following declaration for struct pthread_mutex: #ifdef __LP64__ #define __MPOINTER void*m_ptr #define __POINTER_SET ((void *) 1LL) #else #define __MPOINTER int m_pad; \ void*m_ptr #define __POINTER_SET 0, ((void *) 1L) #endif struct pthread_mutex { short m_short[2]; int m_int; int m_int1[4]; __MPOINTER; int m_int2[2]; int m_int3[4]; short m_short2[2]; int m_int4[5]; int m_int5[2]; }; We have: #define __PTHREAD_MUTEX_VALID 0x36 #define __LWP_MTX_VALID 2368 #define PTHREAD_MUTEX_DEFAULT 0x80 #define PTHREAD_PROCESS_PRIVATE 0x1 and #define __SPNLCK_INITIALIZER\ 1, 1, 1, 1, \ __POINTER_SET, \ 1, \ 0 I guess the problem is the shorts. But we don't have a literal suffix for it.
[Bug libfortran/79540] [7 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #1 from John David Anglin --- Removed comment: # ./fmt_fw_d.exe print '(f2.1)',100.00 ! => : no digits Program aborted. Backtrace:
[Bug libfortran/79540] New: [7 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 Bug ID: 79540 Summary: [7 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-hpux* Target: hppa*-*-hpux* Build: hppa*-*-hpux* spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc /objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11 /./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/fmt_fw_d.f90 -fno-di agnostics-show-caret -fdiagnostics-color=never -O0 -std=gnu -B/test/gnu/gcc/objd ir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux 11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortr an/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs -B/test/gn u/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa 64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/. /libquadmath/.libs -lm -o ./fmt_fw_d.exe PASS: gfortran.dg/fmt_fw_d.f90 -O0 (test for excess errors) Setting LD_LIBRARY_PATH to .:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfort ran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu /gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp -hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc spawn [open ...] Program aborted. Backtrace: Could not print backtrace: libbacktrace could not find executable to open FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test
[Bug testsuite/79273] FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79273 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #3 from John David Anglin --- I believe this was fixed by the following: 2017-01-27 Jakub JelinekPR c/79199 * c-c++-common/Wduplicated-branches-13.c: Require int32plus effective target. Use 4294967293U instead of 4294967293.
[Bug testsuite/79427] g++.dg/tls/thread_local-order2.C fails starting with r245249
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79427 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-02-11 CC||danglin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from John David Anglin --- Also fails on hppa*-*-hpux*.
[Bug ada/60403] [5/6/7 Regression] fatal error, system.ads not formatted correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60403 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from John David Anglin --- Not an issue on hpux11.
[Bug c/79110] FAIL: gcc.dg/format/pr78304.c (test for warnings, line 9)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79110 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #2 from John David Anglin --- No longer fails.
[Bug testsuite/79418] New: ERROR: gcc.dg/torture/stackalign/builtin-apply-2.c -O0 : syntax error in targe t selector "target arm_hf_eabi || avr-*-* || riscv*-*-*" for "
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79418 Bug ID: 79418 Summary: ERROR: gcc.dg/torture/stackalign/builtin-apply-2.c -O0 : syntax error in targe t selector "target arm_hf_eabi || avr-*-* || riscv*-*-*" for " Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-1.c -fno- diagnostics-show-caret -fdiagnostics-color=never-O2 -flto -fpic -S -o bui ltin-apply-1.s(timeout = 300) spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gc c/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-1.c -fno-diagnostics-sho w-caret -fdiagnostics-color=never -O2 -flto -fpic -S -o builtin-apply-1.s PASS: gcc.dg/torture/stackalign/builtin-apply-1.c -O2 -flto -fpic (test for ex cess errors) ERROR: gcc.dg/torture/stackalign/builtin-apply-2.c -O0 : syntax error in targe t selector "target arm_hf_eabi || avr-*-* || riscv*-*-*" for " dg-skip-if 12 "Variadic funcs use different argument passing from normal funcs" { arm_hf_eabi || { avr-*-* } || { riscv*-*-* } } "*" "" " UNRESOLVED: gcc.dg/torture/stackalign/builtin-apply-2.c -O0 : syntax error in target selector "target arm_hf_eabi || avr-*-* || riscv*-*-*" for " dg-skip-i f 12 "Variadic funcs use different argument passing from normal funcs" { arm_hf_ eabi || { avr-*-* } || { riscv*-*-* } } "*" "" "
[Bug testsuite/41671] Unsatisfied symbol "__sync_fetch_and_add_4"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41671 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #3 from John David Anglin --- I have fixed all the testcases where this is a problem (for the moment).
[Bug testsuite/79270] FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79270 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #3 from John David Anglin --- Fixed.
[Bug testsuite/79272] FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79272 --- Comment #4 from John David Anglin --- Guess this is key line "Not unifying; Symbol aliases are not supported by target".
[Bug testsuite/79272] FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79272 --- Comment #3 from John David Anglin --- Created attachment 40629 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40629=edit ipa dump
[Bug c++/79274] New: FAIL: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _ZTH4var1B3tag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79274 Bug ID: 79274 Summary: FAIL: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _ZTH4var1B3tag Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 Created attachment 40618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40618=edit .s file spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/test/gnu/gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.dg/tls/pr77285-2.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 -pedantic-errors -Wno-long-long -S -o pr77285-2.sPASS: g++.dg/tls/pr77285-2.C -std=c++11 (test for excess errors)PASS: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _Z4var1B3tagPASS: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _Z4var2B3tagFAIL: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _ZTH4var1B3tag PASS: g++.dg/tls/pr77285-2.C -std=c++11 scan-assembler _ZTW4var1B3tag Think this is a result of emutls.
[Bug testsuite/79273] New: FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79273 Bug ID: 79273 Summary: FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/test/gnu/gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicate d-branches-13.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp -hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/includ e/b ackward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98 -Wduplicated-branches -S -o Wduplicated-branches-13.s /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:11:7: warning: this decimal constant is unsigned only in ISO C90 /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:18:7: warning: this decimal constant is unsigned only in ISO C90 /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c: In function 'void fn1()': /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:9:3: warning: this condition has identical branches [-Wduplicated-branches] output is: /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:11:7: warning: this decimal constant is unsigned only in ISO C90 /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:18:7: warning: this decimal constant is unsigned only in ISO C90 /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c: In function 'void fn1()': /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:9:3: warning: this condition has identical branches [-Wduplicated-branches] PASS: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for warnings, line 9)FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors)Excess errors:/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:11:7: warning: this decimal constant is unsigned only in ISO C90/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wduplicated-branches-13.c:18:7: warning: this decimal constant is unsigned only in ISO C90
[Bug testsuite/79272] New: FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79272 Bug ID: 79272 Summary: FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/ipa/pr77653.c -fno-diagnostics-show-caret - fdiagnostics-color=never -O2 -fdump-ipa-icf-details -S -o pr77653.s (timeout = 300)spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/ipa/pr77653.c -fno-diagnostics-show-caret -fdiagnostics-c olor=never -O2 -fdump-ipa-icf-details -S -o pr77653.sPASS: gcc.dg/ipa/pr77653.c (test for excess errors)PASS: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Equal symbols: 1" FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be crea ted; target is discardable" Test needs to be xfailed on 32-bit hpux.
[Bug fortran/78958] FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958 John David Anglin changed: What|Removed |Added Target|hppa64-hp-hpux11.11 |hppa*-*-hpux* Host|hppa64-hp-hpux11.11 |hppa*-*-hpux* Build|hppa64-hp-hpux11.11 |hppa*-*-hpux* --- Comment #2 from John David Anglin --- On hppa2.0w-hp-hpux11.11, the test has a segmentation fault in _sigfillset: Program received signal SIGSEGV, Segmentation fault. 0x7af9a2a4 in _sigfillset () from /usr/lib/libc.2 It is called with a NULL pointer argument: Breakpoint 2, 0x7af99400 in _sigfillset () from /usr/lib/libc.2 (gdb) p/x $r26 $1 = 0x0 (gdb) bt Python Exception Failed to load /home/gnu/lib/python2.7/lib-dynload/itertools.sl: #0 0x7af99400 in _sigfillset () from /usr/lib/libc.2 #1 0x7af9739c in _sscanf () from /usr/lib/libc.2 #2 0x7af9cba4 in malloc () from /usr/lib/libc.2 #3 0x559c in __array_list_MOD_add_item (a=..., e=...) at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:26 Breakpoint 4, 0x7af9ca18 in malloc () from /usr/lib/libc.2 (gdb) p/x $r26 $2 = 0x3 (gdb) bt Python Exception Failed to load /home/gnu/lib/python2.7/lib-dynload/itertools.sl: #0 0x7af9ca18 in malloc () from /usr/lib/libc.2 #1 0x559c in __array_list_MOD_add_item (a=..., e=...) at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:26 #2 0x6778 in MAIN__ () at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:42 #3 0x7370 in main (argc=1, argv=0x7eff07a4) at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:34 A malloc failure typically indicates that the program has written to memory that it doesn't own.
[Bug testsuite/79270] New: FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79270 Bug ID: 79270 Summary: FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/testsuite/obj-c++/../../xg++ -B/test/gnu/gcc/objd ir/gcc/testsuite/obj-c++/../../ /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/prope rty/at-property-23.mm -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2. 0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/includ e -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -fgnu-runtime -ansi -pedantic-errors -Wno-long-long -I/test/gnu/gcc/gcc/gcc/testsuite/../../libobjc -S -o at-property-23.s/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:14:1: error: property can not be an array/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:15:16: error: expected ';' before ':' token/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic]/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:1: error: property can not be an array compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:14:1: error: property can not be an array /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:15:16: error: expected ';' before ':' token /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic] /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:1: error: property can not be an array PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 14) PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 15) PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 16) FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic]
[Bug testsuite/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70583 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from John David Anglin --- Fixed.
[Bug testsuite/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70583 --- Comment #11 from John David Anglin --- Author: danglin Date: Sat Jan 28 18:08:22 2017 New Revision: 245008 URL: https://gcc.gnu.org/viewcvs?rev=245008=gcc=rev Log: PR testsuite/70583 * g++.old-deja/g++.abi/vtable2.C: Adjust CMP_VPTR define on hppa. Modified: branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C
[Bug testsuite/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70583 --- Comment #10 from John David Anglin --- Author: danglin Date: Sat Jan 28 18:01:22 2017 New Revision: 245007 URL: https://gcc.gnu.org/viewcvs?rev=245007=gcc=rev Log: PR testsuite/70583 * g++.old-deja/g++.abi/vtable2.C: Adjust CMP_VPTR define on hppa. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C
[Bug libstdc++/79190] [7 Regression] ld: (Warning) Unsatisfied symbol "aligned_alloc"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79190 --- Comment #3 from John David Anglin --- (In reply to Jonathan Wakely from comment #1) > Looks like we do need to create a fall-back implementation after all, as > Marc suggested in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00422.html A working backup would be even better if possible.
[Bug libstdc++/79190] [7 Regression] ld: (Warning) Unsatisfied symbol "aligned_alloc"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79190 --- Comment #2 from John David Anglin --- Looks as if the problem is here: #else // The C library doesn't provide any aligned allocation functions, declare // aligned_alloc and get a link failure if aligned new is used. extern "C" void *aligned_alloc(std::size_t, std::size_t); #endif Possibly, a better solution might be to provide an implementation that aborts.
[Bug libstdc++/79190] New: [7 Regression] ld: (Warning) Unsatisfied symbol "aligned_alloc"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79190 Bug ID: 79190 Summary: [7 Regression] ld: (Warning) Unsatisfied symbol "aligned_alloc" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: jwakely.gcc at gmail dot com Target Milestone: --- Host: hppa*-*-hpux11.00 Target: hppa*-*-hpux11.00 Build: hppa*-*-hpux11.00 HP-UX 11.00 lacks aligned_alloc, posix_memalign, memalign and _aligned_malloc. This results in aligned_alloc being used as default. As a results, we have hundreds of g++ and libstdc++ testsuite fails. For example, spawn -ignore SIGHUP /home/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/home/gnu/gcc/objdir/gcc/testsuite/g++/../../ cp_compat_main_tst.o cp_compat_x_tst.o cp_compat_y_tst.o -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc+ + -I/xxx/gnu/gcc/objdir/hppa64-hp-hpux11.00/libstdc++-v3/include/hppa64-hp-hpux11.00 -I/xxx/gnu/gcc/objdir/hppa64-hp-hpux11.00/libstdc++-v3/include -I/xxx/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc/gcc/libstdc++-v3/include/backward - I/xxx/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -w -ansi -pedantic-errors -funsigned-bitfields -L/home/gnu/gcc/objdir/hppa64-hp-hpux11.00/./libstdc++-v3/src/.libs -B/home/gnu/gcc/objdir/hppa64-hp-hpux11.00/./libstdc++-v3/src/.libs -L/home/gnu/gcc/objdir/hppa64-hp-hpux11.00/./libstdc++-v3/src/.libs -lm -o g++-dg-compat-abi-bitfield1-01.exeld: (Warning) Unsatisfied symbol "aligned_alloc" in file /home/gnu/gcc/objdir/hppa64-hp-hpux11.00/./libstdc++-v3/src/.libs/libstdc++.sl1 warnings.output is:ld: (Warning) Unsatisfied symbol "aligned_alloc" in file /home/gnu/gcc/objdir/hp pa64-hp-hpux11.00/./libstdc++-v3/src/.libs/libstdc++.sl1 warnings. FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link Looking at libstdc++.a, the undefined symbol appears to be in new_opa.o: Symbols from libstdc++.a[new_opa.o]: [Index]Value SizeType Bind O ShndxName [0] | 0| 0|NOTYP|LOCAL|0| UNDEF| [10] | 0| 0|SECT |LOCAL|0|.debug_abbrev| [9] | 0| 0|SECT |LOCAL|0|.debug_info| [8] | 0| 0|SECT |LOCAL|0|.eh_frame| [7] | 0| 0|SECT |LOCAL|0|.debug_frame| [12] | 0| 0|SECT |LOCAL|0|.debug_aranges| [14] | 0| 0|SECT |LOCAL|0|.debug_line| [15] | 0| 0|SECT |LOCAL|0|.debug_str| [17] | 0| 0|SECT |LOCAL|0| .note| [18] | 0| 0|SECT |LOCAL|0|.PARISC.unwind| [19] | 0| 0|SECT |LOCAL|0|.comment| [11] | 0| 0|SECT |LOCAL|0|.debug_loc| [13] | 0| 0|SECT |LOCAL|0|.debug_ranges| [6] | 0| 0|SECT |LOCAL|0|.text._ZnwmSt11align_val_t| [5] | 0| 0|SECT |LOCAL|0|.data.rel.ro| [4] | 0| 0|SECT |LOCAL|0|.bss| [3] | 0| 0|SECT |LOCAL|0| .data| [2] | 0| 0|SECT |LOCAL|0| .text|[16] | 0| 0|NOTYP|LOCAL|0|.data.rel.ro|L$C [20] | 0| 0|FUNC |GLOB |0| UNDEF|_ZNSt9bad_allocD1Ev [23] | 0| 0|FUNC |GLOB |0| UNDEF|_ZSt15get_new_hand lerv [26] | 0| 0|OBJT |GLOB |0| UNDEF|_ZTISt9bad_alloc[25] | 0| 0|OBJT |GLOB |0| UNDEF|_ZTVSt9bad_alloc [21] | 0| 216|FUNC |GLOB |0|.text._ZnwmSt11align_val_t|_ZnwmSt11align_val_t [24] | 0| 0|FUNC |GLOB |0| UNDEF|__cxa_allocate_exc eption [27] | 0| 0|FUNC |GLOB |0| UNDEF|__cxa_throw [22] | 0| 0|FUNC |GLOB |0| UNDEF|aligned_alloc
[Bug c/79110] New: FAIL: gcc.dg/format/pr78304.c (test for warnings, line 9)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79110 Bug ID: 79110 Summary: FAIL: gcc.dg/format/pr78304.c (test for warnings, line 9) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/format/pr78304.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Wextra -S -o pr78304.s(timeout = 300)spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/format/pr78304.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Wextra -S -o pr78304.s FAIL: gcc.dg/format/pr78304.c (test for warnings, line 9) PASS: gcc.dg/format/pr78304.c(test for excess errors)Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/format/pr78304.c-fno-diag nostics-show-caret -fdiagnostics-color=never-DWIDE -O2 -Wall -Wextra -S -o pr78304.s(timeout = 300)spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/format/pr78304.c -fno-diagnostics-show-caret -fdiagnostics-color=never -DWIDE -O2 -Wall -Wextra -S -o pr783 04.s FAIL: gcc.dg/format/pr78304.c -DWIDE (test for warnings, line 9 PASS: gcc.dg/format/pr78304.c -DWIDE (test for excess errors)
[Bug c/79109] New: FAIL: gcc.dg/attr-alloc_size-4.c (test for excess errors)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79109 Bug ID: 79109 Summary: FAIL: gcc.dg/attr-alloc_size-4.c (test for excess errors) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdi r/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c -fno-d iagnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Walloc-size-larger- than=1234 -S -o attr-alloc_size-4.s(timeout = 300) spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/obj dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c -fno-di agnostics-show-caret -fdiagnostics-color=never -O2 -Wall -Walloc-size-larger-tha n=1234 -S -o attr-alloc_size-4.s /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c: In function 'te st_uint_cst': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:84:3: warning: a rgument 1 value '1235' exceeds maximum object size 1234 [-Walloc-size-larger-tha n=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:20:7: note: in a call to allocation function 'f_uint_1' declared here/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:85:3: warning: argument 1 value '4294967294' exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:20:7: note: in a call to allocation function 'f_uint_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:86:3: warning: argument 1 value '4294967295' exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:20:7: note: in a call to allocation function 'f_uint_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c: In function 'test_uint_range': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:101:3: warning: argument 1 range [1235, 1236] exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:20:7: note: in a call to allocation function 'f_uint_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c: In function 'test_int_cst': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:112:3: warning: argument 1 value '-2147483648' is negative [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:113:3: warning: argument 1 value '-1' is negative [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:118:3: warning: argument 1 value '2147483647' exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c: In function 'test_int_range': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:130:3: warning: argument 1 range [-2, -1] is negative [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:132:3: warning: argument 1 range [1235, 2345] exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:133:3: warning: argument 1 range [2147483646, 2147483647] exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:138:3: warning: argument 1 range [1235, 2147483647] exceeds maximum object size 1234 [-Walloc-size-larger-than=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:22:7: note: in a call to allocation function 'f_int_1' declared here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/attr-alloc_size-4.c:142:3: warning: argument 1 range [1236, 2147483647] exceeds maximum object size 1234 [-Walloc-size-larger-than
[Bug testsuite/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70583 John David Anglin changed: What|Removed |Added Component|ipa |testsuite --- Comment #9 from John David Anglin --- Like ia64, hppa uses function descriptors not function pointers in its vtables.
[Bug c/79027] New: fold-const.c:11104:1: internal compiler error: Floating point exception
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 Bug ID: 79027 Summary: fold-const.c:11104:1: internal compiler error: Floating point exception Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: deller at gmx dot de Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Created attachment 40479 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40479=edit Preprocessed source The build fails on trunk: /home/dave/gnu/gcc/objdir/./prev-gcc/xg++ -B/home/dave/gnu/gcc/objdir/./prev-gcc / -B/home/dave/opt/gnu/gcc/gcc-7/hppa-linux-gnu/bin/ -nostdinc++ -B/home/dave/gn u/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/src/.libs -B/home/dave/gnu/gcc/obj dir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/dave/gnu/gcc/objdi r/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I/home/dave/gnu/gcc/ objdir/prev-hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstd c++-v3/libsupc++ -L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/sr c/.libs -L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/. libs -fno-PIE -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous- unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-form at-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc /gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/incl ude -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../li bdecnumber -I../../gcc/gcc/../libbacktrace -o fold-const.o -MT fold-const.o -M MD -MP -MF ./.deps/fold-const.TPo ../../gcc/gcc/fold-const.c ../../gcc/gcc/fold-const.c: In function ‘tree_node* fold_binary_loc(location_t, tree_code, tree, tree, tree)’: ../../gcc/gcc/fold-const.c:11104:1: internal compiler error: Floating point exce ption } ^ 0x14fb0af crash_signal../../gcc/gcc/toplev.c:333 With "-v -save-temps", more errors appear: dave@MACPRO:~$ cat xx.log Reading specs from /home/dave/gnu/gcc/objdir/./prev-gcc/specs COLLECT_GCC=/home/dave/gnu/gcc/objdir/./prev-gcc/xg++ Target: hppa-linux-gnu Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch --enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-7 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu --enable-languages=c,c++,objc,fortran,obj-c++,ada,lto,go Thread model: posix gcc version 7.0.0 20170108 (experimental) [trunk revision 244209] (GCC) COLLECT_GCC_OPTIONS='-B' '/home/dave/gnu/gcc/objdir/./prev-gcc/' '-B' '/home/dave/opt/gnu/gcc/gcc-7/hppa-linux-gnu/bin/' '-nostdinc++' '-B' '/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/src/.libs' '-B' '/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs' '-I' '/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu' '-I' '/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include' '-I' '/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++' '-L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/src/.libs' '-L/home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs' '-fno-PIE' '-c' '-g' '-O2' '-D' 'IN_GCC' '-fno-exceptions' '-fno-rtti' '-fasynchronous-unwind-tables' '-Wextra' '-Wall' '-Wno-narrowing' '-Wwrite-strings' '-Wcast-qual' '-Wsuggest-attribute=format' '-Woverloaded-virtual' '-Wpedantic' '-Wno-long-long' '-Wno-variadic-macros' '-Wno-overlength-strings' '-Werror' '-fno-common' '-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '.' '-I' '../../gcc/gcc' '-I' '../../gcc/gcc/.' '-I' '../../gcc/gcc/../include' '-I' '../../gcc/gcc/../libcpp/include' '-I' '../../gcc/gcc/../libdecnumber' '-I' '../../gcc/gcc/../libdecnumber/dpd' '-I' '../libdecnumber' '-I' '../../gcc/gcc/../libbacktrace' '-o' 'fold-const.o' '-MT' 'fold-const.o' '-MMD' '-MP' '-MF' './.deps/fold-const.TPo' '-v' '-save-temps' '-shared-libgcc' /home/dave/gnu/gcc/objdir/./prev-gcc/cc1plus -E -quiet -nostdinc++ -v -I /home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I /home/dave/gnu/gcc/objdir/prev-hppa-linux-gnu/libstdc++-v3/include -I /home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I . -I . -I ../../gcc/gcc -I ../../gcc/gcc/. -I ../../gcc/gcc/../include -I ../../gcc/gcc/../libcpp/include -I ../../gcc/gcc/../libdecnumber -I ../../gcc/gcc/../libdecnumber/dpd -I ../libdecnumber -I ../../gcc/gcc/../libbacktrace -imultilib . -imultiarch hppa-linux-gnu -iprefix /home
[Bug middle-end/78959] FAIL: gcc.c-torture/execute/pr78622.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78959 --- Comment #6 from John David Anglin --- (In reply to Martin Sebor from comment #1) > The test output > > "4105" => 4 > > indicates that on HP-UX the %hhd directive doesn't convert the int argument > (4105) to unsigned char to end up with 9 as the test expects. I think > that's a bug in the HP-UX sprintf (do you have a way of reporting it and/or > finding out if HP will fix it?), although there is/was some uncertainty > about whether passing a value outside the range of char to %hhd is valid > (https://groups.google.com/forum/#!topic/comp.std.c/evMVFdOufys). snprintf returns a count of 4 and buf contains "4105". So, it looks like on HP-UX 11.11 %hhd is being interpreted as %hd (a short integer conversion). The %hhd form is not described in the 11.11 man page.
[Bug middle-end/78959] FAIL: gcc.c-torture/execute/pr78622.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78959 --- Comment #2 from John David Anglin --- I think this is a c99 feature and we should add the following to test: /* { dg-require-effective-target c99_runtime } */ It looks as if 11.31 supports the %hhd directive but not earlier versions.
[Bug tree-optimization/78961] New: [7 Regression] FAIL: gcc.dg/tree-ssa/scev-3.c scan-tree-dump-times optimized "" 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78961 Bug ID: 78961 Summary: [7 Regression] FAIL: gcc.dg/tree-ssa/scev-3.c scan-tree-dump-times optimized "" 1 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 Created attachment 40433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40433=edit Tree dump Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fdump-tree-optimized -S -o scev-3.s(timeout = 300) spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fdump-tree-optimized -S -o scev-3.s PASS: gcc.dg/tree-ssa/scev-3.c (test for excess errors) FAIL: gcc.dg/tree-ssa/scev-3.c scan-tree-dump-times optimized "" 1 Similar fail: FAIL: gcc.dg/tree-ssa/scev-4.c scan-tree-dump-times optimized "" 1 The above also fails on hppa-unknown-linux-gnu.
[Bug middle-end/78960] New: FAIL: gcc.dg/tree-ssa/builtin-sprintf.c execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78960 Bug ID: 78960 Summary: FAIL: gcc.dg/tree-ssa/builtin-sprintf.c execution test Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi -pedantic-errors -O2 -Wall -Wno-pedantic -fprintf-return-value -lm-o ./builtin-sprintf.exe (timeout = 300) spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi -pedantic-errors -O2 -Wall -Wno-pedantic -fprintf-return-value -lm -o ./builtin-sprintf.exe /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c: In function 'test_d_i': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c:304:20: warning: '0' flag ignored with precision and '%i' gnu_printf format [-Wformat=] /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c:125:44: note: in definition of macro 'RNG' output is: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c: In function 'test_d_i': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c:304:20: warning: '0' flag ignored with precision and '%i' gnu_printf format [-Wformat=] /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c:125:44: note: in definition of macro 'RNG' PASS: gcc.dg/tree-ssa/builtin-sprintf.c (test for warnings, line 304) PASS: gcc.dg/tree-ssa/builtin-sprintf.c (test for excess errors) Setting LD_LIBRARY_PATH to :/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs spawn [open ...] PASS: test_c:137: "%c" result 1: "?" PASS: test_c:138: "%c" result 1: "?" PASS: test_c:139: "%1c" result 1: "?" PASS: test_c:140: "%1c" result 1: "?" PASS: test_c:141: "%*c" result 1: "?" PASS: test_c:142: "%*c" result 1: "?" PASS: test_c:143: "%c%c" result 2: "12" PASS: test_c:144: "%c%c" result 2: "12" PASS: test_c:145: "%3c" result 3: " ?" PASS: test_c:146: "%3c" result 3: " ?" PASS: test_c:147: "%*c" result 3: " ?" PASS: test_c:148: "%*c" result 3: " ?" PASS: test_c:150: "%*c%*c" result 3: " ??" PASS: test_c:151: "%*c%*c" result 3: "? ?" PASS: test_c:152: "%c%c%c" result 3: "123" PASS: test_c:153: "%*c%c%c" result 3: "123" PASS: test_c:154: "%*c%*c%c" result 3: "123" PASS: test_c:155: "%*c%*c%*c" result 3: "123" PASS: test_c:157: "%*c%*c" result 3: " ??" PASS: test_c:158: "%*c%*c" result 3: "? ?" PASS: test_c:159: "%c%c%c" result 3: "123" PASS: test_c:160: "%*c%c%c" result 3: "123" PASS: test_c:161: "%*c%*c%c" result 3: "123" PASS: test_c:162: "%*c%*c%*c" result 3: "123" PASS: test_c:164: "%c%c %c" result 4: "12 3" PASS: test_c:165: "%c %c %c" result 5: "1 2 3" PASS: test_c:166: "%c %c %c" result 5: "? ? ?" PASS: test_d_i:220: "%d" result 1: "0" PASS: test_d_i:221: "%d%d" result 2: "01" PASS: test_d_i:222: "%d%d" result 3: "910" PASS: test_d_i:223: "%d%d" result 4: "1112" PASS: test_d_i:224: "%d:%d" result 5: "12:34" PASS: test_d_i:225: "%d" result 5: "12345" PASS: test_d_i:226: "%d" result 6: "-12345" PASS: test_d_i:227: "%d:%d:%d:%d" result 15: "123:124:125:126" PASS: test_d_i:229: "%i" result 1: "0" PASS: test_d_i:230: "%i" result 1: "0" PASS: test_d_i:248: "%11d" result 11: " -559038737" PASS: test_d_i:249: "%+11d" result 11: " -559038737" PASS: test_d_i:250: "%-11d" result 11: "-559038737 " PASS: test_d_i:251: "%011d" result 11: "-0559038737" PASS: test_d_i:270: "%20ld" result 20: " 3735928559" PASS: test_d_i:271: "%+20ld" result 20: " +3735928
[Bug middle-end/78959] New: FAIL: gcc.c-torture/execute/pr78622.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78959 Bug ID: 78959 Summary: FAIL: gcc.c-torture/execute/pr78622.c Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr78622.c -fno-diagnostics-show-caret -fdi agnostics-color=never -O0 -w -Wformat-length=2 -lm -o ./pr78622.exe PASS: gcc.c-torture/execute/pr78622.c -O0 (test for excess errors) Setting LD_LIBRARY_PATH to :/test/gnu/gcc/objdir/gcc::/test/gnu/gcc/objdir/gcc spawn [open ...] "4105" => 4 FAIL: gcc.c-torture/execute/pr78622.c -O0 execution test Fails at all optimizations.
[Bug tree-optimization/77318] [7 regression] FAIL: gfortran.dg/graphite/pr68279.f90 -O (internal compiler error)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77318 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment #8 from John David Anglin --- Also seen on hppa64-hp-hpux11.11.
[Bug fortran/78958] New: FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958 Bug ID: 78958 Summary: FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc /objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11 /./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f 03 -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -pedantic-errors -B /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/obj dir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpu x11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -lm -o ./alloc_comp_class_5.exePASS: gfortran.dg/alloc_comp_class_5.f03 -O0 (test for excess errors)Setting LD_LIBRARY_PATH to .:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs :/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gccspawn [open ...]Program received signal SIGSEGV: Segmentation fault - invalid memory reference. (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/alloc_comp_class_5.exe Program received signal SIGSEGV, Segmentation fault. 0x83fffdd7d264 in ?? () from /lib/pa20_64/libc.2 (gdb) bt #0 0x83fffdd7d264 in ?? () from /lib/pa20_64/libc.2 #1 0x83fffdd7ff38 in free () from /lib/pa20_64/libc.2 #2 0x40006018 in array_list::add_item ( a=, e=) at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:28 Breakpoint 2, 0x83fffdd7fc08 in free () from /lib/pa20_64/libc.2 (gdb) bt #0 0x83fffdd7fc08 in free () from /lib/pa20_64/libc.2 #1 0x40006018 in array_list::add_item ( a=, e=) at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03:28 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) p/x $r26 $3 = 0x8001b280 It looks like this address wasn't allocated or previously freed.
[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment #14 from John David Anglin --- Also seen on hppa-unknownlinux-gnu.
[Bug middle-end/68733] [6/7 Regression] FAIL: libgomp.c/target-29.c (internal compiler error)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68733 --- Comment #12 from John David Anglin --- Work around installed: https://gcc.gnu.org/ml/gcc-patches/2016-12/msg00967.html
[Bug target/71767] Endless stream of warnings when using GCC with -Wa,-q and Clang Integrated Assembler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71767 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment #49 from John David Anglin --- (In reply to Iain Sandoe from comment #46) > Author: iains > Date: Sun Nov 27 14:29:36 2016 > New Revision: 242894 > > URL: https://gcc.gnu.org/viewcvs?rev=242894=gcc=rev > Log: > [Darwin, config] Arrange for ld64 to be detected as Darwin's linker. > > This is an initial patch in a series that converts Darwin's configury > to detect ld64 features, rather than the current process of hard-coding > them on target system version. > > A ld64-compatible linker is currently required and assumed by Darwin. > If a DEFAULT_LINKER is set via --with-ld= then this will be tested to > see if it is ld64. > > The ld64 version is determined for the chosen ld and this is exported for > use in setting a default value for -mtarget-linker (needed for run-time > code-gen changes to section choices). > The support for -rdynamic is converted to be detected at config time, or > by the ld64 version if that is found. > > gcc/ > > 2016-11-27 Iain Sandoe <i...@codesourcery.com> > > PR target/71767 > * configure.ac (with-ld64): New var, set for Darwin, set on > detection of ld64, gcc_cv_ld64_export_dynamic: New, New test. > * config/darwin.h: Use LD64_HAS_DYNAMIC export. DEF_LD64: New, > define. > * config/darwin10.h(DEF_LD64): Update for this target version. > * config/darwin12.h(LINK_GCC_C_SEQUENCE_SPEC): Remove rdynamic > test. (DEF_LD64): Update for this target version. > * configure: Regenerated. > * config.in: Regenerated. > > > Modified: > trunk/gcc/ChangeLog > trunk/gcc/config.in > trunk/gcc/config/darwin.h > trunk/gcc/config/darwin10.h > trunk/gcc/config/darwin12.h > trunk/gcc/configure > trunk/gcc/configure.ac The change breaks bootstrap on hppa64-*-*. checking linker for compressed debug sections... 0 /xxx/gnu/gcc/gcc/gcc/configure[28336]: Syntax error at line 28360 : `<' is not e xpected.
[Bug middle-end/68733] [6/7 Regression] FAIL: libgomp.c/target-29.c (internal compiler error)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68733 --- Comment #11 from John David Anglin --- If I change TARGET_CALLEE_COPIES to the default (false), the libgomp tests all pass on hppa-linux.
[Bug middle-end/78225] [7 Regression] FAIL: gcc.dg/gomp/pr27573.c (internal compiler error)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78225 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #2 from John David Anglin --- Gone in r242332.
[Bug middle-end/78225] New: [7 Regression] FAIL: gcc.dg/gomp/pr27573.c (internal compiler error)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78225 Bug ID: 78225 Summary: [7 Regression] FAIL: gcc.dg/gomp/pr27573.c (internal compiler error) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir /gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/gomp/pr27573.c -fno-diagnost ics-show-caret -fdiagnostics-color=never -O2 -fopenmp -fprofile-generate -S -o pr27573.s(timeout = 300) spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objd ir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/gomp/pr27573.c -fno-diagnosti cs-show-caret -fdiagnostics-color=never -O2 -fopenmp -fprofile-generate -S -o pr2 7573.s /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/gomp/pr27573.c: In function 'main._om p_fn.0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/gomp/pr27573.c:12:9: internal compile r error: in convert_memory_address_addr_space_1, at explow.c:284 0x122187 convert_memory_address_addr_space_1(machine_mode, rtx_def*, unsigned cha r, bool, bool) ../../gcc/gcc/explow.c:284 0x345883 convert_memory_address_addr_space_1(machine_mode, rtx_def*, unsigned cha r, bool, bool) ../../gcc/gcc/explow.c:386 0x345883 convert_memory_address_addr_space(machine_mode, rtx_def*, unsigned char) ../../gcc/gcc/explow.c:385 0x231cf3 get_builtin_sync_mem../../gcc/gcc/builtins.c:4933 0x23211f expand_builtin_atomic_fetch_op../../gcc/gcc/builtins.c:5452 0x23d287 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/gcc/builtins.c:68580x36023b expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/gcc/expr.c:10773 0x361a57 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rt x_def**, bool) ../../gcc/gcc/expr.c:8088 0x3699c3 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node *) ../../gcc/gcc/expr.c:5548 0x36a93b expand_assignment(tree_node*, tree_node*, bool) ../../gcc/gcc/expr.c:53170x258c5b expand_call_stmt ../../gcc/gcc/cfgexpand.c:2666 0x258c5b expand_gimple_stmt_1../../gcc/gcc/cfgexpand.c:3581 0x258c5b expand_gimple_stmt ../../gcc/gcc/cfgexpand.c:37470x25a11b expand_gimple_basic_block ../../gcc/gcc/cfgexpand.c:5754 0x25f5b3 execute ../../gcc/gcc/cfgexpand.c:6368 Please submit a full bug report, See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 FAIL: gcc.dg/gomp/pr27573.c (internal compiler error) FAIL: gcc.dg/gomp/pr27573.c (test for excess errors) dave@mx3210:~/gnu/gcc/objdir$ ./xgcc -B./ -v -bash: ./xgcc: No such file or directory dave@mx3210:~/gnu/gcc/objdir$ cd gcc dave@mx3210:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa-linux-gnu Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch --enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-7 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu --enable-checking=release --enable-languages=c,c++,objc,fortran,obj-c++,ada,lto,go Thread model: posix gcc version 7.0.0 20161105 (experimental) [trunk revision 241877] (GCC) r241785 was okay.
[Bug libstdc++/68735] FAIL: libstdc++-prettyprinters/libfundts.cc print ab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68735 --- Comment #1 from John David Anglin --- *** Bug 69332 has been marked as a duplicate of this bug. ***