[Bug c++/116911] [15 regression] reference to a variable in anonymous namespace no longer considered constexpr in C++11

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911 Andrew Pinski changed: What|Removed |Added Depends on||113266 --- Comment #7 from Andrew Pinsk

[Bug c++/116911] [15 regression] reference to a variable in anonymous namespace no longer considered constexpr in C++11

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911 --- Comment #5 from Andrew Pinski --- Note we should accept this for C++11 too: ``` template struct a {}; static int guard; a b; ``` But that has always been rejected. clang warns about the original reduced testcase for c++98 but that is valid

[Bug c++/116911] [15 regression] reference to a variable in anonymous namespace no longer considered constexpr in C++11

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection |rejects-valid CC|

[Bug c++/116911] [15 regression] Building qtcore-5.15.14 fails

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

[Bug tree-optimization/85186] jump threading can rotate loops affecting loop form, and causing vectorization not to happen

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85186 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug rtl-optimization/116912] Cross-compiling aarch64 on x86_64 incorrectly ignores/discards function output parameter

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

[Bug rtl-optimization/116912] Cross-compiling aarch64 on x86_64 incorrectly ignores/discards function output parameter

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116912 --- Comment #3 from Andrew Pinski --- Note you should also read https://gcc.gnu.org/bugs/ which has this: Similarly, if compiling with -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations makes a difference, or if compiling with -fsan

[Bug rtl-optimization/116912] Cross-compiling aarch64 on x86_64 incorrectly ignores/discards function output parameter

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116912 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-30 Status|UNCONFIRM

[Bug target/111733] Emit inline SVE FSCALE instruction for ldexp

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111733 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2024-September/664160.html

[Bug target/116901] [15 Regression] pr110625_4.c fails on aarch64 since r15-3794-g2c04f175de4f39

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116901 Andrew Pinski changed: What|Removed |Added Summary|pr110625_4.c fails on |[15 Regression] |aarc

[Bug middle-end/116868] GCC trunk doesn't eliminate a superfluous new/delete pair

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

[Bug c++/116866] RFE: warn about suspected missing "throw" when discarding temporaries that inherit from std::exception

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

[Bug analyzer/116865] [14/15 Regression] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 Andrew Pinski changed: What|Removed |Added Known to work||13.1.0, 13.3.0 Target Milestone|---

[Bug c++/116888] Incorrect lazy substitution into unevaluated context

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116888 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew P

[Bug c++/116911] [15 regression] Building qtcore-5.15.14 fails

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #7 from Andrew Pi

[Bug tree-optimization/101979] aarch64: wrong code with -O3

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101979 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pi

[Bug middle-end/77964] [7 Regression] Linux kernel firmware loader miscompiled

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77964 Andrew Pinski changed: What|Removed |Added CC||cooper.qu at linux dot alibaba.com ---

[Bug middle-end/116910] How to iterate a "section array" maybe should be documented

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116910 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug middle-end/116910] New: How to iterate a "section array" maybe should be documented

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116910 Bug ID: 116910 Summary: How to iterate a "section array" maybe should be documented Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: documentation

[Bug middle-end/77964] [7 Regression] Linux kernel firmware loader miscompiled

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77964 Andrew Pinski changed: What|Removed |Added CC||stian.skjelstad at gmail dot com --- Co

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #6 from Andrew Pi

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Andrew Pinski changed: What|Removed |Added CC||federico at kircheis dot it --- Comment

[Bug c/114597] [GCC-14] Miscompilation of pointer assignment with inline assembly

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114597 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #6 from Andrew Pi

[Bug c++/116909] Does g++ define the behavior for an "array" manually created with a linker script?

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Andrew Pinski changed: What|Removed |Added CC||141242068 at smail dot nju.edu.cn ---

[Bug c/107010] iterate section("mysection") struct mystruct fails if first node is const and compiling with O2 or greater

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107010 Andrew Pinski changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #3

[Bug c++/116909] Does g++ define the behavior for an "array" manually created with a linker script?

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 --- Comment #1 from Andrew Pinski --- auto get_tests() noexcept { extern const test_signature *const tests_begin[]; extern const test_signature *const tests_end[]; const test_signature *const * b = tests_begin; asm("":"+r"(b)); const t

[Bug ipa/116908] New: ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 Bug ID: 116908 Summary: ICE (invalid calls_comdat_local flag) with -O1 compiling webkit Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-c

[Bug target/55212] [SH] Switch to LRA

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #359 from Andrew Pinski --- (In reply to John Paul Adrian Glaubitz from comment #358) > (In reply to Andrew Pinski from comment #357) > > (In reply to Andrew Pinski from comment #356) > > > Can you file a seperate bug for this since I

[Bug target/55212] [SH] Switch to LRA

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #357 from Andrew Pinski --- (In reply to Andrew Pinski from comment #356) > Can you file a seperate bug for this since I think it is a generic IPA issue > ratehr than specific to sh? I will file it seperately since I can reproduce it

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 --- Comment #2 from Andrew Pinski --- Reducing ...

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 --- Comment #1 from Andrew Pinski --- Created attachment 59240 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59240&action=edit testcase compile with `-O1 -std=c++20` (for x86_64, you need -m32).

[Bug ipa/116907] [15 regression] ICE when building kakoune-2024.05.18 with LTO (modref)

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 --- Comment #3 from Andrew Pinski --- (In reply to Sam James from comment #2) > Works with -save-temps :( Try with `--param ggc-min-expand=1 --param ggc-min-heapsize=1` Maybe it is trying to output something which has been freed.

[Bug ipa/116907] [15 regression] ICE when building kakoune-2024.05.18 (modref)

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/116891] [12/13/14/15 Regression] invalid optimization of -fma(-x,x,-z) when -03 and -frounding-math are used

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 Andrew Pinski changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14/15 Regression]

[Bug middle-end/116891] [12/13/14/15 Regression] invalid optimization of -fma(-x,y,-z) when -03 and -frounding-math are used

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 Andrew Pinski changed: What|Removed |Added Known to work||8.5.0 Summary|invalid optimi

[Bug tree-optimization/116905] [15 Regression] ICE: tree check: expected none of vector_type, have vector_type in set_varying, at value-range.h:1140 with -mavx -frounding-math and _Float16

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116905 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug middle-end/116906] [12/13/14/15 Regression] floating point exception under -O2 optimization

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116906 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-30 Keywords|

[Bug tree-optimization/99997] Missed optimisation with -Os

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 Andrew Pinski changed: What|Removed |Added Depends on||59660 --- Comment #6 from Andrew Pinski

[Bug tree-optimization/59660] We fail to optimize common boolean checks pre-inlining

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660 --- Comment #18 from Andrew Pinski --- (In reply to Andrew Pinski from comment #17) > I have a phiopt change which allows us now to optimize this in phiopt2 (and > get the tail call in tailr2). phiprop should do it instead of phiopt ...

[Bug tree-optimization/116890] Heurstic for factoring out convert with one side constant should also handle when it is a CMP

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116890 --- Comment #2 from Andrew Pinski --- Here is another example: ``` int g(bool a, bool b, int c) { int x; if (c) x = a | b; else x = 1; return x; } int g1(bool a, bool b, int c) { bool x; if (c) x = a | b; else x = 1; return x; }

[Bug target/55212] [SH] Switch to LRA

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #356 from Andrew Pinski --- (In reply to John Paul Adrian Glaubitz from comment #355) > (In reply to John Paul Adrian Glaubitz from comment #352) > > I will try to figured out what optimization flag triggered the ICE. Also, I > > will

[Bug middle-end/116899] ICE: in quick_push, at vec.h:1041 with -O at _BitInt()

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

[Bug middle-end/116899] ICE: in quick_push, at vec.h:1041 with -O at _BitInt()

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116899 --- Comment #1 from Andrew Pinski --- Created attachment 59229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59229&action=edit testcase that fails everywhere

[Bug middle-end/116898] ICE: in block_range, at gimple-range-cache.cc:1293 with -O -finstrument-functions -fnon-call-exceptions and _BitInt()

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116898 --- Comment #1 from Andrew Pinski --- Interesting it does NOT ICE for aarch64.

[Bug middle-end/116896] codegen for <=> compared to hand-written equivalent

2024-09-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116896 --- Comment #2 from Andrew Pinski --- aarch64 code gen: -UMANUAL: ``` _Z3watRKiS0_: ldr w3, [x0] mov w2, 1 ldr w0, [x1] cmp w3, w0 csinv w0, w2, wzr, ge cselw0, w0, wzr, ne

[Bug middle-end/116891] invalid optimization of -fma(-x,y,-z) when -03 and -frounding-math are used

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Component|c++

[Bug c++/88853] ICE: verify_type failed (error: type variant differs by TYPE_PACKED) with -fpack-struct -g

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853 --- Comment #5 from Andrew Pinski --- (In reply to David Binderman from comment #4) That is now filed as PR 116892.

[Bug c/116892] ICE when building pspp-1.6.2 (error: type variant differs by TYPE_PACKED, internal compiler error: ‘verify_type’ failed)

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

[Bug ipa/116893] -fipa-cp-clone breaks mismatched-dealloc diagnostic

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116893 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-30 Resolution|DUPLICATE

[Bug middle-end/99715] [meta-bug] bogus/missing Wmismatched-dealloc warnings

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99715 Bug 99715 depends on bug 116893, which changed state. Bug 116893 Summary: -fipa-cp-clone breaks mismatched-dealloc diagnostic https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116893 What|Removed |Added -

[Bug middle-end/99715] [meta-bug] bogus/missing Wmismatched-dealloc warnings

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99715 Bug 99715 depends on bug 116893, which changed state. Bug 116893 Summary: -fipa-cp-clone breaks mismatched-dealloc diagnostic https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116893 What|Removed |Added -

[Bug ipa/116893] -fipa-cp-clone breaks mismatched-dealloc diagnostic

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116893 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug tree-optimization/110546] Function clone not treated as valid allocator with -Wmismatched-dealloc

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110546 Andrew Pinski changed: What|Removed |Added CC||a1ba.omarov at gmail dot com --- Commen

[Bug c/116892] ICE when building pspp-1.6.2 (error: type variant differs by TYPE_PACKED, internal compiler error: ‘verify_type’ failed)

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116892 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853#c4 hehe

[Bug middle-end/116885] Wrong functionality of vararg causes malfunction or crashes

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116885 --- Comment #19 from Andrew Pinski --- (In reply to Jaroslav Fojtík from comment #18) > May be that this report points to a similar bug: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116621 > > I cannot consider this to be a bug because of t

[Bug tree-optimization/114056] ifcvt may introduce use of uninitialized variables

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114056 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Assignee|unassigne

[Bug tree-optimization/116890] Heurstic for factoring out convert with one side constant should also handle when it is a CMP

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116890 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/116890] New: Heurstic for factoring out convert with one side constant should also handle when it is a CMP

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116890 Bug ID: 116890 Summary: Heurstic for factoring out convert with one side constant should also handle when it is a CMP Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/116888] Incorrect lazy substitution into unevaluated context

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

[Bug c++/116889] source_location line number off-by-one when implicitly converting to a type with a defaulted source_location argument

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

[Bug c++/116889] source_location line number off-by-one when implicitly converting to a type with a defaulted source_location argument

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116889 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug middle-end/116884] [13/14/15 Regression] Bogus strcpy -Warray-bounds warning following memset of destination after r13-455

2024-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116884 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Summary|Bogus strcpy -W

[Bug c++/116882] gcc-14 ICE with coroutines

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116882 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-28 Status|UNCONFIRM

[Bug c/116881] Add __builtin_elementwise_* and __builtin_reduction_*

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

[Bug c/116881] New: Add __builtin_elementwise_*

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116881 Bug ID: 116881 Summary: Add __builtin_elementwise_* Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee

[Bug tree-optimization/116879] [14/15 Regression] ICE on valid code at -O2 with "-ftree-vectorize -fallow-store-data-races -fno-tree-ch -ftree-loop-distribution" on x86_64-linux-gnu: verify_ssa failed

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116879 Andrew Pinski changed: What|Removed |Added Known to work||13.1.0, 13.3.0 Ever confirmed|0

[Bug middle-end/116878] [15 regression] libcall emitted unnecessarily for __popcountdi2

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116878 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Com

[Bug target/116878] [15 regression] libcall emitted unnecessarily for __popcountdi2

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116878 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2024-September/663973.html

[Bug c++/116876] GCC accepts invalid call to overloaded function template when neither is at least as specialized as the other

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116876 --- Comment #3 from Andrew Pinski --- EDG, GCC and MSVC all use the reference function rather const rvalue reference function. if we change the const rvalue reference to just an rvalue reference, then clang accepts it: > template< class T > voi

[Bug c++/116876] GCC accepts invalid call to overloaded function template when neither is at least as specialized as the other

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116876 --- Comment #2 from Andrew Pinski --- https://developercommunity.visualstudio.com/t/MSVC-accepts-invalid-call-to-overloaded/10755162

[Bug c++/116876] GCC accepts invalid call to overloaded function template when neither is at least as specialized as the other

2024-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116876 --- Comment #1 from Andrew Pinski --- EDG also accepts it. So maybe this is a clang issue.

[Bug tree-optimization/116874] New: phiprop should handle more than just `a->t`

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116874 Bug ID: 116874 Summary: phiprop should handle more than just `a->t` Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/116874] phiprop should handle more than just `a->t`

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

[Bug tree-optimization/116873] New: esra does not remove unused store sometimes

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116873 Bug ID: 116873 Summary: esra does not remove unused store sometimes Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/116835] [12/13/14/15 Regression] phiprop will prop back into a loop

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116835 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Phiprop use commit on the edge, maybe that could be improved/changed. That won't work because the edges which are in use here are the edges of the PHI. Still

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #6 from Andrew Pinski --- 00B5;MICRO SIGN;So;0;ON; 03BCN; # Decomposition mappings retain the tag from # Unicode 2.0, even though the distinction between # canonical and compatibility decompositions was not yet #

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #5 from Andrew Pinski --- https://www.compart.com/en/unicode/U+00B5

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #2 from Andrew Pinski --- Nor MSVC. Are you 100% sure this is invalid code?

[Bug c++/116872] gcc accepts unnormalized identifiers

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116872 --- Comment #1 from Andrew Pinski --- clang, EDG does not reject this either ...

[Bug target/116870] Corrupt executable created by GCC 14.2 on Windows MinGW64 with mingw-w64-x86_64-toolchain

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116870 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Target|mingw-w64-x86_

[Bug target/116869] Profiler count register conflicts with regparm

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116869 --- Comment #1 from Andrew Pinski --- msdosdjgpp might be the only target which does not define NO_PROFILE_COUNTERS .

[Bug target/116869] Profiler count register conflicts with regparm for i386-pc-msdosdjgpp

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116869 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > msdosdjgpp might be the only target which does not define > NO_PROFILE_COUNTERS . I should say for x86.

[Bug middle-end/116868] GCC trunk doesn't eliminate a superfluous new/delete pair

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116868 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/116867] Incorrectly report a constexpr function as non-constant

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116867 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug c++/116866] RFE: warn about suspected missing "throw" when discarding temporaries that inherit from std::exception

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116866 --- Comment #1 from Andrew Pinski --- >We could add [[nodiscard]] to the class declaration, but I think that doesn't >actually work with gcc right now (it doesn't warn when it should) That would be PR 85973 .

[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

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

[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 --- Comment #2 from Andrew Pinski --- ./cc1 -fanalyzer t.i -quiet -O2 during IPA pass: analyzer src/numfmt.c: In function ‘unit_to_umax’: src/numfmt.c:843:53: internal compiler error: in build2, at tree.cc:5099 0x25cc02e internal_error(char cons

[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 --- Comment #1 from Andrew Pinski --- if ((code == MINUS_EXPR || code == PLUS_EXPR || code == MULT_EXPR) && arg0 && arg1 && tt && POINTER_TYPE_P (tt) /* When sizetype precision doesn't match that of pointers we need to be

[Bug target/116856] Generated Code with unaligned uint32_t potentially hardfaults on ARM (due to LDRD)

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116856 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug sanitizer/116863] TSAN segfault in __sanitizer::CombinedAllocator::Allocate

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116863 --- Comment #1 from Andrew Pinski --- Can you report this upstream to LLVM (libsanitizer upstream is LLVM) since I suspect you will hit it with tsan with LLVM too?

[Bug target/116856] Generated Code with unaligned uint32_t potentially hardfaults on ARM (due to LDRD)

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116856 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug tree-optimization/116848] Check to see if is_maybe_undefined can be replaced with ssa_name_maybe_undef_p/mark_ssa_maybe_undefs in loop unrolling

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116848 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/111276] rewrite_to_defined_overflow rewrites already defined code

2024-09-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 --- Comment #5 from Andrew Pinski --- Created attachment 59211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59211&action=edit Patch but ... It causes gcc.c-torture/execute/pr111422.c to fail. See https://gcc.gnu.org/pipermail/gcc-patche

[Bug rtl-optimization/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization CC|

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 --- Comment #7 from Andrew Pinski --- There was a scheduler change I thought which prevented moving prefetches across load/stores but I can't find it for some reason. Maybe it didn't make it in.

[Bug tree-optimization/116861] [15 regression] ICE when building netpbm-11.2.10

2024-09-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116861 --- Comment #9 from Andrew Pinski --- (In reply to Li Pan from comment #8) > [0] psi ptr 0x7e2f8f00c000 > [1] psi ptr 0x7e2f8f00c400 > [2] psi ptr 0xa5a5a5a5a5a5a5a5 <=== Invalid. > > Looks some gsi info is polluted during matching. [2] is a

[Bug tree-optimization/111276] rewrite_to_defined_overflow rewrites already defined code

2024-09-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #3) > I think the API expects to be guarded to only be called on stmts that > require rewriting. That makes sense, so adding gimple_stmt_with_undefined_signed_overfl

[Bug tree-optimization/116861] [15 regression] ICE when building netpbm-11.2.10

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

<    6   7   8   9   10   11   12   13   14   15   >