[Bug testsuite/90520] New: [10 regression] libstdc++-xmethods/unique_ptr.cc triggers python failure starting with r271158

2019-05-17 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90520

Bug ID: 90520
   Summary: [10 regression] libstdc++-xmethods/unique_ptr.cc
triggers python failure starting with r271158
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Python Exception  'NoneType' object has no attribute
'dereference': 
unique_ptr.gdb:10: Error in sourced command file:
Error while executing Python code.
FAIL: libstdc++-xmethods/unique_ptr.cc


Note: this system has Python 2.7.12 installed.  It also fails on another system
with 2.7.15.


r271158 | redi | 2019-05-14 06:17:11 -0500 (Tue, 14 May 2019) | 17 lines

LWG 2899 - Make is_move_constructible correct for unique_ptr

* include/bits/unique_ptr.h (__uniq_ptr_impl): Add move constructor,
move assignment operator.
(__uniq_ptr_impl::release(), __uniq_ptr_impl::reset(pointer)): Add.
(__uniq_ptr_data): New class template with conditionally deleted
special members.
(unique_ptr, unique_ptr): Change type of data member from
__uniq_ptr_impl to __uniq_ptr_data. Define move
constructor and move assignment operator as defaulted.
(unique_ptr::release(), unique_ptr::release()): Forward to
__uniq_ptr_impl::release().
(unique_ptr::reset(pointer), unique_ptr::reset(U)): Forward
to __uniq_ptr_impl::reset(pointer).
* python/libstdcxx/v6/printers.py (UniquePointerPrinter.__init__):
Check for new __uniq_ptr_data type.
* testsuite/20_util/unique_ptr/dr2899.cc: New test.


Executing on host: /home/seurer/gcc/build/gcc-trunk/./gcc/xg++ -shared-libgcc
-B/home/seurer/gcc/build/gcc-trunk/./gcc -nostdinc++
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/sys-include
-B/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-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/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util
/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
   -g -O0 -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a
-Wl,--gc-sections
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/filesystem/.libs
 -lm  -o ./unique_ptr.exe(timeout = 600)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/./gcc/xg++ -shared-libgcc
-B/home/seurer/gcc/build/gcc-trunk/./gcc -nostdinc++
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/install/gcc-trunk/powerpc64le-unknown-linux-gnu/sys-include
-B/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-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/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util
/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
-g -O0 -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a
-Wl,--gc-sections
-L/home/seurer/gcc/build/gcc-trunk/power

[Bug testsuite/90517] New: [10 regression] test case gcc.dg/cdce1.c fails starting with r271281

2019-05-17 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90517

Bug ID: 90517
   Summary: [10 regression] test case gcc.dg/cdce1.c fails
starting with r271281
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

The new test added in the test case doesn't appear to be set up correctly.

Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cdce1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -O2 -fmath-errno -fdump-tree-cdce-details -lm
-ffat-lto-objects -fno-ident  -lm  -o ./cdce1.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cdce1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fmath-errno -fdump-tree-cdce-details -lm
-ffat-lto-objects -fno-ident -lm -o ./cdce1.exe
PASS: gcc.dg/cdce1.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.4.0/lib64
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/cdce1.c execution test
PASS: gcc.dg/cdce1.c scan-tree-dump cdce "cdce1.c:17: .* function call is
shrink-wrapped into error conditions."
gcc.dg/cdce1.c: output file does not exist
UNRESOLVED: gcc.dg/cdce1.c scan-assembler jmp pow
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 1
seconds

=== gcc Summary ===

# of expected passes3
# of unresolved testcases   1


r271281 | junma | 2019-05-16 03:21:17 -0500 (Thu, 16 May 2019) | 12 lines

PR tree-optimization/90106
* tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds): Add
new parameter as new internal function call, also move it to new
basic block.
(use_internal_fn): Pass internal function call to
shrink_wrap_one_built_in_call_with_conds.

gcc/testsuite
* gcc.dg/cdce1.c: Check tailcall code generation after cdce pass.
* gcc.dg/cdce2.c: Likewise.

[Bug tree-optimization/90507] New: [10 regression] ICE in gdc.test/runnable/mars1.d test case after r271209

2019-05-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90507

Bug ID: 90507
   Summary: [10 regression] ICE in gdc.test/runnable/mars1.d test
case after r271209
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gdc/../../gdc
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gdc/../../ runnable/mars1.d
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
-I/home/seurer/gcc/gcc-test2/gcc/testsuite/../../libphobos/libdruntime
-I/home/seurer/gcc/gcc-test2/gcc/testsuite/../../libphobos/src
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/util -O2
-I/home/seurer/gcc/gcc-test2/gcc/testsuite/gdc.test/runnable -S -o mars1.s
In function 'test14782':
d21: error: address taken, but ADDRESSABLE bit not set
PHI argument

for PHI node
_19 = PHI <(2), _20(4)>
during GIMPLE pass: einline
d21: internal compiler error: verify_ssa failed
0x10e0b9cb verify_ssa(bool, bool)
/home/seurer/gcc/gcc-test2/gcc/tree-ssa.c:1193
0x109fd4d3 execute_function_todo
/home/seurer/gcc/gcc-test2/gcc/passes.c:1970
0x109fea4b do_per_function
/home/seurer/gcc/gcc-test2/gcc/passes.c:1638
0x109fec63 execute_todo
/home/seurer/gcc/gcc-test2/gcc/passes.c:2017

[Bug tree-optimization/90507] [10 regression] ICE in gdc.test/runnable/mars1.d test case after r271209

2019-05-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90507

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Target||powerpc64-unknown-linux-gnu
 CC||rguenth at gcc dot gnu.org,
   ||wschmidt at gcc dot gnu.org
   Host||powerpc64-unknown-linux-gnu
  Build||powerpc64-unknown-linux-gnu

--- Comment #1 from seurer at gcc dot gnu.org ---
I saw this on powerpc64 but only on BE both on power 7 and power 8.

[Bug other/90381] New: New test case gcc.dg/tree-ssa/pr88676-2.c fails with its introduction in r270934

2019-05-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90381

Bug ID: 90381
   Summary: New test case gcc.dg/tree-ssa/pr88676-2.c fails with
its introduction in r270934
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This only fails on powerpc64 BE; it works fine on LE.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/tree-ssa/pr88676-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fdump-tree-phiopt1 -S -o pr88676-2.s
PASS: gcc.dg/tree-ssa/pr88676-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/pr88676-2.c scan-tree-dump-not phiopt1 " = PHI <"

[Bug tree-optimization/90332] New test case gcc.dg/vect/slp-reduc-sad-2.c in r270847 fails

2019-05-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90332

--- Comment #4 from seurer at gcc dot gnu.org ---
This still fails (just on power 9) even with the above change.  On all the
other powerpc64 targets it comes up as unsupported.

[Bug tree-optimization/90332] New: New test case gcc.dg/vect/slp-reduc-sad-2.c in r270847 fails

2019-05-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90332

Bug ID: 90332
   Summary: New test case gcc.dg/vect/slp-reduc-sad-2.c in r270847
fails
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I am only seeing this on power 9; not sure it is run on other power Xs.

Executing on host: /home3/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/slp-reduc-sad-2.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -maltivec -mpower9-vector -ftree-vectorize
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -S -o
slp-reduc-sad-2.s(timeout = 300)
spawn -ignore SIGHUP /home3/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/slp-reduc-sad-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -maltivec -mpower9-vector -ftree-vectorize
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -S -o
slp-reduc-sad-2.s
PASS: gcc.dg/vect/slp-reduc-sad-2.c (test for excess errors)
PASS: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump vect
"vect_recog_sad_pattern: detected"
PASS: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump vect "vectorizing stmts
using SLP"
FAIL: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump-not vect "access with gaps
requires scalar epilogue loop"
PASS: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump-times vect "vectorized 1
loops" 1
Executing on host: /home3/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/slp-reduc-sad-2.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -flto -ffat-lto-objects -maltivec -mpower9-vector
-ftree-vectorize -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details
-S -o slp-reduc-sad-2.s(timeout = 300)
spawn -ignore SIGHUP /home3/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/slp-reduc-sad-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -flto -ffat-lto-objects -maltivec -mpower9-vector
-ftree-vectorize -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details
-S -o slp-reduc-sad-2.s
PASS: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects (test for excess
errors)
PASS: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump
vect "vect_recog_sad_pattern: detected"
PASS: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump
vect "vectorizing stmts using SLP"
FAIL: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump-not
vect "access with gaps requires scalar epilogue loop"
PASS: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects 
scan-tree-dump-times vect "vectorized 1 loops" 1
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/vect.exp
completed in 2 seconds

=== gcc Summary ===

# of expected passes8
# of unexpected failures2

[Bug middle-end/90331] New: New test case gcc.dg/pr87314-1.c fails

2019-05-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90331

Bug ID: 90331
   Summary: New test case gcc.dg/pr87314-1.c fails
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Executing on host: /home3/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr87314-1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -O -fdump-tree-original -ffat-lto-objects -fno-ident
-S -o pr87314-1.s(timeout = 300)
spawn -ignore SIGHUP /home3/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home3/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr87314-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -fdump-tree-original -ffat-lto-objects -fno-ident
-S -o pr87314-1.s
PASS: gcc.dg/pr87314-1.c (test for excess errors)
PASS: gcc.dg/pr87314-1.c scan-tree-dump-times original "hello" 1
FAIL: gcc.dg/pr87314-1.c scan-assembler hello
testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

=== gcc Summary ===

# of expected passes2
# of unexpected failures1

[Bug other/90315] New: [10 regression] help text (or test for help text) problem after r270788

2019-05-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90315

Bug ID: 90315
   Summary: [10 regression] help text (or test for help text)
problem after r270788
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/ test-105206.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never --help=params --help=optimizers -lm -o test-105206.x
The following options control optimizations:
  -O  Set optimization level to .
  -Ofast  Optimize for speed disregarding exact standards
compliance.
  -Og Optimize for debugging experience rather than
speed or size.
  -Os Optimize for space rather than speed.
  -faggressive-loop-optimizations Aggressively optimize loops using language
constraints.
  -falign-functions   Align the start of functions.
  -falign-functions=  This option lacks documentation.
  -falign-jumps   Align labels which are only reached by jumping.
  -falign-jumps=  This option lacks documentation.
  -falign-labels  Align all labels.
  -falign-labels= This option lacks documentation.
  -falign-loops   Align the start of loops.
  -falign-loops=  This option lacks documentation.
  -fassociative-math  Allow optimization for floating-point arithmetic
which may change the result of the operation due to rounding.
  -fassume-phsa   Assume we are finalizing for phsa and its
libhsail-rt.  Enables additional phsa-specific optimizations (default).
  -fasynchronous-unwind-tables Generate unwind tables that are exact at each
instruction boundary.
  -fauto-inc-dec  Generate auto-inc/dec instructions.
  -fbranch-count-reg  Replace add, compare, branch with branch on count
register.
  -fbranch-probabilities  Use profiling information for branch
probabilities.
  -fbranch-target-load-optimize Perform branch target load optimization before
prologue / epilogue threading.
  -fbranch-target-load-optimize2 Perform branch target load optimization after
prologue / epilogue threading.
  -fbtr-bb-exclusive  Restrict target load migration not to re-use
registers in any basic block.
  -fcaller-saves  Save registers around function calls.
  -fcode-hoisting Enable code hoisting.
  -fcombine-stack-adjustments Looks for opportunities to reduce stack
adjustments and stack references.
  -fcompare-elim  Perform comparison elimination after register
allocation has finished.
  -fconserve-stackDo not perform optimizations increasing
noticeably stack usage.
  -fcprop-registers   Perform a register copy-propagation optimization
pass.
  -fcrossjumping  Perform cross-jumping optimization.
  -fcse-follow-jumps  When running CSE, follow jumps to their targets.
  -fcx-fortran-rules  Complex multiplication and division follow
Fortran rules.
  -fcx-limited-range  Omit range reduction step when performing complex
division.
  -fdce   Use the RTL dead code elimination pass.
  -fdefer-pop Defer popping functions args from stack until
later.
  -fdelayed-branchAttempt to fill delay slots of branch
instructions.
  -fdelete-dead-exceptionsDelete dead instructions that may throw
exceptions.
  -fdelete-null-pointer-checks Delete useless null pointer checks.
  -fdevirtualize  Try to convert virtual calls to direct ones.
  -fdevirtualize-speculatively Perform speculative devirtualization.
  -fdse   Use the RTL dead store elimination pass.
  -fearly-inliningPerform early inlining.
  -fexceptionsEnable exception handling.
  -fexpensive-optimizations   Perform a number of minor, expensive
optimizations.
  -ffast-math This option lacks documentation.
  -ffinite-math-only  Assume no NaNs or infinities are generated.
  -ffloat-store   Don't allocate floats and doubles in
extended-precision registers.
  -fforward-propagate Perform a forward propagation pass on RTL.
  -ffp-contract=[off|on|fast] Perform floating-point expression contraction.
  -ffp-int-builtin-inexactAllow built-in functions ceil, floor, round,
trunc to raise "inexact" exceptions.
  -ffunction-cse  Allow function addresses to be held in registers.
  -fgcse  Perform global common subexpression elimination.
  -fgcse-after-reload Perform global common subexpression elimination
after register allocation ha

[Bug other/89988] New: [9 regression] bootstrap build fails with segfault starting with r270155

2019-04-05 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89988

Bug ID: 89988
   Summary: [9 regression] bootstrap build fails with segfault
starting with r270155
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

. . .
make[3]: Entering directory `/home/seurer/gcc/build/gcc-trunk-bootstrap/gcc'
build/gengtype  \
-S /home/seurer/gcc/gcc-trunk-bootstrap/gcc -I
gtyp-input.list -w tmp-gtype.state
make[3]: *** [s-gtype] Segmentation fault
make[3]: Leaving directory `/home/seurer/gcc/build/gcc-trunk-bootstrap/gcc'
make[2]: *** [all-stage2-gcc] Error 2
. . .

[Bug fortran/89904] [9 regression] ICE in gfortran starting with r270045

2019-04-02 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89904

--- Comment #13 from seurer at gcc dot gnu.org ---
Note that r270046 introduced the same thing into gcc 8.

[Bug testsuite/89916] New: New test case gcc.dg/pr86928.c fails on 64 bit targets

2019-04-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89916

Bug ID: 89916
   Summary: New test case gcc.dg/pr86928.c fails on 64 bit targets
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This test case probably needs to be limited to 32 bit supporting targets.

Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr86928.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -O2 -fnon-call-exceptions -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops -fselective-scheduling -fno-if-conversion
-fno-tree-dce -w -m32 -S -o pr86928.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr86928.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fnon-call-exceptions -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops -fselective-scheduling -fno-if-conversion
-fno-tree-dce -w -m32 -S -o pr86928.s
cc1: error: '-m32' not supported in this configuration
compiler exited with status 1
FAIL: gcc.dg/pr86928.c (test for excess errors)
Excess errors:
cc1: error: '-m32' not supported in this configuration

[Bug fortran/89904] [9 regression] ICE in gfortran starting with r270045

2019-04-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89904

--- Comment #8 from seurer at gcc dot gnu.org ---
With no f:  ICE

With only subroutine a and subroutine f: no ICE

[Bug fortran/89904] [9 regression] ICE in gfortran starting with r270045

2019-04-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89904

--- Comment #6 from seurer at gcc dot gnu.org ---
Actually, it is the opposite.

With 24-33 commented out:

seurer@makalu-lp1:~/gcc/build/gcc-test$ cat
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90
. . .
! module m
! contains
!   function f () result (z)  ! { dg-warning "Return value" }
! class(*), pointer :: z
!   end function f
!   recursive subroutine s (q)
! procedure(f) :: q
! call s (q)
!   end subroutine s
! end
seurer@makalu-lp1:~/gcc/build/gcc-test$
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -Wall -S -o pr85797.s
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:7:16: Warning:
Non-RECURSIVE procedure 'a' at (1) is possibly calling itself recursively. 
Declare it RECURSIVE or use '-frecursive'
during GIMPLE pass: ccp
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:22:0: internal
compiler error: in fold_convert_loc, at fold-const.c:2552
0x106a8b87 fold_convert_loc(unsigned int, tree_node*, tree_node*)
/home/seurer/gcc/gcc-test/gcc/fold-const.c:2552
0x10e9e8fb build_zero_cst(tree_node*)
/home/seurer/gcc/gcc-test/gcc/tree.c:2382
0x10c592fb evaluate_stmt
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:1997
0x10c5aa63 visit_assignment
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2352
0x10c5acfb ccp_propagate::visit_stmt(gimple*, edge_def**, tree_node**)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2430
0x10d13433 ssa_propagation_engine::simulate_stmt(gimple*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:230
0x10d138cb ssa_propagation_engine::simulate_block(basic_block_def*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:337
0x10d159a3 ssa_propagation_engine::ssa_propagate()
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:802
0x10c5399f do_ssa_ccp
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2471
0x10c5399f execute
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2515


With the rest commented out but not lines 24-33:

seurer@makalu-lp1:~/gcc/build/gcc-test$ cat
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90
. . .
! subroutine a
!   c = transfer (a, b)   ! { dg-warning "Non-RECURSIVE procedure" }
! end
! 
! recursive subroutine d
!   c = transfer (d, b)
! end
! 
! recursive subroutine e
!   k = transfer (transfer (e, e), 1)
! end
! 
! subroutine f
!   use, intrinsic :: iso_c_binding
!   integer(c_intptr_t) :: b, c
!   c = transfer (transfer (b, a), b)
! end

module m
. . .
seurer@makalu-lp1:~/gcc/build/gcc-test$
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -Wall -S -o pr85797.s
a->name=='(null)'
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:26:26: Warning:
Return value 'z' of function 'f' declared at (1) not set [-Wreturn-type]
seurer@makalu-lp1:~/gcc/build/gcc-test$

[Bug fortran/89904] [9 regression] ICE in gfortran starting with r270045

2019-04-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89904

--- Comment #3 from seurer at gcc dot gnu.org ---
Best I can tell from poking around in gdb is that it is happening at line 32

  end subroutine s

that's probably not much help.  Sorry!

[Bug fortran/89904] New: [9 regression] ICE in gfortran starting with r270045

2019-04-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89904

Bug ID: 89904
   Summary: [9 regression] ICE in gfortran starting with r270045
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Executing on host:
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never-O  -Wall -S -o pr85797.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -Wall -S -o pr85797.s
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:7:16: Warning:
Non-RECURSIVE procedure 'a' at (1) is possibly calling itself recursively. 
Declare it RECURSIVE or use '-frecursive'
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:26:26: Warning:
Return value 'z' of function 'f' declared at (1) not set [-Wreturn-type]
during GIMPLE pass: ccp
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:22:0: internal
compiler error: in fold_convert_loc, at fold-const.c:2552
0x106a8c07 fold_convert_loc(unsigned int, tree_node*, tree_node*)
/home/seurer/gcc/gcc-test/gcc/fold-const.c:2552
0x10e9e59b build_zero_cst(tree_node*)
/home/seurer/gcc/gcc-test/gcc/tree.c:2382
0x10c58fbb evaluate_stmt
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:1997
0x10c5a723 visit_assignment
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2352
0x10c5a9bb ccp_propagate::visit_stmt(gimple*, edge_def**, tree_node**)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2430
0x10d130f3 ssa_propagation_engine::simulate_stmt(gimple*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:230
0x10d1358b ssa_propagation_engine::simulate_block(basic_block_def*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:337
0x10d15663 ssa_propagation_engine::ssa_propagate()
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:802
0x10c5365f do_ssa_ccp
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2471
0x10c5365f execute
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2515
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gfortran.dg/pr85797.f90   -O  (internal compiler error)
PASS: gfortran.dg/pr85797.f90   -O   (test for warnings, line 7)
PASS: gfortran.dg/pr85797.f90   -O   (test for warnings, line 26)
FAIL: gfortran.dg/pr85797.f90   -O  (test for excess errors)
Excess errors:
during GIMPLE pass: ccp
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/pr85797.f90:22:0: internal
compiler error: in fold_convert_loc, at fold-const.c:2552
0x106a8c07 fold_convert_loc(unsigned int, tree_node*, tree_node*)
/home/seurer/gcc/gcc-test/gcc/fold-const.c:2552
0x10e9e59b build_zero_cst(tree_node*)
/home/seurer/gcc/gcc-test/gcc/tree.c:2382
0x10c58fbb evaluate_stmt
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:1997
0x10c5a723 visit_assignment
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2352
0x10c5a9bb ccp_propagate::visit_stmt(gimple*, edge_def**, tree_node**)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2430
0x10d130f3 ssa_propagation_engine::simulate_stmt(gimple*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:230
0x10d1358b ssa_propagation_engine::simulate_block(basic_block_def*)
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:337
0x10d15663 ssa_propagation_engine::ssa_propagate()
/home/seurer/gcc/gcc-test/gcc/tree-ssa-propagate.c:802
0x10c5365f do_ssa_ccp
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2471
0x10c5365f execute
/home/seurer/gcc/gcc-test/gcc/tree-ssa-ccp.c:2515

testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/dg.exp completed
in 1 seconds

=== gfortran Summary ===

# of expected passes2
# of unexpected failures2

[Bug testsuite/89834] New test case gcc.dg/vect/pr81740-2.c introduced in r269938 fails on power 7

2019-03-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89834

--- Comment #2 from seurer at gcc dot gnu.org ---
I added

/* { dg-require-effective-target vect_hw_misalign } */

to the test and it comes out now as not supported on power 7 and thus does not
fail.  Note that I only tried this there.

[Bug testsuite/89834] New: New test case gcc.dg/vect/pr81740-2.c introduced in r269938 fails on power 7

2019-03-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89834

Bug ID: 89834
   Summary: New test case gcc.dg/vect/pr81740-2.c introduced in
r269938 fails on power 7
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This only fails on power 7 BE; it works find on power 8 BE.

On power 7 the compilation options include "-mvsx -mno-allow-movmisalign" while
on power 8 that is replaced with "-mpower8-vector".  So perhaps the expected
vectorization only occurs on power 8 and later?

Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/vect/pr81740-2.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -maltivec -mvsx -mno-allow-movmisalign
-ftree-vectorize -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details 
-lm  -o ./pr81740-2.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/vect/pr81740-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -maltivec -mvsx -mno-allow-movmisalign
-ftree-vectorize -fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details
-lm -o ./pr81740-2.exe
PASS: gcc.dg/vect/pr81740-2.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test/gcc::/home/seurer/gcc/build/gcc-test/gcc:/home/seurer/gcc/build/gcc-test/./gmp/.libs:/home/seurer/gcc/build/gcc-test/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test/./isl/.libs:/home/seurer/gcc/build/gcc-test/./prev-isl/.libs
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/vect/pr81740-2.c execution test
FAIL: gcc.dg/vect/pr81740-2.c scan-tree-dump vect "OUTER LOOP VECTORIZED"
Executing on host: /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/vect/pr81740-2.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -flto -ffat-lto-objects -maltivec -mvsx
-mno-allow-movmisalign -ftree-vectorize -fno-vect-cost-model -fno-common -O2
-fdump-tree-vect-details  -lm  -o ./pr81740-2.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/vect/pr81740-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -flto -ffat-lto-objects -maltivec -mvsx
-mno-allow-movmisalign -ftree-vectorize -fno-vect-cost-model -fno-common -O2
-fdump-tree-vect-details -lm -o ./pr81740-2.exe
PASS: gcc.dg/vect/pr81740-2.c -flto -ffat-lto-objects (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test/gcc::/home/seurer/gcc/build/gcc-test/gcc:/home/seurer/gcc/build/gcc-test/./gmp/.libs:/home/seurer/gcc/build/gcc-test/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test/./isl/.libs:/home/seurer/gcc/build/gcc-test/./prev-isl/.libs
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/vect/pr81740-2.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/pr81740-2.c -flto -ffat-lto-objects  scan-tree-dump vect
"OUTER LOOP VECTORIZED"
testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/vect/vect.exp completed
in 3 seconds

=== gcc Summary ===

# of expected passes4
# of unexpected failures2

[Bug testsuite/89771] New: [9 regression] c-c++-common/Wrestrict.c fails starting with r269807

2019-03-19 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89771

Bug ID: 89771
   Summary: [9 regression] c-c++-common/Wrestrict.c fails starting
with r269807
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

There are a whole bunch of new failures from this test case starting with
r269807. 


r269807 | msebor | 2019-03-19 12:45:34 -0500 (Tue, 19 Mar 2019) | 14 lines

PR tree-optimization/89644 - False-positive -Warray-bounds diagnostic on
strncpy

gcc/ChangeLog:

PR tree-optimization/89644
* tree-ssa-strlen.c (handle_builtin_stxncpy): Consider unterminated
arrays in determining sequence sizes in strncpy and stpncpy.

gcc/testsuite/ChangeLog:

PR tree-optimization/89644
* gcc.dg/Wstringop-truncation-8.c: New test.

Some of the excess errors:

Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:811:3:
warning: 'strncpy' accessing 4 bytes at offsets 0 and 1 overlaps 2 bytes at
offset 1 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:812:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and 1 overlaps 2 bytes at
offset 1 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:813:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and 1 overlaps 2 bytes at
offset 1 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:819:3:
warning: 'strncpy' accessing 4 bytes at offsets 0 and 2 overlaps 1 byte at
offset 2 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:820:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and 2 overlaps 1 byte at
offset 2 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:827:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and 2 overlaps 2 bytes at
offset 2 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:828:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and 2 overlaps 2 bytes at
offset 2 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:867:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and [1, 5] may overlap up to
3 bytes at offset [3, 1] [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:875:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and [2, 5] may overlap up to
2 bytes at offset [3, 2] [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:876:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and [2, 5] may overlap up to
2 bytes at offset [3, 2] [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:884:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and [3, 5] may overlap 1 byte
at offset 3 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:885:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and [3, 5] may overlap 1 byte
at offset 3 [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:893:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and [4, 5] may overlap up to
0 bytes at offset [9223372036854775807, -9223372036854775808] [-Wrestrict]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/Wrestrict.c:894:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and [4, 5] may overlap up to
0 bytes at offset [9223372036854775807, -9223372036854775808] [-Wrestrict]


diff between r269806's and r267807's output for one run:

131,133c131,133
< /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:811:3:
warning: 'strncpy' accessing 4 bytes at offsets 0 and 1 overlaps 3 bytes at
offset 1 [-Wrestrict]
< /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:812:3:
warning: 'strncpy' accessing 5 bytes at offsets 0 and 1 overlaps 3 bytes at
offset 1 [-Wrestrict]
< /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:813:3:
warning: 'strncpy' accessing 6 bytes at offsets 0 and 1 overlaps 3 bytes at
offset 1 [-Wrestrict]
---
> /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:811:3: 
> warning: 'strncpy' accessing 4 bytes at offsets 0 and 1 overlaps 2 bytes at 
> offset 1 [-Wrestrict]
> /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:812:3: 
> warning: 'strncpy' accessing 5 bytes at offsets 0 and 1 overlaps 2 bytes at 
> offset 1 [-Wrestrict]
> /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:813:3: 
> warning: 'strncpy' accessing 6 bytes at offsets 0 and 1 overlaps 2 bytes at 
> offset 1 [-Wrestrict]
135,136c135,136
< /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/Wrestrict.c:819:3:
warning: 'strncpy' access

[Bug middle-end/89717] New: Test case gcc.dg/uninit-pred-8_b.c fails after r269650

2019-03-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89717

Bug ID: 89717
   Summary: Test case gcc.dg/uninit-pred-8_b.c fails after r269650
   Product: gcc
   Version: 8.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This test case is failing (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551 for previous failure on
trunk).  I'd guess the fix for that also needs to be backported.

make -k check-gcc RUNTESTFLAGS=dg.exp=gcc.dg/uninit-pred-8_b.c
. . .
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-8-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-8-test/gcc/
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -Wuninitialized -O2 -S -o
uninit-pred-8_b.s
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:39:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
PASS: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 23)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)
PASS: gcc.dg/uninit-pred-8_b.c (test for excess errors)
testcase /home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

=== gcc Summary ===

# of expected passes2
# of unexpected failures3

[Bug target/89626] Extraneous error message when compiling vector __int128

2019-03-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89626

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #8 from seurer at gcc dot gnu.org ---
Segher, when we were cleaning up the ABI documentation one of the things we did
is to always explicitly use unsigned and signed.  The current ABI lists only
the explicit signed/unsigned types as being valid.  See table 2.12 for
instance.

If I recall correctly there were some problems we had seen without "signed"
precisely because of how "vector" is handled by the preprocessor.

[Bug middle-end/89551] New: [9 regression] Test case gcc.dg/uninit-pred-8_b.c fails after r269302

2019-03-01 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551

Bug ID: 89551
   Summary: [9 regression] Test case gcc.dg/uninit-pred-8_b.c
fails after r269302
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

New failures (update from 269300 to 269304):
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Wuninitialized -O2 -S -o uninit-pred-8_b.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:39:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
PASS: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 23)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)
PASS: gcc.dg/uninit-pred-8_b.c (test for excess errors)
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

=== gcc Summary ===

# of expected passes2
# of unexpected failures3

[Bug d/89418] D test cases fail on powerpc64le

2019-02-20 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

--- Comment #2 from seurer at gcc dot gnu.org ---
real.mant_dig is 106 on powerpc64le

[Bug d/89418] D test cases fail on powerpc64le

2019-02-20 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Target||powerpc64le-unknown-linux-g
   ||nu
   Host||powerpc64le-unknown-linux-g
   ||nu
  Build||powerpc64le-unknown-linux-g
   ||nu

--- Comment #1 from seurer at gcc dot gnu.org ---
Note that these error messages only occur on powerpc64le.  BE seems to work OK.

[Bug d/89418] New: D test cases fail on powerpc64le

2019-02-20 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

Bug ID: 89418
   Summary: D test cases fail on powerpc64le
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: d
  Assignee: ibuclaw at gdcproject dot org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

FAIL: gdc.test/compilable/ctfe_math.d -O2output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -O2 -freleaseoutput-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -freleaseoutput-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -goutput-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2 -freleaseoutput-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -freleaseoutput-exists ctfe_math.o
FAIL: gdc.test/compilable/test5227.d   output-exists test5227.o

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../gdc
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/libdruntime
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/src
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libstdc++-v3/libsupc++ -g
-I/home/seurer/gcc/gcc-test/gcc/testsuite/gdc.test/compilable -c -o ctfe_math.o
compilable/ctfe_math.d
/home/seurer/gcc/gcc-test/libphobos/src/std/math.d:244:5: error: static assert 
"Only 64-bit, 80-bit, and 128-bit reals are supported for LittleEndian CPUs"
compiler exited with status 1

package:
// The following IEEE 'real' formats are currently supported.
version (LittleEndian)
{
static assert(real.mant_dig == 53 || real.mant_dig == 64
   || real.mant_dig == 113,
  "Only 64-bit, 80-bit, and 128-bit reals"~
  " are supported for LittleEndian CPUs");
}
else
{
static assert(real.mant_dig == 53 || real.mant_dig == 106
   || real.mant_dig == 113,
"Only 64-bit and 128-bit reals are supported for BigEndian CPUs."~
" double-double reals have partial support");
}


I don't really know enough about D to diagnose this much further.

[Bug go/89368] New: [9 regression] ICE in go/gofrontend/expressions.cc:4669 after r268923

2019-02-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89368

Bug ID: 89368
   Summary: [9 regression] ICE in
go/gofrontend/expressions.cc:4669 after r268923
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: go
  Assignee: ian at airs dot com
  Reporter: seurer at gcc dot gnu.org
CC: cmang at google dot com
  Target Milestone: ---

r268922 builds fine but starting with 268923 a bootstrap build ICEs with

libtool: compile:  /home/seurer/gcc/build/gcc-test2/./gcc/gccgo
-B/home/seurer/gcc/build/gcc-test2/./gcc/
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/include -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/sys-include -O2
-g -I . -c -fgo-pkgpath=runtime -fgo-c-header=runtime.inc.raw
-fgo-compiling-runtime /home/seurer/gcc/gcc-test2/libgo/go/runtime/alg.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/atomic_pointer.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgo_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgocall.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgocheck.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/chan.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/compiler.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cpuprof.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cputicks.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/debug.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/env_posix.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/error.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/extern.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/fastlog2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/fastlog2table.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/ffi.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/float.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/hash64.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/heapdump.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/iface.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lfstack.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lfstack_64bit.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lock_futex.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/malloc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_fast32.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_fast64.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_faststr.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mbarrier.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mbitmap.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mcache.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mcentral.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mem_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mfinal.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mfixalloc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgc_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgclarge.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcmark.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcsweep.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcsweepbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcwork.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mheap.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mprof.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/msan0.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/msize.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mstats.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mwbbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/netpoll.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/netpoll_epoll.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_linux.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_linux_ppc64x.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/panic.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/print.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/proc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/profbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/proflabel.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/race0.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/rdebug.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/relax_stub.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime1.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/rwmutex.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/select.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/sema.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_sighandler.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_unix.go
/home/seurer/gcc/gcc-test2/libgo/go

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #8 from seurer at gcc dot gnu.org ---
This is the way it came from upstream (llvm) and the solution for powerpc64 was
copied from what aarch64 did before.

What is really needed is a workable solution from whoever does sanitizer
development that works despite the huge ranges of addresses that ASLR now uses.

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #6 from seurer at gcc dot gnu.org ---
I think it only comes out if you specify the verbose sanitizer option on the
compilation.  If I can remember how to specify that I will try it.

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #4 from seurer at gcc dot gnu.org ---
The above patch pulls in just enough of the changes from trunk to disable ASLR
for powerpc64 while leaving things alone for everyone else.

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #3 from seurer at gcc dot gnu.org ---
Created attachment 45725
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45725=edit
Patch to disable ALSR for asan/tsan on powerpc64

[Bug rtl-optimization/89295] [9 regression] compilation of gcc.dg-struct-layout-1/t001_x.c takes 30 times as long after r268404

2019-02-13 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89295

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from seurer at gcc dot gnu.org ---
I just tried it and r268597 does fix it.

[Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels

2019-02-12 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #2 from seurer at gcc dot gnu.org ---
I looked through the various patches for the sanitizer stuff and the important
one that is missing is the one that disables ASLR when the sanitizers are in
use.  This would "solve" the issue where the thread sanitizer tests fail
depending on how ASLR has laid out memory (something I see all the time with
gcc-8 and recent kernels).

However, the thing that prompted this bug report

https://github.com/openbmc/openbmc-build-scripts/commit/282e33011ea62fe80bff2c5ab0e9ef9446d6c551

is dealing with the *address* sanitizer and I haven't seen that sort of
problem.  It looks like it occurs when they are building openbmc which I have
never done.

[Bug rtl-optimization/89295] New: [9 regression] compilation of gcc.dg-struct-layout-1/t001_x.c takes 30 times as long after r268404

2019-02-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89295

Bug ID: 89295
   Summary: [9 regression] compilation of
gcc.dg-struct-layout-1/t001_x.c takes 30 times as long
after r268404
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rtl-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/-fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never  -w
-I/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/compat -Wno-abi  -c -o
c_compat_x_tst.o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc5/gcc.dg-struct-layout-1//t001_x.c
   (timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/ -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -w
-I/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/compat -Wno-abi -c -o
c_compat_x_tst.o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc5/gcc.dg-struct-layout-1//t001_x.c
WARNING: program timed out
compiler exited with status 1
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile

I started noticing this occasional timeout issue with this test case recently
on some of our test machines.  Note that the timeout value is 300 seconds when
run during a make check.

Trying the same test with some older revisions showed (when it is compiled
alone) that the compilation finishes in about 2s.  With recent revisions it
takes 60+s.

This may not be the only test that slows down of course.  "make -k check-gcc
RUNTESTFLAGS=struct-layout-1.exp" which runs many tests including the above
test takes about 4m30s at r268403 and about 7m at r268404.

Looking at the ftime-report outputs the big differences are in LRA
Before:
LRA non-specific   :   0.25 ( 10%)   0.01 (  4%)   0.24 (  9%) 
  4168 kB (  5%)
LRA virtuals elimination   :   0.03 (  1%)   0.00 (  0%)   0.05 (  2%) 
   355 kB (  0%)
LRA reload inheritance :   0.03 (  1%)   0.00 (  0%)   0.03 (  1%) 
  1618 kB (  2%)
LRA create live ranges :   0.04 (  2%)   0.00 (  0%)   0.04 (  1%) 
   538 kB (  1%)
LRA hard reg assignment:   0.07 (  3%)   0.00 (  0%)   0.06 (  2%) 
 0 kB (  0%)
After:
LRA non-specific   :   7.34 ( 12%)   0.04 (  9%)   7.59 ( 13%) 
 14335 kB ( 13%)
LRA virtuals elimination   :  26.07 ( 43%)   0.06 ( 13%)  25.26 ( 42%) 
  3613 kB (  3%)
LRA reload inheritance :   0.04 (  0%)   0.00 (  0%)   0.00 (  0%) 
  1618 kB (  2%)
LRA create live ranges :  16.84 ( 28%)   0.06 ( 13%)  17.30 ( 29%) 
  1735 kB (  2%)
LRA hard reg assignment:   7.53 ( 13%)   0.02 (  4%)   7.72 ( 13%) 
 0 kB (  0%)

Note:  I tried this on x86 and did not see the same slowdown between r268403
and r268404.

The trigger revision was 


r268404 | vmakarov | 2019-01-30 15:49:23 -0600 (Wed, 30 Jan 2019) | 12 lines

2019-01-30  Vladimir Makarov  

PR rtl-optimization/87246
* lra-constraints.c (simplify_operand_subreg): Reload memory
in subreg if the address became invalid.

2019-01-30  Vladimir Makarov  

PR rtl-optimization/87246
* gcc.target/i386/pr87246.c: New.

[Bug middle-end/89292] [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705

2019-02-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89292

--- Comment #1 from seurer at gcc dot gnu.org ---
gcc.target/powerpc/vsx-simode2.c also fails after this revision:

# of expected passes2
# of unexpected failures1
FAIL: gcc.target/powerpc/vsx-simode2.c scan-assembler mtvsrwz

[Bug middle-end/89292] New: [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705

2019-02-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89292

Bug ID: 89292
   Summary: [9 regression] test case
gcc.target/powerpc/rs6000-fpint.c fails after r268705
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Slightly different assembler is generated after r268705


spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -mno-powerpc-gfxopt -ffat-lto-objects -fno-ident -S
-o rs6000-fpint.s
PASS: gcc.target/powerpc/rs6000-fpint.c (test for excess errors)
FAIL: gcc.target/powerpc/rs6000-fpint.c scan-assembler-not stfiwx
Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ vmx_hw_available72259.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -mno-vsx  -lm  -o vmx_hw_available72259.exe   
(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ vmx_hw_available72259.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -mno-vsx -lm -o vmx_hw_available72259.exe
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
testcase
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/powerpc.exp
completed in 0 seconds

=== gcc Summary ===

# of expected passes1
# of unexpected failures1


Comparing the assembler before and after the change:

24,25c24,25
<   mfvsrwz 9,0
<   stw 9,48(31)
---
>   addi 9,31,48
>   stfiwx 0,0,9
28,29c28,29
<   mfvsrwz 9,0
<   stw 9,52(31)
---
>   addi 9,31,52
>   stfiwx 0,0,9

[Bug other/89243] New: ICE in new test case g++.dg/opt/pr89188.C from r268647

2019-02-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89243

Bug ID: 89243
   Summary: ICE in new test case g++.dg/opt/pr89188.C from r268647
   Product: gcc
   Version: 8.2.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---


r268647 | jakub | 2019-02-07 08:55:50 -0600 (Thu, 07 Feb 2019) | 11 lines

Backported from mainline
2019-02-05  Jakub Jelinek  

PR target/89188
* dce.c (delete_unmarked_insns): Don't remove no-op moves if they
can throw, non-call exceptions are enabled and we can't delete
dead exceptions or alter cfg.  Set must_clean if
delete_insn_and_edges returns true, don't set it blindly for calls.

* g++.dg/opt/pr89188.C: New test.


This works on trunk but gives me ICEs with gcc 8.


spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-8/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/build/gcc-8/gcc/testsuite/g++/../../
/home/seurer/gcc/gcc-8/gcc/testsuite/g++.dg/opt/pr89188.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-8/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-8/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-8/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-8/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-8/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++11 -Og -flive-range-shrinkage -fnon-call-exceptions -S -o pr89188.s
during RTL pass: lr_shrinkage
/home/seurer/gcc/gcc-8/gcc/testsuite/g++.dg/opt/pr89188.C: In function 'int
main()':
/home/seurer/gcc/gcc-8/gcc/testsuite/g++.dg/opt/pr89188.C:13:1: internal
compiler error: in pre_and_rev_post_order_compute, at cfganal.c:1055
0x1041dc13 pre_and_rev_post_order_compute(int*, int*, bool)
/home/seurer/gcc/gcc-8/gcc/cfganal.c:1054
0x103e4b0f init_alias_analysis()
/home/seurer/gcc/gcc-8/gcc/alias.c:3325
0x1115843b sched_init()
/home/seurer/gcc/gcc-8/gcc/haifa-sched.c:7289
0x1115a3cf haifa_sched_init()
/home/seurer/gcc/gcc-8/gcc/haifa-sched.c:7326
0x1088e293 schedule_insns()
/home/seurer/gcc/gcc-8/gcc/sched-rgn.c:3507
0x1088eaaf schedule_insns()
/home/seurer/gcc/gcc-8/gcc/sched-rgn.c:3501
0x1088eaaf rest_of_handle_live_range_shrinkage
/home/seurer/gcc/gcc-8/gcc/sched-rgn.c:3704
0x1088eaaf execute
/home/seurer/gcc/gcc-8/gcc/sched-rgn.c:3791

[Bug tree-optimization/88919] New test case gcc.dg/vect/pr88903-1.c in r268076 fails

2019-02-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88919

--- Comment #14 from seurer at gcc dot gnu.org ---
I did not add you to the CC list.

[Bug tree-optimization/88919] New test case gcc.dg/vect/pr88903-1.c in r268076 fails

2019-02-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88919

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||tamar.christina at arm dot com

--- Comment #12 from seurer at gcc dot gnu.org ---
New failures (update from 268604 to 268611):
New passes:
FAIL: gcc.dg/vect/pr88903-1.c execution test
FAIL: gcc.dg/vect/pr88903-1.c -flto -ffat-lto-objects execution test

Looks good!

[Bug tree-optimization/88919] New test case gcc.dg/vect/pr88903-1.c in r268076 fails

2019-02-06 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88919

--- Comment #5 from seurer at gcc dot gnu.org ---
Note that the change was backported to gcc 8 (r268578) and the test case fails
there now the same way.

[Bug testsuite/89064] New: [9 regression] libgomp.graphite/force-parallel-5.c fails starting with r268257

2019-01-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89064

Bug ID: 89064
   Summary: [9 regression] libgomp.graphite/force-parallel-5.c
fails starting with r268257
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Does this test case need updating?  

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/libgomp/testsuite/libgomp.graphite/force-parallel-5.c
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp -ansi
-pedantic-errors -O2 -ftree-parallelize-loops=4 -floop-parallelize-all
-fdump-tree-parloops-details -fdump-tree-optimized -fno-loop-strip-mine
-fno-loop-block -fdump-tree-graphite-all
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-lm -o ./force-parallel-5.exe
Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ offload_gcn37385.c  
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp
-foffload=amdgcn-unknown-amdhsa  -S -o offload_gcn37385.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ offload_gcn37385.c
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp
-foffload=amdgcn-unknown-amdhsa -S -o offload_gcn37385.s
xgcc: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa as
offload target
compilation terminated.
compiler exited with status 1
PASS: libgomp.graphite/force-parallel-5.c (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs
Execution timeout is: 300
spawn [open ...]
PASS: libgomp.graphite/force-parallel-5.c execution test
libgomp.graphite/force-parallel-5.c: pattern found 0 times
FAIL: libgomp.graphite/force-parallel-5.c scan-tree-dump-times graphite "2
loops carried no dependency" 1
PASS: libgomp.graphite/force-parallel-5.c scan-tree-dump-times optimized
"loopfn.0" 4
PASS: libgomp.graphite/force-parallel-5.c scan-tree-dump-times optimized
"loopfn.1" 4
testcase
/home/seurer/gcc/gcc-test2/libgomp/testsuite/libgomp.graphite/graphite.exp
completed in 1 seconds

=== libgomp Summary ===

# of expected passes4
# of unexpected failures1

r268257 | rguenth | 2019-01-25 02:13:34 -0600 (Fri, 25 Jan 2019) | 10 lines

2019-01-25  Richard Biener  

PR tree-optimization/86865
* graphite-scop-detection.c (scop_detection::can_represent_loop):
Reject non-do-while loops.

* gcc.dg/graphite/pr86865.c: New testcase.
* gcc.dg/graphite/pr69728.c: XFAIL.
* gcc.dg/graphite/scop-21.c: Likewise.

[Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target

2019-01-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920

--- Comment #2 from seurer at gcc dot gnu.org ---
The configure is pretty simple:

/home/seurer/gcc/gcc-test2/configure
--prefix=/home/seurer/gcc/install/gcc-test2 --enable-languages=c,fortran,c++
--with-cpu=power8 --disable-bootstrap
--with-as=/home/seurer/binutils/install/bin/as
--with-ld=/home/seurer/binutils/install/bin/ld

[Bug testsuite/88920] New: [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target

2019-01-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920

Bug ID: 88920
   Summary: [9 regression] GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This error is generated scores of times, more than 100, when running a make
check on powerpc64 (both BE and LE):

Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ offload_gcn35072.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -foffload=amdgcn-unknown-amdhsa -S -o
offload_gcn35072.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ offload_gcn35072.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -foffload=amdgcn-unknown-amdhsa -S -o
offload_gcn35072.s
xgcc: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa as
offload target
compilation terminated.
compiler exited with status 1


It occurs all over the place but it does not appear to cause any test cases to
fail.  I first noticed it when looking at a different problem in r268076 but I
do not think it is tied to that revision.  I am trying to see if I can narrow
down when it started.


seurer@genoa:~/gcc/build/gcc-trunk$ grep "GCC is not configured to support
amdgcn-unknown-amdhsa as offload target" `find . -name "*.log"` 
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.log:xgcc: fatal error: GCC is not configured to support
amdgcn-unknown-amdhsa as offload target
./gcc/testsuite/gcc/gcc.l

[Bug tree-optimization/88919] New: New test case gcc.dg/vect/pr88903-1.c in r268076 fails

2019-01-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88919

Bug ID: 88919
   Summary: New test case gcc.dg/vect/pr88903-1.c in r268076 fails
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/pr88903-1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -maltivec -mpower8-vector -ftree-vectorize
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details  -lm  -o
./pr88903-1.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/pr88903-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -maltivec -mpower8-vector -ftree-vectorize
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -lm -o
./pr88903-1.exe
PASS: gcc.dg/vect/pr88903-1.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
FAIL: gcc.dg/vect/pr88903-1.c execution test


seurer@makalu-lp1:~/gcc/build/gcc-test2$
/home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/pr88903-1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -flto -ffat-lto-objects -maltivec -mpower8-vector
-ftree-vectorize -fno-vect-cost-model -fno-common -g -O2
-fdump-tree-vect-details  -lm  -o ./pr88903-1.exe

seurer@makalu-lp1:~/gcc/build/gcc-test2$ gdb ./pr88903-1.exe
(gdb) run
Starting program: /home/seurer/gcc/build/gcc-test2/./pr88903-1.exe 

Program received signal SIGABRT, Aborted.
0x3fffb7cd247c in __GI_raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
55return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) where
#0  0x3fffb7cd247c in __GI_raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
#1  0x3fffb7cd4688 in __GI_abort () at abort.c:90
#2  0x1670 in main () at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vect/pr88903-1.c:24

int
main()
{
  check_vect ();
  for (int i = 0; i < 1024; ++i)
x[i] = i;
  foo ();
  for (int i = 0; i < 1024; ++i)
if (x[i] != i << (i/2+1))
  __builtin_abort ();  // line 24
  return 0;
}

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044

--- Comment #12 from seurer at gcc dot gnu.org ---
None of those hang, either.  

I also experimented with the options a bit.  The as-is options affecting
optimization are:  -O3 -funroll-loops -fpeel-loops -finline-functions

Change to -O1 and no hang.  Dropping the other ones or using -O2 and it still
hangs.

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044

--- Comment #10 from seurer at gcc dot gnu.org ---
I tried both (1) and (2) and the test case does not hang.

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044

--- Comment #8 from seurer at gcc dot gnu.org ---
I looked at where the code is hanging and it looks like it is hung in a loop
where it keeps calling memcpy with an incrementing by 1 length.  

I set a breakpoint at the start of memcpy to break if the length was greater
than 9000 and when the breakpoint was hit just keeping hitting continue.  It
was called with length 9001, 9002, 9003, ...  There is nothing in the code that
does anything like this as far as I can tell and this doesn't happen with the
previous revision.

Is the call

s = transfer(vs, s)

expanded into an infinite loop?  I don't know fortran so I have no idea what
that is supposed to do.

#0  .__memcpy_power7 () at ../sysdeps/powerpc/powerpc64/power7/memcpy.S:34
#1  0x1a24 in str_vs (_vs=1, _vs=1, vs=..., .__result=9002,
__result=)
at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90:13
#2  MAIN__ () at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90:34
#3  main (argc=, argv=) at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90:26
#4  0x3fffb79c7a6c in generic_start_main (main=@0x1001fec0: 0x18a0
, argc=, argv=0x3fffe888, auxvec=0x3fffea00,
init=, 
rtld_fini=, stack_end=, fini=)
at ../csu/libc-start.c:266
#5  0x3fffb79c7c94 in __libc_start_main (argc=,
argv=, ev=, auxvec=,
rtld_fini=, 
stinfo=, stack_on_entry=) at
../sysdeps/unix/sysv/linux/powerpc/libc-start.c:81
#6  0x in ?? ()

[Bug testsuite/88697] New: New test case gcc.target/powerpc/pr88457.c in r267307 fails because of glibc requirement

2019-01-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88697

Bug ID: 88697
   Summary: New test case gcc.target/powerpc/pr88457.c in r267307
fails because of glibc requirement
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

It is failing because it requires GLIBC 2.23 and newer and some (most) of our
test machines don't have that.  

This sort of thing has come up before and I don't think anyone has ever come up
with a clean solution for it.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr88457.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -m32 -mcpu=power7 -O1 -fexpensive-optimizations
--param ira-max-conflict-table-size=0 --param max-cse-insns=3 -c -mcpu=e300c3
-S -o pr88457.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr88457.c:6:6:
error: target_clones attribute needs GLIBC (2.23 and newer) that exports
hardware capability bits
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr88457.c:6:6:
error: default 'target_clones' attribute was not set
compiler exited with status 1
FAIL: gcc.target/powerpc/pr88457.c (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr88457.c:6:6:
error: target_clones attribute needs GLIBC (2.23 and newer) that exports
hardware capability bits
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr88457.c:6:6:
error: default 'target_clones' attribute was not set

[Bug testsuite/88682] New: new test case c-c++-common/pr51628-10.c fails starting with its introduction in r267313

2019-01-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88682

Bug ID: 88682
   Summary: new test case c-c++-common/pr51628-10.c fails starting
with its introduction in r267313
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

make -k check-gcc RUNTESTFLAGS=dg.exp=c-c++-common/pr51628-10.c

FAIL: c-c++-common/pr51628-10.c  -Wc++-compat  execution test
FAIL: c-c++-common/pr51628-10.c  -std=gnu++98 execution test
FAIL: c-c++-common/pr51628-10.c  -std=gnu++14 execution test
FAIL: c-c++-common/pr51628-10.c  -std=gnu++17 execution test


# of expected passes1
# of expected passes3
# of unexpected failures1
# of unexpected failures3

The test case is exiting with a non-zero return code when it fails.

[Bug fortran/88678] [9 regression] Many gfortran.dg/ieee/ieee_X.f90 test cases fail starting with r267465

2019-01-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88678

--- Comment #2 from seurer at gcc dot gnu.org ---
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic
operation.

Backtrace for this error:
#0  0x3fffb17f0477 in ???
#1  0x3fffb14f1694 in feenableexcept
at ../sysdeps/powerpc/fpu/feenablxcpt.c:44
#2  0x3fffb1765e73 in __ieee_exceptions_MOD_ieee_support_halting
at /home/seurer/gcc/gcc-test2/libgfortran/ieee/ieee_exceptions.F90:193
#3  0x3fffb176590f in __ieee_arithmetic_MOD_ieee_value_4
at /home/seurer/gcc/gcc-test2/libgfortran/ieee/ieee_arithmetic.F90:972
#4  0x1aa7 in foo
at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90:12
#5  0x1aa7 in main
at
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90:5
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -g  execution test

[Bug fortran/88678] New: [9 regression] Many gfortran.dg/ieee/ieee_X.f90 test cases fail starting with r267465

2019-01-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88678

Bug ID: 88678
   Summary: [9 regression] Many gfortran.dg/ieee/ieee_X.f90 test
cases fail starting with r267465
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

There are a bunch of the gfortran.dg/ieee/ieee_X.f90 test cases that began
failing with r267465:

FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -O1  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -O2  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -Os  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -O0  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -O1  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -O2  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/ieee_2.f90   -Os  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -O0  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -O1  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -O2  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/ieee_3.f90   -Os  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -O0  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -O1  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -O2  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/ieee_4.f90   -Os  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -O0  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -O1  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -O2  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/large_1.f90   -Os  execution test




The failures all look like this one:

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O0 -ffpe-trap=overflow,invalid
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./ieee_10.exe
PASS: gfortran.dg/ieee/ieee_10.f90   -O0  (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src

[Bug testsuite/88491] New: new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh)

2018-12-13 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491

Bug ID: 88491
   Summary: new test case allocfail.sh in r267054 fails if dash is
the default shell (/bin/sh)
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

FAIL: allocfail.sh
==

/home/seurer/gcc/gcc-trunk/libbacktrace/allocfail.sh: 35: set: Illegal option
-o pipefail
FAIL allocfail.sh (exit status: 2)

This fails on all our newer systems running Ubuntu 18.04 which link /bin/sh to
dash.  The failing line is:

set -o pipefail

If I try that under dash on other systems it fails there, too.

[Bug testsuite/88454] New: [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971

2018-12-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88454

Bug ID: 88454
   Summary: [9 regression] test case
gcc.dg/tree-ssa/split-path-5.c fails after r266971
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test/gcc/
/home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fsplit-paths -fdump-tree-split-paths-details -w
-S -o split-path-5.s
PASS: gcc.dg/tree-ssa/split-path-5.c (test for excess errors)
gcc.dg/tree-ssa/split-path-5.c: pattern found 0 times
FAIL: gcc.dg/tree-ssa/split-path-5.c scan-tree-dump-times split-paths "join
point for if-convertable half-diamond" 1
testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp
completed in 0 seconds

=== gcc Summary ===

# of expected passes1
# of unexpected failures1


r266971 | law | 2018-12-10 22:56:54 -0600 (Mon, 10 Dec 2018) | 6 lines

PR tree-optimization/80520
* gimple-ssa-split-paths.c (is_feasible_trace): Recognize half
diamonds that are likely if convertable.

* gcc.dg/tree-ssa/split-path-5.c: Update expected output.
* gcc.dg/tree-ssa/split-path-11.c: New test.

[Bug testsuite/88436] New: [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail

2018-12-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88436

Bug ID: 88436
   Summary: [9 regression] r265421 causes
gcc.target/powerpc/pr54240.c to fail
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Looks like this test case may have been missed when updating those affected by
the changes in this revision.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr54240.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -misel -fdump-tree-phiopt-details -S -o pr54240.s
PASS: gcc.target/powerpc/pr54240.c (test for excess errors)
FAIL: gcc.target/powerpc/pr54240.c scan-tree-dump phiopt1 "Hoisting adjacent
loads"

[Bug testsuite/88290] [9 regression] 23_containers/deque/erasure.cc fails after r266672

2018-12-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88290

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from seurer at gcc dot gnu.org ---
Not sure when it was fixed but it is not failing any longer.

[Bug target/88408] [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64 LE

2018-12-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Target|powerpc64-unknown-linux-gnu |powerpc64*-unknown-linux-gn
   ||u
  Build|powerpc64le-unknown-linux-g |powerpc64*-unknown-linux-gn
   |nu  |u

--- Comment #1 from seurer at gcc dot gnu.org ---
Also fails on BE after further testing.

[Bug target/88408] New: [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64 LE

2018-12-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

Bug ID: 88408
   Summary: [9 regression] r266868 breaks
gcc.target/powerpc/undef-bool-2.c on powerpc64 LE
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -std=c11 -DNO_WARN_X86_INTRINSICS -mvsx -S -o
undef-bool-2.s
In file included from
/home/seurer/gcc/build/gcc-test2/gcc/include/xmmintrin.h:79,
 from
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c:10:
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h: In function
'_mm_packs_pu16':
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: error: 'vector'
undeclared (first use in this function); did you mean 'vec_or'?
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: note: each
undeclared identifier is reported only once for each function it appears in
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:25: error: expected
')' before 'unsigned'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:41: error: expected
')' before 'vm1'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:25: error: expected
')' before 'vector'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:3: error: can't
convert a vector of type '__vector signed short' {aka 'const __vector(8) short
int'} to type 'int' which has different size
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c: At
top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c:12:1:
error: unknown type name 'bool'
compiler exited with status 1
PASS: gcc.target/powerpc/undef-bool-2.c  (test for errors, line 12)
FAIL: gcc.target/powerpc/undef-bool-2.c (test for excess errors)
Excess errors:
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: error: 'vector'
undeclared (first use in this function); did you mean 'vec_or'?
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:25: error: expected
')' before 'unsigned'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:41: error: expected
')' before 'vm1'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:25: error: expected
')' before 'vector'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:3: error: can't
convert a vector of type '__vector signed short' {aka 'const __vector(8) short
int'} to type 'int' which has different size

[Bug testsuite/88332] [9 regression] gcc.dg/Wattributes-10.c fails starting with r265728

2018-12-05 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88332

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #12 from seurer at gcc dot gnu.org ---
I tried r265741 and it does work now.

[Bug testsuite/88332] [9 regression] gcc.dg/Wattributes-10.c fails starting with r265728

2018-12-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88332

--- Comment #7 from seurer at gcc dot gnu.org ---
The original machine I saw the failure on was a power8 BE machine running RHEL
7.6 but gcc110 is:

seurer@gcc1-power7:~$ lscpu
Architecture:  ppc64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Big Endian
CPU(s):64
On-line CPU(s) list:   0-63
Thread(s) per core:4
Core(s) per socket:1
Socket(s): 16
NUMA node(s):  2
Model: 2.1 (pvr 003f 0201)
Model name:POWER7 (architected), altivec supported
Hypervisor vendor: (null)
Virtualization type:   full
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  4096K
NUMA node0 CPU(s): 0-31
NUMA node1 CPU(s): 32-63

seurer@gcc1-power7:~$ cat /etc/*release
CentOS Linux release 7.4.1708 (AltArch) 
NAME="CentOS Linux"
VERSION="7 (AltArch)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (AltArch)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/;
BUG_REPORT_URL="https://bugs.centos.org/;
SIG_FAMILY="AltArch ppc64"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.4.1708 (AltArch) 
CentOS Linux release 7.4.1708 (AltArch)

[Bug testsuite/88332] [9 regression] gcc.dg/Wattributes-10.c fails starting with r265728

2018-12-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88332

--- Comment #6 from seurer at gcc dot gnu.org ---
I tried it on the BE powerpc64 machine in the gcc compiler farm,
gcc110.fsffrance.org, and the same thing happens.

seurer@gcc1-power7:~/gcc/build/gcc-test$ ~/gcc/install/gcc-test/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/seurer/gcc/install/gcc-test/bin/gcc
COLLECT_LTO_WRAPPER=/home/seurer/gcc/install/gcc-test/libexec/gcc/powerpc64-unknown-linux-gnu/9.0.0/lto-wrapper
Target: powerpc64-unknown-linux-gnu
Configured with: /home/seurer/gcc/gcc-test/configure
--prefix=/home/seurer/gcc/install/gcc-test --enable-languages=c,fortran,c++
--disable-bootstrap
Thread model: posix
gcc version 9.0.0 20181101 (experimental) [trunk revision 265728] (GCC) 


seurer@gcc1-power7:~/gcc/build/gcc-test$ make -k check-gcc
RUNTESTFLAGS=dg.exp=gcc.dg/Wattributes-10.c
. . .
=== gcc tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/seurer/gcc/gcc-test/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/dg.exp ...
FAIL: gcc.dg/Wattributes-10.c  target pdp11*-*-*  (test for errors, line 15)

=== gcc Summary ===

# of expected passes4
# of unexpected failures1
/home/seurer/gcc/build/gcc-test/gcc/xgcc  version 9.0.0 20181101 (experimental)
[trunk revision 265728] (GCC) 
. . .

[Bug testsuite/88332] [9 regression] gcc.dg/Wattributes-10.c fails starting with r265728

2018-12-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88332

--- Comment #2 from seurer at gcc dot gnu.org ---
powerpc64 for sure BE and possibly LE.

[Bug testsuite/88332] New: [9 regression] gcc.dg/Wattributes-10.c fails starting with r265728

2018-12-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88332

Bug ID: 88332
   Summary: [9 regression] gcc.dg/Wattributes-10.c fails starting
with r265728
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/Wattributes-10.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Wall -ftrack-macro-expansion=0 -S -o
Wattributes-10.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/Wattributes-10.c:11:3: warning:
'packed' attribute ignored for type 'int *' [-Wattributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/Wattributes-10.c:13:3: warning:
ignoring attribute 'packed' because it conflicts with attribute 'aligned'
[-Wattributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/Wattributes-10.c:14:3: warning:
'packed' attribute ignored for type 'int *' [-Wattributes]
PASS: gcc.dg/Wattributes-10.c  (test for warnings, line 11)
PASS: gcc.dg/Wattributes-10.c  (test for warnings, line 13)
PASS: gcc.dg/Wattributes-10.c  (test for warnings, line 14)
FAIL: gcc.dg/Wattributes-10.c  target pdp11*-*-*  (test for errors, line 15)
PASS: gcc.dg/Wattributes-10.c (test for excess errors)
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

=== gcc Summary ===

# of expected passes4
# of unexpected failures1

[Bug other/88318] New: new test case gcc.dg/independent-cloneids-1.c fails on big endian

2018-12-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88318

Bug ID: 88318
   Summary: new test case gcc.dg/independent-cloneids-1.c fails on
big endian
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This works fine on powerpc64le but fails on be.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/independent-cloneids-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O3 -fipa-cp -fipa-cp-clone -ffat-lto-objects
-fno-ident -S -o independent-cloneids-1.s
PASS: gcc.dg/independent-cloneids-1.c (test for excess errors)
gcc.dg/independent-cloneids-1.c: (?n)\\m_*bar[.$_]constprop[.$_]0: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*bar[.$_]constprop[.$_]0: 1
gcc.dg/independent-cloneids-1.c: (?n)\\m_*bar[.$_]constprop[.$_]1: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*bar[.$_]constprop[.$_]1: 1
gcc.dg/independent-cloneids-1.c: (?n)\\m_*bar[.$_]constprop[.$_]2: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*bar[.$_]constprop[.$_]2: 1
gcc.dg/independent-cloneids-1.c: (?n)\\m_*foo[.$_]constprop[.$_]0: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*foo[.$_]constprop[.$_]0: 1
gcc.dg/independent-cloneids-1.c: (?n)\\m_*foo[.$_]constprop[.$_]1: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*foo[.$_]constprop[.$_]1: 1
gcc.dg/independent-cloneids-1.c: (?n)\\m_*foo[.$_]constprop[.$_]2: found 2
times
FAIL: gcc.dg/independent-cloneids-1.c scan-assembler-times
(?n)\\m_*foo[.$_]constprop[.$_]2: 1
PASS: gcc.dg/independent-cloneids-1.c scan-assembler-not
(?n)\\m_*foo[.$_]constprop[.$_]3:
PASS: gcc.dg/independent-cloneids-1.c scan-assembler-not
(?n)\\m_*foo[.$_]constprop[.$_]4:
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

=== gcc Summary ===

# of expected passes3
# of unexpected failures6

[Bug testsuite/88290] New: [9 regression] 23_containers/deque/erasure.cc fails after r266672

2018-11-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88290

Bug ID: 88290
   Summary: [9 regression] 23_containers/deque/erasure.cc fails
after r266672
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/./gcc/xg++ -shared-libgcc
-B/home/seurer/gcc/build/gcc-test/./gcc -nostdinc++
-L/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/seurer/gcc/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/ -isystem
/home/seurer/gcc/install/gcc-test/powerpc64le-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include
-B/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-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/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc
-std=gnu++2a -fno-diagnostics-show-caret -fdiagnostics-color=never
./libtestc++.a -Wl,--gc-sections
-L/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/filesystem/.libs
-lm -o ./erasure.exe
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:
In function 'void test01()':
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:30:
error: 'void num' has incomplete type
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:
In function 'void test02()':
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:40:
error: 'void num' has incomplete type
compiler exited with status 1
FAIL: 23_containers/deque/erasure.cc (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:30:
error: 'void num' has incomplete type
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/23_containers/deque/erasure.cc:40:
error: 'void num' has incomplete type

[Bug sanitizer/88289] New: [9 regression] r266664 causes asan to fail on many/most tests on BE

2018-11-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88289

Bug ID: 88289
   Summary: [9 regression] r24 causes asan to fail on
many/most tests on BE
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at 
gcc dot gnu.org
  Target Milestone: ---

This appears to only cause it to fail on BE.

FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_AllocDeallocMismatch
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_AtoiAndFriendsOOBTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2 
AddressSanitizer_AttributeNoSanitizeAddressTest execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_BitFieldNegativeTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_BitFieldPositiveTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2 
AddressSanitizer_BufferOverflowAfterManyFrees execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_CallocReturnsZeroMem
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_CxxExceptionTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2 
AddressSanitizer_FileNameInGlobalReportTest execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_GlobalStringConstTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_GlobalTest execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeMallocTest
Ident((char*)malloc(size))[-1] = 0 output pattern test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeOOBInMemset
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeOOBRightTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LargeStructCopyTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LongDoubleNegativeTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_LongJmpTest execution
test
FAIL: g++.dg/asan/asan_test.C   -O2  AddressSanitizer_MallocUsableSizeTest
execution test
FAIL: g++.dg/asan/asan_test.C   -O2

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2018-11-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044

--- Comment #4 from seurer at gcc dot gnu.org ---
Any progress on this?  It really slows down test runs as it hangs twice and has
to wait for the timeout to occur to continue.

[Bug testsuite/88208] New: new test case c-c++-common/builtin-has-attribute-3.c in r266335 has multiple excess errors

2018-11-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88208

Bug ID: 88208
   Summary: new test case c-c++-common/builtin-has-attribute-3.c
in r266335 has multiple excess errors
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This isn't specific to any target from looking at the test results email list.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Wc++-compat -Wall -ftrack-macro-expansion=0 -S -o
builtin-has-attribute-3.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:11:25:
error: alignment for 'faligned_1' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:12:25:
error: alignment for 'faligned_2' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:39:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:40:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:47:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:48:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
In function 'test_aligned':
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:50:3:
error: size of array 'Assert' is negative
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
At top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:52:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
In function 'test_aligned':
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:52:3:
error: size of array 'Assert' is negative
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
At top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:53:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
In function 'test_aligned':
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:56:3:
error: size of array 'Assert' is negative
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
At top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:58:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:59:3:
error: alignment for '__builtin_has_attribute_tmp.' must be at least 4
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
In function 'test_aligned':
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:59:3:
error: size of array 'Assert' is negative
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:
At top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:71:3:
warning: 'alloc_align' attribute ignored on a function returning 'void'
[-Wattributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:82:3:
warning: 'alloc_size' attribute ignored on a function returning 'void'
[-Wattributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:83:3:
warning: 'alloc_size' attribute ignored on a function returning 'void'
[-Wattributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:30:33:
warning: 'falias' specifies less restrictive attribute than its target
'fnoreturn': 'noreturn' [-Wmissing-attributes]
/home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c:28:22:
note: 'falias' target declared here
compiler exited with status 1
PASS: c-c++-common/builtin-has-attribute-3.c  -Wc++-compat   (test for
warnings, line 71)
PASS: c-c++-common/builtin-has-attribute-3.c  -Wc++-compat   (test for
warnings, line 82)
PASS: c-c++-common/builtin-has-attribute-3.c  -Wc++-compat   (test for
warnings, line 83)
FAIL: c-c++-common/builtin-has-attribute-3.c  -Wc++-compat  (test

[Bug testsuite/87486] [9 regression] gcc.target/powerpc/undef-bool-2.c fails starting with r264335

2018-11-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87486

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from seurer at gcc dot gnu.org ---
This is fixed now.

[Bug other/88204] New: New test case 26_numerics/complex/operators/more_constexpr.cc from r266416 fails

2018-11-26 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88204

Bug ID: 88204
   Summary: New test case
26_numerics/complex/operators/more_constexpr.cc from
r266416 fails
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I see this on all the powerpc64 targets I test on.


spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/./gcc/xg++ -shared-libgcc
-B/home/seurer/gcc/build/gcc-test2/./gcc -nostdinc++
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/include -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/sys-include
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-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/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/util
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc
-std=gnu++2a -fno-diagnostics-show-caret -fdiagnostics-color=never -S -o
more_constexpr.s
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:
In instantiation of 'void __gnu_test::test_operators() [with _Tp = long
double]':
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:59:
  required from here
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:41:
  in 'constexpr' expansion of 'std::operator/(a, c)'
/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/complex:429:
  in 'constexpr' expansion of '#'result_decl' not supported by
dump_expr#.std::complex::operator/=(((long
double)__y))'
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:41:
error: '(1.0e+0l / 5.0e+0l)' is not a constant expression
compiler exited with status 1
FAIL: 26_numerics/complex/operators/more_constexpr.cc (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:41:
  in 'constexpr' expansion of 'std::operator/(a, c)'
/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/complex:429:
  in 'constexpr' expansion of '#'result_decl' not supported by
dump_expr#.std::complex::operator/=(((long
double)__y))'
/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/26_numerics/complex/operators/more_constexpr.cc:41:
error: '(1.0e+0l / 5.0e+0l)' is not a constant expression

[Bug tree-optimization/88011] [9 regression] r266028 causes a bunch of go failures

2018-11-16 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88011

--- Comment #13 from seurer at gcc dot gnu.org ---
Yup, looks like you got it.  Thanks!

update from 266192 to 266207:

New passes:
FAIL: crypto/dsa
FAIL: crypto/ecdsa
FAIL: crypto/elliptic
FAIL: crypto/rsa
FAIL: crypto/tls
FAIL: crypto/x509
FAIL: golang_org/x/net/http/httpguts
FAIL: golang_org/x/net/idna
FAIL: golang_org/x/net/lex/httplex
FAIL: image/draw
FAIL: math/big
FAIL: net/http/cookiejar
FAIL: net/http/httptest
FAIL: net/smtp

[Bug testsuite/88053] New: [9 regression] g++.dg/lto/pr54625-1.C fails with r266194

2018-11-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88053

Bug ID: 88053
   Summary: [9 regression] g++.dg/lto/pr54625-1.C fails with
r266194
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I think perhaps this test case was missed when the others were updated for this
revision.

> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto 
> -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto 
> -flto-partition=none -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto 
> -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto 
> -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto 
> -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto 
> -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto 
> -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto 
> -flto-partition=none -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto 
> -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto 
> -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto 
> -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto 
> -fuse-linker-plugin

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/ -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O0 -flto
-flto-partition=1to1 -fno-use-linker-plugin -c -o cp_lto_pr54625-1_0.o
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c: In function
'speex_resampler_init_frac':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c:9:12:
warning: 'sin' argument 1 type is 'int' where 'double' is expected in a call to
built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c:5:8: note:
built-in 'sin' declared here
FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto
-flto-partition=1to1 -fno-use-linker-plugin

[Bug tree-optimization/88044] New: [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2018-11-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044

Bug ID: 88044
   Summary: [9 regression] gfortran.dg/transfer_intrinsic_3.f90
hangs after r266171
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

After r266171 this test case is hanging on powerpc64 both be and le when
compiled with -O3.  If I run it via make check

make -k check-fortran RUNTESTFLAGS=dg.exp=gfortran.dg/transfer_intrinsic_3.f90

it normally finishes in a few minutes but with the run I started a bit ago the
executable has been running over 25 minutes:

 43548 pts/1R+25:34 ./transfer_intrinsic_3.exe


Executing on host:
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90  
 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never-O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   -pedantic-errors 
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
 -lm  -o ./transfer_intrinsic_3.exe(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/transfer_intrinsic_3.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops
-ftracer -finline-functions -pedantic-errors
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./transfer_intrinsic_3.exe
PASS: gfortran.dg/transfer_intrinsic_3.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr

[Bug tree-optimization/88015] [9 Regression] ICE in dump_printf_loc, at dumpfile.c:1287

2018-11-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88015

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #3 from seurer at gcc dot gnu.org ---
I am seeing this for a fortran compilation but not for the same .c compilation
as Martin did:

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran5/../../gfortran
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gfortran5/../../
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gfortran.dg/graphite/pr42334-1.f
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -O2 -floop-nest-optimize -S -o pr42334-1.s
during GIMPLE pass: graphite
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gfortran.dg/graphite/pr42334-1.f:3:0:
internal compiler error: in dump_printf_loc, at dumpfile.c:1287
0x105747f7 dump_printf_loc(dump_flag, dump_location_t const&, char const*, ...)
/home/seurer/gcc/gcc-trunk/gcc/dumpfile.c:1287
0x1152c9d3 translate_isl_ast_to_gimple::scop_to_isl_ast(scop*)
/home/seurer/gcc/gcc-trunk/gcc/graphite-isl-ast-to-gimple.c:1417
0x1152ee7f graphite_regenerate_ast_isl(scop*)
/home/seurer/gcc/gcc-trunk/gcc/graphite-isl-ast-to-gimple.c:1476
0x11528793 graphite_transform_loops()
/home/seurer/gcc/gcc-trunk/gcc/graphite.c:413
0x11529753 graphite_transforms
/home/seurer/gcc/gcc-trunk/gcc/graphite.c:476
0x11529753 execute
/home/seurer/gcc/gcc-trunk/gcc/graphite.c:553
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gfortran.dg/graphite/pr42334-1.f   -O  (internal compiler error)
FAIL: gfortran.dg/graphite/pr42334-1.f   -O  (test for excess errors)

[Bug tree-optimization/88011] New: [9 regression] r266028 causes a bunch of go failures

2018-11-13 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88011

Bug ID: 88011
   Summary: [9 regression] r266028 causes a bunch of go failures
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Something in this revision is causing a whole bunch of new failures in go.

Failures found in new revision r266028 versus failures found in previous
revision r266027
> FAIL: crypto/dsa
> FAIL: crypto/ecdsa
> FAIL: crypto/elliptic
> FAIL: crypto/rsa
> FAIL: crypto/tls
> FAIL: crypto/x509
> FAIL: golang_org/x/net/http/httpguts
> FAIL: golang_org/x/net/idna
> FAIL: golang_org/x/net/lex/httplex
> FAIL: image/draw
> FAIL: math/big
> FAIL: net/http/cookiejar
> FAIL: net/http/httptest
> FAIL: net/smtp

Here are some of the failures from the crypto tests:

PASS: crypto/des
--- FAIL: TestSignAndVerify (0.01s)
dsa_test.go:22: 0: Verify failed
FAIL
FAIL: crypto/dsa
--- FAIL: TestSignAndVerify (0.04s)
ecdsa_test.go:115: p224: Verify failed
--- FAIL: TestZeroHashSignature (0.91s)
ecdsa_test.go:364: zero hash signature verify failed for elliptic.p224Curve
ecdsa_test.go:364: zero hash signature verify failed for elliptic.p256Curve
ecdsa_test.go:364: zero hash signature verify failed for
*elliptic.CurveParams
ecdsa_test.go:364: zero hash signature verify failed for
*elliptic.CurveParams
FAIL
FAIL: crypto/ecdsa
--- FAIL: TestGenericBaseMult (0.00s)
elliptic_test.go:353: 1: bad output for k=2: got
(50fa5c697e7e478d1dc75c8ed9db2f213b6cac76a2a5d28c4dfc23a0,
c58064d02d6eb345c221d36b316ff90cab075179d5da905953a67915), want
(706a46dc76dcb76798e60e6d89474788d16dc18032d268fd1a704fa6,
1c2b76a7bc25e7702a704fa986892849fca629487acf3709d2e4e8bb)
elliptic_test.go:353: 2: bad output for k=3: got
(b9021391eff7055c164d22d235c2b9c027b0e7e8423ef22c7bb30738,
61d6f7d3639abe0f7660f9c5a1b4cbd1cd9453352220b232220dabe4), want
(df1b1d66a551d0d31eff822558b9d2cc75c2180279fe0d08fd896d04,
a3f7f03cadd0be444c0aa56830130ddf77d317344e1af3591981a925)
elliptic_test.go:353: 3: bad output for k=4: got
(18cacde124ceee4ca657ea54a08a6b219400b4254d7304ffcfd65dfe,
6d8e184fb3d10187a047e3b10ccb5c6df04233f403766838fd490cfb), want
(ae99feebb5d26945b54892092a8aee02912930fa41cd114e40447301,
482580a0ec5bc47e88bc8c378632cd196cb3fa058a7114eb03054c9)
elliptic_test.go:353: 4: bad output for k=5: got
(e4e9c1bfcf62d575bb0bee249ae34eb6a3a1a48a0013d9e9efb954f9,
a2db3f90e989f8a7c02fca77875c47698e71811febe9f57637e12fe4), want
(31c49ae75bce7807cdff22055d94ee9021fedbb5ab51c57526f011aa,
27e8bff1745635ec5ba0c9f1c2ede15414c6507d29ffe37e790a079b)
elliptic_test.go:353: 5: bad output for k=6: got
(acda3b0bc4486561c0c12a09cab385b6a00200eac9f949811c57ec6e,
b0aee36d893fd27461babccaaac9c603c034458ee9e4e353bc50cd74), want
(1f2483f82572251fca975fea40db821df8ad82a3c002ee6c57112408,
89faf0ccb750d99b553c574fad7ecfb0438586eb3952af5b4b153c7e)
elliptic_test.go:353: 6: bad output for k=7: got
(65db24e90e6b2f8858f64aaabd8d370bd31ae310b129c8390457,
b0a9ffd1de84336f69f5eece60bad99af576737de805a0ce98ddd2e1), want
(db2f6be630e246a5cf7d99b85194b123d487e2d466b94b24a03c3e28,
f3a30085497f2f611ee2517b163ef8c53b715d18bb4e4808d02b963)
--- FAIL: TestP256BaseMult (0.01s)
elliptic_test.go:378: #1: got
(7cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978,
7775510db8ed040293d9ac69f7430dbba7dade63ce982299e04b79d227873d1), want
(c25847947e60cbefa0153824c9b24e9fcc2f07209f83d954486ae45cdd0238a4,
1f029fb463c5c053800996ab1b8e06840f7c7e9e0226abf763d6e9a04770b864)
elliptic_test.go:378: #2: got
(5ecbe4d1a6330a44c8f7ef951d4bf165e6c6b721efada985fb41661bc6e7fd6c,
8734640c4998ff7e374b06ce1a64a2ecd82ab036384fb83d9a79b127a27d5032), want
(df3cad201b6eb9ba99ecbdf81772f7363d74b1cc543ff02eab4c5855240c35f7,
6d7c5afea3ec7285ef2224379898b209f1125963a675380f2d0b1d695cfee4b5)
elliptic_test.go:378: #3: got
(e2534a3532d08fbba02dde659ee62bd0031fe2db785596ef509302446b030852,
e0f1575a4c633cc719dfee5fda862d764efc96c3f30ee0055c42c23f184ed8c6), want
(256e2a8fe6af28313187a6149cd0a04bd94f924d9984946c470f18e359a7932b,
71de8385fa90d04cc9d08811306ed2680d810373530997af97a6538f792aee76)
elliptic_test.go:378: #4: got
(51590b7a515140d2d784c85608668fdfef8c82fd1f5be52421554a0dc3d033ed,
e0c17da8904a727d8ae1bf36bf8a79260d012f00d4d80888d1d0bb44fda16da4), want
(8796cba94f88f620eb76a04e83595199e2a4a00f4b6a00f73a10ed557e281a3e,
6866ebb28fbe165eb21165281382dc661d5651b0e3ad43374f0e5d5a93f8217a)
elliptic_test.go:378: #5: got
(b01a172a76a4602c92d3242cb897dde3024c740debb215b4c6b0aae93c2291a9,
e85c10743237dad56fec0e2dfba703791c00f7701c7e16bdfd7c48538fc77fe2), want
(706a5563e010189ec19e78ded20f09d7c9e4dd9db7942e65642a098055c2429e,
b40fb72e7adeaa4cf7a73f814429b595fbb2b63c4f05928bf1ceaaa52

[Bug libgomp/87995] New: [9 regression] libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails consistently after r265930

2018-11-12 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87995

Bug ID: 87995
   Summary: [9 regression]
libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c
fails consistently after r265930
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgomp
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
  Target Milestone: ---

I think I have seen this test case fail on rare occasions before but starting
with r265930 it now fails consistently on powerpc64 and powepc64le both on
power 8 and power 9.  Looking at the test logs posted on gcc-testresults it
appears to be failing on x86, aarch64, and others starting at about the same
time.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp -O2
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs
-lm -o ./cancel-taskgroup-3.exe
PASS: libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c (test for excess
errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
FAIL: libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c execution test


spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ -x c++
/home/seurer/gcc/gcc-test2/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/cancel-taskgroup-3.c
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/../../include
-I/home/seurer/gcc/gcc-test2/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp
-nostdinc++
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/util -O2
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm -o ./cancel-taskgroup-3.exe
PASS: libgomp.c++/../libgomp.c-c++-common/cancel-taskgroup-3.c (test for excess
errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
FAIL: libgomp.c++/../libgomp.c-c++-common/cancel-taskgroup-3.c execution test

[Bug libfortran/87966] New: [9 regression] The SPEC2006 tests 416.gamess and 481.wrf fail starting with r265946

2018-11-09 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87966

Bug ID: 87966
   Summary: [9 regression] The SPEC2006 tests 416.gamess and
481.wrf fail starting with r265946
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libfortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

The test trigger some floating point exceptions when they are run after being
compiler with gcc built from r265946.

/home/seurer/gcc/cpu2006/bin/specinvoke -E -d
/home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_ref_ppc64.0018
-c 1 -e compare.err -o compare.stdout -f compare.cmd


Contents of h2ocu2+.gradient.err

Note: The following floating-point exceptions are signalling:
IEEE_UNDERFLOW_FLAG




Contents of triazolium.err

Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG





r265946 | jvdelisle | 2018-11-08 20:46:03 -0600 (Thu, 08 Nov 2018) | 7 lines

2018-11-08  Jerry DeLisle  

PR libfortran/78351
* io/transfer.c (read_sf_internal): Add support for early
comma termination of internal unit formatted reads.

* gfortran.dg/read_legacy_comma.f90: New test.

[Bug c/87965] New: [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977

2018-11-09 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87965

Bug ID: 87965
   Summary: [9 regression] Test cases c-c++-common/pr60226.c and
gcc.dg/pr39323-1.c fail starting with r265977
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

> FAIL: c-c++-common/pr60226.c  -Wc++-compat   (test for errors, line 14)
> FAIL: c-c++-common/pr60226.c  -Wc++-compat   (test for errors, line 8)
> FAIL: c-c++-common/pr60226.c  -Wc++-compat  (test for excess errors)
> FAIL: c-c++-common/pr60226.c  -std=gnu++14  (test for errors, line 14)
> FAIL: c-c++-common/pr60226.c  -std=gnu++14  (test for errors, line 8)
> FAIL: c-c++-common/pr60226.c  -std=gnu++14 (test for excess errors)
> FAIL: c-c++-common/pr60226.c  -std=gnu++17  (test for errors, line 14)
> FAIL: c-c++-common/pr60226.c  -std=gnu++17  (test for errors, line 8)
> FAIL: c-c++-common/pr60226.c  -std=gnu++17 (test for excess errors)
> FAIL: c-c++-common/pr60226.c  -std=gnu++98  (test for errors, line 14)
> FAIL: c-c++-common/pr60226.c  -std=gnu++98  (test for errors, line 8)
> FAIL: c-c++-common/pr60226.c  -std=gnu++98 (test for excess errors)
> FAIL: gcc.dg/pr39323-1.c  (test for errors, line 4)
> FAIL: gcc.dg/pr39323-1.c  (test for errors, line 5)
> FAIL: gcc.dg/pr39323-1.c (test for excess errors)


They look like alignment errors.

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Wc++-compat -Wno-c++-compat -S -o pr60226.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:7:1: error:
alignment of array elements is greater than element size
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:8:1: error:
requested alignment '536870912' exceeds maximum 2147483648
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c: In function
'f':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:14:10: error:
requested alignment '536870912' exceeds maximum 2147483648
compiler exited with status 1
PASS: c-c++-common/pr60226.c  -Wc++-compat   (test for errors, line 7)
FAIL: c-c++-common/pr60226.c  -Wc++-compat   (test for errors, line 8)
FAIL: c-c++-common/pr60226.c  -Wc++-compat   (test for errors, line 14)
FAIL: c-c++-common/pr60226.c  -Wc++-compat  (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:8:1: error:
requested alignment '536870912' exceeds maximum 2147483648
/home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:14:10: error:
requested alignment '536870912' exceeds maximum 2147483648

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -ansi -pedantic-errors -S -o pr39323-1.s
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:4:1: error:
requested alignment '536870912' exceeds object file maximum 268435456
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:5:1: error:
requested alignment '536870912' exceeds maximum 2147483648
compiler exited with status 1
FAIL: gcc.dg/pr39323-1.c  (test for errors, line 4)
FAIL: gcc.dg/pr39323-1.c  (test for errors, line 5)
FAIL: gcc.dg/pr39323-1.c (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:4:1: error:
requested alignment '536870912' exceeds object file maximum 268435456
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:5:1: error:
requested alignment '536870912' exceeds maximum 2147483648

[Bug testsuite/87802] [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

--- Comment #9 from seurer at gcc dot gnu.org ---
Yes, it works with that patch.

[Bug testsuite/87802] [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

--- Comment #7 from seurer at gcc dot gnu.org ---
Various output files attached and here's a run with -v so you can see all the
options:

seurer@granola:~/gcc/build/gcc-test$
/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++ -v
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/vect/slp-pr87105.cc
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++14 -O2 -ftree-vectorize -fno-vect-cost-model -maltivec -mvsx
-mno-allow-movmisalign -fdump-tree-slp-details -ffast-math -E -o ./slp-pr8105.i
Reading specs from
/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../specs
COLLECT_GCC=/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++
Target: powerpc64-unknown-linux-gnu
Configured with: /home/seurer/gcc/gcc-test/configure
--prefix=/home/seurer/gcc/install/gcc-test --enable-languages=c,fortran,c++
--with-cpu=power7 --disable-bootstrap --disable-multilib
--with-as=/home/seurer/binutils/install/binutils-2.26/bin/as
--with-ld=/home/seurer/binutils/install/binutils-2.26/bin/ld
Thread model: posix
gcc version 9.0.0 20181026 (experimental) [trunk revision 265522] (GCC) 
COLLECT_GCC_OPTIONS='-fdiagnostics-color=never' '-v' '-B'
'/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../'
'-fno-diagnostics-show-caret' '-fno-diagnostics-show-line-numbers'
'-nostdinc++' '-I'
'/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu'
'-I'
'/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include'
'-I' '/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++' '-I'
'/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward' '-I'
'/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util' '-fmessage-length=0'
'-std=c++14' '-O2' '-ftree-vectorize' '-fvect-cost-model=unlimited' '-maltivec'
'-mvsx' '-mno-allow-movmisalign' '-fdump-tree-slp-details' '-ffast-math' '-E'
'-o' './slp-pr8105.i' '-shared-libgcc' '-mcpu=power7'
 /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../cc1plus -E -quiet
-nostdinc++ -v -I
/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I
/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I /home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++ -I
/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward -I
/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -iprefix
/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/
-isystem /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../include
-isystem /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../include-fixed
-D_GNU_SOURCE -D__unix__ -D__gnu_linux__ -D__linux__ -Asystem=linux
-Asystem=unix -Asystem=posix
/home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/vect/slp-pr87105.cc -o
./slp-pr8105.i -maltivec -mvsx -mno-allow-movmisalign -mcpu=power7 -std=c++14
-fdiagnostics-color=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fmessage-length=0 -ftree-vectorize
-fvect-cost-model=unlimited -fdump-tree-slp-details -ffast-math -O2
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/include"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/include-fixed"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/../../../../powerpc64-unknown-linux-gnu/include"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/../../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/include"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/../../include"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/../../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/include-fixed"
ignoring nonexistent directory
"/home/seurer/gcc/build/gcc-test/gcc/../lib/gcc/../../lib/gcc/powerpc64-unknown-linux-gnu/9.0.0/../../../../powerpc64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu

/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
 /home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++
 /home/seurer/gcc/gcc-test/libstdc++-v3/include/backw

[Bug testsuite/87802] [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

--- Comment #6 from seurer at gcc dot gnu.org ---
Created attachment 44931
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44931=edit
preprocessed source

[Bug testsuite/87802] [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

--- Comment #5 from seurer at gcc dot gnu.org ---
Created attachment 44930
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44930=edit
intermediate text

[Bug testsuite/87802] [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

--- Comment #4 from seurer at gcc dot gnu.org ---
Created attachment 44929
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44929=edit
assembler

[Bug other/87802] New: [9 regression] g++.dg/vect/slp-pr87105.cc fails starting with r265522

2018-10-29 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87802

Bug ID: 87802
   Summary: [9 regression] g++.dg/vect/slp-pr87105.cc fails
starting with r265522
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I am seeing this just on power 6 and 7 BE.


testgcc: Tried 265522
  testgcc: make -k check-gcc RUNTESTFLAGS=vect.exp=g++.dg/vect/slp-pr87105.cc


FAIL: g++.dg/vect/slp-pr87105.cc  -std=c++14  scan-tree-dump-times slp2 "basic
block part vectorized" 1
FAIL: g++.dg/vect/slp-pr87105.cc  -std=c++14  scan-tree-dump slp2
"vect_iftmp[^\rm]* = MIN"
FAIL: g++.dg/vect/slp-pr87105.cc  -std=c++17  scan-tree-dump-times slp2 "basic
block part vectorized" 1
FAIL: g++.dg/vect/slp-pr87105.cc  -std=c++17  scan-tree-dump slp2
"vect_iftmp[^\rm]* = MIN"

[Bug other/87755] [9 regression] ERROR: couldn't compile regular expression pattern: quantifier operand invalid

2018-10-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87755

--- Comment #1 from seurer at gcc dot gnu.org ---
Note: This happens during a make check.

This may be more of the error output:

ERROR: tcl error sourcing
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/lto/lto.exp.
ERROR: couldn't compile regular expression pattern: quantifier operand invalid
while executing
"regsub -all $pat $text "\n" text"
(procedure "lto_handle_diagnostics_for_file" line 28)
invoked from within
"lto_handle_diagnostics_for_file $testcase $src  ${dg-messages} $text"
(procedure "lto_handle_diagnostics" line 15)
invoked from within
"lto_handle_diagnostics $comp_output"
(procedure "lto-link-and-maybe-run" line 47)
invoked from within
"lto-link-and-maybe-run  "[lindex $obj_list 0]-[lindex $obj_list end]" 
$obj_list $execname $filtered ${dg-extra-ld-options}  $filtered"
(procedure "lto-execute" line 142)
invoked from within
"lto-execute $src $sid"
("foreach" body line 7)
invoked from within
"foreach src [lsort [find $srcdir/$subdir *_0.\[cC\]]] {
# If we're only testing specific files and this isn't one of them, skip it.
if ![runte..."
(file "/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/lto/lto.exp" line
51)
invoked from within
"source /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/lto/lto.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/lto/lto.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""

[Bug other/87755] New: [9 regression] ERROR: couldn't compile regular expression pattern: quantifier operand invalid

2018-10-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87755

Bug ID: 87755
   Summary: [9 regression] ERROR: couldn't compile regular
expression pattern: quantifier operand invalid
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

These errors started showing up in builds today somewhere in r265483 or r265484

ERROR: couldn't compile regular expression pattern: quantifier operand invalid
ERROR: tcl error sourcing
/home/gccbuild/gcc_trunk_anonsvn/gcc/gcc/testsuite/g++.dg/lto/lto.exp.

I am not sure exactly where they are coming out as the text is commingled with
other text.  It happening on at least all the powerpc64 targets and x86 ones
too.


r265484 | hubicka | 2018-10-25 07:18:28 -0500 (Thu, 25 Oct 2018) | 6 lines


* ipa-devirt.c (odr_types_equivalent_p): Do not ICE if one of types
is anonymous.
* g++.dg/lto/odr-1_0.C: New test.
* g++.dg/lto/odr-1_1.C: New test.


r265483 | thopre01 | 2018-10-25 05:35:21 -0500 (Thu, 25 Oct 2018) | 18 lines

dg-cmp-results: display NA->FAIL & NA->UNRESOLVED by default

Currently, dg-cmp-results will not print anything for a test that was
not run before, even if it is a FAIL or UNRESOLVED now. This means that
when contributing a code change together with a testcase in the same
commit one must run dg-cmp-results twice: once to check for regression
on a full testsuite run and once against the new testcase with -v -v.
This also prevents using dg-cmp-results on sum files generated with
test_summary since these would not contain PASS.

This patch changes dg-cmp-results to print NA->FAIL and NA->UNRESOLVED
changes by default.

2018-10-25  Thomas Preud'homme  

contrib/
* dg-cmp-results.sh: Print NA-FAIL and NA->UNRESOLVED changes at
default verbosity.

[Bug testsuite/86158] [9 regression] gcc.c-torture/unsorted/dump-noaddr.c.*i.lto-stream-out fails starting with 261546

2018-10-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86158

--- Comment #10 from seurer at gcc dot gnu.org ---
For a while the test case stopped failing (I don't know why but from the
results logs it was about 25 June this year around r262009) but just recently
it started again (sometime around r264987 on 6 October).

[Bug testsuite/87739] New: new test case gcc.dg/tree-ssa/pr84436-5.c fails with its introduction in r265463

2018-10-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87739

Bug ID: 87739
   Summary: new test case gcc.dg/tree-ssa/pr84436-5.c fails with
its introduction in r265463
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

In r265463

make -k check-gcc RUNTESTFLAGS=tree-ssa.exp=gcc.dg/tree-ssa/pr84436-5.c
FAIL: gcc.dg/tree-ssa/pr84436-5.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/pr84436-5.c execution test
FAIL: gcc.dg/tree-ssa/pr84436-5.c scan-tree-dump-times switchconv "40 *\\*" 1

I only saw this on powerpc64 but both LE and BE.  It worked fine on x86.

Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -O2 -fdump-tree-switchconv -fdump-tree-optimized 
-lm  -o ./pr84436-5.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fdump-tree-switchconv -fdump-tree-optimized -lm
-o ./pr84436-5.exe
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c: In
function 'foo':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:10:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:11:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:12:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:13:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:10:18:
warning: statement will never be executed [-Wswitch-unreachable]
FAIL: gcc.dg/tree-ssa/pr84436-5.c (test for excess errors)
Excess errors:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:10:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:11:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:12:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:13:5:
warning: case label value is less than minimum value for type
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c:10:18:
warning: statement will never be executed [-Wswitch-unreachable]

Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs::/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-trunk/./gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./isl/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
FAIL: gcc.dg/tree-ssa/pr84436-5.c execution test
gcc.dg/tree-ssa/pr84436-5.c: pattern found 0 times
FAIL: gcc.dg/tree-ssa/pr84436-5.c scan-tree-dump-times switchconv "40 *\\*" 1
PASS: gcc.dg/tree-ssa/pr84436-5.c scan-tree-dump-not optimized "switch"

[Bug other/87735] New: [9 regression] gcc.dg/tree-prof/time-profiler-1.c and -2.c and -3.c fail starting with 265454

2018-10-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87735

Bug ID: 87735
   Summary: [9 regression] gcc.dg/tree-prof/time-profiler-1.c and
-2.c and -3.c fail starting with 265454
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

> FAIL: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read 
> tp_first_run: 1" 1
> FAIL: gcc.dg/tree-prof/time-profiler-2.c scan-ipa-dump-times profile "Read 
> tp_first_run: 1" 2
> FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read 
> tp_first_run: 1" 1


Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-prof/time-profiler-1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -O2 -fdump-ipa-profile -fprofile-use -D_PROFILE_USE
 -lm  -o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc8/time-profiler-1.x02   
(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-prof/time-profiler-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fdump-ipa-profile -fprofile-use -D_PROFILE_USE
-lm -o /home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc8/time-profiler-1.x02
PASS: gcc.dg/tree-prof/time-profiler-1.c compilation,  -fprofile-use
-D_PROFILE_USE
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs::/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-trunk/./gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./isl/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/tree-prof/time-profiler-1.c execution,-fprofile-use
-D_PROFILE_USE
gcc.dg/tree-prof/time-profiler-1.c: pattern found 0 times
FAIL: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 1" 1
PASS: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 2" 1
PASS: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 3" 1

[Bug testsuite/87694] New: [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343

2018-10-22 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87694

Bug ID: 87694
   Summary: [9 regression] problem in g++.dg/concepts/memfun-err.C
starting with r263343
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Shouldn't this test case be a dg-compile and not a dg-run given it is looking
for compilation errors?

// { dg-do run { target c++17 } }
// { dg-options "-fconcepts" }


UNSUPPORTED: g++.dg/concepts/memfun-err.C  -std=gnu++98
UNSUPPORTED: g++.dg/concepts/memfun-err.C  -std=gnu++14
Executing on host:
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++1/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++1/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0 
-std=gnu++17 -fconcepts   
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs

-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs

-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libitm/
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libitm/.libs
-lm  -o ./memfun-err.exe(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++1/../../xg++
-B/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/g++1/../../
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-trunk/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++17 -fconcepts
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-B/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libitm/
-L/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libitm/.libs
-lm -o ./memfun-err.exe
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:27:8:
error: no declaration matches 'void S1::g2() requires (D)()'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:23:10:
note: candidate is: 'void S1::g2() requires (C)()'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:18:10:
note: 'struct S1' defined here
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C: In
function 'int main()':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:34:9:
error: no matching function for call to 'S1::f1()'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:19:10:
note: candidate: 'void S1::f1() requires (C)() [with T = int]'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:19:10:
note:   constraints not satisfied
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:6:16:
note: within 'template concept bool C() [with T = int]'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:6:16:
note:   'int' is not a class
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:35:9:
error: no matching function for call to 'S1::g1()'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:20:10:
note: candidate: 'void S1::g1() requires (C)() and true [with T = int]'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:20:10:
note:   constraints not satisfied
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:6:16:
note: within 'template concept bool C() [with T = int]'
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:6:16:
note:   'int' is not a class
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/concepts/memfun-err.C:36:10:
error: no matching function for call to 'S1::h1(int)'
/home/seurer/gcc/gcc-trunk/gcc/testsu

[Bug bootstrap/87640] [9 regression] internal compiler error: in check, at tree-vrp.c:155

2018-10-19 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87640

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #5 from seurer at gcc dot gnu.org ---
FYI:  The revision that causes this is r265241 which was by Aldy (who has
already claimed this).

It also causes the bzip2 test in spec 2006 to fail in the same way.

[Bug tree-optimization/87562] [9 Regression] ICE in in linemap_position_for_line_and_column, at libcpp/line-map.c:848

2018-10-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87562

--- Comment #8 from seurer at gcc dot gnu.org ---
Build successes for intrate: 502.gcc_r(base)
Build errors for intrate: None

It now works with your fix, thanks!

[Bug c++/87643] [9 regression] ICE at dbxout.c:508:1: linemap_position_for_line_and_column starting with r264887

2018-10-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87643

--- Comment #2 from seurer at gcc dot gnu.org ---
Sorry for the duplicate.  I am not having much success with searches lately...

[Bug c++/87643] New: [9 regression] ICE at dbxout.c:508:1: linemap_position_for_line_and_column starting with r264887

2018-10-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87643

Bug ID: 87643
   Summary: [9 regression] ICE at dbxout.c:508:1:
linemap_position_for_line_and_column starting with
r264887
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This error occurs in compiling the 502.gcc_r and 602.gcc_r parts of SPEC2017. 
I've only tried it on powerpc64le.

seurer@genoa:~/gcc/cpu2017/benchspec/CPU/502.gcc_r/build/build_base_test_64.0001$
/home/seurer/gcc/install/gcc-test/bin/gcc -c -o dbxout.o -DSPEC -DNDEBUG -I.
-I./include -I./spec_qsort -DSPEC_502 -DSPEC_AUTO_SUPPRESS_OPENMP -DIN_GCC
-DHAVE_CONFIG_H  -m64 -O3 -mcpu=power8 -fpeel-loops -funroll-loops -ffast-math
-mpopcntd -mrecip-DSPEC_LP64 -Wno-deprecated-declarations  
-fgnu89-inline  dbxout.c
during GIMPLE pass: printf-return-value
dbxout.c: In function 'dbxout_stab_value_internal_label':
dbxout.c:508:1: internal compiler error: in
linemap_position_for_line_and_column, at libcpp/line-map.c:848
508 | dbxout_stab_value_internal_label (const char *stem, int *counterp)
| ^~~~
0x116070af linemap_position_for_line_and_column(line_maps*, line_map_ordinary
const*, unsigned int, unsigned int)
/home/seurer/gcc/gcc-test/libcpp/line-map.c:848
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


Breakpoint 1, linemap_position_for_line_and_column (set=0x3fffb7f7,
ord_map=0x3fffb5c5eb68, line=124, column=23) at
/home/seurer/gcc/gcc-test/libcpp/line-map.c:848
848   linemap_assert (ORDINARY_MAP_STARTING_LINE_NUMBER (ord_map) <= line);
(gdb) where
#0  linemap_position_for_line_and_column (set=0x3fffb7f7,
ord_map=0x3fffb5c5eb68, line=124, column=23) at
/home/seurer/gcc/gcc-test/libcpp/line-map.c:848
#1  0x115ddafc in get_substring_ranges_for_loc (pfile=0x12003e20,
concats=0x3fffb5cc, strloc=, type=CPP_STRING, ranges=...)
at /home/seurer/gcc/gcc-test/gcc/input.c:1465
#2  0x115de88c in get_source_location_for_substring (pfile=0x12003e20,
concats=0x3fffb5cc, strloc=, type=,
caret_idx=, 
start_idx=, end_idx=, out_loc=0x3fffe2c0)
at /home/seurer/gcc/gcc-test/gcc/input.c:1517
#3  0x102db7ac in c_get_substring_location (substr_loc=...,
out_loc=) at
/home/seurer/gcc/gcc-test/gcc/c-family/c-common.c:867
#4  0x10a1701c in substring_loc::get_location (out_loc=0x3fffe2c0,
this=0x3fffe480) at /home/seurer/gcc/gcc-test/gcc/substring-locations.c:284
#5  format_string_diagnostic_t::emit_warning_n_va (this=0x3fffe360,
opt=, n=0, 
singular_gmsgid=0x11b7ace0 "%<%.*s%> directive writing likely %wu or more
bytes into a region of size %wu", 
plural_gmsgid=0x11b7ace0 "%<%.*s%> directive writing likely %wu or more
bytes into a region of size %wu", ap=0x3fffe388)
at /home/seurer/gcc/gcc-test/gcc/substring-locations.c:156
#6  0x11434bec in (anonymous namespace)::fmtwarn (fmt_loc=...,
param_loc=0, corrected_substring=0x0, opt=, 
gmsgid=0x11b7ace0 "%<%.*s%> directive writing likely %wu or more bytes into
a region of size %wu", corrected_substring=0x0)
at /home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:472
#7  0x11437b2c in (anonymous namespace)::maybe_warn (dir=..., dir=...,
res=..., avail_range=, info=..., argloc=0, dirloc=...)
at /home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:2593
#8  (anonymous namespace)::format_directive (info=..., res=0x3fffe748,
dir=..., vr_values=0x12483fc0) at
/home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:2822
#9  0x1143b654 in (anonymous
namespace)::sprintf_dom_walker::compute_format_length (res=0x3fffe748,
info=..., this=0x3fffea00)
at /home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:3502
#10 (anonymous namespace)::sprintf_dom_walker::handle_gimple_call
(this=0x3fffea00, gsi=0x3fffe930) at
/home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:3988
#11 0x1143cbac in (anonymous
namespace)::sprintf_dom_walker::before_dom_children (this=0x3fffea00,
bb=)
at /home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:4027
#12 0x113e1300 in dom_walker::walk (this=0x3fffea00,
bb=0x3fffb5eb8a88) at /home/seurer/gcc/gcc-test/gcc/domwalk.c:353
#13 0x1143481c in (anonymous namespace)::pass_sprintf_length::execute
(this=, fun=0x3fffadc8a3a0)
at /home/seurer/gcc/gcc-test/gcc/gimple-ssa-sprintf.c:4053
#14 0x108e79f4 in execute_one_pass (pass=0x1202f4d0) at
/home/seurer/gcc/gcc-test/gcc/passes.c:2428
#15 0x108e8b24 in execute_pass_list_1 (pass=0x1202f4d0) at
/home/seu

[Bug testsuite/87617] New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from seurer at gcc dot gnu.org ---
yes it was

[Bug testsuite/87617] New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617

--- Comment #1 from seurer at gcc dot gnu.org ---
Maybe fixed by r265175?

[Bug testsuite/87617] New: New test case gfortran.dg/inline_matmul_24.f90 from r265126 doesn't work quite right

2018-10-15 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87617

Bug ID: 87617
   Summary: New test case gfortran.dg/inline_matmul_24.f90 from
r265126 doesn't work quite right
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

New failures (update from 265123 to 265135):
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O0   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O1   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O2   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O3 -g   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1
UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -Os   scan-tree-dump-times
optimized "gamma5[__var_1_do * 4 + __var_2_do]" 1


It looks like the dump files are not being created.  Missing option(s) perhaps?


spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran6/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran6/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/inline_matmul_24.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O1 -ffrontend-optimize -fdump-tree-original
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./inline_matmul_24.exe
PASS: gfortran.dg/inline_matmul_24.f90   -O1  (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:.:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libsanitizer/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libssp/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libgomp/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libitm/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libatomic/.libs:/home/seurer/gcc/build/gcc-test2/./gcc:/home/seurer/gcc/build/gcc-test2/./prev-gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/

[Bug target/87579] New: new powerpc64 sse3 test cases in r264992 have compilation failures

2018-10-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87579

Bug ID: 87579
   Summary: new powerpc64 sse3 test cases in r264992 have
compilation failures
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

> FAIL: gcc.target/powerpc/pr37191.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-addsubpd.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-addsubps.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-haddpd.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-haddps.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-hsubpd.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-hsubps.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-lddqu.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-movddup.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-movshdup.c (test for excess errors)
> FAIL: gcc.target/powerpc/sse3-movsldup.c (test for excess errors)

Examples:

In file included from
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.target/powerpc/sse3-check.h:47,
  from
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c:9:
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.target/powerpc/m128-check.h:74:3:
error: conflicting types for 'union128'

/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.target/powerpc/sse3-check.h:58:1:
error: redefinition of 'do_test'
In file included from
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.target/powerpc/sse3-movddup.c:9:

[Bug fortran/87577] New: [9 regression] hundreds of fortran test case failures starting with revision r264990

2018-10-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87577

Bug ID: 87577
   Summary: [9 regression] hundreds of fortran test case failures
starting with revision r264990
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This revision is causing hundreds of test case failures.  They all seem to be
like this:

Executing on host:
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran1/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran1/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never-O  -std=f95 -fmax-errors=100 -S -o
argument_checking_11.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran1/../../gfortran
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran1/../../
-B/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -std=f95 -fmax-errors=100 -S -o
argument_checking_11.s
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:134:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:135:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:139:15:
Error: The upper bound in the last dimension must appear in the reference to
the assumed size array 'c' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:141:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:142:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:144:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:145:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:148:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:149:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:150:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:151:15:
Error: Fortran 2003: Scalar CHARACTER actual argument with array dummy argument
'a' at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:160:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:161:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:162:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:163:16:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:164:16:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:165:16:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:166:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:167:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:168:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg/argument_checking_11.f90:169:15:
Error: Substring reference of nonscalar not permitted at (1)
/home/seurer/gcc/gcc-test/gcc/testsuite/gfortran.dg

[Bug testsuite/87557] New: New test case g++.dg/ext/pr82625.C doesn't compile

2018-10-08 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87557

Bug ID: 87557
   Summary: New test case g++.dg/ext/pr82625.C doesn't compile
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/g++/../../
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++11 -O2 -fdump-tree-optimized -S -o pr82625.s

/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:11:51: error:
__attribute__((__target__('avx'))) is invalid
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:11:17: error:
redefinition of 'unsigned int foo(const char*, unsigned int)'
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:6:17: note:
'unsigned int foo(const char*, unsigned int)' previously defined here
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:26:14: error:
__attribute__((__target__('avx'))) is invalid
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:26:10: error:
redefinition of 'unsigned int bar()'
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:16:10: note:
'unsigned int bar()' previously defined here

compiler exited with status 1
FAIL: g++.dg/ext/pr82625.C  -std=gnu++11 (test for excess errors)

Excess errors:
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:11:51: error:
__attribute__((__target__('avx'))) is invalid
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:11:17: error:
redefinition of 'unsigned int foo(const char*, unsigned int)'
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:26:14: error:
__attribute__((__target__('avx'))) is invalid
/home/seurer/gcc/gcc-test2/gcc/testsuite/g++.dg/ext/pr82625.C:26:10: error:
redefinition of 'unsigned int bar()'

[Bug testsuite/87487] New test case gfortran.dg/deferred_character_24.f90 in r264721 fails on big endian

2018-10-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87487

--- Comment #5 from seurer at gcc dot gnu.org ---
I tried it on a powerpc64 BE machine and it worked there too.

[Bug testsuite/87486] [9 regression] gcc.target/powerpc/undef-bool-2.c fails starting with r264335

2018-10-04 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87486

--- Comment #2 from seurer at gcc dot gnu.org ---
Author: seurer
Date: Thu Oct  4 15:05:32 2018
New Revision: 264847

URL: https://gcc.gnu.org/viewcvs?rev=264847=gcc=rev
Log:
[PATCH, rs6000] Fix expected error output for test case.

r264355 removed some spelling suggestions including for "bool" as used
in this test case.

Bootstrapped and tested on powerpc64le-unknown-linux-gnu and
powerpc64be-unknown-linux-gnu with no regressions.  Is this ok for trunk?

2018-10-04  Bill Seurer  

PR target/87486
* gcc.target/powerpc/undef-bool-2.c: Fix expected error output.

Index: gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
===
--- gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (revision 264812)
+++ gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (working copy)
@@ -9,7 +9,7 @@

 #include 

-bool foo (int x) /* { dg-error "unknown type name 'bool'; did you mean
'_Bool'?" } */
+bool foo (int x) /* { dg-error "unknown type name 'bool'" } */
 {
   return x == 2;
 }


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c

  1   2   3   4   >