[Bug tree-optimization/121383] if-convert lacks support for && conditions

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121383 --- Comment #2 from Richard Biener --- if-conversion does nothing to loops with multiple exits. One could think to sub-divide its work, but in this case there's a lack of PHIs and the expected if-conversion is on control dependences rather than

[Bug tree-optimization/121378] [16 regression] wrong code at -O2 on x86_64-linux-gnu since r16-1594-gb03e0d69b37f6e

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121378 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-08-03 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #11 from Dhruv Chawla --- Okay, looks like there's a sharing bug with compiler explorer where it doesn't correctly show the Tree/RTL pane that was opened. Anyways, this is the diff I see: === GCC 15.1.0 [local count: 939524096]:

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-08-03 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #10 from Dhruv Chawla --- Looks like there's not much codegen change, but the difference does show up in the thread1 pass: https://godbolt.org/z/xz5qo1xTd (which is what I was comparing to create the minimized source)

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-08-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug target/121388] New: Invalid cble produced with -march=armv9-a+cmpbr while building bid_binarydecimal

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121388 Bug ID: 121388 Summary: Invalid cble produced with -march=armv9-a+cmpbr while building bid_binarydecimal Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywo

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-08-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 120941, which changed state. Bug 120941 Summary: [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 What

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-08-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #44 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:09f0768b55b96c861811a8989d7c1cc59b4c29b6 commit r16-2727-g09f0768b55b96c861811a8989d7c1cc59b4c29b6 Author: H.J. Lu Date: Fri Aug 1 05

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Or easier disable aarch64_tbzltdi1 if TARGET_CMPBR like: > diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md > index a4ae6859da0..7c87b0

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #5 from Andrew Pinski --- Both can match: (jump_insn 297 296 298 35 (set (pc) (if_then_else (lt (reg:DI 170 [ _94 ]) (const_int 0 [0])) (label_ref 303) (pc))) "../../../comb/libgcc/libg

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #4 from Andrew Pinski --- So there is a conflict between aarch64_tbzltdi1 and aarch64_cbltdi

[Bug bootstrap/121386] [14/15 Regression] Can't build on OpenBSD -current/amd64 with the prebuilt flex sources

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 --- Comment #6 from Andrew Pinski --- There has definitely improvements to flex in this area too: e.g. https://github.com/westes/flex/commit/5574881ff4c9b08c73b6acc0087d6046c2b48de5 and https://github.com/westes/flex/commit/8ab4ea7364641bf498

[Bug fortran/121366] When an intrinsic trigonometric function in degrees is used as a pointer target, an internal compiler error occurs

2025-08-03 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121366 --- Comment #7 from kargls at comcast dot net --- (In reply to kargls from comment #5) > (In reply to Jerry DeLisle from comment #4) > > What is different about sind? (obvious question) > > It's for degree sin functions. Originally, we tried to

[Bug ada/121387] Adda fails to build on OpenBSD -current/amd64 due to missed locks?

2025-08-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121387 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug bootstrap/121386] [14/15 Regression] Can't build on OpenBSD -current/amd64 with the prebuilt flex sources

2025-08-03 Thread kirill at korins dot ky via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 --- Comment #5 from Kirill A. Korinsky --- Created attachment 62040 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62040&action=edit gengtype-lex.cc from OpenBSD -current

[Bug ada/121387] Adda fails to build on OpenBSD -current/amd64 due to missed locks?

2025-08-03 Thread kirill at korins dot ky via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121387 --- Comment #1 from Kirill A. Korinsky --- This is invalid bug because the issue related to OpenBSD patches, and not GCC

[Bug bootstrap/121386] [14/15 Regression] Can't build on OpenBSD -current/amd64 with the prebuilt flex sources

2025-08-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug ada/121387] New: Adda fails to build on OpenBSD -current/amd64 due to missed locks?

2025-08-03 Thread kirill at korins dot ky via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121387 Bug ID: 121387 Summary: Adda fails to build on OpenBSD -current/amd64 due to missed locks? Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/121386] [14/15 Regression] Can't build on OpenBSD -current/amd64 with the prebuilt flex sources

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 --- Comment #3 from Andrew Pinski --- Maybe there is min version of flex that is needed to build the sources from that makes it usable on openbsd.

[Bug rtl-optimization/121380] [16 regression] ICE with -O1 -fexceptions -favoid-store-forwarding

2025-08-03 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380 --- Comment #2 from ptomsich at gcc dot gnu.org --- @Kostas: This looks like the same bad usage of 'is_constant(off_val)' with a off_val being a NULL pointer (as observed in PR121303).

[Bug bootstrap/121386] [14/15 Regression] Can't build on OpenBSD -current/amd64 with the prebuilt flex sources

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 Andrew Pinski changed: What|Removed |Added Summary|Can't build on OpenBSD |[14/15 Regression] Can't

[Bug rtl-optimization/121380] [16 regression] ICE with -O1 -fexceptions -favoid-store-forwarding

2025-08-03 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |konstantinos.elefth

[Bug bootstrap/121386] Can't build on OpenBSD -current/amd64

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/121386] New: Can't build on OpenBSD -current/amd64

2025-08-03 Thread kirill at korins dot ky via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386 Bug ID: 121386 Summary: Can't build on OpenBSD -current/amd64 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstra

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #3 from Andrew Pinski --- Created attachment 62039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62039&action=edit Reduced testcase

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #2 from Andrew Pinski --- ``` ../../gcc/cc1 _mulvdi3.i -O2 -march=armv9-a+cmpbr vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked putc_unlocked putchar_unlocked getline feof_unlocked ferror_unlock

[Bug target/121385] libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 --- Comment #1 from Andrew Pinski --- Created attachment 62038 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62038&action=edit preprocessed source

[Bug target/121385] New: libgcc build failure with -march=armv9-a+cmpbr

2025-08-03 Thread rth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121385 Bug ID: 121385 Summary: libgcc build failure with -march=armv9-a+cmpbr Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug middle-end/23782] SRA pessimizes passing structures by value at -Os (+22% code size)

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23782 --- Comment #11 from Andrew Pinski --- After my patch, we get: ``` void drawbutton (struct coord upperleft, struct coord lowerright, unsigned int upperleftcolor, unsigned int lowerrightrcolor, unsigned int fillcolor, unsigned int drawbackground)

[Bug tree-optimization/121382] [15/16 Regression] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121382 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-08-03 Ever confirmed|0

[Bug tree-optimization/121382] [15/16 Regression] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121382 --- Comment #2 from Andrew Pinski --- Created attachment 62037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62037&action=edit Slighty better testcase This testcase does NOT depend on IPA VRP to produce the needed range to cause the issu

[Bug tree-optimization/121382] [15/16 Regression] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121382 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2

[Bug tree-optimization/121383] if-convert lacks support for && conditions

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121383 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/121383] if-convert lacks support for && conditions

2025-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121383 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/121384] New: Wrongly initialized associate array descriptor when the target is wrapped in parenthesis

2025-08-03 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121384 Bug ID: 121384 Summary: Wrongly initialized associate array descriptor when the target is wrapped in parenthesis Product: gcc Version: unknown Status: UNCONFIRMED

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2025-08-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 --- Comment #10 from Jakub Jelinek --- It is simply an extension. Most of the pragmas are extensions.

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2025-08-03 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 --- Comment #9 from Alejandro Colomar --- Is this a defect in the standard? 6.10.11p1 says: > The original four preprocessing tokens in the unary operator expression are > removed. Without making any mention to different kinds of pragmas. Ma

[Bug c++/120845] [15 Regression] C++ multiline module declaration causes ice

2025-08-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 Jakub Jelinek changed: What|Removed |Added Summary|[15/16 Regression] C++ |[15 Regression] C++ |

[Bug preprocessor/120778] [C++26] P2843R3 - Preprocessing is never undefined

2025-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120778 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:625d5776f9cd0b09512d7b5e403737ad944f33d3 commit r16-2725-g625d5776f9cd0b09512d7b5e403737ad944f33d3 Author: Jakub Jelinek Date: S

[Bug c++/120845] [15/16 Regression] C++ multiline module declaration causes ice

2025-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 --- Comment #10 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a68f416a706bc61bb323773295189c4ea413ffd6 commit r16-2724-ga68f416a706bc61bb323773295189c4ea413ffd6 Author: Jakub Jelinek Date:

[Bug tree-optimization/121383] New: if-convert lacks support for && conditions

2025-08-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121383 Bug ID: 121383 Summary: if-convert lacks support for && conditions Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug rtl-optimization/121380] [16 regression] ICE with -O1 -fexceptions -favoid-store-forwarding

2025-08-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380 --- Comment #1 from David Binderman --- As expected: trunk $ git bisect good 8166458f19846fb7 04f33a278557c09d3aba978fe205cc2a6caa8efb is the first bad commit commit 04f33a278557c09d3aba978fe205cc2a6caa8efb Author: Konstantinos Eleftheriou Da

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2025-08-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 --- Comment #8 from Jakub Jelinek --- There are different kinds of pragmas, pragmas that are just noted during preprocessing and indeed disappear in phase 4, and then there are pragmas which actually result in pragma declarations/statements/expre

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2025-08-03 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 Alejandro Colomar changed: What|Removed |Added CC||foss+gcc@alejandro-colomar.

[Bug tree-optimization/121382] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250803 (experimental) (GCC) [523] % [523] % gcctk -O2 small.c; ./a.out Aborted [524] % gcctk -O3 small.c; ./a.out Aborted [525] % cat small.c int a, b, c, f, h, j, k; int l

[Bug tree-optimization/121382] New: wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250803 (experimental) (GCC) [513] % [513] % gcctk -O2 small.c [514] % ./a.out

[Bug c/82100] gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]

2025-08-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 --- Comment #9 from David Binderman --- Quite interestingly, I ran cppcheck over recent gcc trunk code and got this: trunk/gcc/ada/sysdep.c:447:26: style: Expression is always true because 'else if' condition is opposite to previous condition at

[Bug rtl-optimization/121380] [16 regression] ICE with -O1 -fexceptions -favoid-store-forwarding

2025-08-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380 Sam James changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ice wi

[Bug fortran/121381] New: meta-bug submodule

2025-08-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121381 Bug ID: 121381 Summary: meta-bug submodule Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: u

[Bug c/121380] New: ice with -O1 -fexceptions -favoid-store-forwarding

2025-08-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380 Bug ID: 121380 Summary: ice with -O1 -fexceptions -favoid-store-forwarding Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug fortran/121379] New: MODULE attribute required for submodule procedure with interface in parent module.

2025-08-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121379 Bug ID: 121379 Summary: MODULE attribute required for submodule procedure with interface in parent module. Product: gcc Version: 16.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/120560] [14/15/16 regression] wrong code at -O{s,2,3} with -fno-tree-ccp on x86_64-linux-gnu

2025-08-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120560 --- Comment #4 from Sam James --- With pinskia's recent fixes for empty functions, at least it compiles into a trap instead: Dump of assembler code for function main: 0x43b0 <+0>: endbr64 => 0x43b4 <+4>: ud2

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 --- Comment #4 from Richard Biener --- Created attachment 62036 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62036&action=edit preliminary patch

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 --- Comment #3 from Richard Biener --- Related: struct s1 { int t, t1; }; struct s3 { struct s1 t; }; struct s2 { struct s3 t; }; void f(int, int); void l(); void g(int a, int b, int *p) { struct s2 c; { struct s1 tmp = {a,b};

[Bug tree-optimization/121378] [16 regression] wrong code at -O2 on x86_64-linux-gnu since r16-1594-gb03e0d69b37f6e

2025-08-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121378 Sam James changed: What|Removed |Added Summary|[16 regression] wrong code |[16 regression] wrong code

[Bug tree-optimization/121378] [16 regression] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121378 Richard Biener changed: What|Removed |Added Version|unknown |16.0 Last reconfirmed|

[Bug cobol/119324] cppcheck meets /cobol/

2025-08-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #15 from David Binderman --- (In reply to Robert Dubner from comment #14) > This exercise has been extremely useful. ... > Thanks again to David Binderman for sending me down this road; it's been > educational and useful. You are

[Bug c/82100] gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]

2025-08-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 --- Comment #8 from David Binderman --- (In reply to Richard Hazlewood from comment #7) > Here's one that slipped through our net, that ought to have been obvious to > the human reviewers... Here is cppcheck getting close to what you want: $ ~/

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 90242, which changed state. Bug 90242 Summary: [UBSAN]: in vn_reference_compute_hash https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 What|Removed |Added --

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

2025-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7c99de1c439dbb149cc6a33a214f22f2df1c88f3 commit r16-2720-g7c99de1c439dbb149cc6a33a214f22f2df1c88f3 Author: Richard Biener Date: