[Bug other/115110] [15 regression] several failures after r15-512-g9b7cad5884f21c

2024-05-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115110

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Target||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu
 CC||bergner at gcc dot gnu.org,
   ||hubicka at gcc dot gnu.org
   Host||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu
  Build||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu

--- Comment #1 from seurer at gcc dot gnu.org ---
commit 9b7cad5884f21cc5783075be0043777448db3fab (HEAD)
Author: Jan Hubicka 
Date:   Wed May 15 14:14:27 2024 +0200

Avoid pointer compares on TYPE_MAIN_VARIANT in TBAA

[Bug other/115110] New: [15 regression] several failures after r15-512-g9b7cad5884f21c

2024-05-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115110

Bug ID: 115110
   Summary: [15 regression] several failures after
r15-512-g9b7cad5884f21c
   Product: gcc
   Version: 15.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:9b7cad5884f21cc5783075be0043777448db3fab, r15-512-g9b7cad5884f21c: 1122
failures

I saw these on powerpc64 both BE and LE

FAIL: g++.dg/tree-ssa/pr83215.C  -std=gnu++14  scan-tree-dump-times fre1 "\\*i"
1
FAIL: g++.dg/tree-ssa/pr83215.C  -std=gnu++17  scan-tree-dump-times fre1 "\\*i"
1
FAIL: g++.dg/tree-ssa/pr83215.C  -std=gnu++20  scan-tree-dump-times fre1 "\\*i"
1
FAIL: g++.dg/tree-ssa/pr83215.C  -std=gnu++98  scan-tree-dump-times fre1 "\\*i"
1
FAIL: gcc.dg/tree-ssa/ssa-lim-15.c scan-tree-dump lim2 "Executing store motion"
FAIL: gfortran.dg/vect/vect-do-concurrent-1.f90   -O   at line 14 (test for
warnings, line )

[Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985

--- Comment #8 from seurer at gcc dot gnu.org ---
tests ran OK too.

[Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985

--- Comment #7 from seurer at gcc dot gnu.org ---
I tried that and with it trunk did finish building.  I am running a test of
that now.

[Bug bootstrap/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985

--- Comment #3 from seurer at gcc dot gnu.org ---
Created attachment 58129
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58129=edit
pre-processed failing file

[Bug bootstrap/114985] [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985

seurer at gcc dot gnu.org changed:

   What|Removed |Added

  Build||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu
 Target||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu
 CC||aldyh at gcc dot gnu.org,
   ||bergner at gcc dot gnu.org
   Host||powerpc64-linux-gnu,
   ||powerpc64le-linux-gnu

--- Comment #1 from seurer at gcc dot gnu.org ---
Looks like this is the culprit:

commit 36e877996936abd8bd08f8b1d983c8d1023a5842 (HEAD)
Author: Aldy Hernandez 
Date:   Tue May 7 14:05:50 2024 +0200

Enable prange support.

[Bug bootstrap/114985] New: [15 regression] internal compiler error: in discriminator_fail during stage2

2024-05-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985

Bug ID: 114985
   Summary: [15 regression] internal compiler error: in
discriminator_fail during stage2
   Product: gcc
   Version: 15.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I am looking for the source but this is the failure:

/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/powerpc64le-unknown-linux-gnu/bin/
-nostdinc++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

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

-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-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-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
 -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -fno-PIE -I. -Ic -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c
-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/gcc-trunk-bootstrap/gcc/../libcody
-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 c/c-parser.o -MT
c/c-parser.o -MMD -MP -MF c/.deps/c-parser.TPo
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c/c-parser.cc
DISCRIMINATOR FAIL.  Dispatch > RO_PPP <
during IPA pass: inline
In file included from
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c/c-parser.cc:26971:
./gt-c-c-parser.h:94:2: internal compiler error: in discriminator_fail, at
range-op.cc:204
   94 | };
  |  ^
0x11993d23 range_op_handler::discriminator_fail(vrange const&, vrange const&,
vrange const&) const
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/range-op.cc:204
0x11993fff range_op_handler::fold_range(vrange&, tree_node*, vrange const&,
vrange const&, relation_trio) const
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/range-op.cc:228
0x13198197 ipa_value_range_from_jfunc(vrange&, ipa_node_params*, cgraph_edge*,
ipa_jump_func*, tree_node*)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-cp.cc:1743
0x116214e3 evaluate_properties_for_edge(cgraph_edge*, bool, unsigned int*,
unsigned int*, ipa_auto_call_arg_values*, bool)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-fnsummary.cc:680
0x116567d3 do_estimate_edge_size(cgraph_edge*)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:337
0x11657ab7 estimate_edge_size(cgraph_edge*)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.h:79
0x11657ba3 estimate_edge_growth(cgraph_edge*)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.h:100
0x11656d0b do_estimate_growth_1
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:436
0x11176bcf cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*,
void*), void*, bool)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/cgraph.h:3429
0x11656fbb estimate_growth(cgraph_node*)
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:474
0x131cb18f inline_small_functions
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:2081
0x131ce89b ipa_inline
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:2850
0x131cfc6b execute
/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:3248

[Bug other/114939] New: [15 regression] c-c++-common/torture/strub-run3.c fails after r15-125-g7117e1f6bf6de2

2024-05-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114939

Bug ID: 114939
   Summary: [15 regression] c-c++-common/torture/strub-run3.c
fails after r15-125-g7117e1f6bf6de2
   Product: gcc
   Version: 15.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:7117e1f6bf6de25c1ff26c4d7abcc79b407ca221, r15-125-g7117e1f6bf6de2

I am seeing this on powerpc64 BE systems.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
dg-torture.exp=c-c++-common/torture/strub-run3.c"
FAIL: c-c++-common/torture/strub-run3.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O0  execution test


(gdb) run
Starting program: /home/seurer/gcc/git/build/gcc-test/strub-run3.exe 
...
Program received signal SIGABRT, Aborted.
0x0fd73360 in ?? () from /lib32/libc.so.6
(gdb) where
#0  0x0fd73360 in ?? () from /lib32/libc.so.6
#1  0x0fd151e4 in raise () from /lib32/libc.so.6
#2  0x0fcfa128 in abort () from /lib32/libc.so.6
#3  0x16e0 in main () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/torture/strub-run3.c:75



commit 7117e1f6bf6de25c1ff26c4d7abcc79b407ca221 (HEAD)
Author: Jakub Jelinek 
Date:   Fri May 3 09:44:30 2024 +0200

tree-inline: Add __builtin_stack_{save,restore} pair about inline calls
with calls to alloca [PR113596]

[Bug testsuite/114744] test case gcc.target/powerpc/builtins-6-p9-runnable.c fails

2024-04-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114744

--- Comment #1 from seurer at gcc dot gnu.org ---
also gcc 11

[Bug testsuite/114744] New: test case gcc.target/powerpc/builtins-6-p9-runnable.c fails

2024-04-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114744

Bug ID: 114744
   Summary: test case gcc.target/powerpc/builtins-6-p9-runnable.c
fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

gcc.target/powerpc/builtins-6-p9-runnable.c fails only on power 9 BE for gcc
12, 13, and trunk (14).

FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c  -O0  execution test
FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c  -O1  execution test
FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c  -O2  execution test
FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c  -O3  execution test
FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c  -Os  execution test
FAIL: gcc.target/powerpc/builtins-6-p9-runnable.c execution test

(gdb) run 
Starting program: /home/seurer/gcc/git/build/gcc-12/builtins-6-p9-runnable.exe 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=, signo=,
no_tid=) at pthread_kill.c:44
44  pthread_kill.c: No such file or directory.
(gdb) where
#0  __pthread_kill_implementation (threadid=, signo=, no_tid=) at pthread_kill.c:44
#1  0x77c90bb4 in __GI_raise (sig=) at
../sysdeps/posix/raise.c:26
#2  0x77c7490c in __GI_abort () at abort.c:79
#3  0x16e8 in main () at
/home/seurer/gcc/git/gcc-12/gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c:434



  vec_xst_len (store_data_sc, address_sc, len);

  if (result_wrong_sc (vec_sc_expected1, vec_sc_result1))
{
#ifdef DEBUG
   printf("Error: vec_xst_len, len = %d, sc result does not match expected
result\n", len);
   print_sc (vec_sc_expected1, vec_sc_result1);
#else
   abort();  // line 434
#endif
}




Compiling it with -DDEBUG:

seurer@nilram:~/gcc/git/build/gcc-12$ ./builtins-6-p9-runnable.exe 
Error: vec_xl_len(), len = 8, vec_s128_result1[0] = 0 0; vec_s128_expected1[0]
= 0 0
Error: vec_xl_len(), len = 8, vec_u128_result1[0] = 0; vec_u128_expected1[0] =
0
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[0] = 1;
vec_uc_expected1[0] = 16
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[1] = 2;
vec_uc_expected1[1] = 15
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[2] = 3;
vec_uc_expected1[2] = 14
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[3] = 4;
vec_uc_expected1[3] = 13
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[4] = 5;
vec_uc_expected1[4] = 12
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[5] = 6;
vec_uc_expected1[5] = 11
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[6] = 7;
vec_uc_expected1[6] = 10
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[7] = 8;
vec_uc_expected1[7] = 9
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[8] = 9;
vec_uc_expected1[8] = 8
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[9] = 10;
vec_uc_expected1[9] = 7
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[10] =
11; vec_uc_expected1[10] = 6
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[11] =
12; vec_uc_expected1[11] = 5
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[12] =
13; vec_uc_expected1[12] = 4
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[13] =
14; vec_uc_expected1[13] = 3
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[14] =
15; vec_uc_expected1[14] = 2
Error: pre/post initialzation vec_xl_len_r(), len = 16, vec_uc_result1[15] =
16; vec_uc_expected1[15] = 1

[Bug lto/114662] New: [14 regression] new test case c_lto_pr113359-2 from r14-9841-g1e3312a25a7b34 fails

2024-04-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114662

Bug ID: 114662
   Summary: [14 regression] new test case c_lto_pr113359-2 from
r14-9841-g1e3312a25a7b34 fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:1e3312a25a7b34d6e3f549273e1674c7114e4408, r14-9841-g1e3312a25a7b34

I am seeing this on our big endian machines for -m32


 make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}' lto.exp=*"

FAIL: gcc-dg-lto-pr113359-2-01.exe scan-wpa-ipa-dump icf "Semantic equality
hit:geta/.*getb/"
FAIL: gcc.dg/lto/pr113359-2 c_lto_pr113359-2_0.o assemble, -O2 -flto
-fno-strict-aliasing -fno-ipa-cp  --disable-tree-esra -fdump-ipa-icf-details 
FAIL: gcc.dg/lto/pr113359-2 c_lto_pr113359-2_0.o-c_lto_pr113359-2_1.o execute
-O2 -flto -fno-strict-aliasing -fno-ipa-cp  --disable-tree-esra
-fdump-ipa-icf-details 


commit 1e3312a25a7b34d6e3f549273e1674c7114e4408 (HEAD)
Author: Martin Jambor 
Date:   Mon Apr 8 18:53:23 2024 +0200

ICF: Make ICF and SRA agree on padding

[Bug testsuite/114642] New: new test case gcc.dg/debug/btf/btf-datasec-3.c from r14-6195-gb8cf266f4ca4ff fails for 32 bits

2024-04-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114642

Bug ID: 114642
   Summary: new test case gcc.dg/debug/btf/btf-datasec-3.c from
r14-6195-gb8cf266f4ca4ff fails for 32 bits
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:b8cf266f4ca4ff89704b190c827abf9ea7e7b5bf, r14-6195-gb8cf266f4ca4ff

I only see this failing on 32 bit.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
btf.exp=gcc.dg/debug/btf/btf-datasec-3.c"
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type 3
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type:
\\(BTF_KIND_VAR 'test_data2'\\) 1
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type:
\\(BTF_KIND_VAR 'test_bss2'\\) 1
# of expected passes2
# of unexpected failures3


Author: David Faust 
Date:   Mon Dec 4 14:08:03 2023 -0800

btf: avoid wrong DATASEC entries for extern vars [PR112849]

* gcc.dg/debug/btf/btf-datasec-3.c: New test.

[Bug testsuite/114614] New: New test case gcc.misc-tests/gcov-20.c from r14-9789-g08a52331803f66 fails

2024-04-05 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114614

Bug ID: 114614
   Summary: New test case gcc.misc-tests/gcov-20.c from
r14-9789-g08a52331803f66 fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:08a52331803f66a4aaeaedd278436ca8eac57b50, r14-9789-g08a52331803f66

I am seeing this on a BE machine for -m32.

Running target unix/-m32
FAIL: gcc.misc-tests/gcov-20.c (test for excess errors)

/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.misc-tests/gcov-20.c:20:1:
warning: target does not support atomic profile update, single mode is selected


commit 08a52331803f66a4aaeaedd278436ca8eac57b50 (HEAD)
Author: Jrgen Kvalsvik 
Date:   Tue Dec 5 12:59:40 2023 +0100

Add condition coverage (MC/DC)

[Bug testsuite/114518] [14 regression] gcc.target/powerpc/combine-2-2.c fails after r14-9692-g839bc42772ba7a

2024-03-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114518

--- Comment #2 from seurer at gcc dot gnu.org ---
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
powerpc.exp=gcc.target/powerpc/combine-2-2.c"
FAIL: gcc.target/powerpc/combine-2-2.c scan-assembler-not \\msrawi\\M
# of expected passes1
# of unexpected failures1


make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m64}'
powerpc.exp=gcc.target/powerpc/combine-2-2.c"
# of expected passes2


So, yeah, only for -m32 for me too.

[Bug testsuite/114518] New: [14 regression] gcc.target/powerpc/combine-2-2.c fails after r14-9692-g839bc42772ba7a

2024-03-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114518

Bug ID: 114518
   Summary: [14 regression] gcc.target/powerpc/combine-2-2.c fails
after r14-9692-g839bc42772ba7a
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:839bc42772ba7af66af3bd16efed4a69511312ae, r14-9692-g839bc42772ba7a

Seeing this on BE only.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
powerpc.exp=gcc.target/powerpc/combine-2-2.c"
FAIL: gcc.target/powerpc/combine-2-2.c scan-assembler-not \\msrawi\\M

commit 839bc42772ba7af66af3bd16efed4a69511312ae (HEAD)
Author: Segher Boessenkool 
Date:   Wed Mar 27 14:09:52 2024 +

combine: Don't combine if I2 does not change

[Bug testsuite/114486] New: new test gcc.c-torture/execute/pr111151.c in r14-9668-gc4f2c84e8fa369 fails

2024-03-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114486

Bug ID: 114486
   Summary: new test gcc.c-torture/execute/pr51.c  in
r14-9668-gc4f2c84e8fa369 fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:c4f2c84e8fa369856aee76679590eb613724bfb0, r14-9668-gc4f2c84e8fa369
make  -k check-gcc RUNTESTFLAGS="execute.exp=gcc.c-torture/execute/pr51.c"
FAIL: gcc.c-torture/execute/pr51.c   -O0  execution test
FAIL: gcc.c-torture/execute/pr51.c   -O1  execution test
FAIL: gcc.c-torture/execute/pr51.c   -O2  execution test
FAIL: gcc.c-torture/execute/pr51.c   -O3 -g  execution test
FAIL: gcc.c-torture/execute/pr51.c   -Os  execution test
FAIL: gcc.c-torture/execute/pr51.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/pr51.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
# of expected passes7
# of unexpected failures7

(gdb) run
Starting program: /home/seurer/gcc/git/build/gcc-test/pr51.exe 

Program received signal SIGABRT, Aborted.
0x77c296f8 in raise () from /lib64/glibc-hwcaps/power9/libc-2.28.so
Missing separate debuginfos, use: yum debuginfo-install
glibc-2.28-236.el8_9.12.ppc64le
(gdb) where
#0  0x77c296f8 in raise () from /lib64/glibc-hwcaps/power9/libc-2.28.so
#1  0x77c03ff4 in abort () from /lib64/glibc-hwcaps/power9/libc-2.28.so
#2  0x1558 in main () at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.c-torture/execute/pr51.c:15


  if (f != 120)
__builtin_abort ();  // line 15



commit c4f2c84e8fa369856aee76679590eb613724bfb0 (HEAD)
Author: Jakub Jelinek 
Date:   Tue Mar 26 11:21:38 2024 +0100

fold-const: Punt on MULT_EXPR in extract_muldiv MIN/MAX_EXPR case
[PR51]

* gcc.c-torture/execute/pr51.c: New test.

[Bug middle-end/110316] [11/12/13/14 Regression] g++.dg/ext/timevar1.C and timevar2.C fail erratically

2024-03-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110316

--- Comment #6 from seurer at gcc dot gnu.org ---
Was this only fixed for trunk?  I started seeing it for gcc 13:

g:5b928badac560ad48e0e9fc480096ff396d9d9c6, r13-8468-g5b928badac560a
make  -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/ext/timevar1.C"
FAIL: g++.dg/ext/timevar1.C  -std=gnu++98 (internal compiler error: in
validate_phases, at timevar.cc:626)
FAIL: g++.dg/ext/timevar1.C  -std=gnu++98 (test for excess errors)
# of expected passes7
# of unexpected failures2

[Bug analyzer/114343] New: [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343

Bug ID: 114343
   Summary: [13 regression] many erratic errors starting with
r13-8433-g1277f69b9b0206
   Product: gcc
   Version: 13.2.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: analyzer
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:1277f69b9b020688618bd034d3ceb03395e84326, r13-8433-g1277f69b9b0206

I am seeing many erratic errors starting with this revision.  Examples from two
different runs on the same revision:

FAIL: gcc.dg/20040622-2.c (test for excess errors)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 24)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 34)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 56)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 66)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 73)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 77)
FAIL: gcc.dg/cpp/defined.c  (test for errors, line 82)
FAIL: gcc.dg/cpp/include2.c  (test for errors, line 10)
FAIL: gcc.dg/cpp/include2.c (test for excess errors)
FAIL: gcc.dg/cpp/line2.c line # too high at line 13 (test for errors, line 2)
FAIL: gcc.dg/cpp/line2.c line # too low at line 12 (test for errors, line 1)
FAIL: gcc.dg/cpp/mac-dir-2.c  (test for errors, line 12)
FAIL: gcc.dg/cpp/multiline-2.c (test for excess errors)
FAIL: gcc.dg/cpp/skipping2.c (test for excess errors)
FAIL: gcc.dg/cpp/skipping2.c tokens after #endif (test for errors, line 13)
ERROR: tcl error sourcing
/home/seurer/gcc/git/gcc-13/gcc/testsuite/gcc.dg/analyzer/analyzer.exp.
ERROR: unmatched open brace in list


FAIL: gcc.dg/cpp/include2.c  (test for errors, line 10)
FAIL: gcc.dg/cpp/include2.c (test for excess errors)
FAIL: gcc.dg/cpp/include2a.c  (test for errors, line 10)
FAIL: gcc.dg/cpp/include2a.c (test for excess errors)
FAIL: gcc.dg/cpp/include2a.c missing at line 15 (test for errors, line )
FAIL: gcc.dg/cpp/multiline-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/20030920-1.c (test for excess errors)
ERROR: tcl error sourcing
/home/seurer/gcc/git/gcc-13-test/gcc/testsuite/gcc.dg/analyzer/analyzer.exp.
ERROR: unmatched open brace in list


The errors are like this:

Excess errors:
/home/seurer/gcc/git/gcc-13-test/gcc/testsuite/gcc.dg/cpp/include2.c:10:18:
warning: extra tokens at end of #include directive

Line 10 has a comment after the #include:

#include >  /* { dg-error "extra tokens" } */

or maybe it is now mishandling the \>.

Excess errors:
/home/seurer/gcc/git/gcc-13-test/gcc/testsuite/gcc.dg/cpp/include2a.c:10:18:
warning: extra tokens at end of #include directive
/home/seurer/gcc/git/gcc-13-test/gcc/testsuite/gcc.dg/cpp/include2a.c:10:48:
warning: missing terminating " character


The specific ones that fail vary from run to run but that last ERROR one is
always there.

commit 1277f69b9b020688618bd034d3ceb03395e84326 (HEAD)
Author: Torbjrn SVENSSON 
Date:   Sat Mar 9 09:40:07 2024 +0100

testsuite: xfail test for short_enums

[Bug testsuite/114320] New: New test case in r14-9439-g4aa87b856067d4 fails

2024-03-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114320

Bug ID: 114320
   Summary: New test case in r14-9439-g4aa87b856067d4 fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:4aa87b856067d4911de8fb66b3a27659dc75ca6d, r14-9439-g4aa87b856067d4

This new test works on our powerpc64 systesm built with IEEE128 as default but
fails everywhere else (both BE and LE).

make  -k check-gcc-c++ RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
modules.exp=target-powerpc-1_a.C"
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++2b (test for excess errors)
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/target-powerpc-1_a.C -std=c++2b (test for excess errors)


cc1plus: warning: Using IEEE extended precision 'long double' [-Wpsabi]
FAIL: g++.dg/modules/target-powerpc-1_b.C -std=c++2a (test for excess errors)
Excess errors:
cc1plus: warning: Using IEEE extended precision 'long double' [-Wpsabi]


commit 4aa87b856067d4911de8fb66b3a27659dc75ca6d (HEAD)
Author: Nathaniel Shead 
Date:   Sun Mar 10 22:06:18 2024 +1100

c++: Support target-specific nodes when streaming modules [PR111224]

[Bug analyzer/108722] [13/14 Regression] gcc.dg/analyzer/file-CWE-1341-example.c fails on power 9 BE

2024-03-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108722

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from seurer at gcc dot gnu.org ---
Fixed now.  Thanks!

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-03-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284

seurer at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #10 from seurer at gcc dot gnu.org ---
Fixed now.  Thanks!

[Bug libbacktrace/114201] New: [14 regression] r14-9247-gc6d4fb0062c605 breaks a bunch of tests on powerpc64 BE

2024-03-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114201

Bug ID: 114201
   Summary: [14 regression] r14-9247-gc6d4fb0062c605 breaks a
bunch of tests on powerpc64 BE
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libbacktrace
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
CC: ian at gcc dot gnu.org
  Target Milestone: ---

g:c6d4fb0062c6059fe21968a9fe44c56814c88873, r14-9247-gc6d4fb0062c605

FAIL: b2test_buildidfull
FAIL: b2test_buildidfull
FAIL: b3test_dwz_buildidfull
FAIL: b3test_dwz_buildidfull
FAIL: backtrace_simple noinline
FAIL: backtrace_simple noinline
FAIL: backtrace_simple noinline
FAIL: backtrace_syminfo variable
FAIL: backtrace_syminfo variable
FAIL: backtrace_syminfo variable
FAIL: btest_gnudebuglinkfull
FAIL: btest_gnudebuglinkfull

>From one of the logs:

FAIL: b2test_buildidfull


test3: [0]: NULL syminfo name
test3: [1]: NULL syminfo name
test3: [2]: NULL syminfo name
test5: unexpected syminfo name got read_function_entry expected global
PASS: backtrace_full noinline
PASS: backtrace_full inline
FAIL: backtrace_simple noinline
PASS: backtrace_simple inline
FAIL: backtrace_syminfo variable
FAIL b2test_buildidfull (exit status: 1)

FAIL: b3test_dwz_buildidfull


test3: [0]: NULL syminfo name
test3: [1]: NULL syminfo name
test3: [2]: NULL syminfo name
test5: unexpected syminfo name got read_function_entry expected global
PASS: backtrace_full noinline
PASS: backtrace_full inline
FAIL: backtrace_simple noinline
PASS: backtrace_simple inline
FAIL: backtrace_syminfo variable
FAIL b3test_dwz_buildidfull (exit status: 1)

FAIL: btest_gnudebuglinkfull


test3: [0]: NULL syminfo name
test3: [1]: NULL syminfo name
test3: [2]: NULL syminfo name
test5: unexpected syminfo name got read_function_entry expected global
PASS: backtrace_full noinline
PASS: backtrace_full inline
FAIL: backtrace_simple noinline
PASS: backtrace_simple inline
FAIL: backtrace_syminfo variable
FAIL btest_gnudebuglinkfull (exit status: 1)


commit c6d4fb0062c6059fe21968a9fe44c56814c88873
Author: Ian Lance Taylor 
Date:   Thu Feb 29 19:44:19 2024 -0800

libbacktrace: read symbol table of debuginfo file

[Bug other/113961] [14 regression] 26_numerics/random/pr60037-neg.cc fails in new place after r14-9028-g7f3d900684ad98

2024-02-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113961

--- Comment #5 from seurer at gcc dot gnu.org ---
Indeed you did, thanks!

[Bug other/113961] [14 regression] 26_numerics/random/pr60037-neg.cc fails in new place after r14-9028-g7f3d900684ad98

2024-02-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113961

--- Comment #1 from seurer at gcc dot gnu.org ---
 < previous run: g:1aef0a9b07766d100a218ef3e9576d0a0dd35a2d,
r14-9027-g1aef0a9b07766d
 > this run: g:7f3d900684ad989164114f25eb46a33871c6533d,
r14-9028-g7f3d900684ad98

 < FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors,
line 271)
 > FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors,
line 3350)

[Bug other/113961] New: [14 regression] 26_numerics/random/pr60037-neg.cc fails in new place after r14-9028-g7f3d900684ad98

2024-02-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113961

Bug ID: 113961
   Summary: [14 regression] 26_numerics/random/pr60037-neg.cc
fails in new place after r14-9028-g7f3d900684ad98
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:7f3d900684ad989164114f25eb46a33871c6533d, r14-9028-g7f3d900684ad98
make  -k check RUNTESTFLAGS="conformance.exp=26_numerics/random/pr60037-neg.cc"
FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors, line
3350)
FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17 (test for excess errors)


commit 7f3d900684ad989164114f25eb46a33871c6533d (HEAD)
Author: Jonathan Wakely 
Date:   Wed Feb 7 11:31:10 2024 +

libstdc++: Fix FAIL: 26_numerics/random/pr60037-neg.cc [PR113931]


This commit fixed the previous error in pr60037-neg.cc but caused a new one.

In file included from
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/random:48,^M
 from
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu/bits/stdc++.h:179,^M
 from :^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.h:
In instantiation of 'struct
std::__detail::_Adaptor, long unsigned int>':^M
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc:8:
  required from here^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.h:270:
error: static assertion failed: template argument must be a floating point
type^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.h:270:
note: 'std::integral_constant::value' evaluates to false^M
In file included from
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/random:50:^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.tcc:
In instantiation of '_RealType
std::generate_canonical(_UniformRandomNumberGenerator&) [with _RealType = long
unsigned int; long unsigned int __bits = 64; _UniformRandomNumberGenerator =
mersenne_twister_engine]':^M
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc:11:
  required from here^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.tcc:3351:
error: static assertion failed: template argument must be a floating point
type^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.tcc:3351:
note: 'std::integral_constant::value' evaluates to false^M
compiler exited with status 1
PASS: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors, line
270)
FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors, line
3350)

[Bug other/113931] New: [14 regression] 26_numerics/random/pr60037-neg.cc fails after r14-8998-gc9ce332b557bb9

2024-02-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113931

Bug ID: 113931
   Summary: [14 regression] 26_numerics/random/pr60037-neg.cc
fails after r14-8998-gc9ce332b557bb9
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:c9ce332b557bb95987d038d98ea929cdfd1eae1d, r14-8998-gc9ce332b557bb9
make  -k check RUNTESTFLAGS="conformance.exp=26_numerics/random/pr60037-neg.cc"
FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17  (test for errors, line
271)
FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17 (test for excess errors)
# of expected passes1
# of unexpected failures2


FAIL: 26_numerics/random/pr60037-neg.cc  -std=gnu++17 (test for excess errors)
Excess errors:
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/random.h:270:
error: static assertion failed: template argument must be a floating point type


commit c9ce332b557bb95987d038d98ea929cdfd1eae1d (HEAD)
Author: Jonathan Wakely 
Date:   Wed Feb 7 11:31:10 2024 +

libstdc++: Use 128-bit arithmetic for std::linear_congruential_engine
[PR87744]

[Bug testsuite/113085] New test case libgomp.c/alloc-pinned-1.c from r14-6499-g348874f0baac0f fails

2024-02-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113085

--- Comment #7 from seurer at gcc dot gnu.org ---
I posted the LE stuff already but here it is again:

spawn [open ...]^M
unsufficient lockable memory; please increase ulimit
FAIL: libgomp.c/alloc-pinned-1.c execution test

seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ ulimit -a
...
max locked memory   (kbytes, -l) 64
...
seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ getconf PAGESIZE
65536

This is a RHEL 8.9 machine and as far as I know it is using the default ulimit
settings.


On the BE machine:

seurer@nilram:~/gcc/git/build/gcc-test$ ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
...
max locked memory   (kbytes, -l) 529679232
...
seurer@nilram:~/gcc/git/build/gcc-test$ getconf PAGESIZE
65536


There were no messages.  Running it in gdb I get:

(gdb) where
#0  0x0fce3340 in ?? () from /lib32/libc.so.6
#1  0x0fc851e4 in raise () from /lib32/libc.so.6
#2  0x0fc6a128 in abort () from /lib32/libc.so.6
#3  0x1ae4 in set_pin_limit (size=size@entry=131072) at
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/alloc-pinned-4.c:44
#4  0x1754 in main () at
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/alloc-pinned-4.c:106


  if (getrlimit (RLIMIT_MEMLOCK, ))
abort ();   // line 44 in alloc-pinned-4.c

This is a Debian Trixie machine and it too is using whatever the defaults are.

[Bug testsuite/113085] New test case libgomp.c/alloc-pinned-1.c from r14-6499-g348874f0baac0f fails

2024-02-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113085

--- Comment #5 from seurer at gcc dot gnu.org ---
I should note that pinned-2 also fails on powerpc64 LE.

make  -k check-target-libgomp RUNTESTFLAGS="c.exp=libgomp.c/alloc-pinned-*"
FAIL: libgomp.c/alloc-pinned-1.c execution test
FAIL: libgomp.c/alloc-pinned-2.c execution test


On powerpc64 BE pinned-3 and -4 fail (but not -1 and -2):

make  -k check-target-libgomp RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
c.exp=libgomp.c/alloc-pinned-*"
FAIL: libgomp.c/alloc-pinned-3.c execution test
FAIL: libgomp.c/alloc-pinned-4.c execution test

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2024-02-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #11 from seurer at gcc dot gnu.org ---
I goofed on the original report as this also failed (and still does) on
powerpc64 BE.  The patch fixed things on LE.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
tree-ssa.exp=gcc.dg/tree-ssa/ssa-sink-18.c"
FAIL: gcc.dg/tree-ssa/ssa-sink-18.c scan-tree-dump-times sink2 "Sunk
statements: 5" 1

[Bug c++/113710] [14 Regression] g++.dg/modules/hello-1 ICE: canonical types differ for identical types since r14-8710-g65b4cba9d6a9ff

2024-02-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113710

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #1 from seurer at gcc dot gnu.org ---
Also on powerpc64le:

g:65b4cba9d6a9ffe9b4d4bdff90727a7064cc0e3b, r14-8710-g65b4cba9d6a9ff
make  -k check-gcc-c++ RUNTESTFLAGS="modules.exp=hello*"
FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (internal compiler error: canonical
types differ for identical types 'std::tuple_element<__i, std::tuple<_Elements
...> >' and 'std::tuple_element<__i, std::tuple<_Elements ...> >')
FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/hello-1_b.C -std=c++2a (internal compiler error: canonical
types differ for identical types 'std::tuple_element<__i, std::tuple<_Elements
...> >' and 'std::tuple_element<__i, std::tuple<_Elements ...> >')
FAIL: g++.dg/modules/hello-1_b.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (internal compiler error: canonical
types differ for identical types 'std::tuple_element<__i, std::tuple<_Elements
...> >' and 'std::tuple_element<__i, std::tuple<_Elements ...> >')
FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors)
# of expected passes6
# of unexpected failures6
# of unresolved testcases   6

[Bug libgomp/113448] libgomp.c/alloc-pinned-1.c etc. XPASS

2024-02-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113448

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #3 from seurer at gcc dot gnu.org ---
-1 and -2 fail on powerpc64 LE

make  -k check-target-libgomp RUNTESTFLAGS="c.exp=libgomp.c/alloc-pinned-*"
FAIL: libgomp.c/alloc-pinned-1.c execution test
FAIL: libgomp.c/alloc-pinned-2.c execution test


-3 and -4 fail on powerpc64 BE

make  -k check-target-libgomp RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
c.exp=libgomp.c/alloc-pinned-*"
FAIL: libgomp.c/alloc-pinned-3.c execution test
FAIL: libgomp.c/alloc-pinned-4.c execution test

[Bug testsuite/113685] New: [14 regression] xxx fails after yyy

2024-01-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113685

Bug ID: 113685
   Summary: [14 regression] xxx fails after yyy
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:d45ddc2c04e471d0dcee016b6edacc00b8341b16, r14-4089-gd45ddc2c04e471
make  -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/vect-117.c"
FAIL: gcc.dg/vect/vect-117.c scan-tree-dump-not optimized "Invalid sum"
FAIL: gcc.dg/vect/vect-117.c -flto -ffat-lto-objects  scan-tree-dump-not
optimized "Invalid sum"
# of expected passes8
# of unexpected failures2

Note this was also reported in pr111462 but the fix for it did not fix this
failure.

commit d45ddc2c04e471d0dcee016b6edacc00b8341b16 (HEAD)
Author: Richard Biener 
Date:   Thu Sep 14 13:06:51 2023 +0200

tree-optimization/111294 - backwards threader PHI costing

* gcc.dg/vect/vect-117.c: Make scan for not Invalid sum
conditional on lp64.

[Bug testsuite/109705] [14 regression] gcc.dg/vect/pr25413a.c fails after r14-333-g6d4b59a9356ac4

2024-01-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109705

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #17 from seurer at gcc dot gnu.org ---
This still fails on power.

Previously it was:

g:d40b3c1e439db05c835b6bd4fd5bba58fda71dd6, r14-8442-gd40b3c1e439db0
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
vect.exp=gcc.dg/vect/pr25413a.c"
FAIL: gcc.dg/vect/pr25413a.c scan-tree-dump-times vect "vectorized 2 loops" 1
FAIL: gcc.dg/vect/pr25413a.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 2 loops" 1


Now it is:

g:bfd6b36f08021f023e0e9223f5aea315b74a5c56, r14-8443-gbfd6b36f08021f
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
vect.exp=gcc.dg/vect/pr25413a.c"
FAIL: gcc.dg/vect/pr25413a.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/pr25413a.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 1 loops" 1

[Bug fortran/113621] New: New test case gfortran.dg/optional_absent_10.f90 from r14-8400-g186ae6d2cb93ad fails

2024-01-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113621

Bug ID: 113621
   Summary: New test case gfortran.dg/optional_absent_10.f90 from
r14-8400-g186ae6d2cb93ad fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:186ae6d2cb93ad2e07117cff7e11def21fe285ae, r14-8400-g186ae6d2cb93ad
make  -k check-gcc-fortran RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
dg.exp=gfortran.dg/optional_absent_10.f90"
FAIL: gfortran.dg/optional_absent_10.f90   -O0  execution test
# of expected passes11
# of expected passes12
# of expected passes23
# of unexpected failures1
# of unexpected failures1

This appears to be a problem just on big endian.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0xf7f803f3 in ???
#1  0x1c68 in __m_char_MOD_three_val
at
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/optional_absent_10.f90:97
#2  0x10001bcb in __m_char_MOD_test_char
at
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/optional_absent_10.f90:19
#3  0x1000269b in p
at
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/optional_absent_10.f90:218
#4  0x100026f3 in main
at
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gfortran.dg/optional_absent_10.f90:214
Segmentation fault


commit 186ae6d2cb93ad2e07117cff7e11def21fe285ae (HEAD)
Author: Harald Anlauf 
Date:   Wed Jan 24 20:27:36 2024 +0100

Fortran: passing of optional dummies to elemental procedures [PR113377]

[Bug other/113317] New test case libgomp.c++/ind-base-2.C fails with ICE

2024-01-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113317

--- Comment #6 from seurer at gcc dot gnu.org ---
>From experimenting this seems to be an issue with the system compiler

gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) 

I tried an older compiler (8.4) and it worked ok.

I just experimented a bit and it fails with the current gcc 11 and 12 used as
the build compiler as well.  It works when I use gcc 13.

[Bug other/113317] New test case libgomp.c++/ind-base-2.C fails with ICE

2024-01-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113317

--- Comment #4 from seurer at gcc dot gnu.org ---
I am seeing this on a power 9 LE machine.

This was my configure:

configure --enable-languages=c,fortran,c++ --enable-secureplt --with-cpu=power9
--disable-bootstrap --disable-multilib

I also tried without the --with-cpu=power9 but it still fails.

I was using GNU Binutils 2.36.1 but it also failed with 2.38.

Hmmm.  I tried on a different power 9 and it worked OK there.

[Bug testsuite/113428] New: [14 regression] gcc.dg/gomp/bad-array-section-c-3.c fails after r14-7158-gb5476e4c881b0d

2024-01-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113428

Bug ID: 113428
   Summary: [14 regression] gcc.dg/gomp/bad-array-section-c-3.c
fails after r14-7158-gb5476e4c881b0d
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:b5476e4c881b0d2bfbbfb84ee38d791123acf8e1, r14-7158-gb5476e4c881b0d

Seeing this on big endian with -m32.  Works fine on BE with -m64.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
gomp.exp=gcc.dg/gomp/bad-array-section-c-3.c"
FAIL: gcc.dg/gomp/bad-array-section-c-3.c  at line 14 (test for warnings, line
12)
# of expected passes4
# of unexpected failures1


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/gomp/bad-array-section-c-3.c
-m32 -fdiagnostics-plain-output -fopenmp -S -o bad-array-section-c-3.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:
In function 'main':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:12:58:
error: expected ']' before ':' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:12:23:
sorry, unimplemented: unsupported map expression '{(int *)arr[5]}'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:19:23:
sorry, unimplemented: unsupported map expression '{[5]}'
compiler exited with status 1
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 13 (test for errors, line
12)
FAIL: gcc.dg/gomp/bad-array-section-c-3.c  at line 14 (test for warnings, line
12)
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 15 (test for warnings, line
12)
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 20 (test for warnings, line
19)

commit b5476e4c881b0d2bfbbfb84ee38d791123acf8e1 (HEAD)
Author: Julian Brown 
Date:   Mon Nov 15 02:23:49 2021 -0800

OpenMP: lvalue parsing for map/to/from clauses (C)

[Bug other/113344] New: [14 regression] gcc.dg/pr15784-1.c fails after r14-7139-g897b95a12b7fe5

2024-01-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113344

Bug ID: 113344
   Summary: [14 regression] gcc.dg/pr15784-1.c fails after
r14-7139-g897b95a12b7fe5
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:897b95a12b7fe549ec2cb8ef3a3f0e4fbabf9737, r14-7139-g897b95a12b7fe5
make  -k check-gcc RUNTESTFLAGS="dg.exp=gcc.dg/pr15784-1.c"
FAIL: gcc.dg/pr15784-1.c scan-tree-dump-times gimple "ABS_EXPR" 0
# of expected passes1
# of unexpected failures1

commit 897b95a12b7fe549ec2cb8ef3a3f0e4fbabf9737 (HEAD)
Author: Richard Biener 
Date:   Thu Jan 11 12:02:43 2024 +0100

tree-optimization/113126 - vector extension compare optimization

[Bug other/113317] New: New test case libgomp.c++/ind-base-2.C fails with ICE

2024-01-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113317

Bug ID: 113317
   Summary: New test case libgomp.c++/ind-base-2.C fails with ICE
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:1413af02d62182bc1e19698aaa4dae406f8f13bf, r14-7033-g1413af02d62182

Note I only saw this failure on one powerpc64 LE system.  It works OK on
others.


make  -k check-target-libgomp RUNTESTFLAGS="c++.exp=libgomp.c++/ind-base-2.C"
FAIL: libgomp.c++/ind-base-2.C (internal compiler error: in operator[], at
vec.h:910)
FAIL: libgomp.c++/ind-base-2.C (test for excess errors)
# of unexpected failures2
# of unresolved testcases   1


spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-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 -fdiagnostics-color=never -fopenmp -fopenmp
-nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-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
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/../libstdc++-v3/src/.libs
-lm -o ./ind-base-2.exe
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C: In
function 'void foo()':
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C:35:48:
internal compiler error: in operator[], at vec.h:910
0x102bd66b vec::operator[](unsigned int)
/home/seurer/gcc/git/gcc-test/gcc/vec.h:910
0x1087d75b vec::operator[](unsigned int)
/home/seurer/gcc/git/gcc-test/gcc/c-family/c-omp.cc:4131
0x1087d75b vec::operator[](unsigned int)
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1599
0x1087d75b c_omp_address_inspector::expand_map_clause(tree_node*, tree_node*,
vec&, c_omp_region_type)
/home/seurer/gcc/git/gcc-test/gcc/c-family/c-omp.cc:4057
0x1075dcaf handle_omp_array_sections
/home/seurer/gcc/git/gcc-test/gcc/cp/semantics.cc:6042
0x107662b7 finish_omp_clauses(tree_node*, c_omp_region_type)
/home/seurer/gcc/git/gcc-test/gcc/cp/semantics.cc:8274
0x106501c3 cp_parser_omp_target
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:46967
0x105fdfef cp_parser_pragma
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:50816
0x1064838f cp_parser_statement
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:12754
0x1060972f cp_parser_statement_seq_opt
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:13334
0x10609a27 cp_parser_compound_statement
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:13188
0x1063d907 cp_parser_function_body
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:25815
0x1063d907 cp_parser_ctor_initializer_opt_and_function_body
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:25866
0x1064515b cp_parser_function_definition_after_declarator
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:32542
0x106467cf cp_parser_function_definition_from_specifiers_and_declarator
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:32459
0x106467cf cp_parser_init_declarator
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:23250
0x106055b3 cp_parser_simple_declaration
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15816
0x1065a08f cp_parser_declaration
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15489
0x1065af5b cp_parser_toplevel_declaration
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15510
0x1065af5b cp_parser_translation_unit
/home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:5276


commit 1413af02d62182bc1e19698aaa4dae406f8f13bf (HEAD)
Author: Julian Brown 
Date:   Mon Sep 12 17:11:29 2022 +

OpenMP: lvalue parsing for map/to/from clauses (C++)

* g++.dg/gomp/ind-base-3.C: New test.

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284

--- Comment #3 from seurer at gcc dot gnu.org ---
There was a mistake in my report.  This was on a power 9 BE system, not LE.

Configure was:

/home/seurer/gcc/git/gcc-test/configure
--prefix=/home/seurer/gcc/git/install/gcc-test --enable-languages=c,fortran,c++
--enable-secureplt --with-cpu=power9 --disable-bootstrap --enable-multilib


g:e66dc37b299cac4171b1c5b90cf6b54388bd5bc5, r14-6946-ge66dc37b299cac
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
asan.exp=c-c++-common/asan/alloca_loop_unpoisoning.c"
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O0  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O1  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -g  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -Os  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O0  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O1  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -g  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -Os  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)

[Bug sanitizer/113284] New: [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284

Bug ID: 113284
   Summary: [14 regression] many failures in asan after
r14-6946-ge66dc37b299cac
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at 
gcc dot gnu.org
  Target Milestone: ---

g:e66dc37b299cac4171b1c5b90cf6b54388bd5bc5, r14-6946-ge66dc37b299cac

I am seeing these on one of our powerpc64 LE systems.  Looks like they are like
this:

./gcc/testsuite/g++/g++.log:/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c:16:(.text+0x3e):
undefined reference to `.LASANPC0'
./gcc/testsuite/g++/g++.log:/usr/bin/ld:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c:16:(.text+0x5e):
undefined reference to `.LASANPC0'



FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O0  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O0  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O1  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O1  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -g  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -O3 -g  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -Os  (test for excess
errors)
FAIL: c-c++-common/asan/alloca_loop_unpoisoning.c   -Os  (test for excess
errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O0  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O0  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O1  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O1  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O3 -g  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -O3 -g  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -Os  (test for excess errors)
FAIL: c-c++-common/asan/asan-interface-1.c   -Os  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O0  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O0  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O1  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O1  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test for excess errors)
FAIL: c-c++-common/asan/asan-stack-small.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (test

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2024-01-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534

--- Comment #11 from seurer at gcc dot gnu.org ---
Did it work?

[Bug testsuite/113085] New test case libgomp.c/alloc-pinned-1.c from r14-6499-g348874f0baac0f fails

2023-12-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113085

--- Comment #2 from seurer at gcc dot gnu.org ---
Looks like it is 65,536

seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ getconf PAGESIZE 
65536

[Bug middle-end/113100] [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2023-12-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100

seurer at gcc dot gnu.org changed:

   What|Removed |Added

   Host||powerpc64le-linux-gnu
  Build||powerpc64le-linux-gnu
 Target||powerpc64le-linux-gnu
 CC||aoliva at gcc dot gnu.org

--- Comment #1 from seurer at gcc dot gnu.org ---
commit 4e0a467302fea56d63b7a6d17f99c0f388960dc7 (HEAD, refs/bisect/bad)
Author: Alexandre Oliva 
Date:   Thu Dec 14 04:50:45 2023 -0300

strub: sparc64: unbias the stack address [PR112917]

[Bug middle-end/113100] New: [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2023-12-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100

Bug ID: 113100
   Summary: [14 regression] many strub tests fail after
r14-6737-g4e0a467302fea5
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:4e0a467302fea56d63b7a6d17f99c0f388960dc7, r14-6737-g4e0a467302fea5

FAIL: c-c++-common/strub-defer-O1.c  -std=gnu++14 execution test
FAIL: c-c++-common/strub-defer-O1.c  -std=gnu++17 execution test
FAIL: c-c++-common/strub-defer-O1.c  -std=gnu++20 execution test
FAIL: c-c++-common/strub-defer-O1.c  -std=gnu++98 execution test
FAIL: c-c++-common/strub-defer-O2.c  -std=gnu++14 execution test
FAIL: c-c++-common/strub-defer-O2.c  -std=gnu++17 execution test
FAIL: c-c++-common/strub-defer-O2.c  -std=gnu++20 execution test
FAIL: c-c++-common/strub-defer-O2.c  -std=gnu++98 execution test
FAIL: c-c++-common/strub-defer-Os.c  -std=gnu++14 execution test
FAIL: c-c++-common/strub-defer-Os.c  -std=gnu++17 execution test
FAIL: c-c++-common/strub-defer-Os.c  -std=gnu++20 execution test
FAIL: c-c++-common/strub-defer-Os.c  -std=gnu++98 execution test
FAIL: c-c++-common/torture/strub-run1.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run1.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run1.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run1.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run2.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run2.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run2.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run2.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run2.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run2.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run3.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run3.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run4.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run4.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run4.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run4.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run4.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run4.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run4c.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run4d.c   -Os  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -O0  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -O1  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -O2  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/strub-run4i.c   -Os  execution test
FAIL: g++.dg/strub-run1.C  -std=gnu++14 execution test
FAIL: g++.dg/strub-run1.C  -std=gnu++17 execution test
FAIL: g++.dg/strub-run1.C  -std=gnu++20 execution test
FAIL: g++.dg/strub-run1.C  -std=gnu++98 execution test

There is no output from any of the failures.  Running one in gdb I see:

(gdb) run
Starting program: /home/seurer/gcc/git/build/gcc-test/strub-defer-O1

[Bug testsuite/113085] New: New test case libgomp.c/alloc-pinned-1.c from r14-6499-g348874f0baac0f fails

2023-12-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113085

Bug ID: 113085
   Summary: New test case libgomp.c/alloc-pinned-1.c from
r14-6499-g348874f0baac0f fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:348874f0baac0f22c98ab11abbfa65fd172f6bdd, r14-6499-g348874f0baac0f
make  -k check-target-libgomp RUNTESTFLAGS="c.exp=libgomp.c/alloc-pinned-1.c"
FAIL: libgomp.c/alloc-pinned-1.c execution test
# of expected passes1
# of unexpected failures1

commit 348874f0baac0f22c98ab11abbfa65fd172f6bdd (HEAD)
Author: Andrew Stubbs 
Date:   Tue Jan 4 12:22:01 2022 +

libgomp: basic pinned memory on Linux

spawn [open ...]
unsufficient lockable memory; please increase ulimit
FAIL: libgomp.c/alloc-pinned-1.c execution test


"Unsufficient"?  Is that a typo?

In any case I don't think a test should require an unusual ulimit setting.

seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 3909068
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 1024
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 3909068
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

[Bug other/113038] New: [14 regression] Excess errors for g++.dg/modules/hello-1_b.C after r14-6569-gfe54b57728c09a

2023-12-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113038

Bug ID: 113038
   Summary: [14 regression] Excess errors for
g++.dg/modules/hello-1_b.C  after
r14-6569-gfe54b57728c09a
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:fe54b57728c09ab0389e2bb3f079d5210566199d, r14-6569-gfe54b57728c09a

FAIL: g++.dg/modules/hello-1 -std=c++2b execute
FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors)


spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++13/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++13/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/hello-1_b.C
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-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=c++2b -pedantic-errors -Wno-long-long -fmodules-ts -S -o hello-1_b.s^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:
In instantiation of 'const _Facet* std::__try_use_facet@hello(const
locale@hello&) [with _Facet = ctype@hello]':^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:200:59:
  required from 'const _Facet& std::use_facet@hello(const locale@hello&) [with
_Facet = ctype@hello]'^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets_nonio.tcc:1573:63:
  required from '_InIter std::__cxx11::time_get@hello<_CharT,
_InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&,
tm*, char, char) const [with _CharT = char; _InIter =
std::istreambuf_iterator >; iter_type =
std::istreambuf_iterator >; std::ios_base::iostate
= std::ios_base::iostate]'^M
/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets_nonio.tcc:1567:5:
  required from here^M
: warning: new declaration 'void* __cxxabiv1::__dynamic_cast(const
void*, const __class_type_info*, const __class_type_info*, long int)'
ambiguates built-in declaration 'void* __cxxabiv1::__dynamic_cast@hello(const
void*, const __class_type_info@hello*, const __class_type_info@hello*, long
int)' [-Wbuiltin-declaration-mismatch]^M
FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors)
Excess errors:
: warning: new declaration 'void* __cxxabiv1::__dynamic_cast(const
void*, const __class_type_info*, const __class_type_info*, long int)'
ambiguates built-in declaration 'void* __cxxabiv1::__dynamic_cast@hello(const
void*, const __class_type_info@hello*, const __class_type_info@hello*, long
int)' [-Wbuiltin-declaration-mismatch]


commit fe54b57728c09ab0389e2bb3f079d5210566199d (HEAD)
Author: Jonathan Wakely 
Date:   Thu Dec 14 23:23:34 2023 +

libstdc++: Implement C++23  header [PR107760]

[Bug tree-optimization/112848] [14 regression] ICE compiling gcc.dg/tree-ssa/ssa-sink-16.c after r14-6114-gde0ab339a79535

2023-12-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112848

--- Comment #1 from seurer at gcc dot gnu.org ---
Of course it fails with r14-6114 as that is the source.  Doh!  I was looking at
pr112827.

[Bug tree-optimization/112848] New: [14 regression] ICE compiling gcc.dg/tree-ssa/ssa-sink-16.c after r14-6114-gde0ab339a79535

2023-12-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112848

Bug ID: 112848
   Summary: [14 regression] ICE compiling
gcc.dg/tree-ssa/ssa-sink-16.c after
r14-6114-gde0ab339a79535
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:de0ab339a795352c843f6e9b2dfce222f26588de, r14-6114-gde0ab339a79535
make  -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/ssa-sink-16.c"
FAIL: gcc.dg/tree-ssa/ssa-sink-16.c (internal compiler error: verify_gimple
failed)
FAIL: gcc.dg/tree-ssa/ssa-sink-16.c (test for excess errors)
# of expected passes1
# of unexpected failures2
# of unresolved testcases   1


commit de0ab339a795352c843f6e9b2dfce222f26588de (HEAD)
Author: Richard Biener 
Date:   Mon Dec 4 10:46:11 2023 +0100

tree-optimization/112827 - corrupt SCEV cache during SCCP


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/tree-ssa/ssa-sink-16.c
-fdiagnostics-plain-output -O2 -fno-tree-pre -fno-tree-dominator-opts
-fdump-tree-sink -fdump-tree-optimized -S -o ssa-sink-16.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-16.c: In
function 'f':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-16.c:5:5:
error: gimple_bb (stmt) is set to a wrong basic block
j_5 = __builtin_ffs (30);
during GIMPLE pass: sccp
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-16.c:5:5:
internal compiler error: verify_gimple failed
0x10d6df93 verify_gimple_in_cfg(function*, bool, bool)
/home/seurer/gcc/git/gcc-test/gcc/tree-cfg.cc:5662
0x10b5041f execute_function_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2088
0x10b513eb do_per_function
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:1687
0x10b5160b execute_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2142


Note that this is not fixed by
r14-6114-gde0ab339a795352c843f6e9b2dfce222f26588de as it still occurs with
r14-6120.

[Bug middle-end/112822] New: [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822

Bug ID: 112822
   Summary: [14 regression] ICE: invalid RHS for gimple memory
store after r14-5831-gaae723d360ca26
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:aae723d360ca26cd9fd0b039fb0a616bd0eae363, r14-5831-gaae723d360ca26

commit aae723d360ca26cd9fd0b039fb0a616bd0eae363 (HEAD)
Author: Martin Jambor 
Date:   Fri Nov 24 17:32:35 2023 +0100

sra: SRA of non-escaped aggregates passed by reference to calls


This is a huge C++ program that I have not cut down yet.  I will look at that
on Monday if need be.


seurer@ltcden2-lp1:~/tst$ ~/gcc/git/install/gcc-test/bin/g++ -w -O3 -c small.i

small.i: In function 'std::enable_if_t<(!Rows == 1) && (Depth != 1)) &&
(OA == Eigen::ColMajor)) || (((Depth == 1) && (Rows != 1)) && (OA ==
Eigen::RowMajor))) || (((Cols == 1) && (Depth != 1)) && (OB ==
Eigen::RowMajor))) || (((Depth == 1) && (Cols != 1)) && (OB ==
Eigen::ColMajor))) || (((Rows == 1) && (Cols != 1)) && (OC ==
Eigen::ColMajor))) || (((Cols == 1) && (Rows != 1)) && (OC ==
Eigen::RowMajor, void> test_lazy_single(int, int, int) [with T =
std::complex; int Rows = 1; int Cols = 4; int Depth = 6; int OC = 1;
int OA = 1; int OB = 1]':
small.i:133795:1: error: invalid RHS for gimple memory store:
'view_convert_expr'
133795 | test_lazy_single(int rows, int cols, int depth)
   | ^~~~
D$_M_value

VIEW_CONVERT_EXPR<_ComplexT>(C_1302);

# .MEM_1318 = VDEF <.MEM_1313>
D$_M_value = VIEW_CONVERT_EXPR<_ComplexT>(C_1302);
small.i:133795:1: error: invalid RHS for gimple memory store:
'view_convert_expr'
D$16$_M_value

VIEW_CONVERT_EXPR<_ComplexT>(C$16_1303);

# .MEM_1319 = VDEF <.MEM_1318>
D$16$_M_value = VIEW_CONVERT_EXPR<_ComplexT>(C$16_1303);
small.i:133795:1: error: invalid RHS for gimple memory store:
'view_convert_expr'
D$32$_M_value

VIEW_CONVERT_EXPR<_ComplexT>(C$32_1304);

# .MEM_1320 = VDEF <.MEM_1319>
D$32$_M_value = VIEW_CONVERT_EXPR<_ComplexT>(C$32_1304);
small.i:133795:1: error: invalid RHS for gimple memory store:
'view_convert_expr'
D$48$_M_value

VIEW_CONVERT_EXPR<_ComplexT>(C$48_1309);

# .MEM_1323 = VDEF <.MEM_1320>
D$48$_M_value = VIEW_CONVERT_EXPR<_ComplexT>(C$48_1309);
during GIMPLE pass: sra
small.i:133795:1: internal compiler error: verify_gimple failed
0x11136103 verify_gimple_in_cfg(function*, bool, bool)
/home/seurer/gcc/git/gcc-test/gcc/tree-cfg.cc:5662
0x10f27edf execute_function_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2088
0x10f28eab do_per_function
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:1687
0x10f290cb execute_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2142

[Bug other/112788] New: [14 regression] ICEs in fold_range, at range-op.cc:206 after r14-5972-gea19de921b01a6

2023-11-30 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112788

Bug ID: 112788
   Summary: [14 regression] ICEs in fold_range, at range-op.cc:206
after r14-5972-gea19de921b01a6
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:ea19de921b01a6ab470929f8da4dde526edb08f1, r14-5972-gea19de921b01a6
make  -k check-gcc RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/float128-hw4.c"
FAIL: gcc.target/powerpc/float128-hw4.c (internal compiler error: in
fold_range, at range-op.cc:206)
FAIL: gcc.target/powerpc/float128-hw4.c (test for excess errors)
# of unexpected failures2
# of unresolved testcases   16

Also:
FAIL: gcc.target/powerpc/pr82748-1.c (internal compiler error: in fold_range,
at range-op.cc:206)
FAIL: gcc.target/powerpc/pr82748-1.c (test for excess errors)


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.target/powerpc/float128-hw4.c
-fdiagnostics-plain-output -mpower9-vector -O2 -mabi=ieeelongdouble -Wno-psabi
-ffat-lto-objects -fno-ident -S -o float128-hw4.s
during GIMPLE pass: evrp
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/float128-hw4.c:
In function 'nfma_odd':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/float128-hw4.c:119:1:
internal compiler error: in fold_range, at range-op.cc:206
0x10bb131b range_op_handler::fold_range(vrange&, tree_node*, vrange const&,
vrange const&, relation_trio) const
/home/seurer/gcc/git/gcc-test/gcc/range-op.cc:206
0x11bfa13f fold_using_range::range_of_range_op(vrange&,
gimple_range_op_handler&, fur_source&)
/home/seurer/gcc/git/gcc-test/gcc/gimple-range-fold.cc:678
0x11bfb003 fold_using_range::fold_stmt(vrange&, gimple*, fur_source&,
tree_node*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-range-fold.cc:602
0x11bfb75b fold_range(vrange&, gimple*, range_query*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-range-fold.cc:322
0x11be4203 ranger_cache::get_global_range(vrange&, tree_node*, bool&)
/home/seurer/gcc/git/gcc-test/gcc/gimple-range-cache.cc:1052
0x11bd5b97 gimple_ranger::range_of_stmt(vrange&, gimple*, tree_node*)
/home/seurer/gcc/git/gcc-test/gcc/gimple-range.cc:311
0x1119ba4f range_query::value_of_stmt(gimple*, tree_node*)
/home/seurer/gcc/git/gcc-test/gcc/value-query.cc:113
0x1113f4ab rvrp_folder::value_of_stmt(gimple*, tree_node*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vrp.cc:999
0x10fbe62f
substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-propagate.cc:820
0x11b5514b dom_walker::walk(basic_block_def*)
/home/seurer/gcc/git/gcc-test/gcc/domwalk.cc:311
0x10fbcd5b substitute_and_fold_engine::substitute_and_fold(basic_block_def*)
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa-propagate.cc:999
0x1113a74b execute_ranger_vrp(function*, bool, bool)
/home/seurer/gcc/git/gcc-test/gcc/tree-vrp.cc:1064


commit ea19de921b01a6ab470929f8da4dde526edb08f1 (HEAD)
Author: Andrew MacLeod 
Date:   Tue Nov 28 09:39:30 2023 -0500

Add operand_check_p to range-ops.

[Bug target/112751] New: [14 regression] gcc.target/powerpc/pcrel-sibcall-1.c fails after r14-5628-g53ba8d669550d3

2023-11-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112751

Bug ID: 112751
   Summary: [14 regression] gcc.target/powerpc/pcrel-sibcall-1.c
fails after r14-5628-g53ba8d669550d3
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:53ba8d669550d3a1f809048428b97ca607f95cf5, r14-5628-g53ba8d669550d3
make  -k check-gcc
RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/pcrel-sibcall-1.c"
FAIL: gcc.target/powerpc/pcrel-sibcall-1.c scan-assembler \\mb x@notoc\\M
FAIL: gcc.target/powerpc/pcrel-sibcall-1.c scan-assembler \\mbl y\\M
FAIL: gcc.target/powerpc/pcrel-sibcall-1.c scan-assembler \\mb xx@notoc\\M
# of expected passes2
# of unexpected failures3


commit 53ba8d669550d3a1f809048428b97ca607f95cf5 (HEAD)
Author: Jan Hubicka 
Date:   Mon Nov 20 19:35:53 2023 +0100

inter-procedural value range propagation

[Bug target/112606] [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp'

2023-11-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112606

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 CC||seurer at gcc dot gnu.org

--- Comment #3 from seurer at gcc dot gnu.org ---
These tests also fail starting with g:9e9279fadbd1c673c875b9d20261d2de0473f63f,
r14-5542-g9e9279fadbd1c6

FAIL: gcc.target/powerpc/float128-hw5.c scan-assembler-not \\mxscpsgnqp\\M
FAIL: gcc.target/powerpc/float128-hw5.c scan-assembler-times \\mxsnabsqp\\M 1
FAIL: gcc.target/powerpc/float128-hw7.c scan-assembler-not \\mxscpsgnqp\\M
FAIL: gcc.target/powerpc/float128-hw7.c scan-assembler-times \\mxsnabsqp\\M 1

[Bug other/112735] New: [14 regression] gcc.dg/tree-prof/time-profiler-3.c fails after r14-5666-g41aacdea55c5d7

2023-11-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112735

Bug ID: 112735
   Summary: [14 regression] gcc.dg/tree-prof/time-profiler-3.c
fails after r14-5666-g41aacdea55c5d7
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:41aacdea55c5d795a7aa195357d966645845d00e, r14-5666-g41aacdea55c5d7
make  -k check-gcc
RUNTESTFLAGS="tree-prof.exp=gcc.dg/tree-prof/time-profiler-3.c"
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 0" 1
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 2" 1
# of expected passes5
# of unexpected failures2
# of unsupported tests  1

commit 41aacdea55c5d795a7aa195357d966645845d00e (HEAD)
Author: Sebastian Huber 
Date:   Mon Nov 20 15:26:38 2023 +0100

gcov: Fix integer types in gen_counter_update()

[Bug other/112731] New: [14 regression] Excess errors for c-c++-common/builtin-classify-type-1.c after r14-5615-g509b470dcee979

2023-11-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112731

Bug ID: 112731
   Summary: [14 regression] Excess errors for
c-c++-common/builtin-classify-type-1.c after
r14-5615-g509b470dcee979
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:509b470dcee9795887a60ddb32ab454f22e74411, r14-5615-g509b470dcee979
make  -k check-gcc RUNTESTFLAGS="dg.exp=c-c++-common/builtin-classify-type-1.c"
FAIL: c-c++-common/builtin-classify-type-1.c  -Wc++-compat  (test for excess
errors)
# of expected passes6
# of unexpected failures1
# of unsupported tests  1
# of unresolved testcases   1

Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/builtin-classify-type-1.c:113:3:
error: AltiVec argument passed to unprototyped function
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/builtin-classify-type-1.c:115:3:
error: AltiVec argument passed to unprototyped function



commit 509b470dcee9795887a60ddb32ab454f22e74411 (HEAD)
Author: Jakub Jelinek 
Date:   Mon Nov 20 10:37:59 2023 +0100

c, c++: Add new value for vector types for __builtin_classify_type

[Bug bootstrap/112534] New: [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-11-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534

Bug ID: 112534
   Summary: [14 regression] build failure after
r14-5424-gdb50aea6259545 using gcc 4.8.5
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:db50aea62595452db12565186cb520728540d987, r14-5424-gdb50aea6259545 

We have one old system where gcc fails to build starting with this revision. 
Note even a non-bootstrap build fails.


gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 


make[6]: Entering directory
`/home/seurer/gcc/git/build/gcc-test/gettext/gnulib-lib'
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I.
-I/home/seurer/gcc/git/gcc-test/gettext/gettext-runtime/gnulib-lib -I.. 
-I../intl -I/home/seurer/gcc/git/gcc-test/gettext/gettext-runtime/intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -Wno-cast-qual -Wno-conversion
-Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function
-Wno-unused-parameter -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unsuffixed-float-constants -g -O2 -c -o
malloc/libgrt_a-scratch_buffer_grow.o `test -f 'malloc/scratch_buffer_grow.c'
|| echo
'/home/seurer/gcc/git/gcc-test/gettext/gettext-runtime/gnulib-lib/'`malloc/scratch_buffer_grow.c
In file included from
/home/seurer/gcc/git/gcc-test/gettext/gettext-runtime/gnulib-lib/scratch_buffer.h:115:0,
 from
/home/seurer/gcc/git/gcc-test/gettext/gettext-runtime/gnulib-lib/malloc/scratch_buffer_grow.c:23:
./malloc/scratch_buffer.gl.h:70:9: error: unknown type name 'max_align_t'
   union { max_align_t __align; char __c[1024]; } __space;
 ^
make[6]: *** [malloc/libgrt_a-scratch_buffer_grow.o] Error 1
make[6]: Leaving directory
`/home/seurer/gcc/git/build/gcc-test/gettext/gnulib-lib'




commit db50aea62595452db12565186cb520728540d987 (HEAD)
Author: Arsen  <87> 
Date:   Fri May 19 21:12:57 2023 +0200

*: add modern gettext

[Bug other/112522] New: [14 regression] g++.dg/modules/bad-mapper-1.C fails with excess errors after r14-5310-g879cf9ff45d940

2023-11-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112522

Bug ID: 112522
   Summary: [14 regression] g++.dg/modules/bad-mapper-1.C fails
with excess errors after r14-5310-g879cf9ff45d940
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:879cf9ff45d94065d89e24b71c6b27c7076ac518, r14-5310-g879cf9ff45d940
make  -k check-gcc-c++ RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
modules.exp=bad-mapper-1.C"
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++17  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2a  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2b  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2b (test for excess errors)
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++17  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2a  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2b  at line 3 (test for errors,
line )
FAIL: g++.dg/modules/bad-mapper-1.C -std=c++2b (test for excess errors)
# of unexpected failures6
# of unexpected failures6
# of unexpected failures12


Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/bad-mapper-1.C:
error: failed posix_spawnp mapper 'this-will-not-work'


commit 879cf9ff45d94065d89e24b71c6b27c7076ac518 (HEAD)
Author: Brendan Shanks 
Date:   Thu Nov 9 21:01:07 2023 -0700

[PATCH v3] libiberty: Use posix_spawn in pex-unix when available.

[Bug testsuite/112340] New: [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c

2023-11-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112340

Bug ID: 112340
   Summary: [14 regression] assembler instruction counts off for
gcc.target/powerpc/pr106550_1.c
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:9119b008b4195e06012a485ec01a8bb0e43266be, r14-5037-g9119b008b4195e

Possibly the test cases just need revision.  This is BE only issue.  I first
saw this after this revision but I don't think it is the source of the issue as
it fixed an ICE in compiling this same test case.


make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
powerpc.exp=gcc.target/powerpc/pr106550_1.c"
. . .

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.target/powerpc/pr106550_1.c
-m64 -fdiagnostics-plain-output -O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1
-ffat-lto-objects -fno-ident -S -o pr106550_1.s
cc1: note: disable pass rtl-split1 for functions in the range of [0,
4294967295]
PASS: gcc.target/powerpc/pr106550_1.c (test for excess errors)
PASS: gcc.target/powerpc/pr106550_1.c scan-assembler-times \\mpli\\M 3
PASS: gcc.target/powerpc/pr106550_1.c scan-assembler-times \\msldi\\M 3
PASS: gcc.target/powerpc/pr106550_1.c scan-assembler-times \\moris\\M 2
PASS: gcc.target/powerpc/pr106550_1.c scan-assembler-times \\mori\\M 2

[Bug target/112103] New: [14 regression] gcc.target/powerpc/rlwinm-0.c fails after r14-4941-gd1bb9569d70304

2023-10-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112103

Bug ID: 112103
   Summary: [14 regression] gcc.target/powerpc/rlwinm-0.c fails
after r14-4941-gd1bb9569d70304
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:d1bb9569d7030490fe7bb35af432f934560d689d, r14-4941-gd1bb9569d70304
make  -k check-gcc RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/rlwinm-0.c"
FAIL: gcc.target/powerpc/rlwinm-0.c scan-assembler-times (?n)^\\s+rldicl 3081
FAIL: gcc.target/powerpc/rlwinm-0.c scan-assembler-times (?n)^\\s+rlwinm 3093
# of expected passes5
# of unexpected failures2

These changes in code output are OK as neither the original rlwinm nor the
rldicl actually have any effect.  So in the short term the test case just needs
to update its instruction counts.  We are tracking something to get rid of the
extraneous ops later.

seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ diff rlwinm-0.s.r14-4940
rlwinm-0.s.r14-4941
5371c5371
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32
6089c6089
<   rlwinm 3,3,0,0xff
---
>   rldicl 3,3,0,32
8959c8959
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32
9677c9677
<   rlwinm 3,3,0,0xff
---
>   rldicl 3,3,0,32
12546c12546
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32
13264c13264
<   rlwinm 3,3,0,0xff
---
>   rldicl 3,3,0,32
16131c16131
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32
19715c19715
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32
23298c23298
<   rlwinm 3,3,0,0x
---
>   rldicl 3,3,0,32


commit d1bb9569d7030490fe7bb35af432f934560d689d (HEAD)
Author: Roger Sayle 
Date:   Thu Oct 26 10:06:59 2023 +0100

PR 91865: Avoid ZERO_EXTEND of ZERO_EXTEND in make_compound_operation.

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-10-25 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462

--- Comment #7 from seurer at gcc dot gnu.org ---
I am still seeing the same failure on power.

tried with g:668c4c3783970e7adf0591396b6d0d5286cc0541, r14-4930-g668c4c3783970e 

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
tree-ssa.exp=gcc.dg/tree-ssa/ssa-sink-18.c"
FAIL: gcc.dg/tree-ssa/ssa-sink-18.c scan-tree-dump-times sink2 "Sunk
statements: 5" 1

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
vect.exp=gcc.dg/vect/vect-117.c"
FAIL: gcc.dg/vect/vect-117.c scan-tree-dump-not optimized "Invalid sum"
FAIL: gcc.dg/vect/vect-117.c -flto -ffat-lto-objects  scan-tree-dump-not
optimized "Invalid sum"

[Bug middle-end/111868] New: [14 regression] many ICEs after r14-4710

2023-10-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111868

Bug ID: 111868
   Summary: [14 regression] many ICEs after r14-4710
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:60c231cb65807fb963624acc4f82d2935e305f93, r14-4710-g60c231cb65807f

FAIL: libgomp.fortran/pr100981-2.f90   -O1  (internal compiler error:
verify_ssa failed)
FAIL: libgomp.fortran/pr100981-2.f90   -O1  (test for excess errors)
FAIL: libgomp.fortran/pr100981-2.f90   -O2  (internal compiler error:
verify_ssa failed)
FAIL: libgomp.fortran/pr100981-2.f90   -O2  (test for excess errors)
FAIL: libgomp.fortran/pr100981-2.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: verify_ssa
failed)
FAIL: libgomp.fortran/pr100981-2.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: libgomp.fortran/pr100981-2.f90   -O3 -g  (internal compiler error:
verify_ssa failed)
FAIL: libgomp.fortran/pr100981-2.f90   -O3 -g  (test for excess errors)
FAIL: libgomp.fortran/pr100981-2.f90   -Os  (internal compiler error:
verify_ssa failed)
FAIL: libgomp.fortran/pr100981-2.f90   -Os  (test for excess errors)
FAIL: libgomp.fortran/simd3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: verify_ssa
failed)
FAIL: libgomp.fortran/simd3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: libgomp.fortran/simd3.f90   -O3 -g  (internal compiler error: verify_ssa
failed)
FAIL: libgomp.fortran/simd3.f90   -O3 -g  (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/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -O -O2 -ftree-vectorize
-fvect-cost-model=unlimited -fdump-tree-vect-details -maltivec -mpower9-vector
-O3 -ftree-parallelize-loops=2 -fno-signed-zeros -fno-trapping-math -S -o
pr100981-1.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90:5:23:
Error: stmt with wrong VUSE
# VUSE <.MEM_17(D)>
_82 = REALPART_EXPR <(*cx_22(D))[_83]>;
expected .MEM_39
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90:5:23:
Error: stmt with wrong VUSE
# VUSE <.MEM_17(D)>
_80 = IMAGPART_EXPR <(*cx_22(D))[_83]>;
expected .MEM_39
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90:5:23:
Error: PHI node with wrong VUSE on edge from BB 34
.MEM_23 = PHI <.MEM_17(D)(34), .MEM_17(D)(33)>
expected .MEM_39
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90:5:23:
Error: PHI node with wrong VUSE on edge from BB 33
.MEM_23 = PHI <.MEM_17(D)(34), .MEM_17(D)(33)>
expected .MEM_39
during GIMPLE pass: vect
dump file: pr100981-1.f90.175t.vect
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/vect/pr100981-1.f90:5:23:
internal compiler error: verify_ssa failed
0x110e9d2f verify_ssa(bool, bool)
/home/seurer/gcc/git/gcc-test/gcc/tree-ssa.cc:1203
0x10bd279f execute_function_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2095
0x10bd35ab do_per_function
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:1687
0x10bd37cb execute_todo
/home/seurer/gcc/git/gcc-test/gcc/passes.cc:2142


commit 60c231cb65807fb963624acc4f82d2935e305f93 (HEAD)
Author: Tamar Christina 
Date:   Wed Oct 18 09:03:06 2023 +0100

middle-end: maintain LCSSA throughout loop peeling

[Bug bootstrap/111852] [14 regression] r14-4339-geaa41a6dc127d8 breaks building with gcc 4.8.5

2023-10-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111852

--- Comment #5 from seurer at gcc dot gnu.org ---
Yup, thanks!

In another 4.8.5 breakage PR someone mentioned removing that as the minimum
required compiler level.  Has there been any more discussion of that?

[Bug middle-end/111866] New: [14 regression] ICE when compiling

2023-10-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111866

Bug ID: 111866
   Summary: [14 regression] ICE when compiling
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:d65e38e616e7ac8157ef04b55beb6670f2c0f142, r14-4708-gd65e38e616e7ac

FAIL: gcc.target/powerpc/p9-vec-length-full-7.c (internal compiler error: in
vect_set_loop_condition_partial_vectors, at tree-vect-loop-manip.cc:911)
FAIL: gcc.target/powerpc/p9-vec-length-full-7.c (test for excess errors)
FAIL: gcc.target/powerpc/p9-vec-length-full-run-7.c (internal compiler error:
in vect_set_loop_condition_partial_vectors, at tree-vect-loop-manip.cc:911)
FAIL: gcc.target/powerpc/p9-vec-length-full-run-7.c (test for excess errors)


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.target/powerpc/p9-vec-length-full-7.c
-fdiagnostics-plain-output -mdejagnu-cpu=power9 -O2 -ftree-vectorize
-fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll
--param=vect-partial-vector-usage=2 -ffat-lto-objects -fno-ident -S -o
p9-vec-length-full-7.s
cc1: note: disable pass tree-cunroll for functions in the range of [0,
4294967295]
during GIMPLE pass: vect
In file included from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-7.c:11:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/p9-vec-length-7.h:
In function 'test_npeel_int8_t':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/p9-vec-length-7.h:12:43:
internal compiler error: in vect_set_loop_condition_partial_vectors, at
tree-vect-loop-manip.cc:911
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/p9-vec-length.h:4:3:
note: in expansion of macro 'test'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.target/powerpc/p9-vec-length-7.h:20:1:
note: in expansion of macro 'TEST_ALL'
0x110c9c9b vect_set_loop_condition_partial_vectors
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop-manip.cc:911
0x110c9c9b vect_set_loop_condition(loop*, edge_def*, _loop_vec_info*,
tree_node*, tree_node*, tree_node*, bool)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop-manip.cc:1366
0x110cc37b vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*,
tree_node**, tree_node**, tree_node**, int, bool, bool, tree_node**)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop-manip.cc:3250
0x110ba213 vect_transform_loop(_loop_vec_info*, gimple*)
/home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:11416
0x1110fa43 vect_transform_loops
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1006
0x042f try_vectorize_loop_1
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1152
0x042f try_vectorize_loop
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1182
0x08d3 execute
/home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1298


commit d65e38e616e7ac8157ef04b55beb6670f2c0f142 (HEAD)
Author: Tamar Christina 
Date:   Wed Oct 18 09:02:12 2023 +0100

middle-end: Refactor vectorizer loop conditionals and separate out IV to
new variables

[Bug testsuite/111850] [14 regression] gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r14-4664-g04c9cf5c786b94

2023-10-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850

--- Comment #2 from seurer at gcc dot gnu.org ---
Yes, it does look like an improvement ad I doubt the number of addis really
matters.  That's why I said the test probably just needs to be updated.

[Bug bootstrap/111852] New: [14 regression] r14-4339-geaa41a6dc127d8 breaks building with gcc 4.8.5

2023-10-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111852

Bug ID: 111852
   Summary: [14 regression] r14-4339-geaa41a6dc127d8  breaks
building with gcc 4.8.5
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:eaa41a6dc127d8d8a38646aaadc37681691fc311, r14-4339-geaa41a6dc127d8 

As indicated in
https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632008.html this patch
breaks building with gcc 4.8.5.


commit eaa41a6dc127d8d8a38646aaadc37681691fc311 (HEAD)
Author: Richard Sandiford 
Date:   Fri Sep 29 17:55:12 2023 +0100

Remove poly_int_pod

g++ -v
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 


g++ -std=gnu++11  -fno-PIE -c   -g -O2 -DIN_GCC-fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -fno-PIE -I. -I. -I/home/seurer/gcc/git/gcc-test/gcc
-I/home/seurer/gcc/git/gcc-test/gcc/.
-I/home/seurer/gcc/git/gcc-test/gcc/../include 
-I/home/seurer/gcc/git/gcc-test/gcc/../libcpp/include
-I/home/seurer/gcc/git/gcc-test/gcc/../libcody
-I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test/gmp
-I/home/seurer/gcc/git/build/gcc-test/./mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpc/src 
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-test/./isl/include
-I/home/seurer/gcc/git/gcc-test/isl/include  -o insn-automata.o -MT
insn-automata.o -MMD -MP -MF ./.deps/insn-automata.TPo insn-automata.cc
In file included from insn-automata.cc:14:0:
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning: 'rtx_def::code' is too
small to hold all values of 'enum rtx_code' [enabled by default]
 #define RTX_CODE_BITSIZE 8
  ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:318:33: note: in expansion of macro
'RTX_CODE_BITSIZE'
   ENUM_BITFIELD(rtx_code) code: RTX_CODE_BITSIZE;
 ^
g++ -std=gnu++11  -fno-PIE -c   -g -O2 -DIN_GCC-fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -fno-PIE -I. -I. -I/home/seurer/gcc/git/gcc-test/gcc
-I/home/seurer/gcc/git/gcc-test/gcc/.
-I/home/seurer/gcc/git/gcc-test/gcc/../include 
-I/home/seurer/gcc/git/gcc-test/gcc/../libcpp/include
-I/home/seurer/gcc/git/gcc-test/gcc/../libcody
-I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test/gmp
-I/home/seurer/gcc/git/build/gcc-test/./mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpc/src 
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-test/./isl/include
-I/home/seurer/gcc/git/gcc-test/isl/include  -o cse.o -MT cse.o -MMD -MP -MF
./.deps/cse.TPo /home/seurer/gcc/git/gcc-test/gcc/cse.cc
In file included from /home/seurer/gcc/git/gcc-test/gcc/cse.cc:25:0:
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning: 'rtx_def::code' is too
small to hold all values of 'enum rtx_code' [enabled by default]
 #define RTX_CODE_BITSIZE 8
  ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:318:33: note: in expansion of macro
'RTX_CODE_BITSIZE'
   ENUM_BITFIELD(rtx_code) code: RTX_CODE_BITSIZE;
 ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning:
'qty_table_elem::comparison_code' is too small to hold all values of 'enum
rtx_code' [enabled by default]
 #define RTX_CODE_BITSIZE 8
  ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:252:45: note: in expansion of macro
'RTX_CODE_BITSIZE'
   ENUM_BITFIELD(rtx_code) comparison_code : RTX_CODE_BITSIZE;
 ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc: In function 'void
add_to_set(vec*, rtx)':
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::rtl' [-Wmissing-field-initializers]
   struct set entry = {};
   ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_elt' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc

[Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b

2023-10-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #4 from seurer at gcc dot gnu.org ---
Yes, ICE is fixed.

[Bug testsuite/111850] New: [14 regression]

2023-10-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850

Bug ID: 111850
   Summary: [14 regression]
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:04c9cf5c786b94fbe3f6f21f06cae73a7575ff7a, r14-4664-g04c9cf5c786b94

make  -k check-gcc
RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/fold-vec-extract-char.p7.c"
FAIL: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\maddi\\M 9
# of expected passes7
# of unexpected failures1


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.target/powerpc/fold-vec-extract-char.p7.c
-fdiagnostics-plain-output -mdejagnu-cpu=power7 -O2 -ffat-lto-objects
-fno-ident -S -o fold-vec-extract-char.p7.s
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c (test for excess errors)
gcc.target/powerpc/fold-vec-extract-char.p7.c: \\maddi\\M found 6 times
FAIL: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\maddi\\M 9
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\mli\\M 6
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\mstxvw4x\\M|\\mstvx\\M|\\mstxv\\M 6
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\mrldicl\\M|\\mrlwinm\\M 3
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\madd\\M 3
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\mlbz\\M 6
PASS: gcc.target/powerpc/fold-vec-extract-char.p7.c scan-assembler-times
\\mextsb\\M 2



This is one of those tests that just counts assembler operations and so may
need adjusting.

seurer@ltcden2-lp1:~/gcc/git/build/gcc-test$ diff
fold-vec-extract-char.p7.s.r14-4663 fold-vec-extract-char.p7.s.r14-4664
12d11
<   rldicl 5,5,0,60
14,15d12
<   addi 10,5,-48
<   add 5,10,1
18c15,17
<   lbz 3,32(5)
---
>   rldicl 5,5,0,60
>   add 5,5,1
>   lbz 3,-16(5)
32d30
<   rldicl 5,5,0,60
34,35d31
<   addi 10,5,-48
<   add 5,10,1
38c34,36
<   lbz 3,32(5)
---
>   rldicl 5,5,0,60
>   add 5,5,1
>   lbz 3,-16(5)
53d50
<   rldicl 5,5,0,60
55,56d51
<   addi 10,5,-48
<   add 5,10,1
59c54,56
<   lbz 3,32(5)
---
>   rldicl 5,5,0,60
>   add 5,5,1
>   lbz 3,-16(5)



commit 04c9cf5c786b94fbe3f6f21f06cae73a7575ff7a (HEAD)
Author: Manolis Tsamis 
Date:   Mon Oct 16 13:08:12 2023 -0600

Implement new RTL optimizations pass: fold-mem-offsets

[Bug bootstrap/111812] [14 regression] Can't build with gcc 4.8.5

2023-10-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111812

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from seurer at gcc dot gnu.org ---
The mentioned patch in r14-4332-ge40f3301019a521b11bfcc25aeb1388e6da1ca2f does
fix this.

[Bug bootstrap/111812] [14 regression] Can't build with gcc 4.8.5

2023-10-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111812

--- Comment #4 from seurer at gcc dot gnu.org ---
I tried a build with r14-4659-ga22eeaca5ce753 and I see the following which
looks like it might be the mentioned union issues.

g++ -std=gnu++11  -fno-PIE -c   -g -O2 -DIN_GCC-fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -fno-PIE -I. -I. -I/home/seurer/gcc/git/gcc-test/gcc
-I/home/seurer/gcc/git/gcc-test/gcc/.
-I/home/seurer/gcc/git/gcc-test/gcc/../include 
-I/home/seurer/gcc/git/gcc-test/gcc/../libcpp/include
-I/home/seurer/gcc/git/gcc-test/gcc/../libcody
-I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test/gmp
-I/home/seurer/gcc/git/build/gcc-test/./mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpc/src 
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/seurer/gcc/git/gcc-test/gcc/../libbacktrace
-I/home/seurer/gcc/git/build/gcc-test/./isl/include
-I/home/seurer/gcc/git/gcc-test/isl/include  -o cse.o -MT cse.o -MMD -MP -MF
./.deps/cse.TPo /home/seurer/gcc/git/gcc-test/gcc/cse.cc
In file included from /home/seurer/gcc/git/gcc-test/gcc/cse.cc:25:0:
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning: 'rtx_def::code' is too
small to hold all values of 'enum rtx_code' [enabled by default]
 #define RTX_CODE_BITSIZE 8
  ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:318:33: note: in expansion of macro
'RTX_CODE_BITSIZE'
   ENUM_BITFIELD(rtx_code) code: RTX_CODE_BITSIZE;
 ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:66:26: warning:
'qty_table_elem::comparison_code' is too small to hold all values of 'enum
rtx_code' [enabled by default]
 #define RTX_CODE_BITSIZE 8
  ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:252:45: note: in expansion of macro
'RTX_CODE_BITSIZE'
   ENUM_BITFIELD(rtx_code) comparison_code : RTX_CODE_BITSIZE;
 ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc: In function 'void
add_to_set(vec*, rtx)':
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::rtl' [-Wmissing-field-initializers]
   struct set entry = {};
   ^
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_elt' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_hash' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::dest_hash' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::inner_dest' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_in_memory' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_volatile' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::mode' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_const_hash' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_const' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::src_const_elt' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4236:23: warning: missing initializer
for member 'set::dest_addr_elt' [-Wmissing-field-initializers]
/home/seurer/gcc/git/gcc-test/gcc/cse.cc: In function 'void
cse_insn(rtx_insn*)':
/home/seurer/gcc/git/gcc-test/gcc/cse.cc:4954:19: error: use of deleted
function 'rtx_def::rtx_def()'
struct rtx_def memory_extend_buf;
   ^
In file included from /home/seurer/gcc/git/gcc-test/gcc/cse.cc:25:0:
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:313:38: note: 'rtx_def::rtx_def()' is
implicitly deleted because the default definition would be ill-formed:
  chain_prev ("RTX_PREV (&%h)"))) rtx_def {
  ^
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:313:38: error: use of deleted function
'rtx_def::u::u()'
/home/seurer/gcc/git/gcc-test/gcc/rtl.h:445:9: note: 'rtx_def::u::u()' is
implicitly deleted because the default definition would be ill-formed:
   union u {
 ^
/home/seur

[Bug bootstrap/111812] [14 regression] Can't build with gcc 4.8.5

2023-10-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111812

seurer at gcc dot gnu.org changed:

   What|Removed |Added

   Host||powerpc64-linux-gnu
 Target||powerpc64-linux-gnu
 CC||jakub at gcc dot gnu.org,
   ||segher at gcc dot gnu.org
  Build||powerpc64-linux-gnu

--- Comment #2 from seurer at gcc dot gnu.org ---
That's fine by me

[Bug bootstrap/111812] New: [14 regression] Can't build with gcc 4.8.5

2023-10-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111812

Bug ID: 111812
   Summary: [14 regression] Can't build with gcc 4.8.5
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:73cd319b72ca45a537688cc8cc5751d86a00a0e9, r14-4306-g73cd319b72ca45

We have one older system that still has gcc 4.8.5 as the distro compiler.

seurer@granola:~/gcc/git/build/gcc-test$ g++ -v
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 


If gcc 4.8.5 is no longer the minimum requirement that's fine by me as I can
just build a later version to use.



g++ -std=gnu++11 -c   -g -O2 -DIN_GCC-fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H  -DGENERATOR_FILE -I. -Ibuild
-I/home/seurer/gcc/git/gcc-test/gcc -I/home/seurer/gcc/git/gcc-test/gcc/build
-I/home/seurer/gcc/git/gcc-test/gcc/../include 
-I/home/seurer/gcc/git/gcc-test/gcc/../libcpp/include  \
-o build/genpreds.o /home/seurer/gcc/git/gcc-test/gcc/genpreds.cc
In file included from /home/seurer/gcc/git/gcc-test/gcc/rtl.h:30:0,
 from /home/seurer/gcc/git/gcc-test/gcc/genpreds.cc:27:
/home/seurer/gcc/git/gcc-test/gcc/vec.h: In member function 'void vec::quick_insert(unsigned int, const T&)':
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1089:18: error: 'is_trivially_copyable'
is not a member of 'std'
   static_assert (std::is_trivially_copyable ::value, "");
  ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1089:47: error: expected
primary-expression before '>' token
   static_assert (std::is_trivially_copyable ::value, "");
   ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1089:48: error: '::value' has not been
declared
   static_assert (std::is_trivially_copyable ::value, "");
^
/home/seurer/gcc/git/gcc-test/gcc/vec.h: In member function 'void vec::ordered_remove(unsigned int)':
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1105:18: error: 'is_trivially_copyable'
is not a member of 'std'
   static_assert (std::is_trivially_copyable ::value, "");
  ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1105:47: error: expected
primary-expression before '>' token
   static_assert (std::is_trivially_copyable ::value, "");
   ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1105:48: error: '::value' has not been
declared
   static_assert (std::is_trivially_copyable ::value, "");
^
/home/seurer/gcc/git/gcc-test/gcc/vec.h: In member function 'void vec::unordered_remove(unsigned int)':
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1153:18: error: 'is_trivially_copyable'
is not a member of 'std'
   static_assert (std::is_trivially_copyable ::value, "");
  ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1153:47: error: expected
primary-expression before '>' token
   static_assert (std::is_trivially_copyable ::value, "");
   ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1153:48: error: '::value' has not been
declared
   static_assert (std::is_trivially_copyable ::value, "");
^
/home/seurer/gcc/git/gcc-test/gcc/vec.h: In member function 'void vec::block_remove(unsigned int, unsigned int)':
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1167:18: error: 'is_trivially_copyable'
is not a member of 'std'
   static_assert (std::is_trivially_copyable ::value, "");
  ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1167:47: error: expected
primary-expression before '>' token
   static_assert (std::is_trivially_copyable ::value, "");
   ^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1167:48: error: '::value' has not been
declared
   static_assert (std::is_trivially_copyable ::value, "");
^
/home/seurer/gcc/git/gcc-test/gcc/vec.h: At global scope:
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1185:68: error: expected template-name
before '<' token
   struct is_trivially_copyable_or_pair : std::is_trivially_copyable { };
^
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1185:68: error: expected '{' before '<'
token
/home/seurer/gcc/git/gcc-test/gcc/vec.h:1185:68: error: expected unqualified-id
before '<' token
/hom

[Bug bootstrap/111787] [14 regression] r14-4592-g0d00385eaf72cc breaks build

2023-10-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111787

--- Comment #2 from seurer at gcc dot gnu.org ---
This system is on RHEL 8 which has gcc 8.5 as the distro compiler.

And yes, the patch worked.

[Bug bootstrap/111787] New: [14 regression] xxx breaks build

2023-10-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111787

Bug ID: 111787
   Summary: [14 regression] xxx breaks build
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:0d00385eaf72ccacff17935b0d214a26773e095f, r14-4592-g0d00385eaf72cc 

g++ -c   -g -O2 -DIN_GCC-fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE -I.
-Ibuild -I/home/seurer/gcc/git/gcc-trunk/gcc
-I/home/seurer/gcc/git/gcc-trunk/gcc/build
-I/home/seurer/gcc/git/gcc-trunk/gcc/../include 
-I/home/seurer/gcc/git/gcc-trunk/gcc/../libcpp/include  \
-o build/gencondmd.o build/gencondmd.cc
In file included from /home/seurer/gcc/git/gcc-trunk/gcc/recog.h:24,
 from build/gencondmd.cc:40:
/home/seurer/gcc/git/gcc-trunk/gcc/tree.h:6296:10: error: template argument
'wi::int_traits >::precision_type' involves template
parameter(s)
   struct ints_for  >,
  ^~~~
  int_traits  >::precision_type>
  
make[2]: *** [Makefile:2951: build/gencondmd.o] Error 1


commit 0d00385eaf72ccacff17935b0d214a26773e095f (HEAD)
Author: Jakub Jelinek 
Date:   Thu Oct 12 16:01:12 2023 +0200

wide-int: Allow up to 16320 bits wide_int and change widest_int precision
to 32640 bits [PR102989]

[Bug middle-end/111777] [14 regression] build breaks after r14-4558-g400efdddf3d849

2023-10-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111777

--- Comment #9 from seurer at gcc dot gnu.org ---
That patch works fine on a system where the build was failing.

[Bug middle-end/111777] [14 regression] build breaks after r14-4558-g400efdddf3d849

2023-10-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111777

--- Comment #4 from seurer at gcc dot gnu.org ---
Oops, wrong system.  On the failing one it shows:

makeinfo (GNU texinfo) 5.1

[Bug middle-end/111777] [14 regression] build breaks after r14-4558-g400efdddf3d849

2023-10-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111777

seurer at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #3 from seurer at gcc dot gnu.org ---
makeinfo --version

shows

texi2any (GNU texinfo) 6.7


Note:  "mary.benn...@embecosm.com" does not work for a CC address and I don't
see another Mary Bennett.

[Bug bootstrap/111777] New: [14 regression] build breaks after r14-4558-g400efdddf3d849

2023-10-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111777

Bug ID: 111777
   Summary: [14 regression] build breaks after
r14-4558-g400efdddf3d849
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:400efdddf3d8499d7c7969d26bedb537a625c070, r14-4558-g400efdddf3d849 

This breaks the build on some of our older (power 7/8) big endian systems.

make
. . .
if [ xinfo = xinfo ]; then \
makeinfo --split-size=500 --split-size=500 --no-split -I . -I
/home/seurer/gcc/git/gcc-test/gcc/doc \
-I /home/seurer/gcc/git/gcc-test/gcc/doc/include -o
doc/gcc.info /home/seurer/gcc/git/gcc-test/gcc/doc/gcc.texi; \
fi
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21708: warning: node next
`RISC-V Vector Intrinsics' in menu `CORE-V Built-in Functions' and in
sectioning `RX Built-in Functions' differ
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node `RX
Built-in Functions' is next for `CORE-V Built-in Functions' in menu but not in
sectioning
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node `RISC-V
Vector Intrinsics' is prev for `CORE-V Built-in Functions' in menu but not in
sectioning
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21716: warning: node up
`CORE-V Built-in Functions' in menu `Target Builtins' and in sectioning `RISC-V
Vector Intrinsics' differ
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21708: node `RISC-V Vector
Intrinsics' lacks menu item for `CORE-V Built-in Functions' despite being its
Up target
/home/seurer/gcc/git/gcc-test/gcc/doc/extend.texi:21795: warning: node prev `RX
Built-in Functions' in menu `CORE-V Built-in Functions' and in sectioning
`RISC-V Vector Intrinsics' differ
make[2]: *** [doc/gcc.info] Error 1




commit 400efdddf3d8499d7c7969d26bedb537a625c070
Author: Mary Bennett 
Date:   Wed Oct 11 07:39:41 2023 -0600

[PATCH v4 1/2] RISC-V: Add support for XCVmac extension in CV32E40P

Spec:
github.com/openhwgroup/core-v-sw/blob/master/specifications/corev-builtin-spec.md

[Bug c++/111544] [14 regression] assignment of read-only location after r14-4111-g6e92a6a2a72d3b

2023-10-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544

seurer at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #14 from seurer at gcc dot gnu.org ---
I modified the code to remove the "const" as that what was done to xerces
itself.

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688

--- Comment #3 from seurer at gcc dot gnu.org ---
If you need me to try something let me know.

[Bug bootstrap/111688] New: [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688

Bug ID: 111688
   Summary: [14 regression] bootstrap failure after
r14-4383-g14d0c509898b03
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:14d0c509898b0361f78284c05556035edde6d1e0, r14-4383-g14d0c509898b03

make
. . .
Comparing stages 2 and 3
Bootstrap comparison failure!
powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs/compatibility-ldbl.o
differs
powerpc64le-unknown-linux-gnu/libstdc++-v3/src/compatibility-ldbl.o differs


commit 14d0c509898b0361f78284c05556035edde6d1e0 (HEAD)
Author: Martin Jambor 
Date:   Tue Oct 3 18:44:52 2023 +0200

ipa-sra: Allow IPA-SRA in presence of returns which will be removed

[Bug other/111686] New: [13 regression] excess errors in 23_containers/vector/bool/allocator/copy.cc after r13-7931-ge6d26b141bf03a

2023-10-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111686

Bug ID: 111686
   Summary: [13 regression] excess errors in
23_containers/vector/bool/allocator/copy.cc after
r13-7931-ge6d26b141bf03a
   Product: gcc
   Version: 13.2.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:e6d26b141bf03a0348b51e4778c79d44dc760eed, r13-7931-ge6d26b141bf03a
make  -k check
RUNTESTFLAGS="conformance.exp=23_containers/vector/bool/allocator/copy.cc"
FAIL: 23_containers/vector/bool/allocator/copy.cc (test for excess errors)
# of expected passes1
# of unexpected failures1

Excess errors:
/home/seurer/gcc/git/build/gcc-13-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:437:
warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)'
writing between 9 and 9223372036854775807 bytes into a region of size 8
overflows the destination [-Wstringop-overflow=]

commit e6d26b141bf03a0348b51e4778c79d44dc760eed (HEAD)
Author: Tim Song 
Date:   Wed Sep 6 19:31:55 2023 +0200

libstdc++: Force _Hash_node_value_base methods inline to fix abi (PR111050)

[Bug bootstrap/111664] [14 regression] Fails to build with mawk (error in gcc/opt-read.awk) after r14-4354-ge4a4b8e983bac8

2023-10-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111664

--- Comment #2 from seurer at gcc dot gnu.org ---
I installed gawk on the machine where it failed and the build works now.  So
definitely mawk.

[Bug fortran/111644] [13 regression] many failures after r13-7923-gd9b3269bdccac2

2023-10-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111644

seurer at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #3 from seurer at gcc dot gnu.org ---
Fixed now, thanks!

[Bug bootstrap/111664] New: [14 regression] error in gcc/opt-read.awk after r14-4354-ge4a4b8e983bac8

2023-10-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111664

Bug ID: 111664
   Summary: [14 regression] error in gcc/opt-read.awk after
r14-4354-ge4a4b8e983bac8
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:e4a4b8e983bac865eb435b11798e38d633b98942, r14-4354-ge4a4b8e983bac8

I am seeing this just on our big ending machines.

mawk -f /home/seurer/gcc/git/gcc-trunk/gcc/opt-functions.awk -f
/home/seurer/gcc/git/gcc-trunk/gcc/opt-read.awk \
   -f /home/seurer/gcc/git/gcc-trunk/gcc/opth-gen.awk \
   < optionlist > tmp-options.h
mawk: /home/seurer/gcc/git/gcc-trunk/gcc/opt-read.awk: line 134: syntax error
at or near [
mawk: /home/seurer/gcc/git/gcc-trunk/gcc/opth-gen.awk: line 415: syntax error
at or near [
mawk: /home/seurer/gcc/git/gcc-trunk/gcc/opth-gen.awk: line 417: syntax error
at or near [
mawk: /home/seurer/gcc/git/gcc-trunk/gcc/opth-gen.awk: line 440: syntax error
at or near [

commit e4a4b8e983bac865eb435b11798e38d633b98942
Author: Feng Wang 
Date:   Tue Sep 12 09:18:05 2023 +

RISC-V:Optimize the MASK opt generation

[Bug fortran/111644] New: [13 regression] many failures after r13-7923-gd9b3269bdccac2

2023-09-29 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111644

Bug ID: 111644
   Summary: [13 regression] many failures after
r13-7923-gd9b3269bdccac2
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:d9b3269bdccac2db9200303494c4e82f2aeb7bbc, r13-7923-gd9b3269bdccac2

FAIL: gfortran.dg/alloc_comp_basics_1.f90   -O0   scan-tree-dump-times original
"builtin_free" 21
FAIL: gfortran.dg/alloc_comp_basics_1.f90   -O1   scan-tree-dump-times original
"builtin_free" 21
FAIL: gfortran.dg/alloc_comp_basics_1.f90   -O2   scan-tree-dump-times original
"builtin_free" 21
FAIL: gfortran.dg/alloc_comp_basics_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   scan-tree-dump-times
original "builtin_free" 21
FAIL: gfortran.dg/alloc_comp_basics_1.f90   -O3 -g   scan-tree-dump-times
original "builtin_free" 21
FAIL: gfortran.dg/alloc_comp_basics_1.f90   -Os   scan-tree-dump-times original
"builtin_free" 21
FAIL: gfortran.dg/allocatable_scalar_9.f90   -O0   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/allocatable_scalar_9.f90   -O1   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/allocatable_scalar_9.f90   -O2   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/allocatable_scalar_9.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/allocatable_scalar_9.f90   -O3 -g   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/allocatable_scalar_9.f90   -Os   scan-tree-dump-times
original "__builtin_free" 54
FAIL: gfortran.dg/coarray/alloc_comp_6.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/alloc_comp_6.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray/alloc_comp_7.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/alloc_comp_7.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray/get_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/get_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray/scalar_alloc_2.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/scalar_alloc_2.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray/send_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/send_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray/sendget_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (internal compiler error: in wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray/sendget_array.f90 -fcoarray=lib  -O2  -lcaf_single
-latomic (test for excess errors)
FAIL: gfortran.dg/coarray_lib_alloc_1.f90   -O  (internal compiler error: in
wide_int_to_tree_1, at tree.cc:1755)
FAIL: gfortran.dg/coarray_lib_alloc_1.f90   -O  (test for excess errors)
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub \\([^,]*caf.data, &[^,]*caf_dt.data.->b, caf.token, 0, caf_dt.token, 4\\)"
1
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub \\(integer.kind=4. . restrict x1, integer.kind=4. . restrict x2, void .
restrict caf_token.[0-9]+, integer.kind=.. caf_offset.[0-9]+, void . restrict
caf_token.[0-9]+, integer.kind=.. caf_offset.[0-9]+\\)" 1
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub2 \\([^,]*x1, [^,]*x2, caf_token.[0-9]+, [^,]*caf_offset[^,]*,
caf_token.[0-9]+, [^,]*caf_offset[^,]*\\)" 1
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub2 \\(integer.kind=4. . restrict y1, integer.kind=4. . restrict y2, void .
restrict caf_token.[0-9]+, integer.kind=.. caf_offset.[0-9]+, void . restrict
caf_token.[0-9]+, integer.kind=.. caf_offset.[0-9]+\\)" 1
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub_opt \\(.integer.kind=4. .. caf.data, caf.token, 0\\)" 1
FAIL: gfortran.dg/coarray_lib_token_2.f90   -O   scan-tree-dump-times original
"sub_opt \\(0B, 0B, 0\\)

[Bug gcov-profile/111603] New: [14 regression] new test case gcc.dg/tree-ssa/pr111456-1.c in r14-4280-gc3c6f30496d945 fails

2023-09-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111603

Bug ID: 111603
   Summary: [14 regression] new test case
gcc.dg/tree-ssa/pr111456-1.c in
r14-4280-gc3c6f30496d945 fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: gcov-profile
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

g:c3c6f30496d945b77dcb7f4ad8c3f8094f5a64a4, r14-4280-gc3c6f30496d945
make  -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/pr111456-1.c"
FAIL: gcc.dg/tree-ssa/pr111456-1.c scan-tree-dump-not optimized "foo "
# of expected passes2
# of unexpected failures1

commit c3c6f30496d945b77dcb7f4ad8c3f8094f5a64a4 (HEAD)
Author: Andrew Pinski 
Date:   Wed Sep 20 14:54:31 2023 -0700

MATCH: Simplify `(A ==/!= B) &/| (((cast)A) CMP C)`

[Bug c++/111544] [14 regression] assignment of read-only location after r14-4111-g6e92a6a2a72d3b

2023-09-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544

--- Comment #11 from seurer at gcc dot gnu.org ---
From, the original I cut it down to this.  Compiles OK with r14-4110, error
with r14-4111.


bad3.c: In member function 'NameIdPoolEnumerator&
NameIdPoolEnumerator::operator=(const NameIdPoolEnumerator&)':
bad3.c:23:20: error: assignment of read-only location
'((NameIdPoolEnumerator*)this)->NameIdPoolEnumerator::fMemoryManager'
   23 | fMemoryManager = toAssign.fMemoryManager;
  | ~~~^



class MemoryManager;



template  class NameIdPoolEnumerator// : public XMemory
{
public :
NameIdPoolEnumerator& operator=
(
const NameIdPoolEnumerator& toAssign
);

private :
MemoryManager* const fMemoryManager;
};




template  NameIdPoolEnumerator&
NameIdPoolEnumerator::
operator=(const NameIdPoolEnumerator& toAssign)
{
fMemoryManager = toAssign.fMemoryManager;
return *this;
}

[Bug other/111544] [14 regression] assignment of read-only location after r14-4111-g6e92a6a2a72d3b

2023-09-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544

--- Comment #2 from seurer at gcc dot gnu.org ---
I can't attach the whole thing but I am working on cutting it down.

[Bug other/111544] New: [14 regression] assignment of read-only location after r14-4111-g6e92a6a2a72d3b

2023-09-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544

Bug ID: 111544
   Summary: [14 regression] assignment of read-only location after
r14-4111-g6e92a6a2a72d3b
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Starting with r14-4111-g6e92a6a2a72d3b I am seeing a whole bunch of errors when
compiling some test code like this:

/home/seurer/gcc/git/install/gcc-test//bin/g++ -c -o WFXMLScanner.o -DSPEC_CPU
-DNDEBUG  -DAPP_NO_THREADS -DXALAN_INMEM_MSG_LOADER -I. -Ixercesc -Ixercesc/dom
-Ixercesc/dom/impl -Ixercesc/sax -Ixercesc/util/MsgLoaders/InMemory
-Ixercesc/util/Transcoders/Iconv -Ixalanc/include -DPROJ_XMLPARSER
-DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-m64 -O3 -mcpu=power8 -fpeel-loops -funroll-loops -ffast-math -mpopcntd
-mrecip=all-DSPEC_CPU_LP64 -DSPEC_CPU_LINUX  WFXMLScanner.cpp
In file included from ./xercesc/util/NameIdPool.hpp:338,
 from ./xercesc/internal/XMLScanner.hpp:311,
 from ./xercesc/internal/WFXMLScanner.hpp:93,
 from WFXMLScanner.cpp:65:
./xercesc/util/NameIdPool.c: In member function
'xercesc_2_5::NameIdPoolEnumerator&
xercesc_2_5::NameIdPoolEnumerator::operator=(const
xercesc_2_5::NameIdPoolEnumerator&)':
./xercesc/util/NameIdPool.c:416:20: error: assignment of read-only location
'((xercesc_2_5::NameIdPoolEnumerator*)this)->xercesc_2_5::NameIdPoolEnumerator::fMemoryManager'
  416 | fMemoryManager = toAssign.fMemoryManager;
  | ~~~^

This is old, old code (one of the tests in spec 2006) and appears to run just
fine.  Is there actually something wrong in the code or is the error message in
error?


commit 6e92a6a2a72d3b7a5e1b29042d8a6a43fe1085aa (HEAD)
Author: Patrick Palka 
Date:   Mon Sep 18 14:47:52 2023 -0400

c++: non-dependent assignment checking [PR63198, PR18474]

[Bug testsuite/111480] New: new test case g++.target/powerpc/altivec-19.C fails

2023-09-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111480

Bug ID: 111480
   Summary: new test case g++.target/powerpc/altivec-19.C fails
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:b34f8e705d961260adc2bea95db4361b2e70d565, r14-4079-gb34f8e705d9612
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
powerpc.exp=g++.target/powerpc/altivec-19.C"
FAIL: g++.target/powerpc/altivec-19.C scan-assembler-not \\mrldicl\\M

This is failing just on big endian.

commit b34f8e705d961260adc2bea95db4361b2e70d565
Author: Ajit Kumar Agarwal 
Date:   Sun Sep 17 12:27:10 2023 -0500

rs6000: unnecessary clear after vctzlsbb in vec_first_match_or_eos_index

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465

--- Comment #2 from seurer at gcc dot gnu.org ---
Created attachment 55926
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55926=edit
preprocessed .ii file

Yup, that looks like the culprit.

Preprocessed file attached.

[Bug bootstrap/111465] New: [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465

Bug ID: 111465
   Summary: [14 regression] stage 3 ICE kills bootstrap
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

/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/powerpc64le-unknown-linux-gnu/bin/
-nostdinc++
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

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

-I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-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-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
 -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp -I.
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/../include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/include  -g -O2 -fchecking=1
-W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic
-Wno-long-long -Werror -fno-exceptions -fno-rtti
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp -I.
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/../include
-I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/include-c -o line-map.o
-MT line-map.o -MMD -MP -MF .deps/line-map.Tpo
/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/line-map.cc
/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/line-map.cc: In function 'int
linemap_compare_locations(line_maps*, location_t, location_t)':
/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/line-map.cc:1434:1: error:
statement uses released SSA name
 1434 | linemap_compare_locations (line_maps *set,
  | ^
_219 = _216;
The use of _216 should have been replaced
during GIMPLE pass: dom
/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/line-map.cc:1434:1: internal
compiler error: cannot update SSA form

I am tracking down exactly where this started but it was just earlier today.

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462

--- Comment #2 from seurer at gcc dot gnu.org ---
Also this one:

make  -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/vect-117.c"
FAIL: gcc.dg/vect/vect-117.c scan-tree-dump-not optimized "Invalid sum"
FAIL: gcc.dg/vect/vect-117.c -flto -ffat-lto-objects  scan-tree-dump-not
optimized "Invalid sum"

[Bug tree-optimization/111462] New: [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462

Bug ID: 111462
   Summary: [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails
after r14-4089-gd45ddc2c04e471
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:d45ddc2c04e471d0dcee016b6edacc00b8341b16, r14-4089-gd45ddc2c04e471
make  -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/ssa-sink-18.c"
FAIL: gcc.dg/tree-ssa/ssa-sink-18.c scan-tree-dump-times sink2 "Sunk
statements: 5" 1
# of expected passes1
# of unexpected failures1

commit d45ddc2c04e471d0dcee016b6edacc00b8341b16 (HEAD)
Author: Richard Biener 
Date:   Thu Sep 14 13:06:51 2023 +0200

tree-optimization/111294 - backwards threader PHI costing

[Bug other/111427] New: [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-09-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111427

Bug ID: 111427
   Summary: [14 regression] gfortran.dg/vect/pr60510.f fails after
r14-3999-g3c834d85f2ec42
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:3c834d85f2ec42c60995c2b678196a06cb744959, r14-3999-g3c834d85f2ec42
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'
vect.exp=gfortran.dg/vect/pr60510.f"

spawn [open ...]
STOP 1
FAIL: gfortran.dg/vect/pr60510.f   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test


commit 3c834d85f2ec42c60995c2b678196a06cb744959
Author: Vladimir N. Makarov 
Date:   Thu Sep 14 10:26:48 2023 -0400

[RA]: Improve cost calculation of pseudos with equivalences


Looks like this actually only happens with -m32.

[Bug other/111377] New: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377

Bug ID: 111377
   Summary: [14 regression]
c-c++-common/analyzer/compound-assignment-1.c fails
after XXX on big endian
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:50b5199cff690891726877e1c00ac53dfb7cc1c8, r14-3823-g50b5199cff6908


This fails just on BE for me.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32,m64}'
analyzer.exp=c-c++-common/analyzer/compound-assignment-1.c"
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++98  (test for
warnings, line 72)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++98 (test for
excess errors)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++14  (test for
warnings, line 72)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++14 (test for
excess errors)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++17  (test for
warnings, line 72)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++17 (test for
excess errors)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++20  (test for
warnings, line 72)
FAIL: c-c++-common/analyzer/compound-assignment-1.c  -std=c++20 (test for
excess errors)


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/c-c++-common/analyzer/compound-assignment-1.c
-m32 -fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test2/powerpc64-unknown-linux-gnu/32/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++20 -fanalyzer -Wanalyzer-too-complex -fanalyzer-call-summaries -S -o
compound-assignment-1.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:
In function 'void test_4()':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:42:1:
warning: leak of 'r.ptr_wrapper::ptr' [CWE-401] [-Wanalyzer-malloc-leak]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:41:26:
note: (1) allocated here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:42:1:
note: (2) 'r.ptr_wrapper::ptr' leaks here; was allocated at (1)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:
In function 'void test_5a()':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:57:1:
warning: leak of 'q.ptr_wrapper::ptr' [CWE-401] [-Wanalyzer-malloc-leak]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:54:6:
note: (1) entry to 'test_5a'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:56:44:
note: (2) calling 'called_by_test_5a' from 'test_5a'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:47:1:
note: (3) entry to 'called_by_test_5a'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:50:26:
note: (4) allocated here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:56:44:
note: (5) returning to 'test_5a' from 'called_by_test_5a'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:57:1:
note: (6) 'q.ptr_wrapper::ptr' leaks here; was allocated at (4)
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:
In function 'void test_5b()':
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:71:21:
warning: leak of '.ptr_wrapper::ptr' [CWE-401]
[-Wanalyzer-malloc-leak]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:69:6:
note: (1) entry to 'test_5b'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:71:21:
note: (2) calling 'called_by_test_5b' from 'test_5b'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:61:1:
note: (3) entry to 'called_by_test_5b'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:64:26:
note: (4) allocated here
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/c-c++-common/analyzer/compound-assignment-1.c:71:21:
note: (5) returning to 'test_5b' from 'called_by_test_5b'
/home/seurer/g

[Bug analyzer/111329] [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329

--- Comment #3 from seurer at gcc dot gnu.org ---
It is the one that appears to trigger this failure, though.  And as for being a
duplicate of that other one I see this on both powerpc64 BE and LE.

git bisect log

git bisect start
# good: [1b4c70d4271a00514ae20970d483c3b78d9d66ef] RISC-V: Fix VSETVL PASS
AVL/VL fetch bug[111295]
git bisect good 1b4c70d4271a00514ae20970d483c3b78d9d66ef
# bad: [52e270e847d240fb68a27c88ee60189515a6] Additional _BitInt test
coverage [PR102989]
git bisect bad 52e270e847d240fb68a27c88ee60189515a6
# bad: [8c984a1c3693df63520558631c827bb2c2d8b5bc] C _BitInt support [PR102989]
git bisect bad 8c984a1c3693df63520558631c827bb2c2d8b5bc
# bad: [b38deff6127778fed453bb647e32738ba5c78e33] i386: Enable _BitInt on
x86-64 [PR102989]
git bisect bad b38deff6127778fed453bb647e32738ba5c78e33
# bad: [4f4fa2501186e43d115238ae938b3df322c9e02a] Middle-end _BitInt support
[PR102989]
git bisect bad 4f4fa2501186e43d115238ae938b3df322c9e02a
# good: [6b96de22d6bcadb45530c1898b264e4738afa4fd] RISC-V: Fix incorrect mode
tieable which cause ICE in RA[PR111296]
git bisect good 6b96de22d6bcadb45530c1898b264e4738afa4fd
# first bad commit: [4f4fa2501186e43d115238ae938b3df322c9e02a] Middle-end
_BitInt support [PR102989]


g:6b96de22d6bcadb45530c1898b264e4738afa4fd, r14-3744-g6b96de22d6bcad
make  -k check-gcc
RUNTESTFLAGS="analyzer.exp=gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c"
# of expected passes4


g:4f4fa2501186e43d115238ae938b3df322c9e02a, r14-3745-g4f4fa2501186e4
make  -k check-gcc
RUNTESTFLAGS="analyzer.exp=gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c"
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c expected multiline
pattern lines 17-39
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c 2 blank line(s) in output
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c (test for excess errors)
# of expected passes2
# of unexpected failures3

[Bug other/111329] New: [14 regression] gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails after r14-3745-g4f4fa2501186e4

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111329

Bug ID: 111329
   Summary: [14 regression]
gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c fails
after r14-3745-g4f4fa2501186e4
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:4f4fa2501186e43d115238ae938b3df322c9e02a, r14-3745-g4f4fa2501186e4
make  -k check-gcc
RUNTESTFLAGS="analyzer.exp=gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c"
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c expected multiline
pattern lines 17-39
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c 2 blank line(s) in output
FAIL: gcc.dg/analyzer/out-of-bounds-diagram-1-debug.c (test for excess errors)
# of expected passes2
# of unexpected failures3

commit 4f4fa2501186e43d115238ae938b3df322c9e02a (HEAD, refs/bisect/bad)
Author: Jakub Jelinek 
Date:   Wed Sep 6 17:25:49 2023 +0200

Middle-end _BitInt support [PR102989]

[Bug target/111263] test case gfortran.dg/ieee/comparisons_3.F90 fails

2023-09-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111263

--- Comment #2 from seurer at gcc dot gnu.org ---
No, that is not failing.

[Bug other/111264] New: [14 regression] gcc.dg/plugin/analyzer_cpython_plugin.c breaks after r14-3580-g597b9ec69bca8a

2023-08-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111264

Bug ID: 111264
   Summary: [14 regression]
gcc.dg/plugin/analyzer_cpython_plugin.c breaks after
r14-3580-g597b9ec69bca8a
   Product: gcc
   Version: 14.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: other
  Assignee: unassigned at gcc dot gnu.org
  Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:597b9ec69bca8acb7a3d65641c0a730de8b27ed4, r14-3580-g597b9ec69bca8a
make  -k check-gcc
RUNTESTFLAGS="plugin.exp=gcc.dg/plugin/analyzer_cpython_plugin.c"
FAIL: gcc.dg/plugin/analyzer_cpython_plugin.c compilation
# of unexpected failures1

commit 597b9ec69bca8acb7a3d65641c0a730de8b27ed4 (HEAD)
Author: Eric Feng 
Date:   Wed Aug 30 17:52:24 2023 -0400

analyzer: implement reference count checking for CPython plugin [PR107646]



Executing on build: g++ -g
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c
-I. -I/home/seurer/gcc/git/gcc-test/gcc/testsuite
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../gcc
-I/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gcc/../../../gcc 
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../libcpp/include 
-I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test/gmp
-I/home/seurer/gcc/git/build/gcc-test/./mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpc/src 
-I/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gcc/../../../intl -g
-DIN_GCC -fPIC -shared -fno-rtti -o analyzer_cpython_plugin.so(timeout =
300)
spawn -ignore SIGHUP g++ -g
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c
-I. -I/home/seurer/gcc/git/gcc-test/gcc/testsuite
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../gcc
-I/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gcc/../../../gcc
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../libcpp/include
-I/home/seurer/gcc/git/build/gcc-test/./gmp -I/home/seurer/gcc/git/gcc-test/gmp
-I/home/seurer/gcc/git/build/gcc-test/./mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/gcc-test/mpc/src
-I/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gcc/../../../intl -g
-DIN_GCC -fPIC -shared -fno-rtti -o analyzer_cpython_plugin.so
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:
In function 'void ana::pyobj_refcnt_checker(const ana::region_model*, const
ana::region_model*, const ana::svalue*, ana::region_model_context*)':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:480:58:
error: no matching function for call to 'hash_map::hash_map(hash_map)'
   auto region_to_refcnt = hash_map ();
  ^
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:
In member function 'virtual void
ana::kf_analyzer_cpython_dump_refcounts::impl_call_pre(const
ana::call_details&) const':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:564:60:
error: no matching function for call to 'hash_map::hash_map(hash_map)'
 auto region_to_refcnt = hash_map ();
^

  1   2   3   4   5   6   7   8   9   10   >