[Bug sarif-replay/96032] RFE: add a way to use output from --fdiagnostics-format=json or sarif as input

2024-11-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96032 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #9 fro

[Bug sarif-replay/96032] RFE: add a way to use output from --fdiagnostics-format=json or sarif as input

2024-11-19 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96032 --- Comment #8 from Kamil Dudka --- Where can one get the sarif-replay tool? It does not seem to be included in gcc-latest.

[Bug analyzer/117667] -flto=auto prevents -fanalyzer from reporting any warnings on a build of systemd

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117667 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #5 from Richard

[Bug ipa/117668] fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/117668] New: fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668 Bug ID: 117668 Summary: fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/117669] New: RISC-V:The 'VEEWTRUNC4' iterator 'RVVMF2BF' type condition error

2024-11-19 Thread sundongya at nucleisys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117669 Bug ID: 117669 Summary: RISC-V:The 'VEEWTRUNC4' iterator 'RVVMF2BF' type condition error Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug ada/117569] predicate involving array indexing rejected in generic package

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117569 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug ada/117569] predicate involving array indexing rejected in generic package

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117569 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug target/117665] [15 regression] ICE when building crypto++ (single_succ_edge, at basic-block.h:332)

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117665 --- Comment #11 from Andrew Pinski --- Created attachment 59631 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59631&action=edit Better testcase just so don't use aarch64 builtins directly

[Bug target/117665] [15 regression] ICE when building crypto++ (single_succ_edge, at basic-block.h:332)

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117665 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/117657] [15 Regression][gcn] ICE during in-tree newlib build: error: unrecognizable insn

2024-11-19 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117657 --- Comment #6 from Andrew Stubbs --- The patch changed the wrong operand on the gen_gather_insn_1offset_exec call. It sets one of the offsets undefined instead of setting the else value undefined. I'm testing a fix.

[Bug libstdc++/117630] Useless atexit entry for generic_category_instance and system_category_instance

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117630 R. Diez changed: What|Removed |Added Resolution|--- |WORKSFORME Status|UNCONFIRMED

[Bug c++/117672] New: Remove unused virtual methods

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117672 Bug ID: 117672 Summary: Remove unused virtual methods Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-19 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #10 from Alejandro Colomar --- Do we warn about enum/_Bool (PR112556) with this? My computer with which I work with GCC is having a hardware failure and I can't use it until 3 weeks from now when a new piece arrives.

[Bug c++/117672] Remove unused virtual methods

2024-11-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117672 --- Comment #1 from Sam James --- Please give a testcase.

[Bug target/117657] [15 Regression][gcn] ICE during in-tree newlib build: error: unrecognizable insn

2024-11-19 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117657 --- Comment #7 from Robin Dapp --- Thanks, I was just about to write that I managed to build and would start to look into it.

[Bug ada/117538] Tracebacks don’t include the load address of PIE executables

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117538 Eric Botcazou changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug rtl-optimization/117297] [15 Regression] late combine undoes too much

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117297 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:387dba05e4207fc3f9a2f2bcb09a343a999c76fc commit r15-5443-g387dba05e4207fc3f9a2f2bcb09a343a999c76fc Author: Richard Sandiford Da

[Bug rtl-optimization/117297] [15 Regression] late combine undoes too much

2024-11-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117297 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libdiagnostics/117670] New: installation of sarif-replay doesn't honor prefix and suffixes

2024-11-19 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117670 Bug ID: 117670 Summary: installation of sarif-replay doesn't honor prefix and suffixes Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117671] New: unroll estimate does not take into account later undef stmt removal

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117671 Bug ID: 117671 Summary: unroll estimate does not take into account later undef stmt removal Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/107704] [13/14/15 Regression] Testsuite regression after recent DCE changes

2024-11-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107704 --- Comment #9 from Richard Sandiford --- That's because clobbers of hard-coded registers have usually been treated as kind-of an earlyclobbers: - When a @code{clobber} expression for a register appears insid

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-11-19 Status|UNCONFIR

[Bug middle-end/117571] [15 Regression] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 at -O1 with _BitInt() shift and divide due to r15-4601

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117571 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:758d2b3d3e28c831c79f5c18727d149c81896434 commit r15-5440-g758d2b3d3e28c831c79f5c18727d149c81896434 Author: Jakub Jelinek Date: T

[Bug middle-end/117571] [15 Regression] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 at -O1 with _BitInt() shift and divide due to r15-4601

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

[Bug middle-end/116997] [13 Regression] Wrong bitfield accesses since r13-3219-g25413fdb2ac249

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:57df36f0365218987fe3565523d4c272935a6561 commit r13-9200-g57df36f0365218987fe3565523d4c272935a6561 Author: And

[Bug middle-end/117459] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

2024-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117459 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug middle-end/117458] ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

2024-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117458 --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug middle-end/117458] ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117458 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:694613a7f9adfa9c87e733adc63839c8801f2b5c commit r15-5442-g694613a7f9adfa9c87e733adc63839c8801f2b5c Author: Jakub Jelinek Date: T

[Bug ada/117517] internal error on reduce attribute with swapped arguments

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117517 Eric Botcazou changed: What|Removed |Added Summary|Reduce attribute creates|internal error on reduce

[Bug ada/117517] internal error on reduce attribute with swapped arguments

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117517 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/117459] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117459 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:600cab162c561c3061317c998972b0ed1b681d5b commit r15-5441-g600cab162c561c3061317c998972b0ed1b681d5b Author: Jakub Jelinek Date: T

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 --- Comment #2 from Hongtao Liu --- My guess there's a lower-tripcount(< 128bit vector) hot loop, avx512_two_epilogues only takes more cmp/jcc instructions but doesn't execute any real vector instructions.

[Bug c/112556] Null pointer constants with enumeration type are not accepted

2024-11-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sjames at gcc dot gnu.org R

[Bug tree-optimization/87031] [12/13/14/15 Regression] nios2 optimization for size - two cases of regression relatively to 5.3.0 (loop unrolling)

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87031 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c/112556] Null pointer constants with enumeration type are not accepted

2024-11-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 Sam James changed: What|Removed |Added Status|REOPENED|ASSIGNED

[Bug target/106240] [13/14/15 Regression] missed vectorization opportunity (cond move) on mips since r13-707-g68e0063397ba82

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106240 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW CC|

[Bug debug/109161] Bad CTF generated for stub in function scope

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

[Bug rtl-optimization/53533] [12/13/14/15 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|12.5

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 53533, which changed state. Bug 53533 Summary: [12/13/14/15 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533

[Bug target/43908] Unnecessary mov of a constant after unrolling.

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43908 Richard Biener changed: What|Removed |Added Component|rtl-optimization|target Summary|Redundant con

[Bug ipa/117672] Remove unused virtual methods

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117672 --- Comment #3 from R. Diez --- This is an example: class test_class { public: // The mere existence of this empty constructor is enough // to make GCC generate an empty _GLOBAL__sub_I_main block // and to keep all unused virtual methods.

[Bug ipa/117672] Remove unused virtual methods

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117672 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Co

[Bug rtl-optimization/15513] loop peeling failed becuase of non-constant start

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15513 Bug 15513 depends on bug 10624, which changed state. Bug 10624 Summary: unroll-loops can't unroll nested constant loops https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10624 What|Removed |Added

[Bug target/117657] [15 Regression][gcn] ICE during in-tree newlib build: error: unrecognizable insn

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117657 --- Comment #8 from GCC Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:234da38a0e68a204a59562fcca2aa6d297bc21ed commit r15-5459-g234da38a0e68a204a59562fcca2aa6d297bc21ed Author: Andrew Stubbs Date: T

[Bug c/117490] Invalid TBAA for structures without tag and compatible definition in C.

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #10 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:8b02cc9a4f2b8db48da2a3460655b062eaa147ba commit r15-5470-g8b02cc9a4f2b8db48da2a3460655b062eaa147ba Author: Martin Uecker Date:

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #30 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:780720f04b0b83261d6073b92f3b02e8fbef41b9 commit r15-5471-g780720f04b0b83261d6073b92f3b02e8fbef41b9 Author: Georg-Johann Lay Dat

[Bug ipa/117668] fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Note this should really be catched by CFG verification. Yes Though I am worried there are many places where this kind of handling is missing.

[Bug rtl-optimization/116915] [15 Regression] wrong code at -O{s,2,3} on x86_64-linux-gnu

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116915 --- Comment #4 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:780720f04b0b83261d6073b92f3b02e8fbef41b9 commit r15-5471-g780720f04b0b83261d6073b92f3b02e8fbef41b9 Author: Georg-Johann Lay Dat

[Bug rtl-optimization/116488] [15 Regression] wrong code at -O{s,2,3} with "-fno-forward-propagate" on x86_64-linux-gnu

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488 --- Comment #14 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:780720f04b0b83261d6073b92f3b02e8fbef41b9 commit r15-5471-g780720f04b0b83261d6073b92f3b02e8fbef41b9 Author: Georg-Johann Lay Da

[Bug ipa/117672] Remove unused virtual methods

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117672 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2024-11-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 Jeffrey A. Law changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #5

[Bug c++/117684] New: High compiling time for array initialization

2024-11-19 Thread Sebastien.Lemetter at de dot bosch.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684 Bug ID: 117684 Summary: High compiling time for array initialization Product: gcc Version: 8.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug ipa/117668] fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668 Andrew Pinski changed: What|Removed |Added Attachment #59635|0 |1 is obsolete|

[Bug libstdc++/117686] New: [15 Regression] error in unordered_set::emplace

2024-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117686 Bug ID: 117686 Summary: [15 Regression] error in unordered_set::emplace Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug libstdc++/117686] [15 Regression] error in unordered_set::emplace

2024-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117686 Jonathan Wakely changed: What|Removed |Added Priority|P3 |P1 Assignee|unassigned at g

[Bug c++/98992] attribute malloc error associating a member deallocator with an allocator

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98992 --- Comment #3 from R. Diez --- This is still broken in GCC 14.2. The test code I am using is: #include struct MyClass { static void FreeMemory ( const void * pMem ) throw(); __attribute__ (( malloc, malloc( MyClass::FreeMemory, 1 ) ))

[Bug target/117690] New: RISC-V: Constant is miscompiled by zba extension

2024-11-19 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117690 Bug ID: 117690 Summary: RISC-V: Constant is miscompiled by zba extension Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/117687] Wzero-as-nullpointer-constant should warn for zeros of type bool, enum, and _BitInt

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117687 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug c++/61372] Add warning to detect noexcept functions that might throw [-Wnoexcept-mismatch]

2024-11-19 Thread dcrocker at eschertech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372 --- Comment #11 from David Crocker --- I've been bitten by this several times. In the absence of support for this type of checking in GCC I added exception checking to our own homebrew static analysis tool. It's already detected three situations

[Bug c++/78216] Segfault when dealing with a parameter pack of member functions pointers

2024-11-19 Thread gcc.gnu.org at ajryansolutions dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78216 Adam Ryan changed: What|Removed |Added CC||gcc.gnu.org@ajryansolutions

[Bug c++/61372] Add warning to detect noexcept functions that might throw [-Wnoexcept-mismatch]

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372 --- Comment #12 from R. Diez --- I do not agree with the detailed exception specifications. Java tried and such code is hard to maintain. I think all code should generally be able to cope with any exceptions: either handle them, pass them up the

[Bug tree-optimization/35341] Early exit loop with short known trip count not unrolled

2024-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35341 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug analyzer/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-19 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 --- Comment #1 from Matthias Klose --- 20241116 succeeded to build

[Bug other/117678] as for RISC-V generates gobbledygook with unusual but valid label formatting

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

[Bug sarif-replay/96032] RFE: add a way to use output from --fdiagnostics-format=json or sarif as input

2024-11-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96032 --- Comment #10 from David Malcolm --- (In reply to Kamil Dudka from comment #8) > Where can one get the sarif-replay tool? It does not seem to be included in > gcc-latest. Sorry, I haven't updated the copr build; I'll look at doing that today.

[Bug libdiagnostics/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-19 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug other/117678] New: as for RISC-V generates gobbledygook with unusual but valid label formatting

2024-11-19 Thread lightningdzeyenr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117678 Bug ID: 117678 Summary: as for RISC-V generates gobbledygook with unusual but valid label formatting Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity:

[Bug ada/117538] Tracebacks don’t include the load address of PIE executables

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117538 --- Comment #8 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:51d12cc4b608960469f6d36b03c45f9a39f7bdaa commit r15-5469-g51d12cc4b608960469f6d36b03c45f9a39f7bdaa Author: Eric Botcazou Date: T

[Bug c++/117683] New: provide a way to remove all C++ class names from the binary

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683 Bug ID: 117683 Summary: provide a way to remove all C++ class names from the binary Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/83135] Routines in submodules treat protected variables from other modules as public

2024-11-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83135 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid

[Bug target/54378] code bloat for long << shifts

2024-11-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54378 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug c++/117683] provide a way to remove all C++ class names from the binary

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug c++/117683] provide a way to remove all C++ class names from the binary

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117683 --- Comment #2 from R. Diez --- > You know most places which are size constraints ban the use of RTTI. Popular belief is often wrong. See here for details: https://github.com/rdiez/DebugDue?tab=readme-ov-file#about-c-exceptions I am actually

[Bug c/114869] [13/14/15 Regression] GCC says nullptr_t is a C built in but it should be in

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869 --- Comment #3 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:933b146f0aac96b05cd5a7518929843f72c8b64a commit r15-5476-g933b146f0aac96b05cd5a7518929843f72c8b64a Author: Joseph Myers Date: Tue

[Bug c/114869] [13/14 Regression] GCC says nullptr_t is a C built in but it should be in

2024-11-19 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869 Joseph S. Myers changed: What|Removed |Added Known to work||15.0 Summary|[13/14/15 Reg

[Bug fortran/90608] Inline non-scalar minloc/maxloc calls

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90608 --- Comment #37 from GCC Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:f5a87c8d8c6a8cfcd23595e67d3b86939e01c75c commit r15-5477-gf5a87c8d8c6a8cfcd23595e67d3b86939e01c75c Author: Mikael Morin Date: Thu

[Bug c/39438] Can't compile a wrapper around strftime with -Werror=format-nonliteral

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438 R. Diez changed: What|Removed |Added CC||rdiez-2006 at rd10 dot de --- Comment #14 from

[Bug c/115515] constexpr ICE

2024-11-19 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115515 Joseph S. Myers changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jsm28 at gcc dot gnu.org

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684 --- Comment #3 from Andrew Pinski --- By the way the code needs to be updated to add an include for cstdint to compile with the trunk.

[Bug bootstrap/117677] [15 Regression] Regression in fail, at selftest.cc:47

2024-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677 --- Comment #5 from Jakub Jelinek --- (In reply to Eric Gallager from comment #4) > Does -Wfloat-equal warn about this? Maybe it'd be worth adding to the > warnings enabled when building GCC? I don't think we should use that warning when buildi

[Bug modula2/115164] floating-point output generates misleading values with WriteFloat when sigfigs and width are zero

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115164 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:aefb47144465c620141daf46e0ce576a5b0a389e commit r14-10944-gaefb47144465c620141daf46e0ce576a5b0a389e Author: Gaius Mulley D

[Bug c++/117509] False negative on -Wdangling-reference

2024-11-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117509 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/90801] A recurring hang

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90801 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c/115515] constexpr ICE

2024-11-19 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115515 Joseph S. Myers changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment

[Bug target/117688] New: RISC-V: Wrong code for .SAT_SUB

2024-11-19 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117688 Bug ID: 117688 Summary: RISC-V: Wrong code for .SAT_SUB Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c/117687] New: Wzero-as-nullpointer-constant should warn for zeros of type bool, enum, and _BitInt

2024-11-19 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117687 Bug ID: 117687 Summary: Wzero-as-nullpointer-constant should warn for zeros of type bool, enum, and _BitInt Product: gcc Version: unknown Status: UNCONFIRMED S

[Bug c++/61372] Add warning to detect noexcept functions that might throw [-Wnoexcept-mismatch]

2024-11-19 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372 --- Comment #10 from R. Diez --- I have been bitten by this lack of warning before, but GCC 10.5 should be able to issue such a warning by default and has the following option in order to disable the warning: -Wno-terminate (C++ and Objective-C+

[Bug c/117687] Wzero-as-nullpointer-constant should warn for zeros of type bool, enum, and _BitInt

2024-11-19 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117687 --- Comment #1 from uecker at gcc dot gnu.org --- As discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059#c10 the warning should be enhanced to cover these cases.

[Bug c/117059] Enhancement: Make -Wzero-as-null-pointer-constant available in C

2024-11-19 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059 --- Comment #12 from uecker at gcc dot gnu.org --- I filed PR117687 for the other cases.

[Bug c/117689] New: enum with underying type "extension" to GNU 17 is not documented

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117689 Bug ID: 117689 Summary: enum with underying type "extension" to GNU 17 is not documented Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: documentation

[Bug ipa/117668] fold_marked_statements in tree-inline.cc does not purge the abnormal edges after folding

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117668 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Created attachment 59636 [details] > new patch > > Whoops some small typos. Just to confirm this is working, I ran this with the testcase from PR 117665 with a

[Bug libstdc++/117210] [15 regression] error: 'llabs' is not a member of 'std'; did you mean 'labs'

2024-11-19 Thread dimitry at andric dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117210 --- Comment #12 from Dimitry Andric --- So, something like this? diff --git a/libstdc++-v3/config/os/bsd/freebsd/os_defines.h b/libstdc++-v3/config/os/bsd/freebsd/os_defines.h index 0d63ae6cec4..e414524dcc2 100644 --- a/libstdc++-v3/config/os/b

[Bug ada/117538] Tracebacks don’t include the load address of PIE executables

2024-11-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117538 --- Comment #7 from Eric Botcazou --- > so I think that all of the "Not used in" targets would benefit from this > change - at any rate the linux ones. All the Linux and *BSD targets can presumably use the DWARF tracebacks. > It would be inte

[Bug testsuite/117680] [15 Regression] aarch64 testcases need to be updated for C23

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117680 --- Comment #2 from Andrew Pinski --- For these: +FAIL: gcc.target/aarch64/sme/streaming_mode_1.c (test for excess errors) +FAIL: gcc.target/aarch64/sme/za_state_1.c (test for excess errors) +FAIL: gcc.target/aarch64/sme/za_state_2.c (test for

[Bug target/117357] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn: UNSPEC_RSQRT) with -mfpmath=387 and __builtin_ia32_rsqrtf()

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117357 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:724dbdad0d23e2d460ca49aea3be5673e7ad80d1 commit r13-9201-g724dbdad0d23e2d460ca49aea3be5673e7ad80d1 Author: Uros Bizjak Date

[Bug target/117357] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn: UNSPEC_RSQRT) with -mfpmath=387 and __builtin_ia32_rsqrtf()

2024-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117357 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:540c0c7c424a43c1d99dd22f6db020cc0cd6eaea commit r12-10822-g540c0c7c424a43c1d99dd22f6db020cc0cd6eaea Author: Uros Bizjak Dat

[Bug target/117357] ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn: UNSPEC_RSQRT) with -mfpmath=387 and __builtin_ia32_rsqrtf()

2024-11-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117357 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |12.5 Status|ASSIGNED

[Bug libstdc++/117210] [15 regression] error: 'llabs' is not a member of 'std'; did you mean 'labs'

2024-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117210 --- Comment #13 from Jakub Jelinek --- (In reply to Dimitry Andric from comment #12) > So, something like this? > > diff --git a/libstdc++-v3/config/os/bsd/freebsd/os_defines.h > b/libstdc++-v3/config/os/bsd/freebsd/os_defines.h > index 0d63ae6

  1   2   3   >