[Bug tree-optimization/115363] New: Missing loop vectorization due to loop bound load not being pulled out

2024-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115363 Bug ID: 115363 Summary: Missing loop vectorization due to loop bound load not being pulled out Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/54013] Loop with control flow not vectorized

2024-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54013 --- Comment #3 from Andrew Pinski --- I think for SVE(2?) this could be vectorized using the fault first case.

[Bug tree-optimization/115362] fixed_size_simd dot product recognition not working for stdx::reduce

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

[Bug target/115355] [12/13/14/15 Regression] PPCLE: Auto-vectorization creates wrong code for Power9

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

[Bug c++/115361] "possibly dangling reference to a temporary" when object is_empty

2024-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361 --- Comment #1 from Andrew Pinski --- GetKey() is the temporary in all cases.

[Bug c++/115356] a reference to a non-constant integer expression can be used as non-type template argument inside requires expression

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

[Bug testsuite/111658] test-function-bodies fails to find functions with single-letter names

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

[Bug c++/115358] [13/14/15 Regression] template argument deduction/substitution failed in generic lambda function

2024-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358 --- Comment #5 from Andrew Pinski --- Note this is not related to NSDMI nor related to use of STR in a non-complete type context as shown by: ``` template void foo(const int ()[N]) {} template struct Bar { static constexpr int STR[] =

[Bug c++/115358] [13/14/15 Regression] template argument deduction/substitution failed in generic lambda function

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

[Bug middle-end/115352] wrong code with _BitInt() __builtin_sub_overflow_p() at -O0

2024-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115352 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end

[Bug tree-optimization/115350] Missing optimzation: fold `n = std::min(f ? 0 : 3, -a)` to `n = -a`

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115350 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|c++

[Bug c++/115350] Missing optimzation: fold `n = std::min(f ? 0 : 3, -a)` to `n = -a`

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

[Bug c++/58661] Definition of inherited nested class should be invalid

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58661 --- Comment #1 from Andrew Pinski --- Just for reference this was defect #347 which was closed as not a defect due to other changes (defect report #284) https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#347

[Bug c++/115338] Missing -Wpedantic warning for class-specifier for nested type in class scope.

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115338 --- Comment #1 from Andrew Pinski --- MSVC and GCC accepts it. EDG and clang rejects it.

[Bug tree-optimization/115347] [12/13/14/15 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/115347] [12/13/14/15 Regression] wrong code at -O3 on x86_64-linux-gnu

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|wrong

[Bug c++/115343] Member name lookup does not consider equivalent type aliases from different base classes to be equivalent.

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

[Bug c++/115343] Member name lookup does not consider equivalent type aliases from different base classes to be equivalent.

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115343 --- Comment #1 from Andrew Pinski --- Note the original example is invalid code to begin. ``` :5:11: warning: declaration of 'using foo::tag = struct tag' changes meaning of 'tag' [-Wchanges-meaning] 5 | using tag = tag; |

[Bug tree-optimization/115344] Missing loop counter reversal

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

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Note this is not even emitted at -O0, the gimplifier removes it for some > reason ... Oh see PR 99258 for analysis of the gimplifier (I think). with `#pragma

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #2 from Andrew Pinski --- Note this is not even emitted at -O0, the gimplifier removes it for some reason ...

[Bug middle-end/115346] [15] Volatile load elimination with packed struct bitfields

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346 --- Comment #1 from Andrew Pinski --- >GCC 4.0.4 does not eliminate the loads: https://godbolt.org/z/frsP8o7YT But 3.4.6 did not emit them either.

[Bug middle-end/115345] [12/13/14/15 Regression] Different outputs compared to GCC 11- and MSVC/Clang

2024-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115345 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #7 from Andrew

[Bug tree-optimization/115337] wrong code with _BitInt() __builtin_stdc_first_leading_one/__builtin_clzg (with -1 as second arg) at -O2

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115337 --- Comment #2 from Andrew Pinski --- Looks like the code in `cfn_clz::fold_range` in gimple-range-op.cc assume that the return value for defining of 0 should only be positive. `cfn_ctz::fold_range` has a similar issue too. As a seperate note

[Bug tree-optimization/115337] wrong code with _BitInt() __builtin_stdc_first_leading_one() at -O2

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

[Bug c++/115331] [13/14/15 Regression] ICE-on-invalid passing a typoed lambda to a list-initializer

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

[Bug c++/115331] ICE-on-invalid passing a typoed lambda to a list-initializer

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115331 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] |ICE-on-invalid passing a

[Bug target/115321] [15 regression] ICE when building grub (extract_insn, at recog.cc:2812) since r15-930

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115321 Andrew Pinski changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug target/115329] [15 Regression] ICE in extract_insn, at recog.cc:2812 since r15-930-ge715204f203d31

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

[Bug middle-end/108789] __builtin_(add|mul|sub)_overflow methods generate duplicate operations if both operands are const which in turn causes wrong code due to overlapping arguments

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789 --- Comment #4 from Andrew Pinski --- Note the missing SAVE_EXPR issue is similar to PR 52339 (which has a patch attached to it that would fix the issue here too I think).

[Bug middle-end/108789] __builtin_(add|mul)_overflow methods generate duplicate operations if both operands are const which in turn causes wrong code due to overlapping arguments

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789 Andrew Pinski changed: What|Removed |Added CC||cody at tapscott dot me --- Comment #3

[Bug c/115326] __builtin_sub_overflow reports incorrect overflow value

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

[Bug target/115325] RVV vmulh and vmulhu unknown without -march, but vmul is known

2024-06-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115325 --- Comment #1 from Andrew Pinski --- The correct way of doing this is to use `pragma GCC target` but that is not supported on riscv yet ...

[Bug sanitizer/115323] [10/11/12 Regression] signed integer overflow check missing at -O0, -O2, -O3, -Os

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

[Bug sanitizer/108256] Missing integer overflow instrumentation when assignment LHS is narrow

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

[Bug target/115322] SPEC2006 403.gcc internal error

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

[Bug target/115321] [15 regression] ICE when building grub (extract_insn, at recog.cc:2812) since r15-930

2024-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115321 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] ICE when|[15 regression] ICE when

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115306 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115306 Bug ID: 115306 Summary: (X + 1) > Y ? -X : 1 pattern does not handle X=~X nor X = -X; Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115288 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-05-30

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278 Andrew Pinski changed: What|Removed |Added Summary|[13/14/15 Regression] |[13/14/15 Regression]

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115266 Bug ID: 115266 Summary: [cwg2389] Agreement of deduced and explicitly-specified variable types Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[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

<    3   4   5   6   7   8   9   10   11   12   >