[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 --- Comment #22 from Uroš Bizjak --- Comment on attachment 60337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60337 A patch with tests >From 1503e1e1df7a402d4be560fdc446dd6c39127e9c Mon Sep 17 00:00:00 2001 >From: "H.J. Lu" >Date: Fri,

[Bug target/110899] RFE: Attributes preserve_most and preserve_all

2025-01-30 Thread maxim.yegorushkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110899 Maxim Egorushkin changed: What|Removed |Added CC||maxim.yegorushkin at gmail dot com

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-30 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug target/80881] Implement Windows native TLS

2025-01-30 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #97 from LIU Hao --- (In reply to Julian Waters from comment #96) > Created attachment 60287 [details] > Latest TLS > > Changed to hard error on broken @secrel32 support. Do help me check if the > configure patch is ok. If it is, it'

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 H.J. Lu changed: What|Removed |Added Attachment #60316|0 |1 is obsolete|

[Bug tree-optimization/118689] [15 regression] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118689 Andrew Pinski changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #3

[Bug modula2/118711] [15 Regression] ICE during during GIMPLE pass: evrp building NumberIO.o on s390x-linux-gnu

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118711 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug modula2/118711] New: [15 Regression] ICE during during GIMPLE pass: evrp building NumberIO.o on s390x-linux-gnu

2025-01-30 Thread doko at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20250130 on s390x-linux-gnu, building libgm2 (NumberIO.o), last successful build from 20250114

[Bug libfortran/114618] Format produces incorrect output when contains 1x, ok when uses " "

2025-01-30 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 --- Comment #7 from Jerry DeLisle --- Oatch submitted: https://gcc.gnu.org/pipermail/fortran/2025-January/061651.html

[Bug c++/118698] [14/15 Regression] Compiler ICE on concept code accepted by MSVC and clang

2025-01-30 Thread davidhunter22 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 --- Comment #9 from David Hunter --- (In reply to Patrick Palka from comment #8) > Started with r14-9938, though I bet before this commit it only accidentally > worked. > > A workaround is to use an intermediate variable template: > > template

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 --- Comment #20 from H.J. Lu --- (In reply to Uroš Bizjak from comment #18) > Created attachment 60331 [details] > Prototype patch > > Prototype patch that disables constraints, unwanted with > flag_force_indirect_call. It doesn't work: $ ./x

[Bug preprocessor/118708] Comment with ASCII art in line-table.h still talks about 32-bit

2025-01-30 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118708 --- Comment #1 from Lewis Hyatt --- Yeah... I did add the note to the comment "in the case of 32-bit location_t" but this could certainly be improved. There is also libcpp/location-example.txt (which the comments refer to) that could be redone f

Re: Will you look into this?

2025-01-30 Thread Don Lewis via Gcc-bugs
Hello again, I’m following up on the article pitch I sent over. Have you had a chance to take a look? The topic will focus on the benefits of involving children who have learning disabilities in artistic pursuits. Do you think this could be valuable to your readers? I'd love to hear your thou

[Bug target/113689] [12/13 Regression] wrong code with -fprofile -mcmodel=large when needing drap register since r11-6548

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113689 --- Comment #14 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:dd5978b2f0087579c25486f97e578c9eb76f3449 commit r15-7296-gdd5978b2f0087579c25486f97e578c9eb76f3449 Author: Alexandre Oliva Date

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO (make_bit_field_load, at gimple-fold.cc:7862)

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/118706] [15 Regression] ICE on valid code at -O1 and above with "-fno-tree-fre" on x86_64-linux-gnu: in make_bit_field_load, at gimple-fold.cc:7862

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118706 --- Comment #3 from Andrew Pinski --- *** Bug 118704 has been marked as a duplicate of this bug. ***

[Bug fortran/103284] ICE in get_unique_type_string, at fortran/class.c:502

2025-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103284 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #1) > Created attachment 60292 [details] > Hackish fix Forgot to write that this regresses on gfortran.dg/pr102332.f90

[Bug fortran/108454] ICE in gfc_trans_common, at fortran/trans-common.cc:1385

2025-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108454 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug fortran/118705] Issue compiling derived types when split into submodules

2025-01-30 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 --- Comment #3 from kargls at comcast dot net --- (In reply to Ryan Koehler from comment #2) > Hmm that is interesting. > > That fix seemed to work. Its been a while since I read the ISO standard, but > I don't think what I sent over is out-of-s

[Bug fortran/118710] New: Segmentation fault on innocuous line in sub module

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 Bug ID: 118710 Summary: Segmentation fault on innocuous line in sub module Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/118705] Issue compiling derived types when split into submodules

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 --- Comment #2 from Ryan Koehler --- Hmm that is interesting. That fix seemed to work. Its been a while since I read the ISO standard, but I don't think what I sent over is out-of-spec. I do really appreciate that you found a really simple solu

[Bug ada/64869] "use all type" clause is ineffective

2025-01-30 Thread bousquetfrederic at outlook dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64869 Frédéric Bousquet changed: What|Removed |Added CC||bousquetfrederic at outlook dot fr

[Bug fortran/118709] Resolution issue: host associated type should conflict with local variable

2025-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118709 --- Comment #1 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #0) > we should at least see it every time. we should at least see it *diagnosed* every time.

[Bug fortran/118709] Resolution issue: host associated type should conflict with local variable

2025-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118709 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid Pr

[Bug fortran/118709] New: Resolution issue: host associated type should conflict with local variable

2025-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118709 Bug ID: 118709 Summary: Resolution issue: host associated type should conflict with local variable Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug middle-end/112779] [OpenMP] Support omp Metadirectives

2025-01-30 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112779 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org --

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2025-01-30 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #13 from sandra at gcc dot gnu.org --- Leaving this open as we don't have another issue tracking the remaining issues noted in Comment 9: parsing non-constant expressions in the right scope in the Fortran front end, and allowing dyna

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #12 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:8fbccdb3425e7fc9194d3f02e4a53f3e85cd1a4e commit r15-7291-g8fbccdb3425e7fc9194d3f02e4a53f3e85cd1a4e Author: Sandra Loosemore Da

[Bug middle-end/112779] [OpenMP] Support omp Metadirectives

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112779 --- Comment #5 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:8fbccdb3425e7fc9194d3f02e4a53f3e85cd1a4e commit r15-7291-g8fbccdb3425e7fc9194d3f02e4a53f3e85cd1a4e Author: Sandra Loosemore Dat

[Bug fortran/118705] Issue compiling derived types when split into submodules

2025-01-30 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug tree-optimization/118706] [15 Regression] ICE on valid code at -O1 and above with "-fno-tree-fre" on x86_64-linux-gnu: in make_bit_field_load, at gimple-fold.cc:7862

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118706 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/118706] [15 Regression] ICE on valid code at -O1 and above with "-fno-tree-fre" on x86_64-linux-gnu: in make_bit_field_load, at gimple-fold.cc:7862

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118706 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Version|unknown

[Bug c++/118698] [14/15 Regression] Compiler ICE on concept code accepted by MSVC and clang

2025-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #10 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6a6df260c7cdbf8f40c1245a3c930293a20bf8c0 commit r15-7290-g6a6df260c7cdbf8f40c1245a3c930293a20bf8c0 Author: Jakub Jelinek Date:

[Bug rtl-optimization/116234] [15 Regression] '-fcompare-debug' failure w/ `-mcpu=phecda -O2 -funroll-all-loops -fno-ivopts` since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116234 --- Comment #11 from Vladimir Makarov --- (In reply to Sam James from comment #10) > Vlad, could you take a look at this and PR116336 when you get a chance (not > sure if there's others, there's definitely a few LRA compare-debug issues)? > We t

[Bug analyzer/118707] Hang with -fanalyzer -fno-analyzer-state-merge

2025-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118707 --- Comment #1 from David Malcolm --- Note that -fno-analyzer-state-merge is intended as a debugging feature, to turn off -fanalyzer's state merging logic, to help troubleshoot bugs in -fanalyzer. Without state merging, analysis is likely to "e

[Bug tree-optimization/114277] [12/13/14/15 Regression] Missed optimization: x*(x||b) => x

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #12 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #11) > Am I missing something here? I don't think so. Most likely should combine the 2 patterns too like: (for neeq (ne eq) (simplify (mult:c (convert? (neeq (

[Bug preprocessor/118708] New: Comment with ASCII art in line-table.h still talks about 32-bit

2025-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118708 Bug ID: 118708 Summary: Comment with ASCII art in line-table.h still talks about 32-bit Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO (make_bit_field_load, at gimple-fold.cc:7862)

2025-01-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch --- Commen

[Bug analyzer/118707] New: Hang with -fanalyzer -fno-analyzer-state-merge

2025-01-30 Thread dmantipov at yandex dot ru via Gcc-bugs
anitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -o vxlan_mdb.s GNU C11 (GCC) version 15.0.1 20250130 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 15.0.1 20250130 (experimental), GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.1

[Bug ipa/117432] [12/13/14/15 Regression] IPA ICF disregards types of variadic arguments since r10-4643-ga37f58f506e436

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

[Bug tree-optimization/118706] New: ICE on valid code at -O1 and above with "-fno-tree-fre" on x86_64-linux-gnu: in make_bit_field_load, at gimple-fold.cc:7862

2025-01-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250130 (experimental) (GCC) [523] % [523] % gcctk -O1 -fno-tree-fre small.c during GIMPLE pass: ifcombine small.c: In function ‘main’: small.c:2:5: internal compiler error: in make_bit_field_load, at gimple-fold.cc:7

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO (make_bit_field_load, at gimple-fold.cc:7862)

2025-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 Andrew Pinski changed: What|Removed |Added Keywords||needs-reduction --- Comment #3 from And

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #9 from Jakub Jelinek --- (In reply to Stefan Schulze Frielinghaus from comment #8) > (In reply to Stefan Schulze Frielinghaus from comment #6) > > Patch LGTM and I started a bootstrap+regtest which will finish approximately > > in 4

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #8 from Stefan Schulze Frielinghaus --- (In reply to Stefan Schulze Frielinghaus from comment #6) > Patch LGTM and I started a bootstrap+regtest which will finish approximately > in 4 hours. Sorry for the hassle and thanks for fixi

[Bug c++/118673] [14 regression] LLVM's libMLIR miscompiled since r14-1705-g2764335bd336f2

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118673 --- Comment #21 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:c5667a1ee31518b1cd576c2f8e186d88bbf13f58 commit r15-7288-gc5667a1ee31518b1cd576c2f8e186d88bbf13f58 Author: Iain Sandoe Date: We

[Bug fortran/118705] New: Issue compiling derived types when split into submodules

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 Bug ID: 118705 Summary: Issue compiling derived types when split into submodules Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Pr

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #6 from Andreas Schwab --- And once the ABI is finalized a change similar to commit 6e25ca387fb should be installed.

[Bug c/81233] -Wdiscarded-qualifiers and Wincompatible-pointer-types missing important detail

2025-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81233 --- Comment #7 from David Malcolm --- For reference, current output of the test case from comment #0 with trunk is https://godbolt.org/z/8hYY3eaoa : In function 'f': :5:8: error: assignment to 'int *' from incompatible pointer type 'char *' [-

[Bug preprocessor/118700] Include resolution changes when using -isystem and some headers are symlinks between directories where one is a prefix of the other

2025-01-30 Thread christian.menard at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118700 Christian Menard changed: What|Removed |Added CC||christian.menard at gmx dot de --- C

[Bug middle-end/117498] [13/14/15 regression] Miscompile with -O3 since r13-1268-g8c99e307b20c502

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 --- Comment #7 from Jakub Jelinek --- With - char n = 0; - bar (h, 4, &n, &g); + char n[16] = {}; + bar (h, 4, &n[0], &g); this isn't miscompiled. Maybe we just align it to 16-byte boundary automatically?

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO

2025-01-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 --- Comment #2 from Sam James --- I'm reducing it but currently packing for FOSDEM, so..

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO (make_bit_field_load, at gimple-fold.cc:7862)

2025-01-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug tree-optimization/118704] [15 regression] ICE when building nmap with LTO

2025-01-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 --- Comment #1 from Sam James --- Created attachment 60332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60332&action=edit gcc-118704.tar.xz

[Bug tree-optimization/118704] New: [15 regression] ICE when building nmap with LTO

2025-01-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118704 Bug ID: 118704 Summary: [15 regression] ICE when building nmap with LTO Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/114277] [12/13/14/15 Regression] Missed optimization: x*(x||b) => x

2025-01-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #11 from Jeffrey A. Law --- Hmm, I think we got side-tracked on the conditional move representation. For this BZ I think a simple match.pd pattern may be sufficient. x * ((x || y) != 0) -> x x * ((x || y) == 0) -> 0 There's simpli

[Bug modula2/118703] New: Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703 Bug ID: 118703 Summary: Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build,

[Bug tree-optimization/118689] [15 regression] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118689 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libstdc++/118434] std::visit should be updated to handle immediate functions

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118434 --- Comment #2 from Jonathan Wakely --- https://cplusplus.github.io/LWG/issue4197

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 Jonathan Wakely changed: What|Removed |Added Keywords||patch Last reconfirmed|

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #5 from Jonathan Wakely --- Ah yes, so we should only add 1.3.16 to known_versions for riscv: --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc @@ -237,7 +237,9 @@ check_version(sy

[Bug libstdc++/118699] [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.3|13.4 --- Comment #4 from Jonathan Wak

[Bug libstdc++/118699] [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Version|14.2.1

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #4 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #3) > I think we'll need: > > --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc > +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc > @@ -257,7 +257,11 @@ check_v

[Bug libstdc++/118699] [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-01-30 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 --- Comment #2 from Egor --- It says 14.2.0. So this is fixed in trunk, I assume... COLLECT_GCC=Z:\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=Z:/home/holyblackcat/.quasi-msys2/mingw64/root/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/l

[Bug analyzer/118702] New: -fanalyzer misses -Wanalyzer-use-of-uninitialized-value unless -fno-analyzer-state-merge is supplied

2025-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118702 Bug ID: 118702 Summary: -fanalyzer misses -Wanalyzer-use-of-uninitialized-value unless -fno-analyzer-state-merge is supplied Product: gcc Version: unknown

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #3 from Jonathan Wakely --- I think we'll need: --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc @@ -257,7 +257,11 @@ check_version(symbol& test, bool added) // Check that

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #2 from Jakub Jelinek --- I'm really surprised we never added no symbols in particular symver in the past on some arch. But, sure, #ifdefing out the whole thing is fine if the abi checking is able to cope with this, and if we in the

[Bug libstdc++/118699] [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-01-30 Status|UNCONFI

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-01-30 Ever confirmed|0

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0

[Bug libstdc++/118701] New: [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 Bug ID: 118701 Summary: [15 regression] abi_check FAILs on Solaris due to weak version Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/117498] [13/14/15 regression] Miscompile with -O3 since r13-1268-g8c99e307b20c502

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 --- Comment #6 from Jakub Jelinek --- Though, question is why hasn't the vectorizer increased the alignment of the n variable when it decided to vectorize accesses to it using V16QImode aligned loads. The fact that lim4 hasn't moved also the

[Bug target/118695] [15 Regression] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 Richard Biener changed: What|Removed |Added Summary|ice in gen_movsi, at|[15 Regression] ice in

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 --- Comment #19 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #18) > Created attachment 60331 [details] > Prototype patch > > Prototype patch that disables constraints, unwanted with > flag_force_indirect_call. HJ, can you please

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com

[Bug middle-end/117498] [13/14/15 regression] Miscompile with -O3 since r13-1268-g8c99e307b20c502

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 --- Comment #5 from Jakub Jelinek --- Slightly better test so that it works even on targets where &a could be possibly NULL. int a, d, f; char g; int c = 1; int foo () { if (c == 0) return -1; return 1; } void bar (int h, int i, char *

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #11 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9ba2de71815c0ea6cc940ecb50af7cc1a84579f7 commit r15-7287-g9ba2de71815c0ea6cc940ecb50af7cc1a84579f7 Author: Richard Biener Date:

[Bug middle-end/117498] [13/14/15 regression] Miscompile with -O3 since r13-1268-g8c99e307b20c502

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 --- Comment #4 from Jakub Jelinek --- Maybe lim thinks that accesses to automatic variables can't trap, but this is 1) partially out of bounds access 2) with larger alignment than the object has

[Bug middle-end/117498] [13/14/15 regression] Miscompile with -O3 and -O0/1/2 since r13-1268-g8c99e307b20c502

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498 --- Comment #3 from Jakub Jelinek --- This looks like lim4 bug to me (looking at #c2 with -O3). Before lim2 we have: [local count: 14598063]: c.0_16 ={v} c; if (c.0_16 == 0B) goto ; [18.09%] else goto ; [81.91%] [local count

[Bug libstdc++/98749] No precondition checks in , and

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98749 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:34d8c842b8d12c69b9335f1b63453920f056e6e1 commit r15-7286-g34d8c842b8d12c69b9335f1b63453920f056e6e1 Author: Jonathan Wakely Date:

[Bug c/55678] _Static_assert escapes tick marks just to make me mad

2025-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55678 --- Comment #3 from Jonathan Wakely --- Sure, "\'" is a valid C literal, but does that matter? The diagnostic printed by a _Static_assert is going to be displayed to the user on a terminal or in an IDE, not used as source code. Does it need to be

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #10 from Richard Biener --- We need to handle misaligned accesses to the generated stack temporary. I'm testing a patch.

[Bug preprocessor/118700] Include resolution changes when using -isystem and some headers are symlinks between directories where one is a prefix of the other

2025-01-30 Thread christian.menard at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118700 --- Comment #1 from Christian Menard --- Created attachment 60330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60330&action=edit Minimal example to reproduce

[Bug preprocessor/118700] New: Include resolution changes when using -isystem and some headers are symlinks between directories where one is a prefix of the other

2025-01-30 Thread christian.menard at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118700 Bug ID: 118700 Summary: Include resolution changes when using -isystem and some headers are symlinks between directories where one is a prefix of the other Product: gcc

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #7 from Jakub Jelinek --- (In reply to Stefan Schulze Frielinghaus from comment #6) > Patch LGTM and I started a bootstrap+regtest which will finish approximately > in 4 hours. Sorry for the hassle and thanks for fixing this so quic

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #6 from Stefan Schulze Frielinghaus --- Patch LGTM and I started a bootstrap+regtest which will finish approximately in 4 hours. Sorry for the hassle and thanks for fixing this so quickly! I think what is missing is to adapt the e

[Bug target/118008] [14/15 regression] ICE when bootstrapping with Go on arm (gen_movdi, at config/arm/arm.md:6296)

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #13 from R

[Bug middle-end/118692] [15 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3350 with out-of-bounds string ops

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118692 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/118692] [15 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3350 with out-of-bounds string ops

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118692 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6b56e645a7b481693fe6982f8f09ba2e07768bf8 commit r15-7284-g6b56e645a7b481693fe6982f8f09ba2e07768bf8 Author: Richard Biener Date:

[Bug tree-optimization/114052] [12/13/14 Regression] Wrong code at -O2 for well-defined infinite loop since r8-5245

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114052 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] Wrong

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/114052] [12/13/14/15 Regression] Wrong code at -O2 for well-defined infinite loop since r8-5245

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114052 --- Comment #15 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d1c7837d2d6e5a2997228681166ed8c814891881 commit r15-7283-gd1c7837d2d6e5a2997228681166ed8c814891881 Author: Richard Biener Date:

[Bug target/118320] [14/15 Regression] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:f559ac896942ffe0e2315d0a4d8b8b517a16d607 commit r15-7282-gf559ac896942ffe0e2315d0a4d8b8b517a16d607 Author: Richard Sandiford D

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #9 from Richard Biener --- I do wonder how we should honor EXPAND_MEMORY for such a case.

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 --- Comment #8 from Richard Biener --- We're expanding = _2 via expand_return: arg:0 unsigned ignored regdecl SI t.c:1:1 size unit-size align:32 warn_if_not_align:0 context (reg/f:SI 114 [ ])> arg:1

[Bug c++/118698] [14/15 Regression] Compiler ICE on concept code accepted by MSVC and clang

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/118695] ice in gen_movsi, at config/arm/arm.md:6476

2025-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118695 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/118696] [15 Regression] qemu miscompilation on s390x since r15-7053

2025-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696 --- Comment #4 from Jakub Jelinek --- --- gcc/config/s390/vector.md.jj2025-01-24 17:37:48.987458141 +0100 +++ gcc/config/s390/vector.md 2025-01-30 09:10:53.413542300 +0100 @@ -2166,7 +2166,7 @@ (define_insn_and_split "*vec_cmpgt

  1   2   >