[Bug tree-optimization/113301] New: [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

2024-01-09 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301 Bug ID: 113301 Summary: [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/113302] `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

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

[Bug target/113156] [11/12/13/14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 --- Comment #7 from Andrew Pinski --- Created attachment 57021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57021=edit Patch which seems to fix it I cannot test this patch fully but this seems to fix it. Signed-off-by: Andrew Pinski

[Bug target/111480] new test case g++.target/powerpc/altivec-19.C fails

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111480 Kewen Lin changed: What|Removed |Added Component|testsuite |target Keywords|testsuite-fail

[Bug middle-end/113100] [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113302] New: `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113302 Bug ID: 113302 Summary: `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0` Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/113303] New: One can assign to const reference in a template partial specialization

2024-01-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113303 Bug ID: 113303 Summary: One can assign to const reference in a template partial specialization Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/113302] `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113302 --- Comment #2 from Andrew Pinski --- This should also optimize to that: ``` int j(int x) { int t = x == -1; int t1 = x == 1; return t | -t1; } ```

[Bug target/113296] [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 Richard Biener changed: What|Removed |Added Summary|SPEC 2006 434.zeusmp|[14 Regression] SPEC 2006

[Bug target/112606] [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp'

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112606 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/112751] [14 regression] gcc.target/powerpc/pcrel-sibcall-1.c fails after r14-5628-g53ba8d669550d3

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112751 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/113297] during GIMPLE pass: esra ICE: in smallest_mode_for_size, at stor-layout.cc:356 with _BitInt() with -fstack-check=generic

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113297 --- Comment #2 from Richard Biener --- another option might be to punt for _BitInt

[Bug tree-optimization/113301] [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

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

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #6 from JuzheZhong --- I have tried generic-ooo: https://compiler-explorer.com/z/44dcePczz There are still a few vectorized codes in the last couple lines of assembler: vsetivlizero,4,e32,m1,ta,ma addw

[Bug tree-optimization/113301] [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

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

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

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

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 Richard Biener changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #3 from Robin Dapp --- Yes, sure and I gave a bit of detail why the values chosen there (same as aarch64) make sense to me. Using this generic vector cost model by default without adjusting the latencies is possible. I would be OK

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 --- Comment #4 from Jonathan Wakely --- Because in C++11 any use of a singular iterator, even copying it, was undefined behaviour. The debug mode checks have not been properly updated to reflect the relaxed preconditions in more recent

[Bug rtl-optimization/113287] wrong code with __builtin_mul_overflow_p() and _BitInt() with -O3 -msse4

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287 --- Comment #4 from Tamar Christina --- Ok, definitely mine :) I've miss identified that the exit doesn't leave the loop. Quick hack fixes the issue. I'll work on a proper one tomorrow morning.

[Bug target/113225] bpf: attribute((kernel_helper)) adds inconsistent BTF extern function decl entry.

2024-01-09 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113225 Jose E. Marchesi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-09 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 Alex Coplan changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/113012] [13 regression] ICE when building xorg-server with -fsanitize=undefined

2024-01-09 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 --- Comment #11 from Siddhesh Poyarekar --- Yes, I'll test and push the 13 backport by the end of the week if there are no reported regressions on trunk.

[Bug target/113059] [14 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/103524] [meta-bug] modules issue

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104234, which changed state. Bug 104234 Summary: ICE with -fmodules-ts and std::map/_Rb_tree https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104234 What|Removed |Added

[Bug c++/104234] ICE with -fmodules-ts and std::map/_Rb_tree

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104234 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Assignee|ppalka at

[Bug libstdc++/112477] [13/14 Regression] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Jonathan Wakely changed: What|Removed |Added Summary|Assignment of |[13/14 Regression]

[Bug target/113295] New: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113295 Bug ID: 113295 Summary: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #2 from JuzheZhong --- (In reply to Robin Dapp from comment #1) > Hmm, so I tried reproducing this and without a vector cost model we indeed > vectorize. My qemu dynamic instruction count results are not as abysmal as > yours but

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #4 from Robin Dapp --- The other option is to assert that all tune models have at least a vector cost model rather than NULL... But not falling back to the builtin costs still makes sense.

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread dave.martin at giref dot ulaval.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Dave Martin changed: What|Removed |Added CC||dave.martin at giref dot ulaval.ca ---

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread dave.martin at giref dot ulaval.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 --- Comment #5 from Dave Martin --- (In reply to Jonathan Wakely from comment #4) > Because in C++11 any use of a singular iterator, even copying it, was > undefined behaviour. The debug mode checks have not been properly updated to > reflect

[Bug tree-optimization/113012] [13 regression] ICE when building xorg-server with -fsanitize=undefined

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 Jakub Jelinek changed: What|Removed |Added Summary|[13/14 regression] ICE when |[13 regression] ICE when

[Bug c++/113292] New: [modules] internal error when compiling header to module containing static thread_local variable

2024-01-09 Thread nov.ondrej at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113292 Bug ID: 113292 Summary: [modules] internal error when compiling header to module containing static thread_local variable Product: gcc Version: 13.2.1 Status:

[Bug c++/103524] [meta-bug] modules issue

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99187, which changed state. Bug 99187 Summary: [modules] ICE exporting thread_local static local variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99187 What|Removed |Added

[Bug c++/99187] [modules] ICE exporting thread_local static local variable

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99187 Patrick Palka changed: What|Removed |Added Assignee|ppalka at gcc dot gnu.org |nathanieloshead at gmail dot com

[Bug ipa/113293] New: Incorrect code after inlining function containing extended asm

2024-01-09 Thread dories.spirits_0p at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 Bug ID: 113293 Summary: Incorrect code after inlining function containing extended asm Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113249] RISC-V: regression testsuite errors -mtune=generic-ooo

2024-01-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113249 --- Comment #4 from Robin Dapp --- > One of the reasons I've been testing things with generic-ooo is because > generic-ooo had initial vector pipelines defined. For cleaning up the > scheduler, I copied over the generic-ooo pipelines into

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

2024-01-09 Thread dories.spirits_0p at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 --- Comment #2 from KBDeveloper --- (In reply to Andrew Pinski from comment #1) > The inline-asm is not marking as clobbering memory. > > In this case since you just pass the address of the variable, gcc does not > know the inline-asm will

[Bug tree-optimization/113281] [14 Regression] Wrong code due to vectorization of shift reduction and missing promotions

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113281 Richard Biener changed: What|Removed |Added Keywords||needs-bisection CC|

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug rtl-optimization/113280] Strange error for empty inline assembly with +X constraint

2024-01-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113280 --- Comment #4 from Segher Boessenkool --- Nothing has changed here. opt == 2 and opt == 3 should use "=X", not "+X", btw. combine is perfectly correct that "X" allows *any operand whatsoever*, also those that you cannot really use as an

[Bug rtl-optimization/113280] Strange error for empty inline assembly with +X constraint

2024-01-09 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113280 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug libgomp/113192] [11/12/13 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression]

[Bug target/113255] [11/12/13/14 Regression] wrong code with -O2 -mtune=k8

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255 --- Comment #7 from Jakub Jelinek --- Slightly cleaned up testcase: struct S { unsigned a[10]; unsigned y; unsigned b[6]; } g[2]; __attribute__((noinline, noclone)) int test (int x) { struct S e[2] = { g[0], g[1] }; int r = 0; if (x >=

[Bug rtl-optimization/113140] [13/14 regression] segmentation fault during delay slot scheduling

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113140 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:6ddc3fe23ede844454584bc3699f879d3694a382 commit r13-8201-g6ddc3fe23ede844454584bc3699f879d3694a382 Author: Eric Botcazou

[Bug ada/113195] [13/14 regression] internal error on anonymous access type equality

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113195 --- Comment #4 from Eric Botcazou --- https://gcc.gnu.org/g:4d3fd59953bcf423dd0859a2c6b95b5260aed71d commit r14-7029-g4d3fd59953bcf423dd0859a2c6b95b5260aed71d Author: Eric Botcazou Date: Tue Jan 9 10:21:51 2024 +0100 Fix internal error

[Bug ada/113195] [13/14 regression] internal error on anonymous access type equality

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113195 --- Comment #5 from Eric Botcazou --- https://gcc.gnu.org/g:13f8c71aebc7df388678c52cffbc11db980d8fa0 commit r13-8202-g13f8c71aebc7df388678c52cffbc11db980d8fa0 Author: Eric Botcazou Date: Tue Jan 9 10:21:51 2024 +0100 Fix internal error

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-09 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284 --- Comment #4 from Ilya Leoshkevich --- Thanks, I can repro this on cfarm203 now. Apparently I missed diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 94fbf46f2b6..fd9bb807957 100644 ---

[Bug ada/111945] Attribute Image for Unbounded_String raises UTF_ENCODING.ENCODING_ERROR

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111945 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug ada/104421] The Ada.Directories.Modification_Time procedure does not work for non-ASCII filenames in the Windows environment.

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104421 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/95549] [11/12/13/14 regression] gnat1 doesn't link on AIX

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

[Bug rtl-optimization/113280] Strange error for empty inline assembly with +X constraint

2024-01-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113280 --- Comment #9 from Segher Boessenkool --- (In reply to Alexander Monakov from comment #6) > From the context given in the gcc-help thread, the goal is to place an > optimization barrier in a sequence of floating-point calculation. "+r" is >

[Bug rtl-optimization/113280] Strange error for empty inline assembly with +X constraint

2024-01-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113280 --- Comment #11 from Segher Boessenkool --- (In reply to David Brown from comment #8) > As for using "=X" in the "opt == 3" case, I worry that that could lead to > errors as the two assembly lines are independent. The first says "put X >

[Bug target/113077] [14 Regression] ICE in dwarf2out_frame_debug_cfa_offset with `-O2 -fstack-protector-strong -fstack-clash-protection`

2024-01-09 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113077 --- Comment #8 from Alex Coplan --- Initial patch had some fallout, I was missing attaching REG_FRAME_RELATED_EXPR notes in the ldp/stp pass, testing a revised patch now...

[Bug ada/82642] Dynamic predicate for a record should give a warning

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

[Bug c++/113272] Wrong specialization of class template selected

2024-01-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113272 --- Comment #2 from Fedor Chelnokov --- Here is simplified program without #include : template struct A {}; template requires requires(){ *p = 0; } struct A {}; int x = 0; struct B : A<>, A<(const int *)> {}; GCC fails here because of

[Bug libstdc++/113294] New: constexpr error from accessing inactive union member in basic_string after move assignment

2024-01-09 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113294 Bug ID: 113294 Summary: constexpr error from accessing inactive union member in basic_string after move assignment Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

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

[Bug tree-optimization/113144] [14 regression] ICE when building dpkg-1.21.15 in verify_dominators (error: dominator of 9 should be 48, not 12)

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113144 --- Comment #13 from Martin Jambor --- The testcase below segfaults when compiled with master configured with release checking. However, it is very likely affected by this bug (it fails with checking compiler like testcases for this issue do)

[Bug target/113295] [14 Regression] SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113295 Andrew Pinski changed: What|Removed |Added Summary|SPEC 2006 416.gamess|[14 Regression] SPEC 2006

[Bug target/113289] Error caused by attribute __always_inline__

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113289 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:33b1173361b08919ef9011e335072925d38327df commit r14-7040-g33b1173361b08919ef9011e335072925d38327df Author: Jakub Jelinek Date:

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-09 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284 --- Comment #6 from Ilya Leoshkevich --- Created attachment 57014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57014=edit patch v2 Thanks for the correction. I've noticed the function label and got tunnel vision; .opd does indeed

[Bug rtl-optimization/113287] wrong code with __builtin_mul_overflow_p() and _BitInt() with -O3 -msse4

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug rtl-optimization/113287] wrong code with __builtin_mul_overflow_p() and _BitInt() with -O3 -msse4

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c++/113272] Wrong specialization of class template selected

2024-01-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113272 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #1 from Robin Dapp --- Hmm, so I tried reproducing this and without a vector cost model we indeed vectorize. My qemu dynamic instruction count results are not as abysmal as yours but still bad enough (20-30% increase in dynamic

[Bug target/113255] [11/12/13/14 Regression] wrong code with -O2 -mtune=k8

2024-01-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255 Uroš Bizjak changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug ada/104354] [12 regression] internal error with Partition_Elaboration_Policy (Sequential)

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/113199] [14 Regression][GCN] ICE (segfault) due to invalid 'loop_mask_46 = VEC_PERM_EXPR' when compiling Newlib's wcsftime.c

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113290] Optimize dominator updated for peeling with multiple exits

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113290 Tamar Christina changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug ada/112958] [14 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86

2024-01-09 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112958 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Eric Botcazou --- > The code is the same on the 13 branch though, does it compile there? So far, I had only tried gcc 11.4.0 (where the code compiles) and trunk

[Bug libstdc++/113283] missing C++26 freestanding headers.

2024-01-09 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283 --- Comment #7 from cqwrteur --- (In reply to Arsen Arsenović from comment #5) > C does not have a freestanding error.h, indeed. > > We were considering making up some numbers in a high-up range so that we can > provide some non-OS-provided

[Bug tree-optimization/113290] Optimize dominator updated for peeling with multiple exits

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113290 --- Comment #3 from Richard Biener --- int a[77]; int bar (); void foo () { int val; #define LOOP \ val = bar (); \ for (int i = 0; i < 77; ++i) \ { \ if (a[i] == val) \ break; \ a[i]++; \ } #define LOOP10

[Bug tree-optimization/102958] std::u8string suboptimal compared to std::string

2024-01-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102958 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c/113262] [11/12/13/14 Regression] ICE when using [[gnu::copy("")]] attribute

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113262 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c9fc7f398e8b330ff12ec8a29bfa058b6daf6624 commit r14-7066-gc9fc7f398e8b330ff12ec8a29bfa058b6daf6624 Author: Jakub Jelinek Date:

[Bug tree-optimization/102958] std::u8string suboptimal compared to std::string

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102958 --- Comment #8 from Jonathan Wakely --- Fixing the underlying optimization issue might be nice, but I don't see any reason why std::char_traits::length can't simply use strlen. We'd only need to cast it to const char* (which is fine because we

[Bug c++/113158] [11/12/13/14 Regression] Erroneous "looser exception specification" error for class template and depedent noexcept value

2024-01-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113158 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c/113262] [11/12/13 Regression] ICE when using [[gnu::copy("")]] attribute

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113262 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression] ICE

[Bug ada/104354] [12 regression] internal error with Partition_Elaboration_Policy (Sequential)

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 --- Comment #5 from GCC Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5b17c2c6cbc34056ae878beed2351bf77a8f57a0 commit r12-10087-g5b17c2c6cbc34056ae878beed2351bf77a8f57a0 Author: Steve Baird

[Bug tree-optimization/113026] Bogus -Wstringop-overflow warning on simple memcpy type loop

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113026 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c22cf7a7a77bf9245bd0790b21695440208c3aa5 commit r14-7039-gc22cf7a7a77bf9245bd0790b21695440208c3aa5 Author: Richard Biener Date:

[Bug tree-optimization/113290] New: Optimize dominator updated for peeling with multiple exits

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113290 Bug ID: 113290 Summary: Optimize dominator updated for peeling with multiple exits Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/28492] -Wmissing-format-attribute points to vsnprintf() or related functions instead of the function that needs the attribute added

2024-01-09 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28492 Manuel López-Ibáñez changed: What|Removed |Added Last reconfirmed|2012-04-17 00:00:00 |2024-1-9 --- Comment #6 from

[Bug libstdc++/113283] missing C++26 freestanding headers.

2024-01-09 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283 --- Comment #6 from cqwrteur --- if someone writes an operating system or libc,he can ensure the abi being the same. Get Outlook for Android From: arsen at gcc dot gnu.org Sent:

[Bug modula2/112920] gm2 hangs in the type resolver

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112920 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:e3632a18d1e0b94b4c7b99a512b19c830ed3b228 commit r14-7064-ge3632a18d1e0b94b4c7b99a512b19c830ed3b228 Author: Gaius Mulley Date:

[Bug ipa/113291] New: [14 Regression] compilation never (?) finishes with recursive always_inline functions at -O and above

2024-01-09 Thread zsojka at seznam dot cz via Gcc-bugs
d64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20240109 (experimental) (GCC)

[Bug tree-optimization/102958] std::u8string suboptimal compared to std::string

2024-01-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102958 --- Comment #7 from Aldy Hernandez --- Created attachment 57016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57016=edit preprocessed testcase with GCC13 Compile with -O2 -std=c++20

[Bug ada/104354] [12 regression] internal error with Partition_Elaboration_Policy (Sequential)

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104354 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW Target Milestone|---

[Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 --- Comment #7 from Richard Biener --- (In reply to Jakub Jelinek from comment #6) > Our bisect seed can't bisect lto though... Honza added this stuff.

[Bug libstdc++/113283] missing C++26 freestanding headers.

2024-01-09 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug tree-optimization/113290] Optimize dominator updated for peeling with multiple exits

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113290 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/113270] [14 Regression] AArch64 ICEs in register_tuple_type since r14-6524

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

[Bug middle-end/113199] [14 Regression][GCN] ICE (segfault) due to invalid 'loop_mask_46 = VEC_PERM_EXPR' when compiling Newlib's wcsftime.c

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 --- Comment #3 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:80bb94e88faaadd4d6f008fececb46214dc89e9f commit r14-7065-g80bb94e88faaadd4d6f008fececb46214dc89e9f Author: Tamar Christina

[Bug modula2/112920] gm2 hangs in the type resolver

2024-01-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112920 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284 --- Comment #7 from Jakub Jelinek --- LGTM.

[Bug middle-end/113199] [14 Regression][GCN] ICE (segfault) due to invalid 'loop_mask_46 = VEC_PERM_EXPR' when compiling Newlib's wcsftime.c

2024-01-09 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113199 --- Comment #5 from Andrew Stubbs --- I can confirm that I can now build the amdgcn toolchain once more. :-) Thanks.

[Bug rtl-optimization/113287] wrong code with __builtin_mul_overflow_p() and _BitInt() with -O3 -msse4

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug tree-optimization/113268] (i + (i + 1) * CST) AND (i + i * CST + 1 * CST) not folded the same way

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113268 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug libgomp/113192] [11/12/13/14 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f2e967e0257bc8188840df236595e7218b6bf748 commit r14-7027-gf2e967e0257bc8188840df236595e7218b6bf748 Author: Jakub Jelinek Date:

  1   2   3   >