[Bug testsuite/96212] new test case libgomp.fortran/alloc-3.F fails in r11-2101

2020-07-15 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96212

--- Comment #1 from Bill Seurer  ---
After running on a few more machines this appears to be a BE only issue.

[Bug testsuite/96212] New: new test case libgomp.fortran/alloc-3.F fails in r11-2101

2020-07-15 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96212

Bug ID: 96212
   Summary: new test case libgomp.fortran/alloc-3.F fails in
r11-2101
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:fff15bad1ab571906c37b88380431768d917dcb0, r11-2101 

make -k check-target-libgomp RUNTESTFLAGS=fortran.exp=libgomp.fortran/alloc-3.F

FAIL: libgomp.fortran/alloc-3.F   -O  execution test

# of expected passes1
# of unexpected failures1


spawn [open ...]
STOP 4
FAIL: libgomp.fortran/alloc-3.F   -O  execution test
testcase
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.fortran/fortran.exp
completed in 1 seconds

[Bug libgomp/96198] new test case libgomp.c/loop-21.c in r11-2077

2020-07-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96198

Bill Seurer  changed:

   What|Removed |Added

  Build||powerpc64*-linux-gnu
   Host||powerpc64*-linux-gnu
 Target||powerpc64*-linux-gnu

--- Comment #1 from Bill Seurer  ---
Note: failed on powerpc64 both BE and LE

[Bug libgomp/96198] New: new test case libgomp.c/loop-21.c in r11-2077

2020-07-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96198

Bug ID: 96198
   Summary: new test case libgomp.c/loop-21.c in r11-2077
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgomp
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
CC: jakub at gcc dot gnu.org
  Target Milestone: ---

g:f418bd4b92a03ee0ec0fe4cfcd896e86e11ac2cf, r11-2077 

PASS: libgomp.c/loop-21.c (test for excess errors)
. . .
Execution timeout is: 300
spawn [open ...]
FAIL: libgomp.c/loop-21.c execution test

Running it in gdb shows:

(gdb) where
#0  0x3fffb7c0258c in __GI_raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
#1  0x3fffb7c04778 in __GI_abort () at abort.c:90
#2  0x10003548 in .main._omp_fn.4 ()
#3  0x3fffb7e36588 in .gomp_thread_start () from
/home/seurer/gcc/install/gcc-7.4.0/lib64/libgomp.so.1
#4  0x3fffb7dccafc in start_thread (arg=0x3fffad21f130) at
pthread_create.c:309
#5  0x3fffb7ce6f4c in .__clone () at
../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:104

[Bug testsuite/96098] New: [11 regression] gcc.dg/vect/bb-slp-pr68892.c fails since r11-205

2020-07-07 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96098

Bug ID: 96098
   Summary: [11 regression] gcc.dg/vect/bb-slp-pr68892.c fails
since r11-205
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:bc484e250990393e887f7239157cc85ce6fadcce, r11-205

make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr68892.c

FAIL: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump-times slp2 "Basic block will
be vectorized" 1
FAIL: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects 
scan-tree-dump-times 
slp2 "Basic block will be vectorized" 1

# of expected passes4
# of unexpected failures2

Seeing this on powerpc64 both BE and LE and on all power versions.

[Bug fortran/96041] [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792

2020-07-06 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041

--- Comment #5 from Bill Seurer  ---
It hits that breakpoints many times and for the first many it was always 0. 
Then I just let it run until it ICEd and backed up the call stack a bit.


Program received signal SIGSEGV, Segmentation fault.
0x106dcbd4 in free_st_labels (label=0x981) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
2662  free_st_labels (label->left);
(gdb) where
#0  0x106dcbd4 in free_st_labels (label=0x981) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
#1  0x106dcbe0 in free_st_labels (label=0x13492760) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
#2  0x106dcbe0 in free_st_labels (label=0x3fffb7e50a58 )
at /home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
#3  0x106dff28 in gfc_free_namespace (ns=0x13495ae0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4050
#4  0x106dda60 in gfc_free_symbol (sym=0x13493e40) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3084
#5  0x106ddc14 in gfc_release_symbol (sym=0x13493e40) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3125
#6  0x106dfa10 in free_sym_tree (sym_tree=0x13493e00) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3902
#7  0x106dfa00 in free_sym_tree (sym_tree=0x13493ac0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3900
#8  0x106df9f0 in free_sym_tree (sym_tree=0x13493fa0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3899
#9  0x106dfe90 in gfc_free_namespace (ns=0x1348f6b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4041
#10 0x106e0144 in gfc_symbol_done_2 () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4101
#11 0x1062536c in gfc_done_2 () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/misc.c:358
#12 0x1066cec8 in clean_up_modules (gsym=0x13490330) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6267
#13 0x1066d22c in translate_all_program_units
(gfc_global_ns_list=0x13477bf0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6330
#14 0x1066da84 in gfc_parse_file () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6546
#15 0x106f0488 in gfc_be_parse_file () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.c:212
#16 0x11248514 in compile_file () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:458
#17 0x1124d87c in do_compile () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:2307
#18 0x1124dda4 in toplev::main (this=0x3fffe910, argc=20,
argv=0x3fffed78) at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:2446
#19 0x124facf4 in main (argc=20, argv=0x3fffed78) at
/home/seurer/gcc/git/gcc-test/gcc/main.c:39

up a few times...

4050  free_st_labels (ns->st_labels);
(gdb) print ns->st_labels
$8 = (gfc_st_label *) 0x3fffb7e50a58 

[Bug target/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-07-03 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581

--- Comment #10 from Bill Seurer  ---
I think this will work but haven't had a chance to try it except on the one
power 7 system.

diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c
index 817a14c9c..37eb31222 100644
--- a/gcc/config/rs6000/rs6000-call.c
+++ b/gcc/config/rs6000/rs6000-call.c
@@ -12454,6 +12454,10 @@ altivec_init_builtins (void)
 = build_function_type_list (opaque_V4SI_type_node,
long_integer_type_node, pcvoid_type_node,
NULL_TREE);
+  tree v16qi_ftype_pcvoid
+= build_function_type_list (V16QI_type_node,
+pcvoid_type_node,
+NULL_TREE);
   tree v16qi_ftype_long_pcvoid
 = build_function_type_list (V16QI_type_node,
long_integer_type_node, pcvoid_type_node,
@@ -12856,7 +12860,7 @@ altivec_init_builtins (void)
  targetm.vectorize.builtin_mask_for_load.  */
   decl = add_builtin_function ("__builtin_altivec_mask_for_load",
-  v16qi_ftype_long_pcvoid,
+  v16qi_ftype_pcvoid,
   ALTIVEC_BUILTIN_MASK_FOR_LOAD,
   BUILT_IN_MD, NULL, NULL_TREE);
   TREE_READONLY (decl) = 1;

[Bug fortran/96041] New: [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792

2020-07-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041

Bug ID: 96041
   Summary: [11 regression] ICE in gfortran.dg/pr93423.f90 after
r11-1792
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:b88744905a46be44ffa3c57d46080f601ae832b8, r11-1792

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
exceptions_enabled44873.cc -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -S -o exceptions_enabled44873.s
FAIL: gfortran.dg/pr93423.f90   -O  (test for excess errors)
Excess errors:
f951: internal compiler error: Segmentation fault
0x10be671b crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328
0x103a6484 free_st_labels
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
0x103a648f free_st_labels
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
0x103a648f free_st_labels
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:2662
0x103afd63 gfc_free_namespace(gfc_namespace*)
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4044
0x103aff67 gfc_free_symbol(gfc_symbol*)
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3084
0x103b01af free_sym_tree
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3896
0x103b01a7 free_sym_tree
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3894
0x103b019f free_sym_tree
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:3893
0x103afcdb gfc_free_namespace(gfc_namespace*)
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4035
0x103b067b gfc_symbol_done_2()
/home/seurer/gcc/git/gcc-test/gcc/fortran/symbol.c:4095
0x1031f8cf gfc_done_2()
/home/seurer/gcc/git/gcc-test/gcc/fortran/misc.c:358
0x10345cdb clean_up_modules
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6267
0x10356413 translate_all_program_units
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6330
0x10356413 gfc_parse_file()
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6546
0x103c757f gfc_be_parse_file
/home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.c:212

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

=== gfortran Summary ===

# of expected passes2
# of unexpected failures2

[Bug tree-optimization/96037] New: [11 regression] ICE at tree-ssa-loop.c:414 after r11-1782

2020-07-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96037

Bug ID: 96037
   Summary: [11 regression] ICE at tree-ssa-loop.c:414 after
r11-1782
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:d5d9f7834ab809841c4ccc90bca74808b4bcaf8d, r11-1782

FAIL: libgomp.c++/../libgomp.c-c++-common/simd-15.c (internal compiler error)
FAIL: libgomp.c++/../libgomp.c-c++-common/simd-15.c (test for excess errors)
FAIL: libgomp.c/../libgomp.c-c++-common/simd-15.c (internal compiler error)
FAIL: libgomp.c/../libgomp.c-c++-common/simd-15.c (test for excess errors)


Executing on host: /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include  

/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/simd-15.c
  -B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp  -O2  
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/.libs
-lm  -o ./simd-15.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/simd-15.c
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-color=never -fopenmp -O2
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgomp/.libs
-lm -o ./simd-15.exe
during GIMPLE pass: vect
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/simd-15.c:
In function 'main':
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/simd-15.c:12:1:
internal compiler error: Segmentation fault
0x10b5873b crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328
0x10eb10c0 get_vectype_for_scalar_type(vec_info*, tree_node*, _slp_tree*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:10999
0x10eb10c0 vectorizable_shift
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:5404
0x10ece83b vect_transform_stmt(vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*, _slp_instance*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:10642
0x10ed4153 vect_transform_loop_stmt
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.c:8327
0x10eed06f vect_transform_loop(_loop_vec_info*, gimple*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.c:8730
0x10f1577f try_vectorize_loop_1
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:1053
0x10f1614f vectorize_loops()
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:1189
0x10d870a7 execute
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop.c:414
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: libgomp.c/../libgomp.c-c++-common/simd-15.c (internal compiler error)

[Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697

2020-06-30 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

--- Comment #1 from Bill Seurer  ---
Also these failures:

FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C  -std=gnu++14 (test for excess
errors)
FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C  -std=gnu++17 (test for excess
errors)
FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C  -std=gnu++2a (test for excess
errors)

[Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697

2020-06-30 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Bug ID: 96014
   Summary: [11 regression] g++.dg/analyzer/pr94028.C excess
errors starting with r11-1697
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:75ff24e1920ea6b198350a2961e23175e6108e75, r11-1697 

make -k check-gcc RUNTESTFLAGS=analyzer.exp=g++.dg/analyzer/pr94028.C

FAIL: g++.dg/analyzer/pr94028.C  -std=c++98 (test for excess errors)
FAIL: g++.dg/analyzer/pr94028.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/analyzer/pr94028.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/analyzer/pr94028.C  -std=c++2a (test for excess errors)

Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/analyzer/pr94028.C:28:21:
warning: use of possibly-NULL '' where non-null expected [CWE-690]
[-Wanalyzer-possible-null-argument]

[Bug fortran/95919] New: new test base gfortran.dg/char4-subscript.f90 in r11-1654 fails on BE

2020-06-26 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95919

Bug ID: 95919
   Summary: new test base gfortran.dg/char4-subscript.f90 in
r11-1654 fails on BE
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:f48bffe70cba310461ec19ffcd07c573a6b86575, r11-1654

gfortran.dg/char4-subscript.f90 works fine on powerpc64 LE but fails on BE:

FAIL: gfortran.dg/char4-subscript.f90   -O0   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -O0   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6x01.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O0   scan-tree-dump original " 
\\(\\*var\\.str2\\)\\[1\\]{lb: 1 sz: 4} = .dx00x00.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O0   scan-tree-dump original " 
__builtin_memmove \\(\\(void \\*\\) &\\(\\*var.str2\\)\\[2\\]{lb: 1 sz: 4},
\\(void \\*\\) &.ex00x00x00fx00x00.\\[1\\]{lb: 1 sz: 4},
8\\);"
FAIL: gfortran.dg/char4-subscript.f90   -O1   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -O1   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6x01.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O1   scan-tree-dump original " 
\\(\\*var\\.str2\\)\\[1\\]{lb: 1 sz: 4} = .dx00x00.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O1   scan-tree-dump original " 
__builtin_memmove \\(\\(void \\*\\) &\\(\\*var.str2\\)\\[2\\]{lb: 1 sz: 4},
\\(void \\*\\) &.ex00x00x00fx00x00.\\[1\\]{lb: 1 sz: 4},
8\\);"
FAIL: gfortran.dg/char4-subscript.f90   -O2   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -O2   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6x01.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O2   scan-tree-dump original " 
\\(\\*var\\.str2\\)\\[1\\]{lb: 1 sz: 4} = .dx00x00.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O2   scan-tree-dump original " 
__builtin_memmove \\(\\(void \\*\\) &\\(\\*var.str2\\)\\[2\\]{lb: 1 sz: 4},
\\(void \\*\\) &.ex00x00x00fx00x00.\\[1\\]{lb: 1 sz: 4},
8\\);"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6x01.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   scan-tree-dump original " 
\\(\\*var\\.str2\\)\\[1\\]{lb: 1 sz: 4} = .dx00x00.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions   scan-tree-dump original " 
__builtin_memmove \\(\\(void \\*\\) &\\(\\*var.str2\\)\\[2\\]{lb: 1 sz: 4},
\\(void \\*\\) &.ex00x00x00fx00x00.\\[1\\]{lb: 1 sz: 4},
8\\);"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -g   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -g   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6x01.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -g   scan-tree-dump original " 
\\(\\*var\\.str2\\)\\[1\\]{lb: 1 sz: 4} = .dx00x00.\\[1\\]{lb: 1 sz:
4};"
FAIL: gfortran.dg/char4-subscript.f90   -O3 -g   scan-tree-dump original " 
__builtin_memmove \\(\\(void \\*\\) &\\(\\*var.str2\\)\\[2\\]{lb: 1 sz: 4},
\\(void \\*\\) &.ex00x00x00fx00x00.\\[1\\]{lb: 1 sz: 4},
8\\);"
FAIL: gfortran.dg/char4-subscript.f90   -Os   scan-tree-dump original " 
\\(\\*var.str2\\)\\[4\\]{lb: 1 sz: 4} = .x00xf6x01.\\[1\\]{lb: 1
sz: 4};"
FAIL: gfortran.dg/char4-subscript.f90   -Os   scan-tree-dump original " 
\\(\\*var.str2\\)\\[5\\]{lb: 1 sz: 4} = .bxf6

[Bug fortran/95877] [8/9 regression] ICE in test case gfortran.dg/pr95689.f90 after r9-8693

2020-06-25 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95877

Bill Seurer  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|WAITING |RESOLVED

--- Comment #3 from Bill Seurer  ---
Yup.  I saw them succeed on a round of testing this morning.

[Bug testsuite/95900] New: New test case gcc.dg/vect/bb-slp-pr95866.c in r11-1647 fails

2020-06-25 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95900

Bug ID: 95900
   Summary: New test case gcc.dg/vect/bb-slp-pr95866.c in r11-1647
fails
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:86ce59b4f05d8f68ec4d9a14a7732acb370412db, r11-1647

Saw this on powerpc64 both BE and LE.

make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr95866.c

FAIL: gcc.dg/vect/bb-slp-pr95866.c scan-tree-dump slp2 "BIT_FIELD_REF"
FAIL: gcc.dg/vect/bb-slp-pr95866.c -flto -ffat-lto-objects  scan-tree-dump slp2
"BIT_FIELD_REF"

# of expected passes4
# of unexpected failures2

[Bug tree-optimization/95897] New: [11 regression] gfortran.dg/graphite/pr40982.f90 fails with ICE starting with r11-1649

2020-06-25 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95897

Bug ID: 95897
   Summary: [11 regression]  gfortran.dg/graphite/pr40982.f90
fails with ICE starting with r11-1649
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:d2adb79eac663874593a28387db593fb4bb2995f, r11-1649

make -k check-gcc RUNTESTFLAGS=graphite.exp=gfortran.dg/graphite/pr40982.f90

FAIL: gfortran.dg/graphite/pr40982.f90   -O  (internal compiler error)
FAIL: gfortran.dg/graphite/pr40982.f90   -O  (test for excess errors)

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/graphite/pr40982.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -O3 -fgraphite-identity -floop-nest-optimize -S -o
pr40982.s
during GIMPLE pass: vect
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/graphite/pr40982.f90:17:0:
internal compiler error: in compute_live_loop_exits, at
tree-ssa-loop-manip.c:247
0x10deb517 compute_live_loop_exits
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop-manip.c:247
0x10deb517 add_exit_phis_var
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop-manip.c:334
0x10deb517 add_exit_phis
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop-manip.c:356
0x10deb517 rewrite_into_loop_closed_ssa_1(bitmap_head*, unsigned int, int,
loop*)
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop-manip.c:678
0x10f9d8c7 vectorize_loops()
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:1260
0x10e0f7a7 execute
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop.c:414

[Bug fortran/95877] New: gfortran.dg/pr95689.f90

2020-06-24 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95877

Bug ID: 95877
   Summary: gfortran.dg/pr95689.f90
   Product: gcc
   Version: 9.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:84323d9fa7526496d844f167f6353e0ec12279e8, r9-8693 

This same error occurs on both gcc 8 and 9.  Bad backport maybe?

commit 84323d9fa7526496d844f167f6353e0ec12279e8
Author: Harald Anlauf 
Date:   Sat Jun 20 16:09:45 2020 +0200

PR fortran/95689 - ICE in check_sym_interfaces, at fortran/interface.c:2015

With submodules, name mangling of interfaces may result in long internal
symbols overflowing an internal buffer.  We now check that we do not
exceed the enlarged buffer size.

gcc/fortran/
PR fortran/95689
* interface.c (check_sym_interfaces): Enlarge temporary buffer,
and add check on length on mangled name to prevent overflow.

(cherry picked from commit 62c0c0ea7bfb6f8f6b8d767b05120cafb6823da6)


Executing on host:
/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-9-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-9-test/gcc/testsuite/gfortran.dg/pr95689.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never-O  -fsecond-underscore -S -o pr95689.s   
(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-9-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-9-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-9-test/gcc/testsuite/gfortran.dg/pr95689.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -fsecond-underscore -S -o pr95689.s
f951: internal compiler error: Segmentation fault
0x1090cd5b crash_signal
/home/seurer/gcc/git/gcc-9-test/gcc/toplev.c:326
gfortran: internal compiler error: Segmentation fault signal terminated program
f951

Unfortunately the traceback in gdb isn't much help:

Program received signal SIGSEGV, Segmentation fault.
0x3930313233343534 in ?? ()
(gdb) where
#0  0x3930313233343534 in ?? ()
#1  0x3930313233343536 in ?? ()
Cannot access memory at address 0x3334353637383940

[Bug fortran/95850] New: [11 regression] gfortran.fortran-torture/execute/forall_5.f90 fails starting with r11-r11-1595

2020-06-23 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95850

Bug ID: 95850
   Summary: [11 regression]
gfortran.fortran-torture/execute/forall_5.f90 fails
starting with r11-r11-1595
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:abcde0a658e17dbbabcb396eaae5a3612e07d401, r11-1595

make -k check-gcc
RUNTESTFLAGS=execute.exp=gfortran.fortran-torture/execute/forall_5.f90

FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O0 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O1 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O2 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O2
-fomit-frame-pointer -finline-functions 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O2
-fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O2
-fbounds-check 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -O3 -g 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution,  -Os 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution, -O2
-ftree-vectorize -maltivec 

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
vmx_hw_available69709.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -mno-vsx
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-lm -o vmx_hw_available69709.exe
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../..:.:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs:/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../..:/home/seurer/gcc/git/build/gcc-test/./gmp/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-gmp/.libs:/home/seurer/gcc/git/build/gcc-test/./mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test/./mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test/./isl/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.4.0/lib64
Execution timeout is: 300
spawn [open ...]
Executing on host:
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.fortran-torture/execute/forall_5.f90
   -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -w  -O0  
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home

[Bug middle-end/95757] New: [11 regression] missing warning in gcc.dg/Wstringop-overflow-25.c since r11-1517

2020-06-18 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95757

Bug ID: 95757
   Summary: [11 regression] missing warning in
gcc.dg/Wstringop-overflow-25.c since r11-1517
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:5acc654e380797bbf402bc3a0a67f9a6ac4c2a83, r11-1517

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O2 -Wall -Wno-array-bounds
-ftrack-macro-expansion=0 -S -o Wstringop-overflow-25.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c: In
function 'test_strcpy_alloca':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:46:3:
warning: '__builtin_memcpy' writing 2 bytes into a region of size between 0 and
1 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:46:3:
note: at offset 0 to an object with size at most 1 allocated by 'alloca' here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:50:3:
warning: '__builtin_memcpy' writing 3 bytes into a region of size between 1 and
2 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:50:3:
note: at offset 0 to an object with size between 1 and 2 allocated by 'alloca'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:54:3:
warning: '__builtin_memcpy' writing 4 bytes into a region of size between 2 and
3 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:54:3:
note: at offset 0 to an object with size between 2 and 3 allocated by 'alloca'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:55:3:
warning: '__builtin_memcpy' writing 10 bytes into a region of size between 2
and 3 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:55:3:
note: at offset 0 to an object with size between 2 and 3 allocated by 'alloca'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c: In
function 'test_strcpy_calloc':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:96:3:
warning: '__builtin_memcpy' writing 3 bytes into a region of size between 1 and
2 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:96:3:
note: at offset 0 to an object with size between 1 and 2 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:99:3:
warning: '__builtin_memcpy' writing 4 bytes into a region of size between 2 and
3 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:99:3:
note: at offset 0 to an object with size between 2 and 3 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:103:3:
warning: '__builtin_memcpy' writing 3 bytes into a region of size between 1 and
2 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:103:3:
note: at offset 0 to an object with size between 1 and 2 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:106:3:
warning: '__builtin_memcpy' writing 4 bytes into a region of size between 2 and
3 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:106:3:
note: at offset 0 to an object with size between 2 and 3 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:112:3:
warning: '__builtin_memcpy' writing 5 bytes into a region of size between 2 and
4 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:112:3:
note: at offset 0 to an object with size between 2 and 4 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:118:3:
warning: '__builtin_memcpy' writing 7 bytes into a region of size between 4 and
6 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:118:3:
note: at offset 0 to an object with size between 4 and 6 allocated by 'calloc'
here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:124:3:
warning: '__builtin_memcpy' writing 5 bytes into a region of size between 2 and
4 [-Wstringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/Wstringop-overflow-25.c:124:3:
note: at offset 0 to an object with size between 2 and 4 allocated

[Bug bootstrap/95734] New: [11 regression] lots of ICEs after r11-1445

2020-06-17 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95734

Bug ID: 95734
   Summary: [11 regression] lots of ICEs after r11-1445
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:502d63b6d6141597bb18fd23c87736a1b384cf8f, r11-1445

This also appears to break bootstrap for powerpc64

> FAIL: gcc.dg/vmx/5-11.c   -O0  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O0  (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -O1  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O1  (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -O2  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O2  (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  
> (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  
> (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/5-11.c   -Os  (internal compiler error)
> FAIL: gcc.dg/vmx/5-11.c   -Os  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O0  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O0  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O1  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O1  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O2  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O2  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/debug-4.c   -Os  (internal compiler error)
> FAIL: gcc.dg/vmx/debug-4.c   -Os  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O0  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O0  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O1  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O1  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -Os  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-f.c   -Os  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O0  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O0  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O1  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O1  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/gcc-bug-g.c   -Os  (internal compiler er

[Bug testsuite/95706] New test case gfortran.dg/pr95690.f90 fails

2020-06-17 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706

--- Comment #2 from Bill Seurer  ---
No idea, sorry.  Is that the problem?  Supposed to be an error but on a
different line?

[Bug testsuite/95716] New: g++.dg/ext/pr85503.C fails

2020-06-16 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95716

Bug ID: 95716
   Summary: g++.dg/ext/pr85503.C fails
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:92bed036098928cd4659c8990e14cf7ad040e0c2, r11-1350 

Note:  I only saw this on powerpc64 LE systems, not BE.

Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
 -std=gnu++14 -O2 -mvsx  -S -o pr85503.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++14 -O2 -mvsx -S -o pr85503.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C: In
instantiation of 'struct ad > >':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:58:33:  
required from 'class bf > >'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:121:32:  
required from 'class ap > >'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:201:41:  
required from here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:200:8: error:
'typedef class ai ai::cv' is private within this
context
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:141:14: note:
declared private here
compiler exited with status 1
Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
exceptions_enabled912718.cc-fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
 -S -o exceptions_enabled912718.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
exceptions_enabled912718.cc -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
-S -o exceptions_enabled912718.s
FAIL: g++.dg/ext/pr85503.C  -std=gnu++14 (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C:200:8: error:
'typedef class ai ai::cv' is private within this
context

Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/ext/pr85503.C   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/libstdc++-v3/i

[Bug testsuite/95706] New: New test case gfortran.dg/pr95690.f90 fails

2020-06-16 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706

Bug ID: 95706
   Summary: New test case gfortran.dg/pr95690.f90 fails
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:a97e49a89d11b302b12ec319a3316ba78adca02a, r11-1349 

Executing on host:
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95690.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never-O   -pedantic-errors -S
-o pr95690.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95690.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -pedantic-errors -S -o pr95690.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95690.f90:6:0: Error:
initializer for floating value is not a floating constant
compiler exited with status 1
FAIL: gfortran.dg/pr95690.f90   -O   (test for errors, line 5)
Executing on host:
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled590613.cc-fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -S -o exceptions_enabled590613.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled590613.cc -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -S -o exceptions_enabled590613.s
FAIL: gfortran.dg/pr95690.f90   -O  (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95690.f90:6:0: Error:
initializer for floating value is not a floating constant

[Bug tree-optimization/95662] [11 regression] ICE at gimple-expr.c:87 since r11-1146

2020-06-15 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95662

--- Comment #2 from Bill Seurer  ---
OK.  If you fix the other one I will try it and see if it fixes this, too.

[Bug tree-optimization/95649] [11 Regression] ICE during GIMPLE pass: cunroll since r11-1146-g1396fa5b91cfa0b3

2020-06-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95649

Bill Seurer  changed:

   What|Removed |Added

 CC||seurer at linux dot 
vnet.ibm.com

--- Comment #1 from Bill Seurer  ---
I am seeing something slightly different that started with the same revision on
powerpc64 as well.  It is preventing several of the spec2006 tests from
compiling.

See pr95662.

[Bug tree-optimization/95662] New: [11 regression] ICE at gimple-expr.c:87 since r11-1146

2020-06-12 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95662

Bug ID: 95662
   Summary: [11 regression] ICE at gimple-expr.c:87 since r11-1146
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:1396fa5b91cfa0b3708ec9df33c0bb84386081d6, r11-1146

Note:  this may be related to pr95649.

I am seeing this on powerpc64 when building two of the spec2006 test cases,
454.calculix and 465.tonto.

[spectester@tulibee build_base_ppc64.]$
/opt/gcc-spec-nightly/trunk/bin/gfortran -c -o dgesv.o -ISPOOLES -O2 -m64
-mcpu=power8 dgesv.f
during GIMPLE pass: cunroll
dgesv.f:559:0:

  559 |   SUBROUTINE DLASWP( N, A, LDA, K1, K2, IPIV, INCX )
  | 
internal compiler error: tree check: expected class 'type', have 'exceptional'
(error_mark) in useless_type_conversion_p, at gimple-expr.c:87
0x102172fb tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree.c:9738
0x1074f6f3 tree_class_check
/home/spectester/gcc_trunk_git/gcc/gcc/tree.h:3419
0x1074f6f3 useless_type_conversion_p(tree_node*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/gimple-expr.c:87
0x117eed13 chrec_convert_1
/home/spectester/gcc_trunk_git/gcc/gcc/tree-chrec.c:1435
0x117f3bcf chrec_apply(unsigned int, tree_node*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree-chrec.c:622
0x10ccdfb3 compute_overall_effect_of_inner_loop(loop*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:471
0x10ccb643 analyze_scalar_evolution_1
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:1960
0x10ccc6db analyze_scalar_evolution(loop*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2038
0x10ccd66b instantiate_scev_name
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2335
0x10ccd66b instantiate_scev_r
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2638
0x10ccd2a3 instantiate_scev_binary
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2467
0x10ccd2a3 instantiate_scev_r
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2654
0x10ccd0b7 instantiate_scev_poly
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2412
0x10ccd0b7 instantiate_scev_r
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2643
0x10ccddbb instantiate_scev(edge_def*, loop*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.c:2719
0x10d9e783 instantiate_parameters
/home/spectester/gcc_trunk_git/gcc/gcc/tree-scalar-evolution.h:63
0x10d9e783 idx_infer_loop_bounds
/home/spectester/gcc_trunk_git/gcc/gcc/tree-ssa-loop-niter.c:3612
0x10dafbdb for_each_index(tree_node**, bool (*)(tree_node*, tree_node**,
void*), void*)
/home/spectester/gcc_trunk_git/gcc/gcc/tree-ssa-loop.c:622
0x10d9ba73 infer_loop_bounds_from_ref
/home/spectester/gcc_trunk_git/gcc/gcc/tree-ssa-loop-niter.c:3688
0x10d9ba73 infer_loop_bounds_from_array
/home/spectester/gcc_trunk_git/gcc/gcc/tree-ssa-loop-niter.c:3709
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.

[Bug bootstrap/95628] [11 regression] ICE in gcc build after r11-1181

2020-06-10 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95628

Bill Seurer  changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu.org
  Build||powerpc64*-linux-gnu
   Host||powerpc64*-linux-gnu
 Target||powerpc64*-linux-gnu

--- Comment #1 from Bill Seurer  ---
commit 371cc683371bedb0e53ebcee0c0e89604a1e74b1
Author: Richard Biener 
Date:   Wed Jun 10 18:07:37 2020 +0200

avoid stmt-info allocation for debug stmts

The following avoids allocating stmt info structs for debug stmts.

2020-06-10  Richard Biener  

* tree-vect-loop.c (vect_determine_vectorization_factor):
Skip debug stmts.
(_loop_vec_info::_loop_vec_info): Likewise.
(vect_update_vf_for_slp): Likewise.
(vect_analyze_loop_operations): Likewise.
(update_epilogue_loop_vinfo): Likewise.
* tree-vect-patterns.c (vect_determine_precisions): Likewise.
(vect_pattern_recog): Likewise.
* tree-vect-slp.c (vect_detect_hybrid_slp): Likewise.
(_bb_vec_info::_bb_vec_info): Likewise.
* tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized):
Likewise.

[Bug bootstrap/95628] New: [11 regression] ICE in gcc build after r11-1181

2020-06-10 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95628

Bug ID: 95628
   Summary: [11 regression] ICE in gcc build after r11-1181
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:371cc683371bedb0e53ebcee0c0e89604a1e74b1, r11-1181

This appears to affect at the least all powerpc64 and AIX builds.  Even basic
non-bootstrap ones.

libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I/home/seurer/gcc/git/gcc-test/libgfortran
-iquote/home/seurer/gcc/git/gcc-test/libgfortran/io
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc/config
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libquadmath -I../.././gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libgcc -I../libgcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libbacktrace -I../libbacktrace
-I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops
--param max-unroll-times=4 -g -O2 -MT matmul_i1.lo -MD -MP -MF
.deps/matmul_i1.Tpo -c
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c  -fPIC -DPIC -o
.libs/matmul_i1.o
during GIMPLE pass: vect
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c: In function
'matmul_i1':
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c:2446:1:
internal compiler error: Segmentation fault
 2446 | matmul_i1 (gfc_array_i1 * const restrict retarray,
  | ^
0x10b4cd3b crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328
0x10ffa2e0 rs6000_density_test
/home/seurer/gcc/git/gcc-test/gcc/config/rs6000/rs6000.c:4992
0x10ffa2e0 rs6000_finish_cost
/home/seurer/gcc/git/gcc-test/gcc/config/rs6000/rs6000.c:5102
0x10edce43 finish_cost
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.h:1400
0x10edce43 vect_compute_single_scalar_iteration_cost
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.c:1134
0x10edce43 vect_analyze_loop_2
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.c:2041
0x10edce43 vect_analyze_loop(loop*, vec_info_shared*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.c:2583
0x10f0511f try_vectorize_loop_1
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:894
0x10f05eaf vectorize_loops()
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:1128
0x10d7b6c7 execute
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-loop.c:414
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.
make[3]: *** [matmul_i1.lo] Error 1
make[3]: Leaving directory
`/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/seurer/gcc/git/build/gcc-test'
make: *** [all] Error 2

[Bug sanitizer/95617] [11 regression] many excess errors starting with r11-1117

2020-06-09 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95617

--- Comment #2 from Bill Seurer  ---
oops, thought I had included that:

wn-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-O0 -fsanitize=thread -c -O3 -fdump-tree-optimized -S -o inline.s^M
PASS: c-c++-common/tsan/inline.c   -O0  (test for excess errors)
c-c++-common/tsan/inline.c   -O0  : pattern found 0 times
FAIL: c-c++-common/tsan/inline.c   -O0   scan-tree-dump-times optimized
"Function do_not_sanitize" 1
Executing on host:
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++25/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++25/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/tsan/inline.c   
-fsanitize=thread -g -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 
 -O2  -fsanitize=thread -c -O3 -fdump-tree-optimized  -S -o inline.s   
(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++25/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++25/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/tsan/inline.c
-fsanitize=thread -g -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-O2 -fsanitize=thread -c -O3 -fdump-tree-optimized -S -o inline.s^M
PASS: c-c++-common/tsan/inline.c   -O2  (test for excess errors)
c-c++-common/tsan/inline.c   -O2  : pattern found 0 times
FAIL: c-c++-common/tsan/inline.c   -O2   scan-tree-dump-times optimized
"Function do_not_sanitize" 1
...etc...

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/ubsan/inline.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-std=gnu++98 -fsanitize=vla-bound -c -O3 -fdump-tree-optimized -S -o inline.s^M
PASS: c-c++-common/ubsan/inline.c  -std=gnu++98 (test for excess errors)
c-c++-common/ubsan/inline.c  -std=gnu++98 : pattern found 0 times
FAIL: c-c++-common/ubsan/inline.c  -std=gnu++98  scan-tree-dump-times optimized
"Function do_not_sanitize" 1
Executing on host:
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/ubsan/inline.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 
-std=gnu++14 -fsanitize=vla-bound -c -O3 -fdump-tree-optimized  -S -o inline.s 
  (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/ubsan/inline.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++

[Bug sanitizer/95617] New: [11 regression] many excess errors starting with r11-1117

2020-06-09 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95617

Bug ID: 95617
   Summary: [11 regression] many excess errors starting with
r11-1117
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
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: ---

g:4089df8ef4a63126b0774c39b6638845244c20d2, r11-1117

There are a whole bunch of these excess errors plus another bunch of scan tree
errors:

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++2/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++2/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/asan/inline-kernel.c
-fsanitize=address -g
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-O0 -fsanitize=kernel-address -c -O3 -fdump-tree-optimized -S -o
inline-kernel.s^M
cc1plus: error: '-fsanitize=address' is incompatible with
'-fsanitize=kernel-address'^M
compiler exited with status 1
FAIL: c-c++-common/asan/inline-kernel.c   -O0  (test for excess errors)
Excess errors:
cc1plus: error: '-fsanitize=address' is incompatible with
'-fsanitize=kernel-address'

> FAIL: c-c++-common/asan/inline-kernel.c   -O0  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O0  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O1  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O1  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O2 -flto -fuse-linker-plugin 
> -fno-fat-lto-objects  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O3 -g  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -O3 -g  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -Os  (test for excess errors)
> FAIL: c-c++-common/asan/inline-kernel.c   -Os  (test for excess errors)
> FAIL: c-c++-common/tsan/inline.c   -O0   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/tsan/inline.c   -O0   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/tsan/inline.c   -O2   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/tsan/inline.c   -O2   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -O0   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -O1   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -O2   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none   scan-tree-dump-times optimized "Function 
> do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -O3 -g   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c   -Os   scan-tree-dump-times optimized 
> "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c  -std=gnu++14  scan-tree-dump-times 
> optimized "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c  -std=gnu++17  scan-tree-dump-times 
> optimized "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c  -std=gnu++2a  scan-tree-dump-times 
> optimized "Function do_not_sanitize" 1
> FAIL: c-c++-common/ubsan/inline.c  -std=gnu++98  scan-tree-dump-times 
> optimized "Function do_not_sanitize" 1

[Bug tree-optimization/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-06-09 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581

--- Comment #6 from Bill Seurer  ---
I tried the patch and it allowed me to build gcc on a power7 system.

[Bug fortran/95595] [11 regression] ICE in building gcc after r11-959

2020-06-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95595

--- Comment #1 from Bill Seurer  ---
OK, this will also fails on an LE system if I use --with-cpu=power7

[Bug fortran/95595] New: [11 regression] ICE in building gcc after r11-959

2020-06-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95595

Bug ID: 95595
   Summary: [11 regression] ICE in building gcc after r11-959
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:b825a22890740f341eae566af27e18e528cd29a7, r11-959 and still occurring at
r11-1075

I see the following when doing a simple build (not even a bootstrap) of gcc on
power 7 BE or on a power 8 BE system when targeting power 7 via
--with-cpu=power7  (and only there).  Note that this completely prevents gcc
from being built on powerpc64 power 7 machines.

libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I/home/seurer/gcc/git/gcc-test/libgfortran
-iquote/home/seurer/gcc/git/gcc-test/libgfortran/io
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc/config
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libquadmath -I../.././gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libgcc -I../libgcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libbacktrace -I../libbacktrace
-I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops
--param max-unroll-times=4 -g -O2 -MT matmul_i1.lo -MD -MP -MF
.deps/matmul_i1.Tpo -c
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c  -fPIC -DPIC -o
.libs/matmul_i1.o
during GIMPLE pass: uninit
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c: In function
'matmul_i1':
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c:2446:1:
internal compiler error: in gimple_call_arg, at gimple.h:3260
 2446 | matmul_i1 (gfc_array_i1 * const restrict retarray,
  | ^
0x10e4f827 gimple_call_arg
/home/seurer/gcc/git/gcc-test/gcc/gimple.h:3260
0x10e4f827 gimple_call_arg
/home/seurer/gcc/git/gcc-test/gcc/gimple.h:3268
0x10e4f827 maybe_warn_pass_by_reference
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:505
0x10e4f827 warn_uninitialized_vars
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:631
0x10e55223 execute
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-uninit.c:2936
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.
make[3]: *** [matmul_i1.lo] Error 1
make[3]: Leaving directory
`/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/seurer/gcc/git/build/gcc-test'
make: *** [all] Error 2

[Bug bootstrap/95555] [11 regression] bootstrap build failure starting with r11-959

2020-06-05 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9

--- Comment #4 from Bill Seurer  ---
bootstrap works with that patch

[Bug bootstrap/95555] New: [11 regression] bootstrap build failure starting with r11-959

2020-06-05 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9

Bug ID: 9
   Summary: [11 regression] bootstrap build failure starting with
r11-959
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:b825a22890740f341eae566af27e18e528cd29a7, r11-959 

/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/xg++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/
-B/home/seurer/gcc/git/install/gcc-trunk-bootstrap/powerpc64-unknown-linux-gnu/bin/
-nostdinc++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu

-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libstdc++-v3/libsupc++
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
 -fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/.
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libcpp/include
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./gmp
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gmp
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./mpfr/src
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpfr/src
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpc/src 
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./isl/include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/isl/include  -o postreload.o -MT
postreload.o -MMD -MP -MF ./.deps/postreload.TPo
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/postreload.c
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/postreload.c: In function 'int
reload_cse_simplify_operands(rtx_insn*, rtx)':
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/postreload.c:629:5: error:
'*alternative_order' may be used uninitialized [-Werror=maybe-uninitialized]
  629 |   j = alternative_order[0];
  |   ~~^~
cc1plus: all warnings being treated as errors
make[3]: *** [postreload.o] Error 1

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #10 from Bill Seurer  ---
The combined patch cleans up the ICEs for both issues.

[Bug fortran/95537] [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

--- Comment #8 from Bill Seurer  ---
Nope, still fails.

[Bug fortran/95537] [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

--- Comment #7 from Bill Seurer  ---
I used the wrong patch file, sorry.

This patch did not apply cleanly to current trunk.

patching file gcc/fortran/decl.c
Hunk #2 FAILED at 4285.
1 out of 2 hunks FAILED -- saving rejects to file gcc/fortran/decl.c.rej

I will try those others.

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #8 from Bill Seurer  ---
Oops, no, they are different.  But this one works.

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #7 from Bill Seurer  ---
The fortran.h patch (which looks to be the same one you asked about in pr95537)
works here:

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

# of expected passes3

[Bug fortran/95537] [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

--- Comment #5 from Bill Seurer  ---
Still fails:

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

FAIL: gfortran.dg/pr95090.f90   -O  (internal compiler error)
FAIL: gfortran.dg/pr95090.f90   -O  (test for excess errors)

git diff
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index 5af44847f..0ef7b1b0e 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -1677,7 +1677,8 @@ typedef struct gfc_common_head
   char use_assoc, saved, threadprivate;
   unsigned char omp_declare_target : 1;
   unsigned char omp_declare_target_link : 1;
-  char name[GFC_MAX_SYMBOL_LEN + 1];
+  /* Provide sufficient space to hold "symbol.eq.1234567890".  */
+  char name[GFC_MAX_SYMBOL_LEN + 1 + 14];
   struct gfc_symbol *head;
   const char* binding_label;
   int is_bind_c;

[Bug fortran/95537] [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

--- Comment #3 from Bill Seurer  ---
Running f951 directly via gdb on a power 9 LE system I see:

(gdb) run /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95090.f90
-quiet -dumpbase pr95090.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fcoarray=lib
-fsecond-underscore -o pr95090.s -fintrinsic-modules-path finclude
Starting program: /home3/seurer/gcc/git/build/gcc-test/gcc/f951
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95090.f90 -quiet
-dumpbase pr95090.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fcoarray=lib
-fsecond-underscore -o pr95090.s -fintrinsic-modules-path finclude
GNU Fortran (GCC) version 11.0.0 20200604 (experimental) [remotes/origin/HEAD
revision 0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5]
(powerpc64le-unknown-linux-gnu)
compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran2008 (GCC) version 11.0.0 20200604 (experimental)
[remotes/origin/HEAD revision
0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5]
(powerpc64le-unknown-linux-gnu)
compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
*** buffer overflow detected ***: /home3/seurer/gcc/git/build/gcc-test/gcc/f951
terminated

Program received signal SIGABRT, Aborted.
0x77bfe98c in __libc_signal_restore_set (set=0x7fffd488) at
../sysdeps/unix/sysv/linux/nptl-signals.h:80
80  ../sysdeps/unix/sysv/linux/nptl-signals.h: No such file or directory.
(gdb) where
#0  0x77bfe98c in __libc_signal_restore_set (set=0x7fffd488) at
../sysdeps/unix/sysv/linux/nptl-signals.h:80
#1  __GI_raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:48
#2  0x77c00be0 in __GI_abort () at abort.c:79
#3  0x77c508fc in __libc_message (action=,
fmt=) at ../sysdeps/posix/libc_fatal.c:181
#4  0x77d24d74 in __GI___fortify_fail_abort (need_backtrace=true,
msg=) at fortify_fail.c:33
#5  0x77d24e10 in __GI___fortify_fail (msg=) at
fortify_fail.c:44
#6  0x77d21680 in __GI___chk_fail () at chk_fail.c:28
#7  0x77d203e4 in __strcpy_chk (dest=0x7fffda98
"t2345678901234567890123456789012345678901234567890123456789_123",
src=0x75c40360
"pdtt2345678901234567890123456789012345678901234567890123456789_123",
destlen=64)
at strcpy_chk.c:30
#8  0x10289c7c in strcpy (__src=, __dest=0x7fffda98
"t2345678901234567890123456789012345678901234567890123456789_123") at
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:90
#9  gfc_match_decl_type_spec (ts=0x123ebdb0 ,
implicit_flag=) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/decl.c:4287
#10 0x1028b4b8 in gfc_match_data_decl () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/decl.c:6119
#11 0x10320974 in match_word (str=0x0, subr=,
old_locus=0x7fffde28) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:65
#12 0x10324884 in decode_statement () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:376
#13 0x10327368 in next_free () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:1279
#14 next_statement () at /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:1511
#15 0x1032b604 in parse_spec (st=ST_NONE) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:3738
#16 0x1032e37c in parse_progunit (st=ST_NONE) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:5851
#17 0x1032e854 in parse_contained (module=1) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:5752
#18 0x1032ffa4 in parse_module () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6125
#19 0x1033039c in gfc_parse_file () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6428
#20 0x103a4120 in gfc_be_parse_file () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.c:212
#21 0x10bdd974 in compile_file () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:458
#22 0x10249b34 in do_compile () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:2302
#23 toplev::main (this=0x7fffe8a6, argc=, argv=) at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:2441
#24 0x1024c004 in main (argc=, argv=0x7fffecc8) at
/home/seurer/gcc/git/gcc-test/gcc/main.c:39

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #4 from Bill Seurer  ---
Note that I did this run on a power 9 LE system.

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #3 from Bill Seurer  ---
The debug build did not ICE.

Going back to a normal build and running f951 in gdb I see:

(gdb) run /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90
-quiet -dumpbase equiv_11.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fsecond-underscore
-ffat-lto-objects -fno-ident -o equiv_11.s -fintrinsic-modules-path finclude
Starting program: /home3/seurer/gcc/git/build/gcc-test/gcc/f951
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90 -quiet
-dumpbase equiv_11.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fsecond-underscore
-ffat-lto-objects -fno-ident -o equiv_11.s -fintrinsic-modules-path finclude
GNU Fortran (GCC) version 11.0.0 20200604 (experimental) [remotes/origin/HEAD
revision 0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5]
(powerpc64le-unknown-linux-gnu)
compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran2008 (GCC) version 11.0.0 20200604 (experimental)
[remotes/origin/HEAD revision
0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5]
(powerpc64le-unknown-linux-gnu)
compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.18-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
*** buffer overflow detected ***: /home3/seurer/gcc/git/build/gcc-test/gcc/f951
terminated

Program received signal SIGABRT, Aborted.
0x77bfe98c in __libc_signal_restore_set (set=0x7fffde38) at
../sysdeps/unix/sysv/linux/nptl-signals.h:80
80  ../sysdeps/unix/sysv/linux/nptl-signals.h: No such file or directory.
(gdb) where
#0  0x77bfe98c in __libc_signal_restore_set (set=0x7fffde38) at
../sysdeps/unix/sysv/linux/nptl-signals.h:80
#1  __GI_raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:48
#2  0x77c00be0 in __GI_abort () at abort.c:79
#3  0x77c508fc in __libc_message (action=,
fmt=) at ../sysdeps/posix/libc_fatal.c:181
#4  0x77d24d74 in __GI___fortify_fail_abort (need_backtrace=true,
msg=) at fortify_fail.c:33
#5  0x77d24e10 in __GI___fortify_fail (msg=) at
fortify_fail.c:44
#6  0x77d21680 in __GI___chk_fail () at chk_fail.c:28
#7  0x77d203e4 in __strcpy_chk (dest=0x12555724 "", src=0x75c402d0
"m2345678901234567890123456789012345678901234567890123456789_123.eq.0",
destlen=64) at strcpy_chk.c:30
#8  0x103d8654 in strcpy (__src=0x75c402d0
"m2345678901234567890123456789012345678901234567890123456789_123.eq.0",
__dest=) at
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:90
#9  finish_equivalences (ns=0x125518b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/trans-common.c:1317
#10 gfc_trans_common (ns=0x125518b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/trans-common.c:1359
#11 0x103f25a0 in gfc_generate_module_vars (ns=0x125518b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/trans-decl.c:5796
#12 0x103b049c in gfc_generate_module_code (ns=0x125518b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/trans.c:2238
#13 0x10330874 in translate_all_program_units
(gfc_global_ns_list=0x125518b0) at
/home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6293
#14 gfc_parse_file () at /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6545
#15 0x103a4120 in gfc_be_parse_file () at
/home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.c:212
#16 0x10bdd974 in compile_file () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:458
#17 0x10249b34 in do_compile () at
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:2302
#18 toplev::main (this=0x7fffe896, argc=, argv=) at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:2441
#19 0x1024c004 in main (argc=, argv=0x7fffecb8) at
/home/seurer/gcc/git/gcc-test/gcc/main.c:39

[Bug fortran/95530] [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

--- Comment #2 from Bill Seurer  ---
The above is all the traceback a normal compiler build provided.  I will try
building a debug version.

[Bug fortran/95537] [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

--- Comment #1 from Bill Seurer  ---
Wait, perhaps this is the same as pr95530?  It started with a different
revision, though.

[Bug fortran/95537] New: [11 regression] gfortran.dg/pr95090.f90 since r11-670

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95537

Bug ID: 95537
   Summary: [11 regression] gfortran.dg/pr95090.f90 since r11-670
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

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

FAIL: gfortran.dg/pr95090.f90   -O  (internal compiler error)
FAIL: gfortran.dg/pr95090.f90   -O  (test for excess errors)

# of unexpected failures2

Executing on host:
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95090.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never-O  -fcoarray=lib
-fsecond-underscore -S -o pr95090.s(timeout = 300)
spawn -ignore SIGHUP
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/pr95090.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -fcoarray=lib -fsecond-underscore -S -o pr95090.s
*** buffer overflow detected ***:
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../f951
terminated
f951: internal compiler error: Aborted
0x10bdd713 crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328

[Bug fortran/95530] New: [11 regression] ICE in gfortran.dg/equiv_11.f90 after r11-594

2020-06-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530

Bug ID: 95530
   Summary: [11 regression] ICE in gfortran.dg/equiv_11.f90 after
r11-594
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:d176184d98a00ab379ae5959aed1908a79995e6b, r11-594

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

FAIL: gfortran.dg/equiv_11.f90   -O  (internal compiler error)
FAIL: gfortran.dg/equiv_11.f90   -O  (test for excess errors)

# of unexpected failures2
# of unresolved testcases   2

Executing on host:
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -O -fsecond-underscore
-ffat-lto-objects -fno-ident -S -o equiv_11.s(timeout = 300)
spawn -ignore SIGHUP
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -fsecond-underscore -ffat-lto-objects -fno-ident -S
-o equiv_11.s
*** buffer overflow detected ***:
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../f951
terminated
f951: internal compiler error: Aborted
0x10bd92f3 crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328

[Bug fortran/95509] New: [11 regression] gfortran.dg/spellcheck-operator.f90 fails after r11-875

2020-06-03 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95509

Bug ID: 95509
   Summary: [11 regression] gfortran.dg/spellcheck-operator.f90
fails after r11-875
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90
   -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never 
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never-O   -pedantic-errors -S
-o spellcheck-operator.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -O -pedantic-errors -S -o spellcheck-operator.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: Procedure 'something_wring' in operator interface 'mywrong' at (1) is
neither function nor subroutine
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: User operator procedure 'something_wring' at (1) must be a FUNCTION
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:29:10:
Error: Unknown operator 'mygoof' at (1); did you mean 'mygood'?
compiler exited with status 1
PASS: gfortran.dg/spellcheck-operator.f90   -O   (test for errors, line 19)
PASS: gfortran.dg/spellcheck-operator.f90   -O   (test for errors, line 29)
Executing on host:
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled35529.c-fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never 
-fdiagnostics-urls=never  -S -o exceptions_enabled35529.s(timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
exceptions_enabled35529.c -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-fdiagnostics-urls=never -S -o exceptions_enabled35529.s
exceptions_enabled35529.c: In function 'foo':
exceptions_enabled35529.c:4:7: error: 'throw' undeclared (first use in this
function)
exceptions_enabled35529.c:4:7: note: each undeclared identifier is reported
only once for each function it appears in
exceptions_enabled35529.c:4:12: error: expected ';' before numeric constant
compiler exited with status 1
FAIL: gfortran.dg/spellcheck-operator.f90   -O  (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/spellcheck-operator.f90:19:21:
Error: Procedure 'something_wring' in operator interface 'mywrong' at (1) is
neither function nor subroutine

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-06-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #10 from Bill Seurer  ---
There is still one that is failing:

make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr68892.c

XPASS: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump slp2 "not profitable"
XPASS: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects  scan-tree-dump
slp2 "not profitable"
FAIL: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump-times slp2 "Basic block will
be vectorized" 1
FAIL: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "Basic block will be vectorized" 1

# of expected passes4
# of unexpected failures2

[Bug target/95469] New: [11 regression] several vperm test case failures after r11-736 on power 9 (only)

2020-06-01 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95469

Bug ID: 95469
   Summary: [11 regression] several vperm test case failures after
r11-736 on power 9 (only)
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:ee969a36d9887e1a3230fe3de2d398fd6c6dac49, r11-736

> FAIL: gcc.target/powerpc/fold-vec-perm-char.c scan-assembler-times vperm 3
> FAIL: gcc.target/powerpc/fold-vec-perm-double.c scan-assembler-times vperm 1
> FAIL: gcc.target/powerpc/fold-vec-perm-float.c scan-assembler-times vperm 1
> FAIL: gcc.target/powerpc/fold-vec-perm-int.c scan-assembler-times vperm 3
> FAIL: gcc.target/powerpc/fold-vec-perm-longlong.c scan-assembler-times vperm 3
> FAIL: gcc.target/powerpc/fold-vec-perm-pixel.c scan-assembler-times vperm 1
> FAIL: gcc.target/powerpc/fold-vec-perm-short.c scan-assembler-times vperm 3
> FAIL: gcc.target/powerpc/lvsl-lvsr.c scan-assembler-times vperm 2
> FAIL: gcc.target/powerpc/vec-mult-char-2.c scan-assembler-times vperm 2
> FAIL: gcc.target/powerpc/vsx-vector-6.p9.c scan-assembler-times 
> \\m(?:vpermr?|xxperm)\\M 1

[Bug tree-optimization/95391] [11 regression] ICE in gcc.dg/vshift-5.c since r11-689

2020-05-28 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95391

--- Comment #1 from Bill Seurer  ---
Also causes gcc.dg/vect/pr46126.c to ICE in the same spot.

[Bug tree-optimization/95391] New: [11 regression] ICE in gcc.dg/vshift-5.c since r11-689

2020-05-28 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95391

Bug ID: 95391
   Summary: [11 regression] ICE in gcc.dg/vshift-5.c since r11-689
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:e31cd607e999ca6ab47b7e65a7045b1594e4fba4, r11-689

make -k check-gcc RUNTESTFLAGS=dg.exp=gcc.dg/vshift-5.c

FAIL: gcc.dg/vshift-5.c (internal compiler error)
FAIL: gcc.dg/vshift-5.c (test for excess errors)

# of unexpected failures2
# of unresolved testcases   1


Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never   -O3  -lm  -o
./vshift-5.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O3 -lm -o ./vshift-5.exe
during GIMPLE pass: slp
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c: In function
'f1':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c:8:1: internal
compiler error: in vect_create_constant_vectors, at tree-vect-slp.c:3680
0x10ee4e8b vect_create_constant_vectors
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3680
0x10ee4e8b vect_schedule_slp_instance
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4072
0x10ee401f vect_schedule_slp_instance
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4077
0x10ee401f vect_schedule_slp_instance
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4077
0x10eed443 vect_schedule_slp(vec_info*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4309
0x10ef0e83 vect_slp_bb_region
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3348
0x10ef0e83 vect_slp_bb(basic_block_def*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3471
0x10ef31bb execute
/home/seurer/gcc/git/gcc-test2/gcc/tree-vectorizer.c:1320

[Bug tree-optimization/95273] [11 regression] many ICEs after r11-564

2020-05-27 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95273

--- Comment #8 from Bill Seurer  ---
Those are new ones.  I will track down the source tomorrow morning if no one
else has in the meantime.

[Bug other/95376] New: [11 regression] ICE in gcc.dg/torture/pr92088-1.c after r11-611

2020-05-27 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95376

Bug ID: 95376
   Summary: [11 regression] ICE in gcc.dg/torture/pr92088-1.c
after r11-611
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:a746f952abb78af9db28a7f3bce442e113877c9c, r11-611 

  make -k check-gcc RUNTESTFLAGS=dg-torture.exp=gcc.dg/torture/pr92088-1.c

FAIL: gcc.dg/torture/pr92088-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
FAIL: gcc.dg/torture/pr92088-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: gcc.dg/torture/pr92088-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (internal compiler error)
FAIL: gcc.dg/torture/pr92088-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)

# of expected passes11
# of unexpected failures4
# of unresolved testcases   1


spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/torture/pr92088-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O2 -flto
-fno-use-linker-plugin -flto-partition=none -lm -o ./pr92088-1.exe
during IPA pass: cp
lto1: internal compiler error: Segmentation fault
0x109b685b crash_signal
/home/seurer/gcc/git/gcc-test2/gcc/toplev.c:328
0x105b5784 unshare_expr_without_location(tree_node*)
/home/seurer/gcc/git/gcc-test2/gcc/gimplify.c:1039
0x106cfa87 ipa_set_jf_constant
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:539
0x106d476b ipa_read_jump_function
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:4629
0x106dc0f3 ipa_read_edge_info
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:4908
0x106dc5f3 ipa_read_node_info
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:4978
0x106dc5f3 ipa_prop_read_section
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:5062
0x106dc5f3 ipa_prop_read_jump_functions()
/home/seurer/gcc/git/gcc-test2/gcc/ipa-prop.c:5089
0x115f253f ipcp_read_summary
/home/seurer/gcc/git/gcc-test2/gcc/ipa-cp.c:5960
0x108868e3 ipa_read_summaries_1
/home/seurer/gcc/git/gcc-test2/gcc/passes.c:2837
0x1029e3d3 read_cgraph_and_symbols(unsigned int, char const**)
/home/seurer/gcc/git/gcc-test2/gcc/lto/lto-common.c:2921
0x10272fb3 lto_main()
/home/seurer/gcc/git/gcc-test2/gcc/lto/lto.c:625

commit a746f952abb78af9db28a7f3bce442e113877c9c
Author: Jan Hubicka 
Date:   Mon May 25 14:41:33 2020 +0200

Do not stream redundant stuff

as discussed on IRC this adds knob to disable stuff we stream "just for
fun"
(or to make it easier to debug streamer desychnonization).

Te size of .o files in gcc subdirectory is reduced form 506MB to 492MB

gcc/

* lto-streamer-out.c (lto_output_tree): Add streamer_debugging check.
* lto-streamer.h (streamer_debugging): New constant
* tree-streamer-in.c (streamer_read_tree_bitfields): Add
streamer_debugging check.
(streamer_get_pickled_tree): Likewise.
* tree-streamer-out.c (pack_ts_base_value_fields): Likewise.

[Bug target/95261] [11 regression] gcc.target/powerpc/pr80695-p8.c and gcc.target/powerpc/pr80695-p9.c fail starting with r11-478

2020-05-26 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95261

--- Comment #3 from Bill Seurer  ---
I just tried on current trunk and these have cleared up now.

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-05-26 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #9 from Bill Seurer  ---
It looks good in a test I just ran.

[Bug tree-optimization/95273] [11 regression] many ICEs after r11-564

2020-05-22 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95273

--- Comment #1 from Bill Seurer  ---
Here's a full list:

> FAIL: gcc.c-torture/execute/990128-1.c   -O3 -fomit-frame-pointer 
> -funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler 
> error)
> FAIL: gcc.c-torture/execute/990128-1.c   -O3 -fomit-frame-pointer 
> -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess 
> errors)
> FAIL: gcc.c-torture/execute/990128-1.c   -O3 -g  (internal compiler error)
> FAIL: gcc.c-torture/execute/990128-1.c   -O3 -g  (test for excess errors)
> FAIL: gcc.c-torture/execute/loop-13.c   -O3 -fomit-frame-pointer 
> -funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler 
> error)
> FAIL: gcc.c-torture/execute/loop-13.c   -O3 -fomit-frame-pointer 
> -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess 
> errors)
> FAIL: gcc.c-torture/execute/loop-13.c   -O3 -g  (internal compiler error)
> FAIL: gcc.c-torture/execute/loop-13.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/pr48616.c (internal compiler error)
> FAIL: gcc.dg/pr48616.c (test for excess errors)
> FAIL: gcc.dg/pr86179.c (internal compiler error)
> FAIL: gcc.dg/pr86179.c (test for excess errors)
> FAIL: gcc.dg/torture/20181024-1.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (internal compiler error)
> FAIL: gcc.dg/torture/20181024-1.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> FAIL: gcc.dg/torture/20181024-1.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/torture/20181024-1.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/torture/pr66856-1.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (internal compiler error)
> FAIL: gcc.dg/torture/pr66856-1.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> FAIL: gcc.dg/torture/pr66856-1.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/torture/pr66856-1.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/torture/pr66856-2.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (internal compiler error)
> FAIL: gcc.dg/torture/pr66856-2.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> FAIL: gcc.dg/torture/pr66856-2.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/torture/pr66856-2.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/torture/pr69168.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (internal compiler error)
> FAIL: gcc.dg/torture/pr69168.c   -O3 -fomit-frame-pointer -funroll-loops 
> -fpeel-loops -ftracer -finline-functions  (test for excess errors)
> FAIL: gcc.dg/torture/pr69168.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/torture/pr69168.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/torture/pr93428.c   -O1  (internal compiler error)
> FAIL: gcc.dg/torture/pr93428.c   -O1  (test for excess errors)
> FAIL: gcc.dg/torture/pr93428.c   -O2  (internal compiler error)
> FAIL: gcc.dg/torture/pr93428.c   -O2  (test for excess errors)
> FAIL: gcc.dg/torture/pr93428.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (internal compiler error)
> FAIL: gcc.dg/torture/pr93428.c   -O2 -flto -fno-use-linker-plugin 
> -flto-partition=none  (test for excess errors)
> FAIL: gcc.dg/torture/pr93428.c   -O3 -g  (internal compiler error)
> FAIL: gcc.dg/torture/pr93428.c   -O3 -g  (test for excess errors)
> FAIL: gcc.dg/torture/pr93428.c   -Os  (internal compiler error)
> FAIL: gcc.dg/torture/pr93428.c   -Os  (test for excess errors)
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c (internal compiler error)
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c (test for excess errors)
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c -flto -ffat-lto-objects  
> scan-tree-dump slp2 "demoting int to unsigned short"
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c -flto -ffat-lto-objects  
> scan-tree-dump-times slp2 "basic block vectorized" 2
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c -flto -ffat-lto-objects (internal 
> compiler error)
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c -flto -ffat-lto-objects (test for 
> excess errors)
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c scan-tree-dump slp2 "demoting int to 
> unsigned short"
> FAIL: gcc.dg/vect/bb-slp-over-widen-1.c scan-tree-dump-times slp2 "basic 
> block vectorized" 2
> FAIL: gcc.dg/vect/bb-slp-over-widen-2.c (internal compiler error)
> FAIL: gcc.dg/vect/bb-slp-over-widen-2.c (test for excess errors)
> FAIL: gcc.dg/vect/bb-slp-over-widen-2.c -flto -ffat-lto-objects  
> scan-tree-dump slp2 "demoting int to unsigned short"
> FAIL: gcc.dg/vect/bb-slp-over-widen-2.c -flto -ffat-lto-objects  
> scan-tree-dump-times slp2 "basic block vectorized" 2
> FAIL: gcc.dg/vect/bb-slp-over-widen-2.c -flto -ffat-lto-objects (internal 
> compiler error)
> FAIL: 

[Bug tree-optimization/95273] New: [11 regression] many ICEs after r11-564

2020-05-22 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95273

Bug ID: 95273
   Summary: [11 regression] many ICEs after r11-564
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

One example:

Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr48616.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never   -O2 -ftree-vectorize  -lm
 -o ./pr48616.exe(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr48616.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O2 -ftree-vectorize -lm -o
./pr48616.exe
during GIMPLE pass: slp
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr48616.c: In function
'fn3':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr48616.c:58:1: internal
compiler error: in vect_get_constant_vectors, at tree-vect-slp.c:3638
0x10ef206f vect_get_constant_vectors
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3635
0x10ef3533 vect_get_slp_defs(vec_info*, _slp_tree*, vec, va_heap, vl_ptr>*, unsigned int)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3872
0x10e9e5e7 vect_get_vec_defs(vec_info*, tree_node*, tree_node*,
_stmt_vec_info*, vec*, vec*, _slp_tree*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-stmts.c:1636
0x10ea4bbf vectorizable_shift
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-stmts.c:5883
0x10ec01ab vect_transform_stmt(vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*, _slp_instance*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-stmts.c:11165
0x10ef4653 vect_schedule_slp_instance
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4220
0x10ef4363 vect_schedule_slp_instance
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4112
0x10eff193 vect_schedule_slp(vec_info*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:4344
0x10f01633 vect_slp_bb_region
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3298
0x10f01633 vect_slp_bb(basic_block_def*)
/home/seurer/gcc/git/gcc-test2/gcc/tree-vect-slp.c:3421
0x10f0393b execute
/home/seurer/gcc/git/gcc-test2/gcc/tree-vectorizer.c:1320

[Bug target/95266] New: [11 regression] gcc.dg/vect/bb-slp-pr69907.c fails on power 7

2020-05-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95266

Bug ID: 95266
   Summary: [11 regression] gcc.dg/vect/bb-slp-pr69907.c fails on
power 7
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

After r11-205 gcc.dg/vect/bb-slp-pr69907.c fails during make check.  I only see
this on a power 7.

make -k check-gcc RUNTESTFLAGS=vect.exp=gcc.dg/vect/bb-slp-pr69907.c

FAIL: gcc.dg/vect/bb-slp-pr69907.c scan-tree-dump slp1 "BB vectorization with
gaps at the end of a load is not supported"
FAIL: gcc.dg/vect/bb-slp-pr69907.c -flto -ffat-lto-objects  scan-tree-dump slp1
"BB vectorization with gaps at the end of a load is not supported"

# of expected passes2
# of unexpected failures2

[Bug target/95261] New: [11 regression] gcc.target/powerpc/pr80695-p8.c and gcc.target/powerpc/pr80695-p9.c fail starting with r11-478

2020-05-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95261

Bug ID: 95261
   Summary: [11 regression] gcc.target/powerpc/pr80695-p8.c and
gcc.target/powerpc/pr80695-p9.c fail starting with
r11-478
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:a4b48fc47c3406b6f41be093c4615879b7006710, r11-478 

FAIL: gcc.target/powerpc/pr80695-p8.c scan-tree-dump-times slp2 "vectorization
is not profitable" 1
FAIL: gcc.target/powerpc/pr80695-p9.c scan-tree-dump-times slp2 "vectorization
is not profitable" 1

[Bug c++/95223] [11 regression] hash table checking failed: equal operator returns true for a pair of values with a different hash value

2020-05-20 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95223

--- Comment #10 from Bill Seurer  ---
It works for me, too, now.  Thanks!

[Bug c++/95223] [11 regression] hash table checking failed: equal operator returns true for a pair of values with a different hash value

2020-05-19 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95223

--- Comment #4 from Bill Seurer  ---
It was definitely r11-477.  I see this causing an ICE when building gcc albeit
only on power 9.

[Bug c++/95225] New: [11 regression] build failure (ICE) starting with r11-477

2020-05-19 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95225

Bug ID: 95225
   Summary: [11 regression] build failure (ICE) starting with
r11-477
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:573e5f0500968dcf4025b8fc0ae5fb367f9c70d9, r11-477 

r11-476 worked fine.

While building the compiler:

/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile
/home/spectester/build/nightly/build-gcc-trunk/./gcc/xgcc -shared-libgcc
-B/home/spectester/build/nightly/build-gcc-trunk/./gcc -nostdinc++
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/bin/
-B/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/lib/ -isystem
/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu
/include -isystem
/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/sys-include   
-I/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/../libgcc
-I/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/libsupc++   -std=gnu++98
-prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates  -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi=2  -fdiagnostics-show-location=once  
-ffunction-sections -fdata-sections  -frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE
 -c -o tree.lo
/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/src/c++98/tree.cc
libtool: compile:  /home/spectester/build/nightly/build-gcc-trunk/./gcc/xgcc
-shared-libgcc -B/home/spectester/build/nightly/build-gcc-trunk/./gcc
-nostdinc++
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/bin/
-B/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/lib/ -isystem
/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/include -isystem
/opt/gcc-spec-nightly/trunk/powerpc64le-unknown-linux-gnu/sys-include
-I/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/../libgcc
-I/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/libsupc++ -std=gnu++98
-D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c
/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/src/c++98/tree.cc  -fPIC -DPIC
-D_GLIBCXX_SHARED -o tree.o
hash table checking failed: equal operator returns true for a pair of values
with a different hash value
In file included from
/home/spectester/gcc_trunk_git/gcc/libstdc++-v3/src/c++98/tree.cc:53:
/home/spectester/build/nightly/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/stl_tree.h:2092:49:
internal compiler error: in hashtab_chk_error, at hash-table.c:137
 2092 | _M_get_insert_unique_pos(const key_type& __k)
  | ^
0x1027c2e7 hashtab_chk_error()
/home/spectester/gcc_trunk_git/gcc/gcc/hash-table.c:137
0x105a1da7 hash_table::verify(spec_entry*
const&, unsigned int)
/home/spectester/gcc_trunk_git/gcc/gcc/hash-table.h:1033
0x105a1fbf hash_table::find_with_hash(spec_entry* const&, unsigned int)
/home/spectester/gcc_trunk_git/gcc/gcc/hash-table.h:934
0x10538ccf lookup_template_class_1
/home/spectester/gcc_trunk_git/gcc/gcc/cp/pt.c:9776
0x10538ccf lookup_template_class(tree_node*, tree_node*, tree_node*,
tree_node*, int, int)
/home/spectester/gcc_trunk_git/gcc/gcc/cp/pt.c:10115
0x1053c897 tsubst_aggr_type
/home/spectester/gcc_trunk_git/gcc/gcc/cp/pt.c:13369
0x1054a1b7 tsubst(tree_node*, tree_node*, int, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/cp/pt.c:15250
0x1054dae3 maybe_update_decl_type(tree_node*, tree_node*)
/home/spectester/gcc_trunk_git/gcc/gcc/cp/pt.c:4858
0x104eec4f cp_parser_init_declarator
/home/spectester/gcc_trunk_git/gcc/gcc

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #21 from Bill Seurer  ---
We can't modify the spec code but we can add "compatibility" options.

Shouldn't the if test make the compiler ignore the statement with the divide by
zero?  It shouldn't ever be executed.

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-13 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #19 from Bill Seurer  ---
There's some stuff above this in the module but this is the part that shows the
error and I think it contains all the declarations.

subroutine Z()
   real(r8) :: cld(99,99)
   real(r8) cldeps
   parameter (cldeps = 0.0_r8)
   real(r8) asort(99)
   if (cldeps > 0) then
  asort(1) = 1.0_r8-(floor(cld(1,7)/cldeps)*cldeps)
   endif
   return
end subroutine Z

   15 |   asort(1) = 1.0_r8-(floor(cld(1,7)/cldeps)*cldeps)
  |  1
Error: Division by zero at (1)

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-13 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #18 from Bill Seurer  ---
I am still cutting down the code but this should answer the question about if
it really could be zero:


  if (cldeps > 0) then
 do k = k1,k2
   asort(nxs) = 1.0_r8-(floor(cld(i,k)/cldeps)*cldeps)
. . .
 5911 |asort(nxs) =
1.0_r8-(floor(cld(i,k)/cldeps)*cldeps)
  | 1
Error: Division by zero at (1)

[Bug testsuite/95110] New: new test case in r11-345 error: gcc.dg/tree-ssa/pr94969.c: dump file does not exist

2020-05-13 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95110

Bug ID: 95110
   Summary: new test case in r11-345 error:
gcc.dg/tree-ssa/pr94969.c: dump file does not exist
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:f6e1a4cd83190746b6544917f7526fa480ca5f18, r11-345

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/tree-ssa/pr94969.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O3
-fdump-tree-ldist-details -lm -o ./pr94969.exe
Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled23126.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -S -o
exceptions_enabled23126.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled23126.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -S -o
exceptions_enabled23126.s
exceptions_enabled23126.c: In function 'foo':
exceptions_enabled23126.c:4:7: error: 'throw' undeclared (first use in this
function)
exceptions_enabled23126.c:4:7: note: each undeclared identifier is reported
only once for each function it appears in
exceptions_enabled23126.c:4:12: error: expected ';' before numeric constant
compiler exited with status 1
PASS: gcc.dg/tree-ssa/pr94969.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/git/build/gcc-test2/gcc::/home/seurer/gcc/git/build/gcc-test2/gcc:/home/seurer/gcc/git/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/git/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/git/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test2/./isl/.libs:/home/seurer/gcc/git/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.4.0/lib64
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/tree-ssa/pr94969.c execution test
gcc.dg/tree-ssa/pr94969.c: dump file does not exist
UNRESOLVED: gcc.dg/tree-ssa/pr94969.c scan-tree-dump-not Loop 1 distributed:
split to 3 loops "ldist"

[Bug fortran/95109] New: [11 regression] ICE in gfortran.dg/gomp/target1.f90 after r11-349

2020-05-13 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109

Bug ID: 95109
   Summary: [11 regression] ICE in gfortran.dg/gomp/target1.f90
after r11-349
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

git g:f884bef2105d748fd7869cd641cbb4f6b6bb, r11-349
make -k check-gcc RUNTESTFLAGS=gomp.exp=gfortran.dg/gomp/target1.f90

# of unexpected failures2

FAIL: gfortran.dg/gomp/target1.f90   -O  (internal compiler error)
FAIL: gfortran.dg/gomp/target1.f90   -O  (test for excess errors)

FAIL: gfortran.dg/gomp/target1.f90   -O  (test for excess errors)
Excess errors:
during GIMPLE pass: omplower
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/gomp/target1.f90:318:0:
internal compiler error: in lookup_decl_in_outer_ctx, at omp-low.c:3967
0x10a156cb lookup_decl_in_outer_ctx
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:3967
0x10a44a7b lower_send_clauses
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:7290
0x10a44a7b lower_omp_taskreg
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:11295
0x10a2adc7 lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12878
0x10a2adc7 lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a467bb lower_omp_for
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:10564
0x10a2b147 lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12823
0x10a2b147 lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015
0x10a2a18b lower_omp_1
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:12807
0x10a2a18b lower_omp
/home/seurer/gcc/git/gcc-test2/gcc/omp-low.c:13015

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-13 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #17 from Bill Seurer  ---
he patch works and has no further fallout that I see.

I will still try to extract something small from that big fortran function but
as I have not written any fortran code in more than 35 years it may take a bit.

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-12 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #13 from Bill Seurer  ---
I don't know fortran and this appears to be part of a multi-thousand line
extremely complex function.

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-12 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #11 from Bill Seurer  ---
/home/seurer/gcc/git/install/gcc-test/bin/gfortran -c -o
module_ra_cam.fppized.o -I. -I./netcdf/include -I./inc -m64 -O0 -g3
-mcpu=power8 -Wno-deprecated-declarations -fconvert=big-endian -std=legacy
module_ra_cam.fppized.f90
module_ra_cam.fppized.f90:6806:69:

 6806 |asort(nxs) =
1.0_r8-(floor(cld(i,k)/cldeps)*cldeps)
  | 1
Error: Division by zero at (1)

This error was also triggered by r11-205 but was not fixed by the patch.  It
compiles cleanly with r11-204 and earlier.  I do not think (though cannot say
for sure) that it really is a divide by zero.

This is part of 521.wrf_r in the spec2017 test suite

[Bug testsuite/95092] New: new test case gcc.dg/asan/pr95051.c fails

2020-05-12 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95092

Bug ID: 95092
   Summary: new test case gcc.dg/asan/pr95051.c fails
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/asan/pr95051.c
-fsanitize=address -g
-I/home/seurer/gcc/git/gcc-test2/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never-O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  -fsanitize=kernel-address
--param=asan-stack=1 -O2 -S -o pr95051.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/asan/pr95051.c
-fsanitize=address -g
-I/home/seurer/gcc/git/gcc-test2/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects -fsanitize=kernel-address
--param=asan-stack=1 -O2 -S -o pr95051.s
cc1: error: '-fsanitize=address' is incompatible with
'-fsanitize=kernel-address'
compiler exited with status 1
FAIL: gcc.dg/asan/pr95051.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)
Excess errors:
cc1: error: '-fsanitize=address' is incompatible with
'-fsanitize=kernel-address'

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053

--- Comment #10 from Bill Seurer  ---
I tried the update on the spec 2000/2006 tests that were ICEing before and they
compile now.

[Bug fortran/95064] [11 regression] ICEs in fortran compiler starting with r11-255

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95064

Bill Seurer  changed:

   What|Removed |Added

   Host||powerpc64*-linux-gnu
 CC||anlauf at gcc dot gnu.org
  Build||powerpc64*-linux-gnu
 Target||powerpc64*-linux-gnu

--- Comment #1 from Bill Seurer  ---
spec 2000 test cases that now fail: 2x171.swim 2x191.fma3d 2x200.sixtrack



This also effects some of the spec 2006 test cases:  416.gamess 481.wrf

[Bug fortran/95064] New: [11 regression] ICEs in fortran compiler starting with r11-255

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95064

Bug ID: 95064
   Summary: [11 regression] ICEs in fortran compiler starting with
r11-255
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

Several of the spec 2000 test cases (specifically ) ICE when being built now. 
Errors are occurring in a couple of different places.

f951: internal compiler error: gfc_divide(): Bad basic type
0x102b464f gfc_report_diagnostic
/home/seurer/gcc/git/gcc-test/gcc/fortran/error.c:782
0x102b62bf gfc_internal_error(char const*, ...)
/home/seurer/gcc/git/gcc-test/gcc/fortran/error.c:1402
0x1026f357 gfc_divide(gfc_expr*, gfc_expr*)
/home/seurer/gcc/git/gcc-test/gcc/fortran/arith.c:1831
0x10301b07 match_add_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:394
0x10301e73 match_level_2
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:480
0x10302073 match_level_3
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:551
0x1030220f match_level_4
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:599
0x1030220f match_and_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:693
0x10302493 match_or_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:722
0x10302603 match_equiv_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:765
0x10302777 match_level_5
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:811
0x103014ff gfc_match_expr(gfc_expr**)
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:870
0x103356ab match_actual_arg
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:1662
0x1033753f gfc_match_actual_arglist(int, gfc_actual_arglist**, bool)
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:1927
0x1033a2db gfc_match_rvalue(gfc_expr**)
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:3611
0x1030173f match_primary
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:157
0x1030173f match_level_1
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:211
0x1030173f match_mult_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:267
0x10301a73 match_add_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:356
0x10301e73 match_level_2
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:480


And a different one:

0x102b464f gfc_report_diagnostic
/home/seurer/gcc/git/gcc-test/gcc/fortran/error.c:782
0x102b62bf gfc_internal_error(char const*, ...)
/home/seurer/gcc/git/gcc-test/gcc/fortran/error.c:1402
0x1026f357 gfc_divide(gfc_expr*, gfc_expr*)
/home/seurer/gcc/git/gcc-test/gcc/fortran/arith.c:1831
0x10301b07 match_add_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:394
0x10301e73 match_level_2
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:480
0x10302073 match_level_3
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:551
0x1030220f match_level_4
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:599
0x1030220f match_and_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:693
0x10302493 match_or_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:722
0x10302603 match_equiv_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:765
0x10302777 match_level_5
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:811
0x103014ff gfc_match_expr(gfc_expr**)
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:870
0x103356ab match_actual_arg
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:1662
0x1033753f gfc_match_actual_arglist(int, gfc_actual_arglist**, bool)
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:1927
0x1033a2db gfc_match_rvalue(gfc_expr**)
/home/seurer/gcc/git/gcc-test/gcc/fortran/primary.c:3611
0x1030173f match_primary
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:157
0x1030173f match_level_1
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:211
0x1030173f match_mult_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:267
0x10301a73 match_add_operand
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:356
0x10301e73 match_level_2
/home/seurer/gcc/git/gcc-test/gcc/fortran/matchexp.c:480


Author: Harald Anlauf 
Date:   Sun May 10 19:46:06 2020 +0200

PR fortran/93499 - ICE on division by zero in declaration statements

Division by zero in declaration statements could sometimes
generate NULL pointers being passed around that lead to ICEs.

2020-05-10  Harald Anlauf  

gcc/fortran/
PR fortran/93499
* arith.c (gfc_divide): Catch division by zero

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #4 from Bill Seurer  ---
And for the power 7 specific one (the other one also occurs on power 7)

Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -flto -ffat-lto-objects
-maltivec -mvsx -mno-allow-movmisalign -ftree-vectorize
-fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2
-fdump-tree-slp-details -O3 -S -o bb-slp-pr69907.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -flto -ffat-lto-objects
-maltivec -mvsx -mno-allow-movmisalign -ftree-vectorize
-fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2
-fdump-tree-slp-details -O3 -S -o bb-slp-pr69907.s
PASS: gcc.dg/vect/bb-slp-pr69907.c -flto -ffat-lto-objects (test for excess
errors)
FAIL: gcc.dg/vect/bb-slp-pr69907.c -flto -ffat-lto-objects  scan-tree-dump slp1
"BB vectorization with gaps at the end of a load is not supported"

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #5 from Bill Seurer  ---
Created attachment 48509
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48509=edit
dump file p7 specific

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #3 from Bill Seurer  ---
Created attachment 48508
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48508=edit
dump file

[Bug tree-optimization/95058] [11 regression] vector test case failures starting with r11-205

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

--- Comment #2 from Bill Seurer  ---
PASS: gcc.dg/vect/bb-slp-pr68892.c (test for excess errors)
XPASS: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump slp2 "not profitable"
PASS: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump-times slp2 "BB vectorization
with gaps at the end of a load is not supported" 1
gcc.dg/vect/bb-slp-pr68892.c: pattern found 0 times
FAIL: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump-times slp2 "Basic block will
be vectorized" 1
Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/bb-slp-pr68892.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never  -flto -ffat-lto-objects
-maltivec -mvsx -mno-allow-movmisalign -ftree-vectorize
-fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2
-fdump-tree-slp-details -fvect-cost-model=dynamic -S -o bb-slp-pr68892.s   
(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/bb-slp-pr68892.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -flto -ffat-lto-objects
-maltivec -mvsx -mno-allow-movmisalign -ftree-vectorize
-fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-common -O2
-fdump-tree-slp-details -fvect-cost-model=dynamic -S -o bb-slp-pr68892.s
PASS: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects (test for excess
errors)
XPASS: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects  scan-tree-dump
slp2 "not profitable"
PASS: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "BB vectorization with gaps at the end of a load is
not supported" 1
gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects : pattern found 0 times
FAIL: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "Basic block will be vectorized" 1

Output files from last compile command attached.

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Bill Seurer  changed:

   What|Removed |Added

 CC||seurer at linux dot 
vnet.ibm.com

--- Comment #6 from Bill Seurer  ---
These started with r11-204 and occur on powerpc64 BE and LE as well.

commit debfaee5d51e3c07bb88a971618de2baff35d9c0
Author: Nathan Sidwell 
Date:   Fri May 8 08:43:16 2020 -0700

EOF has a location

There's no need to special-case EOF's location.  For the complete file we
give it a legitimate location.  And for deferred parses we now zap a
temporary EOF
onto the next token, so we can just use its location anyway.

[Bug other/95058] New: [11 regression] vector test case failures starting with r11-205

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95058

Bug ID: 95058
   Summary: [11 regression] vector test case failures starting
with r11-205
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

this run: g:bc484e250990393e887f7239157cc85ce6fadcce, r11-205:

This occurs on all powerpc 64 targets:

FAIL: gcc.dg/vect/bb-slp-pr68892.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "Basic block will be vectorized" 1
FAIL: gcc.dg/vect/bb-slp-pr68892.c scan-tree-dump-times slp2 "Basic block will
be vectorized" 1


This one only occurs on power 7 BE:

FAIL: gcc.dg/vect/bb-slp-pr69907.c -flto -ffat-lto-objects  scan-tree-dump slp1
"BB vectorization with gaps at the end of a load is not supported"
FAIL: gcc.dg/vect/bb-slp-pr69907.c scan-tree-dump slp1 "BB vectorization with
gaps at the end of a load is not supported"

[Bug testsuite/95008] New: [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169

2020-05-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008

Bug ID: 95008
   Summary: [11 regression] excess errors in
gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c
after r11-169
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

this run: g:f8a4141bae53f9125d374e5873dcda3f75392f1f, r11-169

FAIL: gcc.dg/analyzer/pr93382.c  (test for warnings, line 17)
FAIL: gcc.dg/two-types-6.c  (test for warnings, line 5)

The changes in r11-169 cause these tests to now fail, at least on powerpc64.

Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never   -fanalyzer
-fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer-call-summaries -fanalyzer-checker=taint -S -o pr93382.s(timeout
= 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -fanalyzer
-fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer-call-summaries -fanalyzer-checker=taint -S -o pr93382.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c: In
function 'pl':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:26:13:
warning: use of tainted value 'idx' in array lookup without bounds checking
[CWE-129] [-Wanalyzer-tainted-array-index]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:23:1:
note: (1) entry to 'pl'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:25:3:
note: (2) calling 'ql' from 'pl'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:12:1:
note: (3) entry to 'ql'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:16:3:
note: (4) 'n1' gets an unchecked value here
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:17:7:
note: (5) 'idx' has an unchecked value here (from 'n1')
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:25:3:
note: (6) returning to 'pl' from 'ql'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/analyzer/pr93382.c:26:13:
note: (7) use of tainted value 'idx' in array lookup without bounds checking
PASS: gcc.dg/analyzer/pr93382.c  (test for warnings, line 16)
FAIL: gcc.dg/analyzer/pr93382.c  (test for warnings, line 17)
PASS: gcc.dg/analyzer/pr93382.c  (test for warnings, line 26)
PASS: gcc.dg/analyzer/pr93382.c (test for excess errors)


Executing on host: /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/two-types-6.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -fdiagnostics-urls=never   -std=gnu89 -S -o
two-types-6.s(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/two-types-6.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -std=gnu89 -S -o
two-types-6.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/two-types-6.c:6:3: error:
expected ';', identifier or '(' before 'struct'
compiler exited with status 1
FAIL: gcc.dg/two-types-6.c  (test for warnings, line 5)
PASS: gcc.dg/two-types-6.c  (test for errors, line 6)
PASS: gcc.dg/two-types-6.c (test for excess errors)

[Bug tree-optimization/94974] [11 regression] Many ICEs on power 7 after r11-59

2020-05-06 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94974

Bill Seurer  changed:

   What|Removed |Added

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

--- Comment #1 from Bill Seurer  ---
Hmm, looks like this was already fixed.

[Bug tree-optimization/94974] New: [11 regression] Many ICEs on power 7 after r11-59

2020-05-06 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94974

Bug ID: 94974
   Summary: [11 regression] Many ICEs on power 7 after r11-59
   Product: gcc
   Version: 11.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

This only happens on power 7 BE.  Didn't see it on power 8 BE.

this run: g:308bc496884706af4b3077171cbac684c7a6f7c6, r11-59: 127 failures

FAIL: gcc.c-torture/execute/pr65369.c   -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/execute/pr65369.c   -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr93428.c   -O1  (internal compiler error)
FAIL: gcc.dg/torture/pr93428.c   -O1  (test for excess errors)
FAIL: gcc.dg/torture/pr93428.c   -O2  (internal compiler error)
FAIL: gcc.dg/torture/pr93428.c   -O2  (test for excess errors)
FAIL: gcc.dg/torture/pr93428.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
FAIL: gcc.dg/torture/pr93428.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: gcc.dg/torture/pr93428.c   -O3 -g  (internal compiler error)
FAIL: gcc.dg/torture/pr93428.c   -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr93428.c   -Os  (internal compiler error)
FAIL: gcc.dg/torture/pr93428.c   -Os  (test for excess errors)
FAIL: gcc.dg/vect/bb-slp-29.c -flto -ffat-lto-objects (internal compiler error)
FAIL: gcc.dg/vect/bb-slp-29.c -flto -ffat-lto-objects (test for excess errors)
FAIL: gcc.dg/vect/bb-slp-9.c (internal compiler error)
FAIL: gcc.dg/vect/bb-slp-9.c (test for excess errors)
FAIL: gcc.dg/vect/bb-slp-9.c -flto -ffat-lto-objects  scan-tree-dump-times slp2
"basic block vectorized" 1
FAIL: gcc.dg/vect/bb-slp-9.c -flto -ffat-lto-objects (internal compiler error)
FAIL: gcc.dg/vect/bb-slp-9.c -flto -ffat-lto-objects (test for excess errors)
FAIL: gcc.dg/vect/bb-slp-9.c scan-tree-dump-times slp2 "basic block vectorized"
1
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c (internal compiler error)
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c (test for excess errors)
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2
"basic block vectorized" 1
FAIL: gcc.dg/vect/slp-43.c (internal compiler error)
FAIL: gcc.dg/vect/slp-43.c (test for excess errors)
FAIL: gcc.dg/vect/slp-43.c -flto -ffat-lto-objects (internal compiler error)
FAIL: gcc.dg/vect/slp-43.c -flto -ffat-lto-objects (test for excess errors)
FAIL: gfortran.dg/aliasing_dummy_4.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/aliasing_dummy_4.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/aliasing_dummy_4.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/aliasing_dummy_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/alloc_comp_assign_2.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/alloc_comp_assign_2.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/alloc_comp_assign_2.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/alloc_comp_assign_2.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/alloc_comp_assign_4.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/alloc_comp_assign_4.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/alloc_comp_assign_4.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/alloc_comp_assign_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/inline_transpose_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/inline_transpose_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/inline_transpose_1.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/inline_transpose_1.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/pr55086_aliasing_dummy_4_tfat.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/pr55086_aliasing_dummy_4_tfat.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/pr55086_aliasing_dummy_4_tfat.f90   -O3 -g  (internal
compiler error)
FAIL: gfortran.dg/pr55086_aliasing_dummy_4_tfat.f90   -O3 -g  (test for excess
errors)
FAIL: gfortran.dg/transfer_array_intr

[Bug testsuite/94853] New: [10 regression] excess errors in gfortran.dg/analyzer/pr93993.f90 since r10-8012

2020-04-29 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94853

Bug ID: 94853
   Summary: [10 regression] excess errors in
gfortran.dg/analyzer/pr93993.f90 since r10-8012
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

commit g:78b9783774bfd3540f38f5b1e3c7fc9f719653d7, r10-8012

spawn -ignore SIGHUP
/home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home3/seurer/gcc/git/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O -fanalyzer
-fdiagnostics-path-format=separate-events -Wanalyzer-too-complex
-fanalyzer-call-summaries -S -o pr93993.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:21:0:
Warning: leak of 'tm' [CWE-401] [-Wanalyzer-malloc-leak]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:26:0:
note: (1) entry to 'main'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:26:0:
note: (2) calling 'a5' from 'main'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:25:0:
note: (3) entry to 'a5'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:32:0:
note: (4) calling 'hv' from 'a5'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:15:0:
note: (5) entry to 'hv'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (6) following 'false' branch...
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (7) ...to here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (8) following 'false' branch...
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (9) ...to here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:21:0:
note: (10) 'tm' leaks here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:33:0:
Warning: leak of '(struct Pdtet_8 *) qb' [CWE-401] [-Wanalyzer-malloc-leak]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:26:0:
note: (1) entry to 'main'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:26:0:
note: (2) calling 'a5' from 'main'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:25:0:
note: (3) entry to 'a5'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:32:0:
note: (4) calling 'hv' from 'a5'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:15:0:
note: (5) entry to 'hv'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (6) following 'false' branch...
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (7) ...to here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (8) allocated here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (9) allocated here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (10) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin:
NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (11) following 'false' branch...
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (12) ...to here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:19:0:
note: (13) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin:
NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:21:0:
note: (14) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin:
NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:32:0:
note: (15) returning to 'a5' from 'hv'
f951: note: (16) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull'
(origin: NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:33:0:
note: (17) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin:
NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:33:0:
note: (18) state of '(struct Pdtet_8 *) qb': 'start' -> 'nonnull' (origin:
NULL)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90:33:0:
note: (19) '(struct Pdtet_8 *) qb' leaks here; was allocated at (9)
PASS: gf

[Bug other/94826] New: [10 regression] ICE in gcc.dg/pr94780.c after r10-7999

2020-04-28 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94826

Bug ID: 94826
   Summary: [10 regression] ICE in gcc.dg/pr94780.c after r10-7999
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:9b8e9006bb35641865358e2df4f6b3ae185b239a, r10-7999

spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home3/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr94780.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O2 -S -o pr94780.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr94780.c: In function
'foo':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/pr94780.c:8:1: internal
compiler error: Segmentation fault
0x10b33a33 crash_signal
/home/seurer/gcc/git/gcc-test/gcc/toplev.c:328
0x10c32f14 tree_check(tree_node*, char const*, int, char const*, tree_code)
/home/seurer/gcc/git/gcc-test/gcc/tree.h:3286
0x10c32f14 convert_nonlocal_reference_op
/home/seurer/gcc/git/gcc-test/gcc/tree-nested.c:1064
0x10f5449b walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set >*))
/home/seurer/gcc/git/gcc-test/gcc/tree.c:12000
0x1070d9ab walk_gimple_op(gimple*, tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:268
0x1070dd8f walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:596
0x1070e147 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:51
0x1070dfe3 walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:605
0x1070e147 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-walk.c:51
0x10c2a0c3 walk_body
/home/seurer/gcc/git/gcc-test/gcc/tree-nested.c:713
0x10c2a173 walk_function
/home/seurer/gcc/git/gcc-test/gcc/tree-nested.c:724
0x10c2a173 walk_all_functions
/home/seurer/gcc/git/gcc-test/gcc/tree-nested.c:789
0x10c369b3 lower_nested_functions(tree_node*)
/home/seurer/gcc/git/gcc-test/gcc/tree-nested.c:3551
0x104bbfb3 cgraph_node::analyze()
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:676
0x104c0b2b analyze_functions
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:1227
0x104c2217 symbol_table::finalize_compilation_unit()
/home/seurer/gcc/git/gcc-test/gcc/cgraphunit.c:2974

[Bug other/94825] libphobos test case failures on powerpc64

2020-04-28 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94825

Bill Seurer  changed:

   What|Removed |Added

 CC||ibuclaw at gcc dot gnu.org

--- Comment #1 from Bill Seurer  ---
g:1b0cbe05822f349ef8bc32fc1138d2874b2f469c, r10-7970

commit 1b0cbe05822f349ef8bc32fc1138d2874b2f469c
Author: Iain Buclaw 
Date:   Sun Apr 26 11:32:57 2020 +0200

libphobos: Add power*-*-linux* as a supported target

libphobos/ChangeLog:

* configure: Regenerate.
* configure.tgt: Add power*-*-linux* as a supported target, only
building libdruntime.
* m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
and powerpc64le target cpus.

[Bug other/94825] New: libphobos test case failures on powerpc64

2020-04-28 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94825

Bug ID: 94825
   Summary: libphobos test case failures on powerpc64
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

A bunch of the newly activated libphobos test cases fail on powerpc64.  I saw
this on both BE and LE.

FAIL: libphobos.allocations/tls_gc_integration.d execution test
FAIL: libphobos.druntime/core/demangle.d execution test
FAIL: libphobos.druntime/core/internal/convert.d (test for excess errors)
FAIL: libphobos.druntime/core/memory.d execution test
FAIL: libphobos.druntime/core/thread.d execution test
FAIL: libphobos.druntime/gc/impl/conservative/gc.d execution test
FAIL: libphobos.druntime/object.d execution test
FAIL: libphobos.druntime/rt/lifetime.d execution test
FAIL: libphobos.druntime/rt/util/container/treap.d execution test
FAIL: libphobos.druntime_shared/core/demangle.d execution test
FAIL: libphobos.druntime_shared/core/internal/convert.d (test for excess
errors)
FAIL: libphobos.druntime_shared/core/memory.d execution test
FAIL: libphobos.druntime_shared/core/thread.d execution test
FAIL: libphobos.druntime_shared/gc/impl/conservative/gc.d execution test
FAIL: libphobos.druntime_shared/object.d execution test
FAIL: libphobos.druntime_shared/rt/lifetime.d execution test
FAIL: libphobos.druntime_shared/rt/util/container/treap.d execution test
FAIL: libphobos.shared/finalize.d -shared-libphobos -ldl execution test
FAIL: libphobos.shared/host.c -ldl -pthread execution test
FAIL: libphobos.shared/link.d
-I/home/seurer/gcc/git/gcc-test/libphobos/testsuite/libphobos.shared lib.so
-shared-libphobos execution test
FAIL: libphobos.shared/linkD.c lib.so -ldl -pthread execution test
FAIL: libphobos.shared/linkDR.c -shared-libphobos -ldl -pthread execution test
FAIL: libphobos.shared/link_linkdep.d
-I/home/seurer/gcc/git/gcc-test/libphobosestsuite/libphobos.shared
liblinkdep.so lib.so -shared-libphobos execution test
FAIL: libphobos.shared/load.d -shared-libphobos -ldl execution test
FAIL: libphobos.shared/loadDR.c -ldl -pthread -g execution test
FAIL: libphobos.shared/load_linkdep.d -shared-libphobos -ldl execution test
FAIL: libphobos.shared/load_loaddep.d -shared-libphobos -ldl execution test
FAIL: libphobos.thread/fiber_guard_page.d execution test
FAIL: libphobos.thread/tlsgc_sections.d execution test

[Bug other/94720] New: [10 regression] execution failures with r10-7850

2020-04-22 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94720

Bug ID: 94720
   Summary: [10 regression] execution failures with  r10-7850
   Product: gcc
   Version: 9.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

commit 619602346aed9dae3f338d9f18767414446adf78, r10-7850 

Note I only saw this on powerpc64 LE.

FAIL: tmpdir-g++.dg-struct-layout-1/t032 cp_compat_x_tst.o-cp_compat_y_tst.o
execute 
FAIL: tmpdir-g++.dg-struct-layout-1/t058 cp_compat_x_tst.o-cp_compat_y_tst.o
execute 
FAIL: tmpdir-g++.dg-struct-layout-1/t059 cp_compat_x_tst.o-cp_compat_y_tst.o
execute 

The patch says "The primary goal of the patch is catch if some targets other
than aarch64 or arm aren't affected too."

[Bug middle-end/91512] [10 Regression] Fortran compile time regression.

2020-04-22 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512

--- Comment #30 from Bill Seurer  ---
I tried

-fno-inline-arg-packing

and with that the time to build all of spec2017 is 28m43 versus 63m to 65m
without.

For my purposes this is fine BUT will using this option have some sort of
performance effect when the tests are run?

[Bug middle-end/91512] [10 Regression] Fortran compile time regression.

2020-04-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512

--- Comment #29 from Bill Seurer  ---
The suggestion above was to use -finline-arg-packing but I will try
-fno-inline-arg-packing.

[Bug middle-end/91512] [10 Regression] Fortran compile time regression.

2020-04-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512

Bill Seurer  changed:

   What|Removed |Added

 CC||seurer at linux dot 
vnet.ibm.com

--- Comment #25 from Bill Seurer  ---
This is affecting us on powerpc64 as well.  It takes twice as long to build the
spec2017 test cases with most of the difference in a few of the fortran
compilations which take 30 times or more longer.  I tried the new option but it
seems to have no effect.

Some quick comparison timings:

compiling module_first_rk_step_part1.fppized.f90 (part of 521.wrf_r)

r10-484: 0m17, 0m14
r10-485: 9m19, 9m17
r10-7837 (current-ish trunk): 9m57, 10m3
r10-7837 with -finline-arg-packing: 9m58, 9m59

Compiling all of spec2017

r10-484: 34m8 
r10-485: 65m1  
r10-7837: 63m47  
r10-7837 w. option: 65m36

[Bug target/87163] ICE in extract_insn, at recog.c:2305

2020-04-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87163

--- Comment #17 from Bill Seurer  ---
Is there some earlier report to which this is a follow-on?  The first comment
here sort of implies that.

[Bug target/94557] New: [9 regression] r9-8486 causes several builtin instruction test case execution failures on power 9

2020-04-10 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94557

Bug ID: 94557
   Summary: [9 regression] r9-8486 causes several builtin
instruction test case execution failures on power 9
   Product: gcc
   Version: 9.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:892c755eae2e2e45547395013695fdd819c297fa, r9-8486

FAIL: gcc.target/powerpc/vsx-builtin-10b.c execution test
FAIL: gcc.target/powerpc/vsx-builtin-11b.c execution test
FAIL: gcc.target/powerpc/vsx-builtin-16b.c execution test
FAIL: gcc.target/powerpc/vsx-builtin-17b.c execution test
FAIL: gcc.target/powerpc/vsx-builtin-18b.c execution test
FAIL: gcc.target/powerpc/vsx-builtin-9b.c execution test

[Bug other/94555] New: [10 regression] ICE compiling gfortran.dg/substr_6.f90 after r10-7665

2020-04-10 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94555

Bug ID: 94555
   Summary: [10 regression] ICE compiling gfortran.dg/substr_6.f90
after r10-7665
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:33c45e51b4914008064d9b77f2c1fc0eea1ad060, r10-7665

FAIL: gfortran.dg/substr_6.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/substr_6.f90   -O3 -g  (test for excess errors)

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/substr_6.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -O3 -g -std=legacy
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./substr_6.exe
during RTL pass: vartrack
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/substr_6.f90:23:0:
internal compiler error: in vt_expand_var_loc_chain, at var-tracking.c:8355
0x10ff46cf vt_expand_var_loc_chain
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8355
0x10ff46cf vt_expand_loc_callback
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8551
0x10590027 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1880
0x105931c7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1727
0x10ff3a1f vt_expand_loc_callback
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8485
0x10590253 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1845
0x105931c7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1727
0x10ff409b vt_expand_var_loc_chain
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8388
0x10ff409b vt_expand_loc_callback
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8551
0x10590027 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1880
0x105931c7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1727
0x10ff409b vt_expand_var_loc_chain
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8388
0x10ff409b vt_expand_loc_callback
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8551
0x10590027 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1880
0x1058fe77 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1919
0x1058fe77 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1919
0x1058fe77 cselib_expand_value_rtx_1
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1919
0x105931c7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
/home/seurer/gcc/git/gcc-test2/gcc/cselib.c:1727
0x10ff409b vt_expand_var_loc_chain
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8388
0x10ff409b vt_expand_loc_callback
/home/seurer/gcc/git/gcc-test2/gcc/var-tracking.c:8551

[Bug target/87163] ICE in extract_insn, at recog.c:2305

2020-04-09 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87163

--- Comment #15 from Bill Seurer  ---
Martin, are you expecting this build to have 64 bit or 128 bit long doubles? 
The default should be 128 as it is natively but for some reason the cross
compiler is using 64.  Even with that, though, the compiler shouldn't be
ICEing.

I tested and if you add --with--long-double-128 the cross compiler will behave
the same as a native compiler and the ICE won't occur.

[Bug testsuite/94533] errors in new test case g++.dg/declare-pr94120.C in r10-7614

2020-04-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94533

Bill Seurer  changed:

   What|Removed |Added

Summary|errors in new test case |errors in new test case
   |g++.dg/declare-pr94120.C in |g++.dg/declare-pr94120.C in
   |r10-7632|r10-7614

--- Comment #2 from Bill Seurer  ---
Oops, sorry.  I copied from the wrong screen.

[Bug testsuite/94533] New: errors in new test case g++.dg/declare-pr94120.C in r10-7632

2020-04-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94533

Bug ID: 94533
   Summary: errors in new test case g++.dg/declare-pr94120.C in
r10-7632
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

g:8bf5faa9c463f0d53ffe835ba03d4502edfb959d, r10-7632

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test2/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++17 -pedantic-errors -Wno-long-long -S -o declare-pr94120.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:11:2:
error: extra ';' [-Wpedantic]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:17:4:
error: extra ';' [-Wpedantic]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:18:2:
error: extra ';' [-Wpedantic]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:23:2:
error: extra ';' [-Wpedantic]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:29:4:
error: extra ';' [-Wpedantic]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/g++.dg/declare-pr94120.C:30:2:
error: extra ';' [-Wpedantic]
compiler exited with status 1
FAIL: g++.dg/declare-pr94120.C  -std=c++17 (test for excess errors)

[Bug ipa/94486] New: [10 regression] bootstrap build failure after r10-7552

2020-04-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94486

Bug ID: 94486
   Summary: [10 regression] bootstrap build failure after r10-7552
   Product: gcc
   Version: 10.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at linux dot vnet.ibm.com
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

g: 2523d721cfc861a3abea6e97736446c99ba8b52d, r10-7552 

/home/seurer/gcc/git/build/gcc-test2/./prev-gcc/xg++
-B/home/seurer/gcc/git/build/gcc-test2/./prev-gcc/
-B/home/seurer/gcc/git/install/gcc-test2/powerpc64le-unknown-linux-gnu/bin/
-nostdinc++
-B/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu

-I/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
 -I/home/seurer/gcc/git/gcc-test2/libstdc++-v3/libsupc++
-L/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-test2/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I/home/seurer/gcc/git/gcc-test2/gcc -I/home/seurer/gcc/git/gcc-test2/gcc/.
-I/home/seurer/gcc/git/gcc-test2/gcc/../include
-I/home/seurer/gcc/git/gcc-test2/gcc/../libcpp/include
-I/home/seurer/gcc/git/build/gcc-test2/./gmp
-I/home/seurer/gcc/git/gcc-test2/gmp
-I/home/seurer/gcc/git/build/gcc-test2/./mpfr/src
-I/home/seurer/gcc/git/gcc-test2/mpfr/src
-I/home/seurer/gcc/git/gcc-test2/mpc/src 
-I/home/seurer/gcc/git/gcc-test2/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-test2/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/seurer/gcc/git/gcc-test2/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-test2/./isl/include
-I/home/seurer/gcc/git/gcc-test2/isl/include  -o ipa-fnsummary.o -MT
ipa-fnsummary.o -MMD -MP -MF ./.deps/ipa-fnsummary.TPo
/home/seurer/gcc/git/gcc-test2/gcc/ipa-fnsummary.c
/home/seurer/gcc/git/gcc-test2/gcc/ipa-fnsummary.c:526:1: error: 'bool
fre_will_run_p(cgraph_node*)' defined but not used [-Werror=unused-function]
  526 | fre_will_run_p (struct cgraph_node *node)
  | ^~
cc1plus: all warnings being treated as errors

[Bug d/94315] [10 regression] new tests gdc.dg/pr93038.d and gdc.dg/pr93038b.d in r10-7320 fail

2020-04-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94315

Bill Seurer  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Bill Seurer  ---
Looks like they are all cleaned up now.  Thanks!

  1   2   3   >