[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

2024-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116480 --- Comment #5 from Andrew Pinski --- Created attachment 58998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58998&action=edit patch which I am testing

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

2024-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116480 --- Comment #4 from Andrew Pinski --- Another testcase: ``` int foo(unsigned __int128 b) { return __builtin_popcountg(b) == 1; } ```

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

2024-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116480 --- Comment #3 from Andrew Pinski --- Or rather the issue is here: 5320 rtx plhs = expand_normal (lhs); 5321 rtx pcmp = emit_store_flag (NULL_RTX, EQ, plhs, const1_rtx, mode, 0, 0); We are expanding: int _1; uint128_t _2; _Bool

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt(65...128) on aarch64

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

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

2024-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #197 from Andrew Pinski --- (In reply to Andreas Schwab from comment #196) > Both forms are completely equivalent (a multi element template is implicitly > surrounded by parallel). Yes and I just fixed a bug dealing with that and gen

[Bug middle-end/116480] [15 Regression] ICE: in operand_subword_force, at emit-rtl.cc:1824 at -O2 with __builtin_stdc_has_single_bit() and _BitInt() on aarch64

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

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

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

[Bug tree-optimization/109410] [13/14/15 Regression] ICE: verify_flow_info failed

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-04-11 00:00:00 |2024-8-24 --- Comment #20 from Andrew P

[Bug c++/116476] [14/15 regression] error: binding reference of type 'int&&' to 'const int' discards qualifiers for std::vector> f{2}; (OK under Clang and GCC<=13)

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116476 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

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

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

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

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #10 from Andrew Pinski --- Created attachment 58992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58992&action=edit much more reduced testcase Now this testcase also ICEs on x86_64-linux-gnu with `-O3 -g`.

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #9 from Andrew Pinski --- Created attachment 58990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58990&action=edit single file testcase Reduced down to single file testcase; `-g -O3` is enough, no LTO needed now.

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

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116475, which changed state. Bug 116475 Summary: autovect: may be optimized for min/max https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116475 What|Removed |Added --

[Bug tree-optimization/102512] Redundant max/min operation before vector reduction

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102512 Andrew Pinski changed: What|Removed |Added CC||syq at gcc dot gnu.org --- Comment #4 f

[Bug tree-optimization/116475] autovect: may be optimized for min/max

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

[Bug tree-optimization/116475] autovect: may be optimized for min/max

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

[Bug tree-optimization/116475] autovect: may be optimized for min/max

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116475 Andrew Pinski changed: What|Removed |Added Blocks||53947 --- Comment #1 from Andrew Pinski

[Bug tree-optimization/116460] [14/15 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 Andrew Pinski changed: What|Removed |Added Summary|ppc64le: LTO ICE during |[14/15 Regression] LTO ICE

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 --- Comment #9 from Andrew Pinski --- (In reply to Richard Biener from comment #8) > fail which look similar to the aarch64 fails (I have no idea if the patch > helped for those). The aarch64 ones still fail. And yes they look very similar.

[Bug tree-optimization/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #7 from Andrew Pinski --- Created attachment 58988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58988&action=edit non-reduced preprocessed source This is just the needed 2 preprocessed source to reproduce the failure: pinski

[Bug tree-optimization/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #6 from Andrew Pinski --- So the good news is I am able to reproduce it on the trunk (on cfarm29 which is powerpc64le): ``` pinskia@cfarm29:~/src/t$ ~/ugcc/bin/g++ -shared -fPIC -g -O3 -flto *.ii lto-wrapper: warning: using serial co

[Bug tree-optimization/115544] ICE: in lower_complexexpr_stmt, at gimple-lower-bitint.cc:4719 with -O -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop and _BitInt() __builtin_mul_overflow()

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115544 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I am not sure if complex lowering should do some simple DCE or if it matters > if it does not do it. Note complex lowering now does the simple DCE after r15-312

[Bug target/116472] Wrong offset format when generating assembly with -masm=intel and -fPIE/-fPIC

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472 Andrew Pinski changed: What|Removed |Added Summary|Wrong offset format when|Wrong offset format when

[Bug target/116472] Wrong offset format when generating assembly with -S and -masm=intel

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

[Bug c/116474] GCC somehow confuses "unsigned typedef_t" with a nested function

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116474 --- Comment #2 from Andrew Pinski --- Looks like the parser thinks typedef_t starts the name of a nested function ...

[Bug c/116474] GCC somehow confuses "unsigned typedef_t" with a nested function

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116474 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|GCC somehow conf

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

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

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Andrew Pinski changed: What|Removed |Added Assignee|linkw at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 --- Comment #2 from Andrew Pinski --- The easiest fix is todo: ``` for (int i = 0; i < N; ++i) { a[i] = BASE1 + i * 5; b[i] = BASE2 - i * 4; /* b[i] cannot be 0 as that is undefined for `% b[i]`. */ b[i] = b[i] ? b[

[Bug c/96290] nonsensical bounds in VLA types in -Warray-bounds

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96290 --- Comment #2 from Andrew Pinski --- (In reply to Gabriel Ravier from comment #1) > I've encountered a similarly nonsensical error on trunk, though not with > VLAs, instead with a char array of size 0: It is not nonsensical at all. It just has

[Bug tree-optimization/101139] Unable to remove double byteswap in fast path

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101139 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 57993 [details] > Patch but it does not work for the code in this testcase > > I have to look into why it is not working for the testcase in

[Bug testsuite/116464] [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

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

[Bug testsuite/116464] [15 regression] new test gcc.dg/torture/pr116420.c from r15-3095-gc9377734b798d8 fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116464 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail Status|UNCON

[Bug bootstrap/105474] GCC fails to bootstrap with --disable-libstdcxx

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

[Bug driver/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304 --- Comment #19 from Andrew Pinski --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2024-August/661228.html

[Bug driver/104707] GCC doesn't give default lib path to the linker when multilib is off

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > Testing removal of this part from the driver. Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2024-August/661228.html

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

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

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Andrew Pinski changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

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

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 --- Comment #1 from Andrew Pinski --- Created attachment 58977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58977&action=edit Reduced testcase options: `-ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model -fno-commo

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

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

[Bug tree-optimization/116463] New: [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 Bug ID: 116463 Summary: [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #4 from Andrew Pinski --- (In reply to Alessandro Astone from comment #1) > Cannot attach intermediate files because the size is too large. > Sorry that I don't have a minimal reproducer :/ Is there a place where you could upload th

[Bug tree-optimization/116461] [15 regression] New test case gcc.dg/vect/vect-mod-var.c from r15-3082-g9bbad3685131ec fails

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116461 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker Target Milestone|---

[Bug middle-end/116460] ppc64le: LTO ICE during GIMPLE pass: forwprop

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #2 from Andrew Pinski --- Can you try adding -fchecking and seeing if that fails differently?

[Bug c++/116449] Miscompilation and missing bounds check with UBSAN with pointer to member functions and array accesses

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 --- Comment #4 from Andrew Pinski --- (In reply to Franz Sirl from comment #3) > Isn't the missing bounds check on parr[c] on purpose? It's added with > -fsanitize=bounds-strict. You might be right, I misread the original qnd gimple dump. But I

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

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

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

2024-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115241 --- Comment #6 from Andrew Pinski --- (In reply to sadineniharish8446 from comment #4) > Is GCC upstream planning to backport the patch to older release branches for > gcc versions? If yes, which release versions will have it? > > We can help t

[Bug c/116457] Add -frandomize-layout-seed and -frandomize-layout-seed-file

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116457 --- Comment #3 from Andrew Pinski --- This is NOT a security feature. It actually can introduce security bugs and even make things un-reproducible. As mentioned in the other bug, the c++ standard went out of their way to say this is invalid eve

[Bug c/116457] Add -frandomize-layout-seed and -frandomize-layout-seed-file

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

[Bug c/84052] Using Randomizing structure layout plugin in linux kernel compilation doesn't generate proper debuginfo

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

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 58974 [details] > Patch which I am testing > > Simple tests on the testcase works and we get the correct behavior now. This patch causes som

[Bug libstdc++/116455] Should std::noop_coroutine() be constexpr?

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116455 --- Comment #6 from Andrew Pinski --- (In reply to Zhao Dai from comment #5) > (In reply to Andrew Pinski from comment #4) > > (In reply to Zhao Dai from comment #3) > > > I understand that the standard says so. > > > > > > But the question is:

[Bug libstdc++/116455] Should std::noop_coroutine() be constexpr?

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116455 --- Comment #4 from Andrew Pinski --- (In reply to Zhao Dai from comment #3) > I understand that the standard says so. > > But the question is: Should it? This is not the correct forum for that though.

[Bug libstdc++/116455] Should std::noop_coroutine() be constexpr?

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

[Bug libstdc++/116455] Should std::noop_coroutine() be constexpr?

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116455 --- Comment #1 from Andrew Pinski --- I think the standard does not define it as constexpr which is why it is not constexpr in libstdc++.

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 --- Comment #5 from Andrew Pinski --- Created attachment 58974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58974&action=edit Patch which I am testing Simple tests on the testcase works and we get the correct behavior now.

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 --- Comment #4 from Andrew Pinski --- Another testcase: ``` static int t = 0; _Complex float f() { t++; return 0; } int main() { t = 0; f() * 1j; // incorrectly invokes f() twice if (t != 1) __bu

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to work|

[Bug middle-end/116454] [12/13/14/15 Regression] `*++ptr * 1j` is handled incorrectly with -ffast-math, increments ptr twice

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|`*++ptr *

[Bug middle-end/116453] Large code when initializing array using user defined literals

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

[Bug middle-end/116453] Large code when initializing array using user defined literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116453 --- Comment #2 from Andrew Pinski --- Created attachment 58972 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58972&action=edit testcase

[Bug middle-end/116453] Large code when initializing array using user defined literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116453 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|tree-opt

[Bug c++/116451] Missing conversion warning from std::exclusive_scan, related to -Wsystem-headers

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116451 --- Comment #1 from Andrew Pinski --- Note -Wconversion is not enabled by -Wall or -Wextra, so I am not sure this is a bug ...

[Bug gcov-profile/116452] Inconsistent way of reporting negative counter values

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

[Bug c++/116450] [14 Regression] ICE in in expand_expr_real_1, at expr.cc:11376

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

[Bug c++/116327] [14/15 Regression] ICE in coroutine with parameter preview on lambda with captures since r15-2210

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 Andrew Pinski changed: What|Removed |Added CC||indiosmo at gmail dot com --- Comment #

[Bug c++/116450] [14 Regression] ICE in in expand_expr_real_1, at expr.cc:11376

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116450 Andrew Pinski changed: What|Removed |Added Known to work||15.0 Target Milestone|---

[Bug c++/116449] Miscompilation and missing bounds check with UBSAN with pointer to member functions and array accesses

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

[Bug c++/116449] Miscompilation with UBSAN

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 --- Comment #1 from Andrew Pinski --- Looks like there is a missing SAVE_EXPR in a few places when dealing with the pointer to member functions.

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #10 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #9) > Ah no, during iterator construction we do: > > this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); > > So that is a library bug. So

[Bug target/113042] popcount of 128bits can be improved for !TARGET_CSSC

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

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Andrew Pinski changed: What|Removed |Added CC||iamkirkezz at gmail dot com --- Comment

[Bug c++/116446] GCC incorrectly accepts multiple method declarations with deduced return types

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

[Bug c++/116446] GCC incorrectly accepts multiple method declarations with deduced return types

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

[Bug sanitizer/66880] 'error: case label does not reduce to an integer constant' with -fsanitize=shift -std=gnu99.

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66880 Andrew Pinski changed: What|Removed |Added CC||stsp at users dot sourceforge.net --- C

[Bug sanitizer/87857] case label does not reduce to an integer constant

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

[Bug c/106988] subscripting a string literal is not an integer constant expression but strlen is

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

[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #10 from Andrew Pinski --- *** Bug 106988 has been marked as a duplicate of this bug. ***

[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added CC||rasmus.tempcache at gmail dot com --- C

[Bug c/116443] String values not accepted for case labels

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

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2024-08-13 00:00:00 |2024-8-21 --- Comment #6 from Andrew Pi

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > if (ok) > bitmap_set_bit (changed_pseudos, REGNO (SET_DEST (set))); > > Most likely should be reg_or_subregno here I think. Even that might be wr

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

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

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Target Milestone|---

[Bug sanitizer/115205] ICE when using -fsanitize=hwaddress

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

[Bug rtl-optimization/116435] New: there are 3 rtx_hashes

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116435 Bug ID: 116435 Summary: there are 3 rtx_hashes Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: enhancement Priority: P3

[Bug tree-optimization/116412] [15 Regression] ICE on openblas-0.3.28: in find_lattice_value, at tree-complex.cc:178

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

[Bug c++/111854] new (align_val_t) should be ill-formed

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111854 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug tree-optimization/116409] [15 Regression] Recent phiopt change causing ICE with sqrt and -frounding-math

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

[Bug tree-optimization/116409] [15 Regression] Recent phiopt change causing ICE with sqrt and -frounding-math

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116409 --- Comment #11 from Andrew Pinski --- (In reply to David Binderman from comment #10) > This C code seems to fail with -O1: > > int RB_Open_SingleDocumentation_document; > char RB_Open_SingleDocumentation_document_0, > RB_Open_SingleDocumen

[Bug testsuite/106344] A few x86_64 tests fail with -march=x86-64-v2

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106344 --- Comment #4 from Andrew Pinski --- (In reply to Marek Polacek from comment #2) > This too works with -march=x86-64 but not -march=x86-64-v2. > > FAIL: gcc.dg/tree-ssa/slsr-31.c scan-tree-dump-times optimized " \\* 2" 1 Simple fix -fno-tree-

[Bug testsuite/106344] A few x86_64 tests fail with -march=x86-64-v2

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106344 --- Comment #3 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > More: > > FAIL: gcc.dg/tree-ssa/pr92834.c scan-tree-dump-times optimized "MAX_EXPR <" 8 This is .REDUC_MAX vs MAX_EXPR . > FAIL: gcc.dg/tree-ssa/pr94786.c sca

[Bug c/116434] Problem with warming Wsign-compare

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

[Bug target/116433] [AVR] cannot place template class static member variables in EEPROM

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

[Bug c++/87178] Compilation failure when program contains multiple variables allocated in particular section, and at least one variable is C++17 "inline"

2024-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178 Andrew Pinski changed: What|Removed |Added CC||digger1984 at gmx dot com --- Comment #1

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