[Bug tree-optimization/110080] New: [13/14 Regression] Missed Dead Code Elimination at -Os when using __builtin_unreachable since r13-6945-g429a7a88438

2023-06-01 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110080 Bug ID: 110080 Summary: [13/14 Regression] Missed Dead Code Elimination at -Os when using __builtin_unreachable since r13-6945-g429a7a88438 Product: gcc

[Bug fortran/110081] New: Unhelpful error message: "(null):0: confused by earlier errors, bailing out"

2023-06-01 Thread andrew at fluidgravity dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110081 Bug ID: 110081 Summary: Unhelpful error message: "(null):0: confused by earlier errors, bailing out" Product: gcc Version: 12.2.1 Status: UNCONFIRMED

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-01 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 --- Comment #1 from David Faust --- Created attachment 55234 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55234=edit alternate proposed patch Thank you for catching this, and for the fix! With the proposed patch on linux x86_64 I see

[Bug fortran/102973] possible inconsistency in procptr_assignment handling when matching ASSOCIATE

2023-06-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973 Paul Thomas changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Paul Thomas

[Bug libstdc++/110060] [14 Regression] Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110000] GCC should implement exclude_from_explicit_instantiation

2023-06-01 Thread ldionne.2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #13 from Louis Dionne --- Nikolas already answered some, but just to expand on this: > But on the topic of this enhancement request, I don't see why functions > should be excluded from explicit instantiation if they're already

[Bug fortran/100094] Undefined pointers have incorrect rank when using optimization

2023-06-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100094 Paul Thomas changed: What|Removed |Added Status|NEW |WAITING Blocks|87477

[Bug fortran/103259] [11/12/13 Regression] ICE in resolve_common_vars, at fortran/resolve.c:956 since r11-3866-g4d2a56a0f7135469

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103259 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||andrew at fluidgravity dot

[Bug fortran/110081] Unhelpful error message: "(null):0: confused by earlier errors, bailing out"

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110081 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/110051] error: writing 1 byte into a region of size 0

2023-06-01 Thread pkurash at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110051 --- Comment #3 from Felix --- Yes, you're right, the warning is turned to error. Without this option the compilation runs normally

[Bug fortran/110076] ICE on mutually recursive derived types.

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110076 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/109973] [13/14 Regression] Wrong code for AVX2 since 13.1 by combining VPAND and VPTEST since r13-2006-ga56c1641e9d25e

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973 --- Comment #7 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:3635e8c67e13e3da7e1e23a617dd9952218e93e0 commit r14-1466-g3635e8c67e13e3da7e1e23a617dd9952218e93e0 Author: Roger Sayle Date: Thu

[Bug target/80040] SSE4.1 ptest not always merged

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80040 --- Comment #4 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:3635e8c67e13e3da7e1e23a617dd9952218e93e0 commit r14-1466-g3635e8c67e13e3da7e1e23a617dd9952218e93e0 Author: Roger Sayle Date: Thu

[Bug middle-end/97048] [meta-bug] bogus/missing -Wstringop-overread warnings

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048 Bug 97048 depends on bug 110060, which changed state. Bug 110060 Summary: [14 Regression] Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 What

[Bug target/54089] [SH] Refactor shift patterns

2023-06-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #52 from Segher Boessenkool --- (In reply to Alexander Klepikov from comment #50) > But maybe there is a way to exclude particular insn from combine pass? (I > guess not). In general, it is best to let combine just work on

[Bug tree-optimization/110080] [13/14 Regression] Missed Dead Code Elimination at -Os when using __builtin_unreachable since r13-6945-g429a7a88438

2023-06-01 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110080 --- Comment #1 from Theodoros Theodoridis --- Oops, the first code snippet is wrong in the original post: void foo(void); static unsigned char a = 131; static int *b; static int **c = static void d(int e, unsigned f) { int *g; if

[Bug testsuite/109951] [14 Regression] libgomp, testsuite: non-native multilib c++ tests fail on Darwin.

2023-06-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951 Thomas Schwinge changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/77704] Data race on std::ctype

2023-06-01 Thread dboles.src at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77704 Daniel Boles changed: What|Removed |Added CC||dboles.src at gmail dot com --- Comment

[Bug libstdc++/110060] [14 Regression] Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b7b255e77a271974479c34d1db3daafc04b920bc commit r14-1470-gb7b255e77a271974479c34d1db3daafc04b920bc Author: Jonathan Wakely

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/29253] expand_abs wrong default code for floating point

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29253 --- Comment #13 from Andrew Pinski --- Created attachment 55235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55235=edit Slightly different patch This is a slightly different patch but it basically does the same except it uses

[Bug middle-end/31542] Incorrect optization with nan values

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31542 --- Comment #4 from Andrew Pinski --- I can't reproduce this in any recent versions of GCC. Even in GCC 4.7.3 and GCC 4.6.4 it works and we get no assert.

[Bug target/104698] Inefficient code for DI to TI sign extend on power10

2023-06-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104698 --- Comment #5 from Peter Bergner --- Mike, are we doing backports of this? ...or can we marked this as FIXED?

[Bug rtl-optimization/58517] ifcvt (after combine) puts ccreg clobbering insn between ccset insn and ccreg use

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517 --- Comment #9 from Andrew Pinski --- The reason why r6-3654-g6b7e867187889 didn't fix this case is because it was not looking into clobbers only the set side. Note the conditional in my patch should have been if (reg_overlap_mentioned_p

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 --- Comment #3 from Andrew Pinski --- Fixed for GCC 7.5.0, GCC 8.3.0 and GCC 9+ by the patch which fixed PR 89188.

[Bug rtl-optimization/58517] ifcvt (after combine) puts ccreg clobbering insn between ccset insn and ccreg use

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517 --- Comment #8 from Andrew Pinski --- Created attachment 55237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55237=edit Patch which I think will fix this This is option 1 of comment #3 though with an updated version. I have not tested

[Bug fortran/100607] ICE with SELECT RANK

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #6) > Created attachment 55191 [details] > patch that fixes bug > > The patch, which was previously submitted, still applies and fixes the bug. Sure. Do you

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2023-06-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 Thomas Schwinge changed: What|Removed |Added Keywords||openacc

[Bug fortran/100607] ICE with SELECT RANK

2023-06-01 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 --- Comment #8 from Steve Kargl --- On Thu, Jun 01, 2023 at 07:26:43PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 > > --- Comment #7 from anlauf at gcc dot gnu.org --- > (In reply to kargl

[Bug rtl-optimization/56451] [10/11/12/13/14 regression] Wrong code for gcc.c-torture/execute/941015-1.c on SH

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56451 --- Comment #19 from Andrew Pinski --- Maybe fixed via PR 83496 ?

[Bug target/89188] ICE in pre_and_rev_post_order_compute, at cfganal.c:1055

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89188 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.5 Known to work|

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ff8f45d20f9ea6acc99442ad29212d177f58e8fe commit r14-1477-gff8f45d20f9ea6acc99442ad29212d177f58e8fe Author: Harald Anlauf Date:

[Bug rtl-optimization/40987] ifcvt sometimes goes wrong for integer modes > 64bit

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40987 --- Comment #13 from Andrew Pinski --- Here is a x86_64-linux-gnu testcase: ``` #include typedef __int128_t mytype; #define value (((__int128_t)(((unsigned long long)__LONG_LONG_MAX__)+1)) | (((__int128_t)0xull)<<64)) mytype

[Bug rtl-optimization/58517] ifcvt (after combine) puts ccreg clobbering insn between ccset insn and ccreg use

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58517 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2013-10-05 00:00:00 |2023-6-1 --- Comment #10 from Andrew

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #16 from Andrew Pinski --- So the testcase g++.dg/opt/pr91838.C depends on the out come of the discussion at: https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620378.html Which I think is saying this testcase is undefined really.

[Bug fortran/88552] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1120

2023-06-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/109972] RISC-V: Could use umodsi3/udivsi3/divsi3 libcalls for 32-bit division/remainder on RV64 without M extension

2023-06-01 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109972 palmer at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/109972] RISC-V: Could use umodsi3/udivsi3/divsi3 libcalls for 32-bit division/remainder on RV64 without M extension

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109972 --- Comment #2 from Andrew Pinski --- (In reply to palmer from comment #1) > Thanks. Craig and I had talked about this offline, it looks like a real > improvement to me. We're not super worried about rv32 or code size, maybe > Kito is? I am

[Bug libstdc++/109758] std::abs(__float128) doesn't support NaN

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109758 --- Comment #15 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:099d469df67d8454aa393d036f4791912364bd4d commit r13-7406-g099d469df67d8454aa393d036f4791912364bd4d Author: Jonathan

[Bug libstdc++/109758] std::abs(__float128) doesn't support NaN

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109758 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.0|13.2 --- Comment #16 from Jonathan

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 --- Comment #1 from Andrew Pinski --- Starting in GCC 12, the addition is removed at the gimple level.

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

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

[Bug gcov-profile/110082] New: Coverage analysis vs. offloading compilation

2023-06-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110082 Bug ID: 110082 Summary: Coverage analysis vs. offloading compilation Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: openacc, openmp, wrong-code Severity:

[Bug libstdc++/109947] std::expected monadic operations do not support move-only error types yet

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109947 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |ASSIGNED

[Bug middle-end/29253] expand_abs wrong default code for floating point

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29253 Andrew Pinski changed: What|Removed |Added Attachment #55235|0 |1 is obsolete|

[Bug fortran/109358] Wrong formatting with T-descriptor during stream output

2023-06-01 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Jerry

[Bug target/110083] New: [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-01 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 Bug ID: 110083 Summary: [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/54089] [SH] Refactor shift patterns

2023-06-01 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #53 from Oleg Endo --- (In reply to Segher Boessenkool from comment #52) > > There is TARGET_LEGITIMATE_COMBINED_INSN though, which is a workaround for if > you really do not want the instruction combiner to create particular >

[Bug target/110083] [14 Regression] ICEs for testcase on fp-int-convert*timode after r14-1466-g3635e8c67e1

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110083 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug rtl-optimization/40987] ifcvt sometimes goes wrong for integer modes > 64bit

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40987 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 Andrew Pinski changed: What|Removed |Added Known to fail||6.4.0, 7.4.0, 8.1.0 Known to work|

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-06-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 Peter Bergner changed: What|Removed |Added Assignee|acsawdey at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug target/103498] Spec 2017 imagick_r is 2.62% slower on Power10 with pc-relative addressing compared to not using pc-relative addressing

2023-06-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103498 --- Comment #3 from Peter Bergner --- (In reply to Segher Boessenkool from comment #2) > Mike, do you still see this? Ping again. Is this still an issue?

[Bug rtl-optimization/88403] The gcse and division/mod by 1000 prevents if-conversion

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88403 Andrew Pinski changed: What|Removed |Added Target|mips, aarch64 |mips, aarch64 x86_64

[Bug rtl-optimization/100080] missed optimization for dead code elimination at -O3 (vs. -O2)

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100080 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Confirmed. At -O2 combine manages to drop the call to foo () (indirectly), > at -O3 it does not. There's not much difference on the GIMPLE level For the

[Bug rtl-optimization/102733] missing fs:0 store when followed by one to gs:0

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

[Bug rtl-optimization/102733] missing fs:0 store when followed by one to gs:0

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102733 --- Comment #6 from Andrew Pinski --- Created attachment 55238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55238=edit Patch which I will be testing This adds a check for the address space in DSE. Even tested: ``` void

[Bug target/103498] Spec 2017 imagick_r is 2.62% slower on Power10 with pc-relative addressing compared to not using pc-relative addressing

2023-06-01 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103498 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED

[Bug rtl-optimization/88403] [Mips,AArch64] The gcse and division/mod by 1000 prevents if-conversion

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88403 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-06-02 Severity|normal

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

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

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 66489, which changed state. Bug 66489 Summary: combine fails to merge insns if some are reused later on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66489 What|Removed |Added

[Bug rtl-optimization/66489] combine fails to merge insns if some are reused later on

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66489 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/110084] New: defaulted constexpr operator== causes crash

2023-06-01 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110084 Bug ID: 110084 Summary: defaulted constexpr operator== causes crash Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/109358] Wrong formatting with T-descriptor during stream output

2023-06-01 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358 --- Comment #7 from Steve Kargl --- On Fri, Jun 02, 2023 at 01:51:02AM +, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358 > > Jerry DeLisle changed: > >What|Removed

[Bug c++/110084] [12/13/14 Regression] defaulted constexpr operator== causes crash

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

[Bug rtl-optimization/101076] RTL Combine pass won't generate sign_extnd RTX in some senario

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101076 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug rtl-optimization/18446] We need to distinguish value extension and value truncation

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18446 --- Comment #3 from Andrew Pinski --- The gimple (tree) Level should be all well defined as we use abstract machine to define it and there are no zero or sign extend dealing with upper bits that are not part of the original program. For the RTL

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-06-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #8 from Peter Bergner --- Can this be marked as FIXED or is there more to do?

[Bug ipa/110057] Missed devirtualization opportunities

2023-06-01 Thread yongxiangng at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #6 from Ng YongXiang --- That is interesting. Thanks for the reply. However, I'd argue that the 2 bugs mentioned are different from what I am proposing. The 2 bugs linked access virtual functions via ptr (delete p; val->f();) and

[Bug rtl-optimization/110071] New: improve_allocation() routine should consider save/restore cost of callee-save registers

2023-06-01 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110071 Bug ID: 110071 Summary: improve_allocation() routine should consider save/restore cost of callee-save registers Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/78798] [cleanup] some int-valued functions should be bool

2023-06-01 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798 --- Comment #14 from Bernhard Reutner-Fischer --- Not yet fixed completely, Mikael correctly noted: > Why not change the associated subfunctions > (gfc_check_argument_dependency, gfc_check_argument_var_dependency) as well ?

[Bug target/105617] [12/13/14 Regression] Slp is maybe too aggressive in some/many cases

2023-06-01 Thread slash.tmp at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105617 --- Comment #18 from Mason --- Hello Michael_S, As far as I can see, massaging the source helps GCC generate optimal code (in terms of instruction count, not convinced about scheduling). #include typedef unsigned long long u64; void

[Bug target/54089] [SH] Refactor shift patterns

2023-06-01 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 Alexander Klepikov changed: What|Removed |Added CC||klepikov.alex+bugs at gmail dot co

[Bug c++/110070] New: Code quality regression with for (int i: {1,2,4,6})

2023-06-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110070 Bug ID: 110070 Summary: Code quality regression with for (int i: {1,2,4,6}) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/54089] [SH] Refactor shift patterns

2023-06-01 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #49 from Oleg Endo --- (In reply to Alexander Klepikov from comment #48) > Let's continue discussion we started here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263 > > I've found that my patch catches integer division. In

[Bug tree-optimization/110060] Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 --- Comment #7 from Jonathan Wakely --- The library change also caused: FAIL: g++.dg/pr104547.C -std=gnu++17 scan-tree-dump-not vrp2 "_M_default_append" So I'm definitely changing std::vector again. I don't know if this is worth keeping open

[Bug gcov-profile/110072] __gcov_dump cannot generate gcda for so files opened with dlopen when gcc version is later than 5.1.0

2023-06-01 Thread rc452860 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110072 --- Comment #1 from 若尘 --- The attachment modify from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 To reproduce the issue, need to replace the gcc command in run.sh.

[Bug libstdc++/110050] experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f

2023-06-01 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 --- Comment #5 from Matthias Kretz (Vir) --- The issue was an incorrect condition for SIMD support, which wanted to say only single-precision float SIMD is available. It did that by excluding double, failing to also exclude long double.

[Bug ipa/110057] Missed devirtualization opportunities

2023-06-01 Thread yongxiangng at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #3 from Ng YongXiang --- I'm giving the example of an array for now, because gcc treatment of the destructor is inconsistent and depends on the length of the array. Clang on the other hand is able to devirtualize the destructor in

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16 on Intel Raptor Lake

2023-06-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 --- Comment #15 from Martin Jambor --- Oh, because I missed the -DOPACITY in the second command line. The reason for SRAs creating the repalcement is total scalarization :-/

[Bug ipa/110057] Missed devirtualization opportunities

2023-06-01 Thread yongxiangng at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #4 from Ng YongXiang --- Would anyone be able to direct me to which portion of the code is responsible for this threshold between len 2 & 3 array? Is this the responsibility of the c++ frontend? or is it still related to the

[Bug tree-optimization/110067] [14 Regression] Wrong code on pixman-0.42.2

2023-06-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110067 --- Comment #6 from Sergei Trofimovich --- Adding configure flags for completeness (nothing special): > Configured with: configure flags: --prefix=/<>/gcc-14.0.0 --with-gmp-include=/<>/gmp-6.2.1-dev/include --with-gmp-lib=/<>/gmp-6.2.1/lib

[Bug sanitizer/110074] New: code bloat with -fprofile-args + -fsanitize=bounds

2023-06-01 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110074 Bug ID: 110074 Summary: code bloat with -fprofile-args + -fsanitize=bounds Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

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

[Bug fortran/102190] Syntax error reported in associate construct

2023-06-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102190 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug c/110072] New: __gcov_dump cannot generate gcda for so files opened with dlopen when gcc version is later than 5.1.0

2023-06-01 Thread rc452860 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110072 Bug ID: 110072 Summary: __gcov_dump cannot generate gcda for so files opened with dlopen when gcc version is later than 5.1.0 Product: gcc Version: 4.8.5 Status:

[Bug fortran/102112] Cannot associate with component of associate target

2023-06-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102112 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-06-01 Ever confirmed|0

[Bug fortran/102109] Associate to construct compound object results in incorrect type inferred

2023-06-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102109 Paul Thomas changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-06-01 Thread herrtimson at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #23 from tt_1 --- Are there any plans to backport this fix to the gcc-11 branch as well? Seems it is affected, if you go by the known to fail list.

[Bug tree-optimization/110062] missed vectorization in graphicsmagick

2023-06-01 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 --- Comment #1 from Hongtao.liu --- One of the vectorizer issues is related to PR110018.

[Bug libstdc++/110060] [14 Regression] Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 Jonathan Wakely changed: What|Removed |Added Known to work||13.1.1

[Bug c++/110070] Code quality regression with for (int i: {1,2,4,6})

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110070 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug libstdc++/110050] experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 --- Comment #4 from CVS Commits --- The master branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:2fbbaa77c8468ed2bdf2cfa1a5890991e4e98eef commit r14-1463-g2fbbaa77c8468ed2bdf2cfa1a5890991e4e98eef Author: Matthias Kretz Date:

[Bug libstdc++/22200] numeric_limits::is_modulo is inconsistent with gcc

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22200 Jonathan Wakely changed: What|Removed |Added Status|NEW |WAITING --- Comment #44 from Jonathan

[Bug other/44574] Avoid use of atoi

2023-06-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574 --- Comment #4 from Jonathan Wakely --- Now that we have C++11 we could use std::stoi, std::stol, std::stoul etc. ... except that they throw exceptions to report out of range values :-( std::from_chars isn't available until C++17.

[Bug debug/110073] New: [14 regression] btfout.cc format errors break bootstrap

2023-06-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 Bug ID: 110073 Summary: [14 regression] btfout.cc format errors break bootstrap Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: build

[Bug debug/110073] [14 regression] btfout.cc format errors break bootstrap

2023-06-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110073 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/109954] x86-64's -m32 does not conform to documentation

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109954 --- Comment #12 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3b95319b621d95055da182c5fbbccd0d82cb919e commit r13-7398-g3b95319b621d95055da182c5fbbccd0d82cb919e Author: Jonathan

[Bug target/109954] x86-64's -m32 does not conform to documentation

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109954 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4466c5ba6e2f1759a2ce461f15fc4e018872a22e commit r12-9672-g4466c5ba6e2f1759a2ce461f15fc4e018872a22e Author: Jonathan

[Bug target/109954] x86-64's -m32 does not conform to documentation

2023-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109954 --- Comment #15 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bdd038cc1782b550b434a806ce995fc79f5d1f6b commit r10-11432-gbdd038cc1782b550b434a806ce995fc79f5d1f6b Author: Jonathan

  1   2   >