[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #33 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:97094d2ffd7d00261e6d7cc5d4a62dc7c2c89b64 commit r14-6481-g97094d2ffd7d00261e6d7cc5d4a62dc7c2c89b64 Author: Richard Biener Date:

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

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

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #2 from Andrew Pinski --- Also can you provide the full command line that is failing?

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Richard Biener changed: What|Removed |Added Attachment #56175|0 |1 is obsolete|

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 --- Comment #2 from Richard Biener --- (In reply to Andrew Pinski from comment #1) > It might be a regression but we are still missing a pattern for: > int n,m; > void test(int a, int b){ > m=(a*4)/(a*2); > } Yep, and we're seeing that firs

[Bug target/112996] Improperly evaluated value of the s390x conditional expression

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112996 Richard Biener changed: What|Removed |Added Keywords||wrong-code CC|

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/112990] [14 Regression][s390x] ICE in related_vector_mode, at stor-layout.cc:539 since r14-3381-g27de9aa152141e

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112990 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug target/112990] [14 Regression][s390x] ICE in related_vector_mode, at stor-layout.cc:539 since r14-3381-g27de9aa152141e

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112990 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b9baead90d74e9211fc94d655ecd5d3af3858158 commit r14-6482-gb9baead90d74e9211fc94d655ecd5d3af3858158 Author: Richard Biener Date:

[Bug tree-optimization/112961] [13 Regression] middle-end Missed vectorization: failed to vectorize simple reduction max since GCC-13

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112961 --- Comment #10 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:93db32a4146afd2a6d90410691351a56768167c9 commit r14-6483-g93db32a4146afd2a6d90410691351a56768167c9 Author: Richard Biener Date:

[Bug tree-optimization/112991] [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05 since r14-6457

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112991 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:93db32a4146afd2a6d90410691351a56768167c9 commit r14-6483-g93db32a4146afd2a6d90410691351a56768167c9 Author: Richard Biener Date:

[Bug tree-optimization/112991] [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05 since r14-6457

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112991 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/112961] [13 Regression] middle-end Missed vectorization: failed to vectorize simple reduction max since GCC-13

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112961 Bug 112961 depends on bug 112991, which changed state. Bug 112991 Summary: [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05 since r14-6457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112991 What|Removed

[Bug middle-end/112917] Most strub execution tests FAIL on SPARC

2023-12-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112917 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Alexandre Oliva --- > Nevermind, I've managed to log into the cfarm machines running solaris/sparc. Good: while the Solaris 11.3/SPARC system (cfarm211) seems to

[Bug target/112916] [14 Regression] ~4-7% exec time regression of 433.milc on AMD Zen2

2023-12-13 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112916 --- Comment #2 from Filip Kastl --- Sometimes there are gaps in the data our team gathers, unfortunately. One cause can be that upstream GCC temporarily fails to build a benchmark. That shouldn't matter in this case I think. The last gap for thi

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #3 from Jonathan Wakely --- It's not supported. If you need to make it work, that's your problem. Just do something like: --- a/libstdc++-v3/libsupc++/eh_call.cc +++ b/libstdc++-v3/libsupc++/eh_call.cc @@ -25,7 +25,9 @@ #include

[Bug ada/112979] internal error on invalid prefix with assertions enabled

2023-12-13 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112979 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Ever c

[Bug c/112998] New: s390x: Incorrect code generation

2023-12-13 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112998 Bug ID: 112998 Summary: s390x: Incorrect code generation Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug tree-optimization/112991] [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05 since r14-6457

2023-12-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112991 --- Comment #5 from Sergei Trofimovich --- The change also fixes p7zip-17.05 build for me. Thank you!

[Bug target/112962] [14 Regression] ICE: SIGSEGV in operator() (recog.h:431) with -fexceptions -mssse3 and __builtin_ia32_pabsd128()

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112962 --- Comment #17 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:02c30fdad2f46a1f7b4e30d0eff0ac275cd108a5 commit r14-6485-g02c30fdad2f46a1f7b4e30d0eff0ac275cd108a5 Author: Jakub Jelinek Date:

[Bug middle-end/112953] [14 Regressions] -Wno-attributes* failures under valgrind

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112953 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bb600f9822fb8b73d75df2b3fa7a0fab391254fa commit r14-6486-gbb600f9822fb8b73d75df2b3fa7a0fab391254fa Author: Jakub Jelinek Date: W

[Bug tree-optimization/112940] ICE: verify_ssa failed: definition in block 4 does not dominate use in block 8 at -O with _BitInt()

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112940 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:07efd5668537892e1c07264455bfd96f1a99a130 commit r14-6487-g07efd5668537892e1c07264455bfd96f1a99a130 Author: Jakub Jelinek Date: W

[Bug tree-optimization/112940] ICE: verify_ssa failed: definition in block 4 does not dominate use in block 8 at -O with _BitInt()

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

[Bug middle-end/112953] [14 Regressions] -Wno-attributes* failures under valgrind

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112953 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/112962] [14 Regression] ICE: SIGSEGV in operator() (recog.h:431) with -fexceptions -mssse3 and __builtin_ia32_pabsd128()

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

[Bug middle-end/112917] Most strub execution tests FAIL on SPARC

2023-12-13 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112917 --- Comment #4 from Alexandre Oliva --- Ok, I understand the issues now. The problem on sparc32 is indeed the large register save area that __strub_leave allocates, that overlaps with stack space it's expected to scrub, and that thus doesn't ge

[Bug target/112998] s390x: Incorrect code generation

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112998 Richard Biener changed: What|Removed |Added Component|c |target Target|

[Bug target/112990] [14 Regression][s390x] ICE in related_vector_mode, at stor-layout.cc:539 since r14-3381-g27de9aa152141e

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112990 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/111317] RISC-V: Incorrect COST model for RVV conversions

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111317 --- Comment #2 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:f6d787c231905063dc3b55ce7028e348b74719be commit r14-6488-gf6d787c231905063dc3b55ce7028e348b74719be Author: Juzhe-Zhong Date: Wed Dec 13

[Bug target/111317] RISC-V: Incorrect COST model for RVV conversions

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111317 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #21 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:ef21ae5c45f3b79a36fadc1cb5723c095e2965ad commit r14-6490-gef21ae5c45f3b79a36fadc1cb5723c095e2965ad Author: Juzhe-Zhong Date: Wed Dec 1

[Bug target/112988] [14] RISC-V vector: Variadic function call causes runtime failure

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112988 --- Comment #1 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:ef21ae5c45f3b79a36fadc1cb5723c095e2965ad commit r14-6490-gef21ae5c45f3b79a36fadc1cb5723c095e2965ad Author: Juzhe-Zhong Date: Wed Dec 13

[Bug target/112999] New: riscv: Infinite loop with mask extraction

2023-12-13 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112999 Bug ID: 112999 Summary: riscv: Infinite loop with mask extraction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/112999] riscv: Infinite loop with mask extraction

2023-12-13 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112999 --- Comment #1 from Robin Dapp --- What actually gets in the way of vec_extract here is changing to a "better" vector mode (which is RVVMF4QI here). If we tried to extract from the mask directly everything would work directly. I have a patch l

[Bug rtl-optimization/110717] Double-word sign-extension missed-optimization

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 --- Comment #17 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:ff8d0ce17fb585a29a83349acbc67b2dd3556629 commit r14-6495-gff8d0ce17fb585a29a83349acbc67b2dd3556629 Author: Roger Sayle Date: Wed

[Bug tree-optimization/111515] [14 Regression] Missed Dead Code Elimination since r14-4089-gd45ddc2c04e

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111515 --- Comment #5 from Richard Biener --- I think performing the threading early is sound, it duplicates one stmt (store to h) for removing one conditional branch at runtime. And the estimate is computed correctly and 1 is what we allow. In _theo

[Bug target/112999] riscv: Infinite loop with mask extraction

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112999 --- Comment #2 from JuzheZhong --- Ok.It's mask bit field again. It's an annoying issue. I think explict movti pattern is controversial since it may have risks that affect scalar part.

[Bug tree-optimization/111515] [14 Regression] Missed Dead Code Elimination since r14-4089-gd45ddc2c04e

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111515 --- Comment #6 from Richard Biener --- OTOH the eliminated branch is if (aj_6 < 0) goto ; [INV] else goto ; [INV] : __builtin_unreachable (); which isn't too interesting to eliminate as we'll remove it from all paths later an

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #22 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:d702387b1b765f85e19961a0b2a29df14df89bfd commit r14-6497-gd702387b1b765f85e19961a0b2a29df14df89bfd Author: Pan Li Date: Wed Dec 13 21:

[Bug target/112988] [14] RISC-V vector: Variadic function call causes runtime failure

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112988 --- Comment #2 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:d702387b1b765f85e19961a0b2a29df14df89bfd commit r14-6497-gd702387b1b765f85e19961a0b2a29df14df89bfd Author: Pan Li Date: Wed Dec 13 21:4

[Bug tree-optimization/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #13 from GCC Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:373a85a82650d9938adb02a14686049cbcbe6892 commit r14-6498-g373a85a82650d9938adb02a14686049cbcbe6892 Author: Peter Bergner Date:

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/112318] Deprecated move ctor does not trigger -Wdeprecated-declarations when creating a std::optional

2023-12-13 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112318 S. Davis Herring changed: What|Removed |Added CC||herring at lanl dot gov --- Comment

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 --- Comment #4 from Jakub Jelinek --- So, don't we want next to the /* Simplify (t * 2) / 2) -> t. */ pattern (dunno why it uses there in the comment 2 when it is actually generic (a * b) / a -> b, doesn't rely on constants) also one (a * b) /

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #9 from Hans-Peter Nilsson --- (In reply to Tamar Christina from comment #7) > testing patch A month later: any update on that? I didn't see a patch posted, so perhaps there was more work to it. Please leave a note if you're no long

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #10 from Tamar Christina --- Hi, It's not forgotten. I've agreed on a fix with the maintainers that should solve a bunch of other (older) issues with copysign as well. Since it's a bug fix it's on my list after my stage3 changes.

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 --- Comment #5 from Jakub Jelinek --- Created attachment 56868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56868&action=edit gcc14-pr112994-1.patch Untested patch which adds the first above mentioned pattern.

[Bug target/112988] [14] RISC-V vector: Variadic function call causes runtime failure

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112988 Patrick O'Neill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/71093] use of pseudo-destructor accepted in constant expression

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71093 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:90bc2d09b5bfcc913f79543c3b65202e7246e162 commit r14-6508-g90bc2d09b5bfcc913f79543c3b65202e7246e162 Author: Nathaniel Shead Date: F

[Bug c++/108243] [11/12 Regression] Missed optimization for static const std::string_view(const char*)

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:958940eb3511e341e57606f5a2f5399bc89533cb commit r14-6506-g958940eb3511e341e57606f5a2f5399bc89533cb Author: Jason Merrill Date: T

[Bug middle-end/111260] [14 Regression] arm/aarch64: ice in maybe_legitimize_operand with ?: and constants and different types since r14-2667-gceae1400cf24f329393e96dd9720

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/110640] [13/14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since GCC-13

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110640 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 --- Comment #2 from Gaius Mulley --- Created attachment 56869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56869&action=edit Proposed fix containing missing shortreal modules For completeness here are three SHORTREAL modules which match

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-12-13 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #9 from Arsen Arsenović --- removing EXTRA_HOST_FLAGS from the gettext targets fixed the build on my cfarm112. overall, I'm not sure overriding what subconfigures discover and adjust CC and CFLAGS with is a good idea. it seems sens

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:33a3f85ee4b5bc562a84c6896294278e0a5ab160 commit r14-6509-g33a3f85ee4b5bc562a84c6896294278e0a5ab160 Author: Gaius Mulley Date: Wed

[Bug fortran/112873] F2023 degree trig functions

2023-12-13 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #16 from Jerry DeLisle --- (In reply to Steve Kargl from comment #15) --- snip --- > > Jerry, are you starting with the patch submitted by Harald that > fixes the doc issue. It seems 'gmake pdf', which is what I use > to check doc

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/112488] [14 Regression] ICE in make_ssa_name_fn with VLA inside type and inlining since r14-1142

2023-12-13 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112488 uecker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 Andreas Krebbel changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/113000] New: Generate BTF always in early-finish regardless of CO-RE

2023-12-13 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113000 Bug ID: 113000 Summary: Generate BTF always in early-finish regardless of CO-RE Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 Jakub Jelinek changed: What|Removed |Added Attachment #56868|0 |1 is obsolete|

[Bug target/112996] Improperly evaluated value of the s390x conditional expression

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112996 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 --- Comment #3 from Andreas Krebbel --- *** Bug 112996 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 --- Comment #4 from Ilya Leoshkevich --- Hi, Nina fixed this in v8.0.0 (https://gitlab.com/qemu-project/qemu/-/commit/54fce97cfcaf5463ee5f325bc1f1d4adc2772f38). The fix was backported to v7.2.2 (https://gitlab.com/qemu-project/qemu/-/commit/17b

[Bug fortran/112873] F2023 degree trig functions

2023-12-13 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #17 from Steve Kargl --- On Wed, Dec 13, 2023 at 05:36:55PM +, jvdelisle at gcc dot gnu.org wrote: > > Do we need any other test cases? > I think that we need not added any testcases. The degree trig function have been availa

[Bug target/113001] New: [14 Regression] RISCV Zicond ICE: in extract_insn, at recog.cc:2812 with -O2 rv64gcv_zicond

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113001 Bug ID: 113001 Summary: [14 Regression] RISCV Zicond ICE: in extract_insn, at recog.cc:2812 with -O2 rv64gcv_zicond Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/113002] New: ICE in commit_one_edge_insertion, at cfgrtl.cc:2095 with new -finline-stringops

2023-12-13 Thread mjires at suse dot cz via Gcc-bugs
rithms: zlib zstd gcc version 14.0.0 20231213 (experimental) (GCC)

[Bug rtl-optimization/113003] New: ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt()

2023-12-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113003 Bug ID: 113003 Summary: ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt() Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/112941] during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt()

2023-12-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112941 --- Comment #2 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #1) > Confirmed. > > Slightly more reduced: > ``` > _BitInt (2049) b2049; > unsigned _BitInt (6384) b16384; > > void > foo (signed char t) > { > b2049 = b16384 * t;

[Bug rtl-optimization/113003] ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt()

2023-12-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113003 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug debug/96997] [10/11 Regression] step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96997 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:063564ecbfc618cd019f86216a0224e144effae1 commit r14-6511-g063564ecbfc618cd019f86216a0224e144effae1 Author: Jason Merrill Date: We

[Bug preprocessor/112956] Valgrind errors on pr88974.c

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112956 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:819bc4f6700847068883eb862dfaed11f30db80b commit r14-6513-g819bc4f6700847068883eb862dfaed11f30db80b Author: Jakub Jelinek Date: W

[Bug preprocessor/112956] Valgrind errors on pr88974.c

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112956 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/113004] New: OpenMP 5 - structs are not mapped element-wise by default

2023-12-13 Thread jules at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113004 Bug ID: 113004 Summary: OpenMP 5 - structs are not mapped element-wise by default Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libfortran/113005] New: 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts

2023-12-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113005 Bug ID: 113005 Summary: 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts Product: gcc Version: 14.0 Status: UNCONFIRMED K

[Bug middle-end/113006] New: OpenMP 5 - lvalue parsing support for map/to/from clause

2023-12-13 Thread jules at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113006 Bug ID: 113006 Summary: OpenMP 5 - lvalue parsing support for map/to/from clause Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #6 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c822ad86984e752734b9c371f9cfef9330334ec4 commit r14-6519-gc822ad86984e752734b9c371f9cfef9330334ec4 Author: Patrick Palka Date: We

[Bug c++/104867] Base class matching ignores type of `auto` template parameter

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104867 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d commit r14-6520-g35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d Author: Patrick Palka Date: W

[Bug c++/99186] std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 --- Comment #7 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d commit r14-6520-g35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d Author: Patrick Palka Date: We

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/55004] [meta-bug] constexpr issues

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 93740, which changed state. Bug 93740 Summary: Template base classes parametrized by pointer-to-member are amibiguous https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 What|Removed |Ad

[Bug c++/101603] [meta-bug] pointer to member functions issues

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 93740, which changed state. Bug 93740 Summary: Template base classes parametrized by pointer-to-member are amibiguous https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 What|Removed |

[Bug libstdc++/113007] New: `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread paul.skeptic at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 Bug ID: 113007 Summary: `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not Product: gcc Version: 13.2.1 Status: UNCO

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 --- Comment #1 from Andrew Pinski --- Created attachment 56874 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56874&action=edit Full testcase Please next time attach the full testcase (or place it inline) instead of just linking to godbol

[Bug c++/113008] New: Trivially default constructible requires default member initializer before the end of its enclosing class

2023-12-13 Thread barry.revzin at gmail dot com via Gcc-bugs
tly evaluates to false). Declaring v2 fails to compile entirely: opt/compiler-explorer/gcc-trunk-20231213/include/c++/14.0.0/type_traits:3284:7: required from 'constexpr const bool std::is_trivially_default_constructible_v >' 3284 | = __is_trivially_c

[Bug target/113009] New: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 Bug ID: 113009 Summary: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113010] New: [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

2023-12-13 Thread gkm at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113010 Bug ID: 113010 Summary: [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #1 from Edwin Lu --- Found issue with bisection script. Currently re-bisecting

[Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

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

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 Andrew Pinski changed: What|Removed |Added CC||gkm at rivosinc dot com --- Comment #13

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Why are you building libstdc++ sources with clang? I doubt that is supported. GCC does not support WebAssembly backend

[Bug middle-end/80283] [11/12/13/14 Regression] bad SIMD register allocation

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 --- Comment #38 from Andrew Pinski --- For aarch64, the test from comment #11 is so much worse on the trunk than in GCC 13.2.0.

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

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

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #11 from Hans-Peter Nilsson --- (In reply to Tamar Christina from comment #10) > Hi, > > It's not forgotten. I've agreed on a fix with the maintainers that should > solve a bunch of other (older) issues with copysign as well. > > S

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 Edwin Lu changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #2 f

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #6 from Jonathan Wakely --- I think we can just change the declaration in unwind-cxx.h

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #3 from JuzheZhong --- (In reply to Edwin Lu from comment #2) > Re-bisected to r14-6197-g2e7abd09621 > > Full steps to reproduce: > mkdir dump1 > ./build-gcc-linux-stage2/gcc/xgcc -B./build-gcc-linux-stage2/gcc/ > -march=rv64gcv -

  1   2   >