[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 #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 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 --- 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/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 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 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/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/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] 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/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 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 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 middle-end/111632] gcc fails to bootstrap when using libc++

2023-10-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111632 --- Comment #6 from Sam James --- Try replying to the patch with 'ping'. I'm not a reviewer, but it both LGTM and we're using it in Gentoo with no reported problems.

[Bug tree-optimization/111249] [12/13 Regression] Aggressive loop optimization reports "iteration 2147483645 invokes undefined behavior"

2023-10-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111249 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) > Bisecting from 11 (good) -> 12 (bad) gave r12-4871-g502ffb1f389011 as the > breaking commit. > > Bisecting from 13 (bad) -> 14 (good) gave r14-2926-gee20be8325f7f2 as

[Bug tree-optimization/111249] [12/13 Regression] Aggressive loop optimization reports "iteration 2147483645 invokes undefined behavior"

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

[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,

[Bug ipa/96503] attribute alloc_size effect lost after inlining

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 Sam James changed: What|Removed |Added See Also||https://github.com/systemd/

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

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929 --- Comment #9 from Sam James --- Hit this with libsass too.

[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 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 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 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 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 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

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

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 CC||sjames at gcc dot gnu.org --- Comment #2

[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 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #4

[Bug ipa/111873] [12/13/14 Regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre' since r12-434-g93f8cb4965cebe

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

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

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

[Bug target/111753] [14 Regression] ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*movsf_internal} with -O2 -mavx512bw -fno-tree-ter starting with r14-4499

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

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse"

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

[Bug tree-optimization/110852] [14 Regression] ICE: in get_predictor_value, at predict.cc:2695 with -O -fno-tree-fre and __builtin_expect() since r14-2219-geab57b825bcc35

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

[Bug middle-end/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

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

[Bug tree-optimization/111915] [14 Regression] ICE in vect with option `-O2 -fno-tree-vrp -fno-tree-dominator-opts -fno-tree-ccp` since r14-2117-gdd86a5a69cbda4

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

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs) since r14-4612-g6decda1a35be5764101987c210b5693a0d914e58

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

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs)

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111916 --- Comment #2 from Sam James --- I'll bisect.

[Bug c/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 --- Comment #1 from Sam James --- gllib/memset_explicit.o is apparently the same between the two directories

[Bug c/111904] New: Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 Bug ID: 111904 Summary: Miscompilation with -O3 -fharden-control-flow-redundancy? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/111899] New: [14 regression] GCC fails to bootstrap with 'ust-tree.cc:131:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope'

2023-10-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111899 Bug ID: 111899 Summary: [14 regression] GCC fails to bootstrap with 'ust-tree.cc:131:10: error: ‘NON_DEPENDENT_EXPR’ was not declared in this scope' Product: gcc

[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 middle-end/111845] [14 regression] ICE when building pycryptodome since r14-1837-g43a3252c42af12

2023-10-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111845 --- Comment #11 from Sam James --- Thank you for the quick fix!

[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 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 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 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] [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] 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 ipa/111773] Inconsistent optimization of replaced operator new()

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

[Bug bootstrap/111768] Bootstrap failure with -march=native on Intel Alder Lake CPUs because of differing cache sizes

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

[Bug bootstrap/111768] New: Bootstrap failure with -march=native on Intel Alder Lake CPUs because of differing cache sizes

2023-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111768 Bug ID: 111768 Summary: Bootstrap failure with -march=native on Intel Alder Lake CPUs because of differing cache sizes Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/111715] Missed optimization in FRE because of weak TBAA

2023-10-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111715 --- Comment #8 from Sam James --- (In reply to Richard Biener from comment #7) > (In reply to Sam James from comment #6) > > I started hitting the original warning Jakub hit with 13.2.1 20231007 but > > I've not tried to figure out which

[Bug middle-end/111752] New: -Wfree-nonheap-object (vec.h:347:10: warning: 'free' called on unallocated object 'dest_bbs') during bootstrap with LTO

2023-10-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111752 Bug ID: 111752 Summary: -Wfree-nonheap-object (vec.h:347:10: warning: 'free' called on unallocated object 'dest_bbs') during bootstrap with LTO Product: gcc

[Bug tree-optimization/111715] Missed optimization in FRE because of weak TBAA

2023-10-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111715 --- Comment #6 from Sam James --- I started hitting the original warning Jakub hit with 13.2.1 20231007 but I've not tried to figure out which backported change caused it to appear.

[Bug c/110368] Incorrect "is used uninitialized" warning message

2023-10-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110368 --- Comment #7 from Sam James --- That said, I suppose we should do better here with -Wstrict-aliasing. No level detects it.

[Bug c++/111681] New: Missing fixit for exception name in catch

2023-10-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111681 Bug ID: 111681 Summary: Missing fixit for exception name in catch Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

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

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

2023-10-02 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 CC||sjames at gcc dot gnu.org --- Comment #3

[Bug c/111654] Introduce clang's invalid-noreturn warning

2023-10-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111654 --- Comment #3 from Sam James --- It would be worth mentioning that then. Anyway: * https://inbox.sourceware.org/gcc-patches/cap2b4gmq7btqtequuuok7ojt8p3kdbdvpudrmo_nt95wumw...@mail.gmail.com/ *

[Bug bootstrap/110180] On Fedora 38, egrep is now obsolescent

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

[Bug rtl-optimization/111619] [14 regression] 'make profiledbootstrap' makes 10+ minutes on insn-recog.cc (x86_64-linux)

2023-09-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111619 Sam James changed: What|Removed |Added CC||mliska at suse dot cz, |

[Bug other/111559] [14 regression] ICE when building Python with PGO

2023-09-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559 --- Comment #1 from Sam James --- I don't think I'm going to be able to get a minimal reproducer for this, but trying to at least get something a bit smaller/precise. If I take inspiration from PR79587, I can do a bit better: * wget

[Bug other/111559] New: [14 regression] ICE when building Python with PGO

2023-09-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559 Bug ID: 111559 Summary: [14 regression] ICE when building Python with PGO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2023-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544 --- Comment #9 from Sam James --- (In reply to Sam James from comment #8) > https://github.com/apache/xerces-c/commit/ > bc3189892c2e700bd3298b77cd8a523080fa74bb https://issues.apache.org/jira/projects/XERCESC/issues/XERCESC-1259

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

2023-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544 --- Comment #8 from Sam James --- https://github.com/apache/xerces-c/commit/bc3189892c2e700bd3298b77cd8a523080fa74bb

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

2023-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544 --- Comment #5 from Sam James --- Created attachment 55969 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55969=edit DGXMLScanner.ii Reproduced w/ DGXMLScanner.ii 1. wget

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

2023-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544 --- Comment #4 from Sam James --- Am trying to build xerces-c-2.5.0 but am struggling for other reasons due to its age...

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

2023-09-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111544 --- Comment #1 from Sam James --- Maybe attach a preprocessed version for completeness?

[Bug middle-end/111523] Unexpected performance regression with -ftrivial-auto-var-init=zero for e.g. systemctl unmask

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

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1 since r14-3644-g1aceceb1e2d6e8

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

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1 since r14-3644-g1aceceb1e2d6e8

2023-09-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111495 --- Comment #4 from Sam James --- trying..

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

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

[Bug tree-optimization/111495] [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

2023-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111495 --- Comment #1 from Sam James --- Created attachment 55956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55956=edit reduced.ii Attached minimised reproducer fails with -O3, works with -O2, per original.

[Bug tree-optimization/111495] New: [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1

2023-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111495 Bug ID: 111495 Summary: [14 regression] ICE in lower_bound, at value-range.h:1078 when building LLVM 17.0.1 Product: gcc Version: 14.0 Status: UNCONFIRMED

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

2023-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111476 --- Comment #5 from Sam James --- that commit looks to have just exposed it though as designed, the issue was latent before I think

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

2023-09-19 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 Summary|[14 regression] ICE when|[14 regression] ICE when

[Bug tree-optimization/111476] [14 regression] ICE when building Ruby 3.1.4

2023-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111476 --- Comment #3 from Sam James --- cvise just finished for me, `gcc -c util.i -O3`: ``` int ruby_strtod_c, ruby_strtod_nd; double ruby_strtod_rv_0; void ruby_strtod() { int i, nz, z; if (ruby_strtod_nd) { nz = 0; goto have_dig; }

[Bug c/111476] [14 regression] ICE when building Ruby 3.1.4

2023-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111476 --- Comment #1 from Sam James --- I need -O3 to reproduce.

[Bug c/111476] New: [14 regression] ICE when building Ruby 3.1.4

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

[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 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/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 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 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 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] 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/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 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] 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/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/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 c++/111073] [13/14 regression] False-positive -Wstringop-overflow when building gdb from trunk with -D_GLIBCXX_ASSERTIONS

2023-08-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073 Sam James changed: What|Removed |Added Summary|[13/14 regression] |[13/14 regression]

[Bug c++/111073] [13/14 regression] False-positive -Wstringop-overflow when building gdb from trunk

2023-08-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073 Sam James changed: What|Removed |Added Blocks||88443 --- Comment #1 from Sam James --- I

[Bug c++/111073] New: [13/14 regression] False-positive -Wstringop-overflow when building gdb from trunk

2023-08-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073 Bug ID: 111073 Summary: [13/14 regression] False-positive -Wstringop-overflow when building gdb from trunk Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/93176] PPC: inefficient 64-bit constant consecutive ones

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

[Bug middle-end/111009] [12/13/14 regression] -fno-strict-overflow erroneously elides null pointer checks and causes SIGSEGV on perf from linux-6.4.10

2023-08-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111009 --- Comment #6 from Sam James --- Can you bisect further back with -param=vrp2-mode=ranger, to force ranger before it was the default?

[Bug tree-optimization/111030] tree-object-size: incorrect sub-object size for VLA

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

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

2023-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 --- Comment #15 from Sam James --- Roger, is this one ready to backport to releases/gcc-13 so we can pick it up easily downstream via the branch snapshots, or do you want to let it bake on trunk a bit longer? Cheers.

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

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

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 --- Comment #3 from Sam James --- Created attachment 55698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55698=edit reduced.i Reduced version attached, not cleaned it up yet.

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 --- Comment #2 from Sam James --- Created attachment 55697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55697=edit matmul_i1.i

<    3   4   5   6   7   8   9   10   >