[Bug middle-end/111278] New: error: call to ‘...’ declared with attribute error: code path is reachable with -Og, but not -O2

2023-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111278 Bug ID: 111278 Summary: error: call to ‘...’ declared with attribute error: code path is reachable with -Og, but not -O2 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/111278] error: call to ‘...’ declared with attribute error: code path is reachable with -Og, but not -O2

2023-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111278 --- Comment #1 from Sam James --- 10/11/12/13/14 all seem to fail

[Bug middle-end/111278] error: call to ‘...’ declared with attribute error: code path is reachable with -Og, but not -O2

2023-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111278 --- Comment #5 from Sam James --- Created attachment 55836 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55836=edit reduced.i Clang seems to fail to build this reduced one with -O0 too, although -O1/-Og are ok there.

[Bug target/111411] New: [14 regression] ICE when building opus-1.4 (celt_decoder.c:1182:1: internal compiler error: in extract_insn, at recog.cc:2791)

2023-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 Bug ID: 111411 Summary: [14 regression] ICE when building opus-1.4 (celt_decoder.c:1182:1: internal compiler error: in extract_insn, at recog.cc:2791) Product: gcc

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-09-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 --- Comment #2 from Sam James --- Created attachment 55897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55897=edit reduced.i I've attached a reduced version but the memcpy bit could do with cleaning up for it to be a bit more sensible.

[Bug middle-end/111253] New: Dodgy pointer name (*_42 = PHI ...) in -Wfree-nonheap-object diagnostic

2023-08-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111253 Bug ID: 111253 Summary: Dodgy pointer name (*_42 = PHI ...) in -Wfree-nonheap-object diagnostic Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug middle-end/111254] Dodgy variable name (*_11 = PHI <_1(25), _25(23)>.CargoPacket::Pool...) in -Wmaybe-uninitialized

2023-08-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111254 --- Comment #1 from Sam James --- I have a few more of these in clang and qt* but I figure this is a smaller test case. Can report the others if needed though.

[Bug middle-end/111253] Dodgy pointer name (*_42 = PHI ...) in -Wfree-nonheap-object diagnostic

2023-08-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111253 --- Comment #1 from Sam James --- Created attachment 55825 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55825=edit reduced.i

[Bug middle-end/111254] New: Dodgy variable name (*_11 = PHI <_1(25), _25(23)>.CargoPacket::Pool...) in -Wmaybe-uninitialized

2023-08-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111254 Bug ID: 111254 Summary: Dodgy variable name (*_11 = PHI <_1(25), _25(23)>.CargoPacket::Pool...) in -Wmaybe-uninitialized Product: gcc Version: 14.0

[Bug middle-end/111254] Dodgy variable name (*_11 = PHI <_1(25), _25(23)>.CargoPacket::Pool...) in -Wmaybe-uninitialized

2023-08-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111254 --- Comment #2 from Sam James --- sorry, wrong output: ``` [...] In static member function ‘static void Pool::PoolItem::operator delete(void*) [with Pool* Tpool = (& _cargopacket_pool); Titem = CargoPacket; Tindex = unsigned int; long unsigned

[Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong

2023-09-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 --- Comment #5 from Sam James --- (In reply to Richard Sandiford from comment #4) > I'm struggling to reproduce this. Do you know what your -mcpu=native expands > to? # arch=native; for t in param target; do cmd="gcc -Q -O2 -mcpu=$arch

[Bug target/111418] ICE with the CVE-2023-4039 patches applied

2023-09-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #4

[Bug middle-end/111845] [14 regression] ICE when building pycryptodome

2023-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111845 --- Comment #3 from Sam James --- Created attachment 56127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56127=edit reduced.ii I've attached what cvise gave me but it also relies on uninitialised vars (not tried to fix it yet)

[Bug middle-end/111845] [14 regression] ICE when building pycryptodome

2023-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111845 Sam James changed: What|Removed |Added Attachment #56127|0 |1 is obsolete|

[Bug middle-end/111845] New: [14 regression] ICE when building pycryptodome

2023-10-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111845 Bug ID: 111845 Summary: [14 regression] ICE when building pycryptodome Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/111476] [14 regression] ICE when building Ruby 3.1.4 since r14-3459-g0c78240fd7d519

2023-10-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111476 --- Comment #7 from Sam James --- I think slyfox's fix in 043a6fcbc27f8721301eb2f72a7839f54f393003 (PR111559) sorted this, maybe? I can't reproduce it anymore, anyway. Feel free to close as appropriate and I'll reopen if it returns?

[Bug tree-optimization/111476] [14 regression] ICE when building Ruby 3.1.4 since r14-3459-g0c78240fd7d519

2023-10-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111476 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/111845] [14 regression] ICE when building pycryptodome since r14-1837-g43a3252c42af12

2023-10-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111845 Sam James changed: What|Removed |Added Summary|[14 regression] ICE when|[14 regression] ICE when

[Bug c/111884] unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 Sam James changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org,

[Bug c++/111974] internal error: Segmentation fault on Ubuntu 23.10 (x86-64) - compiling RefPerSys

2023-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111974 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/109334] tree-object-size: Improve size computation in arguments

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109334 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #5 from Sam James --- (In reply to Richard Biener from comment #4) > [...] > I think this is a duplicate of the modref / IPA-CP issue (failing to remember > the PR number) which IIRC has a patch under review. PR57 or maybe

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #6 from Sam James --- -fharden-control-flow-redundancy suppresses it.

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed since r14-3459-g0c78240fd7d519

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/112346] [13 Regression] Wrong code produced with -O2

2023-11-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112346 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3

[Bug ipa/104320] Maybe a thinko in ctor_for_folding

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104320 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3

[Bug target/111416] [Armv7/v8 Mixing Bug]: 64-bit Sequentially Consistent Load can be Reordered before Store of RMW when v7 and v8 Implementations are Mixed

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111416 Sam James changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 Sam James changed: What|Removed |Added Build|s390-ibm-linux-gnu |s390-ibm-linux-gnu, |

[Bug c++/112365] New: [14 regression] ICE on invalid C++

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112365 Bug ID: 112365 Summary: [14 regression] ICE on invalid C++ Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/112367] wrong rounding of sum of floating-point constants

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112367 --- Comment #3 from Sam James --- (In reply to Paul Zimmermann from comment #2) > > Build a newer one on cfarm117? > > it would be a waste of time, I guess people having access to an ARM machine > with a recent version of gcc can confirm or

[Bug c/112367] wrong rounding of sum of floating-point constants

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112367 --- Comment #4 from Sam James --- $ gcc /tmp/foo.c -lm -frounding-math -o /tmp/foo $ /tmp/foo x=0x1.e90028p+4 $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-unknown-linux-gnu/13/lto-wrapper Target:

[Bug c/112367] wrong rounding of sum of floating-point constants

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112367 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |muecker at gwdg dot de

[Bug c++/112365] ICE on invalid C++

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112365 Sam James changed: What|Removed |Added Keywords||ice-checking Summary|[14

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/112369] New: [14 regression] ICE when building webkit-gtk with -march=raptorlake

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112369 Bug ID: 112369 Summary: [14 regression] ICE when building webkit-gtk with -march=raptorlake Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111766] Missed optimization with __builtin_unreachable and ands

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111766 Sam James changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/112369] [14 regression] ICE when building webkit-gtk with -march=raptorlake

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112369 --- Comment #2 from Sam James --- Created attachment 56504 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56504=edit Hti5.cpp.ii Kostadin started a reduction earlier and got this. It needs some cleaning up.

[Bug tree-optimization/112369] [14 regression] ICE when building webkit-gtk with -march=raptorlake

2023-11-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112369 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) > Created attachment 56504 [details] > Hti5.cpp.ii > > Kostadin started a reduction earlier and got this. It needs some cleaning up. btw, his was reduced from the same

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #2 from Sam James --- reduced: ``` enum { TGSI_FILE_NULL }; struct ureg_src { unsigned File : 4; unsigned : 2; unsigned : 2; unsigned : 2; unsigned : 1; unsigned IndirectFile : 4; unsigned IndirectSwizzle : 2; int :

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #3 from Sam James --- (In reply to Sam James from comment #0) > Interestingly, it is the same source file as > in PR112380 (which still occurs on trunk). sorry, I lied here, just similar names and I skimmed

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #2 from Sam James --- ``` [...] In file included from ../mesa-23.2.1/src/util/u_debug.h:49, from ../mesa-23.2.1/src/util/format/u_format.h:35, from ../mesa-23.2.1/src/compiler/nir/nir.h:43,

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #4 from Sam James --- (In reply to Sam James from comment #3) > might not be a 14 regression, I need to build older gccs with more checking ok, it is a 14 regression

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg) since r14-4612-g6decda1a35be57

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #3 from Sam James --- might not be a 14 regression, I need to build older gccs with more checking

[Bug rtl-optimization/112380] New: [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 Bug ID: 112380 Summary: [14 regression] ICE when building mesa Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #1 from Sam James --- I'll try reduce it now.

[Bug rtl-optimization/112381] New: [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 Bug ID: 112381 Summary: [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #1 from Sam James --- Created attachment 56507 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56507=edit reduced.i Attached reduced version. Not bothered cleaning it up b/c of that issue with it working on trunk. Needs gcc

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg) since r14-4612-g6decda1a35be57

2023-11-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 Sam James changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 Sam James changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5 from

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #8 from Sam James --- (In reply to Jeffrey A. Law from comment #6) Program received signal SIGSEGV, Segmentation fault. 0x412083f0 in _PyST_GetSymbol (name=0xf9a34a00, ste=) at Python/symtable.c:396 396 PyObject *v =

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #9 from Sam James --- I think the key object is Python/compile.o, but not certain yet.

[Bug c++/112427] New: [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_referenc

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 Bug ID: 112427 Summary: [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have

[Bug c++/112427] [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 --- Comment #1 from Sam James --- This reproduces with just 'g++ -c mesh.cpp.ii' for me. ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #12 from Sam James --- (In reply to Manolis Tsamis from comment #11) > Hi all, > > I will also go ahead and try to reproduce that, although it may take me some > time due to my limited experience with HPPA. Once I manage to

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 --- Comment #2 from Sam James --- Reduced: ``` int secp256k1_scalar_reduce_512_r_0_0, secp256k1_scalar_reduce_512_m6, secp256k1_scalar_reduce_512_m9, secp256k1_scalar_reduce_512_th, secp256k1_scalar_reduce_512_tl; unsigned int

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 --- Comment #3 from Sam James --- Better reduction without uninit: ``` int secp256k1_scalar_reduce_512_r_0_0, secp256k1_scalar_reduce_512_m6, secp256k1_scalar_reduce_512_m9, secp256k1_scalar_reduce_512_th,

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #13 from Sam James --- Created attachment 56527 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56527=edit compile.c.323r.fold_mem_offsets.bad.xz Output from ``` hppa2.0-unknown-linux-gnu-gcc -c -DNDEBUG -g -fwrapv -O3 -Wall

[Bug middle-end/112430] [14 Regression] ICE: verify_ssa failed, missing definition since r14-1837-g43a3252c42af12

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added Target||x86_64-linux-gnu CC|

[Bug target/112435] New: [14 regression]

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Bug ID: 112435 Summary: [14 regression] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee:

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #2 from Sam James --- (In reply to Andrew Pinski from comment #1) > What binutils version are you using? > It could also be a binutils bug. > $ as --version GNU assembler (Gentoo 2.41 p2) 2.41.0 > vblendps is just a plain avx

[Bug bootstrap/112422] Build process does a redundant number of checks ?

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 Sam James changed: What|Removed |Added Blocks||84402 CC|

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #8 from Sam James --- I've kicked off a reduction although I'm not really sure how it's going to turn out... I'll do a bisect while I wait.

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info since r14-4708-gd

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 Sam James changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre' since r14

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 Sam James changed: What|Removed |Added Summary|[14 Regression] wrong code |[14 Regression] wrong code

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 --- Comment #5 from Sam James --- Again suppressed by -fharden-control-flow-redundancy. Anyway, will bisect.

[Bug target/112279] New: ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112279 Bug ID: 112279 Summary: ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/112279] ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112279 --- Comment #1 from Sam James --- ``` # gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/s390-ibm-linux-gnu/14/lto-wrapper Target: s390-ibm-linux-gnu Configured with:

[Bug target/112279] ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112279 --- Comment #4 from Sam James --- Minimised. ``` $ s390-ibm-linux-gnu-gcc -c sqlite-shell.i -O3 -march=arch13 -mzarch -c sqlite-shell.i sqlite-shell.i: In function 'shellAddSchemaName': sqlite-shell.i:7:1: error: unrecognizable insn: 7 | }

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 --- Comment #4 from Sam James --- (In reply to Sam James from comment #3) > I can't reproduce with 20231022, so I'll wait until today's snapshot > finishes. That gives us a nice narrow window anyway... Sorry, I was wrong there.

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug target/112279] ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112279 --- Comment #2 from Sam James --- getting rid of -march=native: s390-ibm-linux-gnu-gcc -c sqlite3-shell.i -O3 -march=arch13 -mzarch ICEs for me

[Bug target/112280] New: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 Bug ID: 112280 Summary: ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112280] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 --- Comment #1 from Sam James --- s390-ibm-linux-gnu-gcc -c rijndael.i -O3 -march=arch13 -mzarch is enough to reproduce (getting rid of -march=native)

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 --- Comment #3 from Sam James --- I can't reproduce with 20231022, so I'll wait until today's snapshot finishes. That gives us a nice narrow window anyway...

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) > I can't hit this with a 13 cross compiler. (-> 14 regression)

[Bug target/112279] ICE building sqlite-3.43.2 on s390 (internal compiler error: in extract_insn)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112279 --- Comment #3 from Sam James --- I can hit this with both a 13 cross compiler and 14 native.

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 Sam James changed: What|Removed |Added Summary|ICE building|[14 regression] ICE

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 Sam James changed: What|Removed |Added Summary|[14 Regression] wrong code |[14 Regression] wrong code

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3

[Bug sanitizer/112284] New: Implement -fsanitize=function for mismatched function pointer types

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112284 Bug ID: 112284 Summary: Implement -fsanitize=function for mismatched function pointer types Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/94758] ICE: in extract_insn, at recog.c:2310 on hppa64 with __thread variable

2023-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94758 Sam James changed: What|Removed |Added Last reconfirmed||2023-10-29 Status|UNCONFIRMED

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 --- Comment #4 from Sam James --- Minimised. ``` $ gcc -O3 -c rijndael.i -march=arch13 -mzarch rijndael.i:30:18: warning: passing argument 1 of ‘buf_put_le64’ makes pointer from integer without a cast [-Wint-conversion] 30 |

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Sam James changed: What|Removed |Added Summary|[12/13/14 Regression] wrong |[12/13/14 Regression] wrong

[Bug target/110792] [13/14 Regression] GCC 13 x86_32 miscompilation of Whirlpool hash function

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #17 from Sam James --- fwiw

[Bug bootstrap/54179] please split insn-emit.c !

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179 Sam James changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 Bug 84402 depends on bug 54179, which changed state. Bug 54179 Summary: please split insn-emit.c ! https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179 What|Removed |Added

[Bug target/111235] [Armv7-a]: Control-dependency between atomic accesses removed by -O1.

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111235 Sam James changed: What|Removed |Added Target Milestone|--- |14.0

[Bug ipa/111960] [14 Regression] ICE: during GIMPLE pass: rebuild_frequencies: SIGSEGV (Invalid read of size 4) with -fdump-tree-rebuild_frequencies-all

2023-10-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111960 --- Comment #3 from Sam James --- I was confused at first until I realised rebuild_frequencies-all got turned into a proper pass in r14-2524-gaa6741ef2e0c31, so no bisection needed imo.

[Bug rtl-optimization/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111822 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions since r12-5301-g0

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111822 --- Comment #3 from Sam James --- bisect says 045206450386bcd774db3bde0c696828402361c6 is the first bad commit commit 045206450386bcd774db3bde0c696828402361c6 Author: Richard Biener Date: Fri Nov 12 10:21:22 2021 +0100

[Bug middle-end/110721] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 --- Comment #7 from Sam James --- tip of 12/13/14 all work with -fno-tree-dse, 11 fails the same as before

[Bug c++/111929] [14 Regression] in decompose, at wide-int.h:1049 since r14-4793-gdad311874ac3b3

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[14 Regression] in

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2023-10-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

[Bug c++/101631] gcc allows for the changing of an union active member to be changed via a reference

2023-10-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631 Sam James changed: What|Removed |Added CC||jason at gcc dot gnu.org,

  1   2   3   4   5   6   7   8   9   10   >