[Bug tree-optimization/56576] wrong code for aliased union at -O3

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576 Andrew Pinski changed: What|Removed |Added CC||msl023508 at gmail dot com ---

[Bug middle-end/93298] GCC 10.0 non-current union member access

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug tree-optimization/56576] wrong code for aliased union at -O3

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576 --- Comment #4 from Andrew Pinski --- *** Bug 56577 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/56577] wrong code for aliased union on gcc 4.7 only

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56577 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug tree-optimization/56576] wrong code for aliased union at -O3

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576 Andrew Pinski changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug rtl-optimization/115320] wrong code with -O2/O3 when using union with different data type

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

[Bug rtl-optimization/115320] wrong code with -O2/O3 when using union with different data type

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

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #5 from Andrew Pinski --- The question comes is musttail going to always work at -O0 or should it just fail at -O0 with an error message. Or rather is musttail is just a hack in itself and should never be implemented.

[Bug sanitizer/115273] [12 Regression] passing zero to ctz() check missing

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273 --- Comment #4 from Andrew Pinski --- Note ubsan can detect (correctly) a different undefined behavior since GCC 13 (since r13-4988-g8692b15ae7c05e; aka PR108256) but the undefinedness of passing 0 to ctz is still not detected and that is a dup

[Bug sanitizer/115127] [12/13/14/15 Regression] passing zero to __builtin_ctz() check missing since r12-151

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115127 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2024-05-18 00:00:00 |2024-06-02

[Bug sanitizer/115127] [12/13/14/15 Regression] passing zero to __builtin_ctz() check missing

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115127 --- Comment #5 from Andrew Pinski --- *** Bug 115273 has been marked as a duplicate of this bug. ***

[Bug sanitizer/115273] [12 Regression] passing zero to ctz() check missing

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug sanitizer/115273] [12 Regression] passing zero to ctz() check missing

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` int f(int a) { return __builtin_ctz(a) == 0; } int main(void) { __builtin_printf("%d\n", f(0)); } ```

[Bug c++/115314] auto template parameter has const qualifier on it even though the original does not

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115314 Andrew Pinski changed: What|Removed |Added Summary|Type of the `auto` template |auto template parameter has

[Bug jit/103562] Jitted code produces incorrect result when returning 3-member struct from internal function

2024-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103562 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/115318] decltype(lambda) from an template function inside a templated lambda causes ICE

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

[Bug analyzer/111536] -fanalyzer false positive with NRVO return

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

[Bug analyzer/111536] -fanalyzer false positive with NRVO return

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536 Andrew Pinski changed: What|Removed |Added CC||llvm at rifkin dot dev --- Comment #1

[Bug analyzer/115313] False positive -fanalyzer use of uninitialized value due to not understand C++ front-end's NRVO

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

[Bug analyzer/115313] False positive -fanalyzer use of uninitialized value due to not understand C++ front-end's NRVO

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

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #9 from Andrew Pinski --- ``` float f(float a, float b, float x) { x = a - b; float t = 0; t = t - x; return t/x; } ``` ! HONOR_NANS (type) && ! HONOR_INFINITIES (type) ``` int f(int a, int b, int A) { A = ~A; int t

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #8 from Andrew Pinski --- ``` int f(int x) { x = ~x; int t = (x >= 0 ? x : 0); int t1 = (x <= 0 ? -x : 0); return t + t1; } ``` abs(~x)

[Bug ipa/115309] Simple coroutine based generator is not optimized well

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115309 Andrew Pinski changed: What|Removed |Added Component|middle-end |ipa --- Comment #1 from Andrew Pinski

[Bug tree-optimization/115306] (X + 1) > Y ? -X : 1 pattern does not handle X=~X nor X = -X;

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||2024-05-31 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Mine, filing as I will get back to this in a few but want to finish up a different patch.

[Bug tree-optimization/115306] New: (X + 1) > Y ? -X : 1 pattern does not handle X=~X nor X = -X;

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
sed-optimization Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- The new pattern: /* (1 - X) > Y ? X : 1 simplifies to (-X) >= Y ? X

[Bug tree-optimization/115278] [13/14/15 Regression] -ftree-vectorize optimizes away volatile write on x86_64 since r13-3219

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278 --- Comment #7 from Andrew Pinski --- (In reply to avieira from comment #5) > > I think we fixed similar bug on the read side. > > I don't have the best memory, but the one I can remember is PR 111882, where > we had the SAVE_EXPR. And the the

[Bug middle-end/115022] -fstrub=disable and -minline-memops-threshold have a - in the index

2024-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug lto/115300] gcc 14 cannot compile itself on Windows when bootstrap-lto is specified

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

[Bug target/115299] [14/15 regression] pr86722.c failed to eliminate branch.

2024-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115299 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.2 Summary|[14

[Bug target/115299] [14 regression] pr86722.c failed to eliminate branch.

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

[Bug c++/115291] armv8-a GCC emits float32x2_t loads from uninitialized stack

2024-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115291 --- Comment #2 from Andrew Pinski --- See https://libeigen.gitlab.io/docs/TopicPitfalls.html section "C++11 and the auto keyword" explictly. "In short: do not use the auto keywords with Eigen's expressions, unless you are 100% sure about what

[Bug plugins/115288] [15 Regression] File label-text.h not part of installation

2024-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- I think this fixes the issue (which was introduced by r15-874-g9bda2c4c81b668 ): ``` [apinski

[Bug plugins/115288] [15 Regression] File label-text.h not part of installation

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

[Bug c/115290] [12/13/14/15 Regression] tree check fail in c_tree_printer, at c/c-objc-common.cc:330

2024-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115290 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|tree check fail

[Bug c++/115291] armv8-a GCC emits float32x2_t loads from uninitialized stack

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

[Bug tree-optimization/115287] Missed optimzation: fold `div(v, a) * b + rem(v, a)` to `div(v, a) * (b - a) + v`

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

[Bug tree-optimization/113105] Missing optimzation: fold `div(v, a) * b + rem(v, a)` to `div(v, a) * (b - a) + v`

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113105 --- Comment #6 from Andrew Pinski --- *** Bug 115287 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/113072] `(a ^ CST0) & (~a ^ CST0)` is not optimized to 0 at the gimple level

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

[Bug tree-optimization/115224] (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224 --- Comment #5 from Andrew Pinski --- *** Bug 113072 has been marked as a duplicate of this bug. ***

[Bug middle-end/115022] -fstrub=disable and -minline-memops-threshold have a - in the index

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate value

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

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate value

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

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate value

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

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate values since r13-1114

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #5 from Andrew Pinski --- Created attachment 58312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58312=edit Testcase which fails for GCC 12+ (rather than 13+)

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate values since r13-1114

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #4 from Andrew Pinski --- Though I think the standard says only one is entered rather than both ... But not which one.

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate values since r13-1114

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #3 from Andrew Pinski --- Looks to be a defect: https://cplusplus.github.io/LWG/issue2844

[Bug libstdc++/115285] [13/14/15 Regression] std::unordered_set can have duplicate values since r13-1114

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

[Bug c++/115283] [14/15 Regression] "used but never defined" with extern templates

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

[Bug c++/115283] [14/15 Regression] "used but never defined" with extern templates

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115283 --- Comment #2 from Andrew Pinski --- Created attachment 58311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58311=edit Reduced

[Bug c++/115283] [14/15 Regression] "used but never defined" with extern templates

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115283 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.2 Summary|[14

[Bug libbacktrace/115212] testsuite should produce DejaGnu style summary, log

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

[Bug tree-optimization/115214] tree-ssa-pre.c(ICE in find_or_generate_expression, at tree-ssa-pre.c:2780)

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

[Bug tree-optimization/115278] [13/14/15 Regression] -ftree-vectorize optimizes away volatile write on x86_64 since r13-3219

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
] |-ftree-vectorize optimizes |-ftree-vectorize optimizes |away volatile write on |away volatile write on |x86_64 |x86_64 since r13-3219 CC||pinskia at gcc dot gnu.org --- Comment #2 from

[Bug tree-optimization/115278] [13/14/15 Regression] -ftree-vectorize optimizes away volatile write on x86_64

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278 Andrew Pinski changed: What|Removed |Added Summary|-ftree-vectorize optimizes |[13/14/15 Regression]

[Bug c++/115280] Concept can access private alias/typedef in a non-dependent classs

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

[Bug tree-optimization/115275] [14/15 Regression] Missed optimization for Dead Code Elimination

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275 --- Comment #2 from Andrew Pinski --- I suspect r14-1951-g7b34cacc573538 exposes the missed optimization here. You can see the same missed optimization with: ``` template T min(T a, T b) { return a < b ? a : b; } template T max(T a, T

[Bug tree-optimization/115224] (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel

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

[Bug tree-optimization/115274] Bogus -Wstringop-overread in SQLite source code

2024-05-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274 --- Comment #1 from Andrew Pinski --- >Compiled attached sqlite3.c Looks like it didn't attach. Can you try again? Maybe compress it?

[Bug other/115268] gcc --target --sysroot support?

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115268 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc/2010-May/192142.html

[Bug other/115268] gcc --target --sysroot support?

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

[Bug c++/115266] [cwg2389] Agreement of deduced and explicitly-specified variable types

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115266 --- Comment #1 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2389

[Bug c++/115266] New: [cwg2389] Agreement of deduced and explicitly-specified variable types

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Blocks: 94404 Target Milestone: --- GCC rejects this even though it is the defect report makes this valid

[Bug bootstrap/115077] bootstrap fails with in-tree isl-0.25/6

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

[Bug tree-optimization/115004] [11/12/13/14/15 Regression] Missed optimization for Dead Code Elimination

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

[Bug testsuite/114982] New test g++.dg/tree-ssa/cxa_atexit-6.C fails on Darwin.

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

[Bug c++/114245] Defaulted virtual destructors that do no work overwrite the vtable with `-O0`

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

[Bug target/115263] ARM general-regs-only attribute does not exist?

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115263 Andrew Pinski changed: What|Removed |Added Keywords||documentation

[Bug target/115263] ARM general-regs-only attribute does not exist?

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

[Bug c++/115050] Segfault when compiled with -O0

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

[Bug c++/115052] rejected lambda while capturing a constexpr array

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115052 --- Comment #1 from Andrew Pinski --- MSVC rejects it also with the similar error message as GCC: (5): error C3493: 'a2' cannot be implicitly captured because no default capture mode has been specified While EDG accepts it. So it is 2

[Bug target/115258] [14/15 Regression] register swaps for vector perm in some cases after r14-6290

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

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

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

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #2 from Andrew Pinski --- > 0xaa996b df_bb_verify > ../../gcc/gcc/df-scan.cc:4138 THis line is blank in the current trunk (seems like you are testing before r15-752-g7f35863ebbf7ba which is an over week old now).

[Bug target/115255] sibcall at -O0 causes ICE in df_refs_verify on arm

2024-05-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255 --- Comment #1 from Andrew Pinski --- Are you sure this is not an issue with your musttail patches?

[Bug target/115248] aarch64/sve/pre_cond_share_1.c fails since gcc-15-276-gbed6ec161be

2024-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115248 --- Comment #1 from Andrew Pinski --- The first (major) difference in the IR (besides the original removal of statements) come from threadfull1. trunk: ``` Registering killing_def (path_oracle) distbb_72 Registering killing_def

[Bug tree-optimization/115238] bitwise_inverted_equal_p should handle uniform_integer_cst_p

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

[Bug other/115241] header-tools scripts not compatible to python3

2024-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115241 Andrew Pinski changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug c++/115240] [alias] Does we assume the math function have pure attribute ?

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

[Bug c++/115239] [14/15 Regression] ICE: Segmentation fault with ambiguous function call in some cases

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

[Bug c++/115239] [14/15 Regression] ICE: Segmentation fault with ambiguous function call from static_assert in some cases

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115239 --- Comment #2 from Andrew Pinski --- Created attachment 58294 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58294=edit Reduced further

[Bug c++/115239] [14/15 Regression] ICE: Segmentation fault with ambiguous function call from static_assert in some cases

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115239 Andrew Pinski changed: What|Removed |Added Summary|ICE: internal compiler |[14/15 Regression] ICE:

[Bug c++/115239] ICE: internal compiler error: Segmentation fault

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

[Bug tree-optimization/115238] bitwise_inverted_equal_p should handle uniform_integer_cst_p

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115238 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/115224] (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/115238] bitwise_inverted_equal_p should handle uniform_integer_cst_p

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- .

[Bug tree-optimization/115238] New: bitwise_inverted_equal_p should handle uniform_integer_cst_p

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
-optimization Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: ``` #define vector8 __attribute__((vector_size(8))) vector8 int f(int

[Bug tree-optimization/115236] [15 regression] Wrong code at -O1 and above with -fno-tree-fre and volatile pointers

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115236 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] Wrong code |[15 regression] Wrong code

[Bug c++/115233] constexpr RVO result is not determined as constant epression

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

[Bug c++/115233] constexpr RVO result is not determined as constant epression

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115233 --- Comment #1 from Andrew Pinski --- It also compiles fine with MSVC.

[Bug tree-optimization/115232] [14/15 regression] ICE during GIMPLE pass during waccess

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

[Bug tree-optimization/115232] [14/15 regression] ICE during GIMPLE pass during waccess

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115232 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.2 Keywords|

[Bug c++/115232] [14 regression] ICE during GIMPLE pass

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115232 --- Comment #1 from Andrew Pinski --- Created attachment 58292 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58292=edit Slightly reduced

[Bug c++/115231] [C++20] [Modules] deduction guides reachability

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

[Bug c++/115231] [C++20] [Modules] deduction guides reachability

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

[Bug c++/115230] -fvisibility=hidden does not hide Template Specializations from being exported

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115230 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/105645] Template specializations are not hidden with fvisibility=hidden

2024-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105645 --- Comment #4 from Andrew Pinski --- *** Bug 115230 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/115226] [15 regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_ssa failed

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

[Bug tree-optimization/113265] [11/12/13/14/15 Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late

2024-05-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 --- Comment #6 from Andrew Pinski --- Created attachment 58289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58289=edit Patch without testcase Just need to add testcases but the patch was able to bootstrap/test without any regressions.

[Bug tree-optimization/113433] [12/13/14/15 Regression] Missed optimization for redundancy computation elimination

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

[Bug tree-optimization/113265] [11/12/13/14/15 Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late

2024-05-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 --- Comment #5 from Andrew Pinski --- *** Bug 113433 has been marked as a duplicate of this bug. ***

  1   2   3   4   5   6   7   8   9   10   >