[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Statu

[Bug rtl-optimization/105715] [13/14 Regression] missed RTL if-conversion with COND_EXPR change

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105715 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/110587] [14 regression] 96% pr28071.c compile time regression since r14-2337-g37a231cc7594d1

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110587 --- Comment #12 from Richard Biener --- This code block has a rich history with many fixes for many issues :/ (I thought of just scrapping it ...), still regno_in_use_p is badly engineered in this context. Of course we're quite unlucky that th

[Bug lto/110710] LTO linker on Windows creates an invalid Makefile

2023-07-18 Thread cz.finn.cz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110710 --- Comment #5 from Jan Nárovec --- We are using GNU/make (which is a superset of POSIX make, I don't know, whether it makes some difference) with SHELL=cmd.exe. If GCC intends to support only POSIX shells, it is OK for us (we will condsider usi

[Bug libgomp/110663] [OpenMP] Use 'affinity' clause for node placement for the 'task' construct

2023-07-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110663 Tobias Burnus changed: What|Removed |Added Attachment #55541|0 |1 is obsolete|

[Bug c/101090] incorrect -Wunused-value warning on remquo with constant values

2023-07-18 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 --- Comment #2 from Vincent Lefèvre --- On Debian, I get a warning from GCC 9 to GCC 12 (Debian 12.3.0-6), but neither with GCC 13 (Debian 13.1.0-8) nor with 14.0.0 20230612 (Debian 20230613-1). So, has this bug been fixed (and where)?

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result since r9-1295-g781ff3d80e88d7d0

2023-07-18 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Com

[Bug c/101090] incorrect -Wunused-value warning on remquo with constant values

2023-07-18 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 --- Comment #3 from Vincent Lefèvre --- (In reply to Vincent Lefèvre from comment #2) > So, has this bug been fixed (and where)? This seems to be a particular case of PR106264, which was fixed in commit r13-1741-g40f6e5912288256ee8ac41474f2dce7

[Bug middle-end/110711] New: possible missed optimization for std::max with -march=znver2

2023-07-18 Thread mrks2023 at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110711 Bug ID: 110711 Summary: possible missed optimization for std::max with -march=znver2 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

gcc-bugs@gcc.gnu.org

2023-07-18 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110586 Jan Hubicka changed: What|Removed |Added Summary|[14 Regression] 10% |[14 Regression] 10% |fa

[Bug target/110170] Sub-optimal conditional jumps in conditional-swap with floating point

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110170 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/110170] Sub-optimal conditional jumps in conditional-swap with floating point

2023-07-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110170 --- Comment #17 from Hongtao.liu --- (In reply to Richard Biener from comment #16) > This is fixed now. The original issue is for sse2, my patch only fixed misoptimization for sse4.1.

[Bug d/110712] New: d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr')

2023-07-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110712 Bug ID: 110712 Summary: d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr') Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/110711] possible missed optimization for std::max with -march=znver2

2023-07-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110711 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug middle-end/110711] possible missed optimization for std::max with -march=znver2

2023-07-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110711 --- Comment #2 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > You need to use -ffast-math, w/o it, operands order matters for floating > point max/min, they're not commutative. Sorry, too fast to reply, ignore this comment.

[Bug target/106952] Missed optimization: x < y ? x : y not lowered to minss

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106952 --- Comment #4 from Richard Biener --- With the proposed patches for PR88540 and PR105715 I get with -O3 -msse4.1 intersection: .LFB2: .cfi_startproc movss .LC0(%rip), %xmm5 pxor%xmm2, %xmm2 movss (%rdi),

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-07-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.or

[Bug libstdc++/110574] --enable-cstdio=stdio_pure is incompatible with LFS

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110574 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5342e3cc446d9ba0017c167aa3ff9d3c08c11f0f commit r13-7578-g5342e3cc446d9ba0017c167aa3ff9d3c08c11f0f Author: Jonathan Wake

[Bug libstdc++/110542] use of allocated storage after deallocation in a constant expression: std::array of std::vector

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110542 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a32d4a34da72087c9f9bdfe3f987b808be814cd7 commit r13-7580-ga32d4a34da72087c9f9bdfe3f987b808be814cd7 Author: Jonathan Wake

[Bug middle-end/110713] New: Fatigue2 runs twice as fast with increased inlining limits

2023-07-18 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110713 Bug ID: 110713 Summary: Fatigue2 runs twice as fast with increased inlining limits Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/102989] Implement C2x's n2763 (_BitInt)

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

[Bug tree-optimization/61747] min,max pattern not always properly optimized (for sse4 targets)

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

[Bug libstdc++/110708] std::format("{:%EEC %OOd}", std::chrono::system_clock::now()) should be rejected

2023-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110708 --- Comment #1 from Jonathan Wakely --- And similarly for %OEy and %EOy

[Bug c++/110714] New: constexpr lifetime error: base class this pointer

2023-07-18 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110714 Bug ID: 110714 Summary: constexpr lifetime error: base class this pointer Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug ipa/110705] [11/12 Regression] ICE at -O2 and above: in gimplify_modify_expr, at gimplify.cc:6255 (on GCC-12.x)

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110705 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-07-18 Ever confirmed|0

[Bug ipa/110705] [11/12 Regression] ICE at -O2 and above: in gimplify_modify_expr, at gimplify.cc:6255 (on GCC-12.x)

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110705 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug d/110712] d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr')

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110712 --- Comment #1 from Richard Biener --- this_2(D)->ap = VIEW_CONVERT_EXPR(ap_3(D)); it looks odd since ap_3(D) is a is_gimple_reg but a struct[1] definitely would not. Maybe you are missing a dereference here? In C struct[1] would decay to a p

[Bug middle-end/110711] possible missed optimization for std::max with -march=znver2

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110711 Richard Biener changed: What|Removed |Added Keywords||missed-optimization, openmp --- Commen

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-07-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assign

[Bug middle-end/110711] possible missed optimization for std::max with -march=znver2

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110711 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-18 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #5 from gnzlbg --- The patch for this bug in libc++ has been reviewed: https://reviews.llvm.org/D154305 I've submitted a patch for the same issue to libstdc++: https://gcc.gnu.org/pipermail/libstdc++/2023-July/056266.html

[Bug c/106264] [10/11/12/13 Regression] spurious -Wunused-value on a folded frexp, modf, and remquo calls with unused result since r9-1295-g781ff3d80e88d7d0

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106264 --- Comment #9 from Roger Sayle --- *** Bug 101090 has been marked as a duplicate of this bug. ***

[Bug c/101090] incorrect -Wunused-value warning on remquo with constant values

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 Roger Sayle changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 101090, which changed state. Bug 101090 Summary: incorrect -Wunused-value warning on remquo with constant values https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101090 What|Removed |Added

[Bug c++/110714] constexpr lifetime error: base class this pointer

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110714 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/110715] New: Static thread_local unique_ptrs must be defined in the same order as they were declared when using -ftest-coverage else get error 'function starts on a higher line number than it

2023-07-18 Thread obi.phil+gcc at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110715 Bug ID: 110715 Summary: Static thread_local unique_ptrs must be defined in the same order as they were declared when using -ftest-coverage else get error 'function starts on a

[Bug c++/110714] constexpr lifetime error: base class this pointer

2023-07-18 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110714 --- Comment #2 from Paul Keir --- I know. `delete pf` also works. The issue seems to be with the use of the this pointer within the member function. This is just the MRE - I've come across this issue twice now in our code base.

[Bug bootstrap/110716] New: failed to build cross gcc 10.5 with host gcc 4.6.3

2023-07-18 Thread anmin_deng at yahoo dot com.tw via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110716 Bug ID: 110716 Summary: failed to build cross gcc 10.5 with host gcc 4.6.3 Product: gcc Version: 10.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug bootstrap/110716] failed to build cross gcc 10.5 with host gcc 4.6.3

2023-07-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110716 --- Comment #1 from Xi Ruoyao --- GCC 10 branch has been closed so this is unlikely to be fixed.

[Bug bootstrap/110716] failed to build cross gcc 10.5 with host gcc 4.6.3

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110716 --- Comment #2 from Andrew Pinski --- Some c++11ism slipped into the last gcc 10 release it seems. Since gcc 10.5 is the last release of the gcc 10 series, there is not much to be done there. Now I can't remember if gcc 11 requires c++11 compil

[Bug c++/110714] constexpr lifetime error: base class this pointer

2023-07-18 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110714 --- Comment #3 from Paul Keir --- Actually, there's no need here to delete through the base pointer; so this is perhaps simpler: struct Base { constexpr Base* get_this() { return this; } int x; }; struct Derived : public Base {}; constexp

[Bug bootstrap/110716] failed to build cross gcc 10.5 with host gcc 4.6.3

2023-07-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110716 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #3 fr

[Bug c++/110535] Internal error when performing a surrogate call with unsatisfied constraints

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110535 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1e0f37df1b12cd91a6dbb523f5c722f9a961edaa commit r14-2618-g1e0f37df1b12cd91a6dbb523f5c722f9a961edaa Author: Patrick Palka Date: T

[Bug bootstrap/110716] failed to build cross gcc 10.5 with host gcc 4.6.3

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

[Bug c++/110535] Internal error when performing a surrogate call with unsatisfied constraints

2023-07-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110535 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #6 from wangwen at microsoft dot com --- would anyone guide me any place to ask such question?

[Bug rtl-optimization/105715] [13/14 Regression] missed RTL if-conversion with COND_EXPR change

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105715 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cbe5f6859a73b2acf203bd7d13f9fb245d63cbd4 commit r14-2620-gcbe5f6859a73b2acf203bd7d13f9fb245d63cbd4 Author: Richard Biener Date:

[Bug rtl-optimization/105715] [13 Regression] missed RTL if-conversion with COND_EXPR change

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105715 Richard Biener changed: What|Removed |Added Summary|[13/14 Regression] missed |[13 Regression] missed RTL

[Bug target/110170] Sub-optimal conditional jumps in conditional-swap with floating point

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110170 Richard Biener changed: What|Removed |Added Target Milestone|14.0|--- Resolution|FIXED

[Bug c++/109241] [12/13/14 Regression] ICE Segmentation fault for statement expression with a local type inside inside a generic lambda inside a generic lambda since r13-6722-gb323f52ccf966800

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

[Bug libgcc/109712] [13 Regression] Segmentation fault in linear_search_fdes

2023-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #34 from Richard Biener --- You have until Thursday for the backport which is when we want to do 13.2 RC1

[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #7 from Xi Ruoyao --- (In reply to wangwen from comment #6) > would anyone guide me any place to ask such question? You are building the .o files with -fpie, but have you linked the executable with -pie? Note that -fpie and -pie ar

[Bug middle-end/110702] [12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu (regression since GCC-12.2)

2023-07-18 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110702 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug bootstrap/110716] failed to build cross gcc 10.5 with host gcc 4.6.3

2023-07-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110716 --- Comment #5 from Xi Ruoyao --- Should we change invoke.texi? diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index e099cd0b568..dd4f74fbd78 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -231,7 +231,7 @@ Necessary t

[Bug libgcc/109712] [13 Regression] Segmentation fault in linear_search_fdes

2023-07-18 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #35 from Florian Weimer --- Backport posted, along with the warning fix: [PATCH releases/gcc-13 1/2] libgcc: Fix eh_frame fast path in find_fde_tail [PATCH releases/

[Bug rtl-optimization/71923] return instruction emitted twice with branch target inbetween

2023-07-18 Thread javier.martinez.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71923 Javier Martinez changed: What|Removed |Added CC||javier.martinez.bugzilla@gm

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

2023-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 Bug ID: 110717 Summary: Double-word sign-extension missed-optimization Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: r

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

2023-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org Tar

[Bug target/110709] how to handle the initialization of global struct data for position independent executable application.

2023-07-18 Thread wangwen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110709 --- Comment #8 from wangwen at microsoft dot com --- I posted it in the wrong place, please just delete it. thank you.

[Bug fortran/110718] New: [OpenMP] Wrong value for 'lastprivate' for zero-trip loops

2023-07-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110718 Bug ID: 110718 Summary: [OpenMP] Wrong value for 'lastprivate' for zero-trip loops Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: openmp, wrong-code

[Bug libstdc++/110719] New: Should chrono formatters always use std::time_put for locale's representation?

2023-07-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110719 Bug ID: 110719 Summary: Should chrono formatters always use std::time_put for locale's representation? Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severit

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)

2023-07-18 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 --- Comment #14 from Jan Hubicka --- Chasing profile update bugs out of the hottest two functions did not solve the regression. Moreover the weekly testers confirm it was not noise on zens either. Before the change we get: 34.58% sphinx_liv

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

2023-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 --- Comment #2 from Jakub Jelinek --- Improved testcase which shows similar behavior also with bitfields: #ifdef __SIZEOF_INT128__ #define type __int128 #define N 59 #else #define type long long #define N 27 #endif struct S { type a : sizeof (

[Bug fortran/110720] New: Internal compiler error (segmentation fault) in gfc_expression_rank

2023-07-18 Thread adrien.morison at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110720 Bug ID: 110720 Summary: Internal compiler error (segmentation fault) in gfc_expression_rank Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal

[Bug libgcc/110179] unwind-dw2-fde-dip.c:406: assignment makes integer from pointer without a cast

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110179 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Florian Weimer : https://gcc.gnu.org/g:6f9dfb4d759146eebf7f88ad519010ea2191bf3a commit r13-7583-g6f9dfb4d759146eebf7f88ad519010ea2191bf3a Author: Florian Weime

[Bug libgcc/109712] [13 Regression] Segmentation fault in linear_search_fdes

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 --- Comment #36 from CVS Commits --- The releases/gcc-13 branch has been updated by Florian Weimer : https://gcc.gnu.org/g:7302f8a2fa2f95252b32de2dc826591e75230662 commit r13-7582-g7302f8a2fa2f95252b32de2dc826591e75230662 Author: Florian Weim

[Bug c/110721] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 Bug ID: 110721 Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severi

[Bug c/110721] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55571&action=edit The compiler output

[Bug libgcc/109712] [13 Regression] Segmentation fault in linear_search_fdes

2023-07-18 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712 Florian Weimer changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/110561] gcov counts closing bracket in a function as executable, lowering coverage statistics

2023-07-18 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110561 --- Comment #5 from Carlos Galvez --- @Andrew Pinski ping in case you missed my last message. If this were a duplicate but, wouldn't it also happen in GCC 7.5.0?

[Bug target/110722] New: FP is Saved/Restored around inline assembly

2023-07-18 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110722 Bug ID: 110722 Summary: FP is Saved/Restored around inline assembly Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug fortran/110720] [13 Regression] Internal compiler error (segmentation fault) in gfc_expression_rank

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110720 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org,

[Bug rtl-optimization/110701] [14 Regression] Wrong code at -O1/2/3/s on x86_64-linux-gnu

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110701 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug c/102989] Implement C2x's n2763 (_BitInt)

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

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen since g:r14-2369-g3a61ca1b925653 (2023-07-06)

2023-07-18 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 Jan Hubicka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/110721] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721 --- Comment #2 from Andrew Pinski --- It seems to work on the trunk ...

[Bug fortran/110723] New: ICE with allocatable character lhs and parenthesized array with vector subscript

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110723 Bug ID: 110723 Summary: ICE with allocatable character lhs and parenthesized array with vector subscript Product: gcc Version: unknown Status: UNCONFIRMED Seve

[Bug fortran/110723] ICE with allocatable character lhs and parenthesized array with vector subscript

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110723 --- Comment #1 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #0) > Not sure if this is the right place. Actually, the following still fails: n = (m([2])//"") ! ICE :-( Generally stripping parentheses generates a fai

[Bug rtl-optimization/110724] New: Unnecessary alignment on branch to unconditional branch targets

2023-07-18 Thread javier.martinez.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110724 Bug ID: 110724 Summary: Unnecessary alignment on branch to unconditional branch targets Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/110701] [14 Regression] Wrong code at -O1/2/3/s on x86_64-linux-gnu

2023-07-18 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110701 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug fortran/110725] New: internal compiler error: in expand_expr_real_1, at expr.cc:10897

2023-07-18 Thread tonycurtis32 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110725 Bug ID: 110725 Summary: internal compiler error: in expand_expr_real_1, at expr.cc:10897 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:fca089e8a47314a40ad93527ba9f9d0d374b3afb commit r14-2626-gfca089e8a47314a40ad93527ba9f9d0d374b3afb Author: Marek Polacek Date: Tu

[Bug c++/110338] Implement C++26 language features

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 110340, which changed state. Bug 110340 Summary: [C++26] P2621R2 - Remove undefined behavior from lexing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 What|Removed |Added ---

[Bug middle-end/110724] Unnecessary alignment on branch to unconditional branch targets

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110724 --- Comment #1 from Andrew Pinski --- I think this is by design. Adding -fno-align-jumps makes the alignment go away.

[Bug middle-end/110724] Unnecessary alignment on branch to unconditional branch targets

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110724 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/110725] [13/14 Regression] internal compiler error: in expand_expr_real_1, at expr.cc:10897

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110725 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/110197] [13/14 Regression] Empty constexpr object constructor erronously claims out of range access

2023-07-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110197 --- Comment #2 from Marek Polacek --- // PR c++/110197 namespace std { constexpr bool __is_constant_evaluated() { return __builtin_is_constant_evaluated(); } template using enable_if_t = _Tp; template struct __array_traits { typedef _Tp _

[Bug fortran/95947] PACK intrinsic returns blank strings when an allocatable character array with allocatable length is used

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95947 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ccf94ab2abb6969c04d51c7879f07edfbb97ae55 commit r13-7584-gccf94ab2abb6969c04d51c7879f07edfbb97ae55 Author: Harald Anlauf D

[Bug fortran/110658] MINVAL/MAXVAL and deferred-length character arrays

2023-07-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110658 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ccf94ab2abb6969c04d51c7879f07edfbb97ae55 commit r13-7584-gccf94ab2abb6969c04d51c7879f07edfbb97ae55 Author: Harald Anlauf

[Bug fortran/95947] PACK intrinsic returns blank strings when an allocatable character array with allocatable length is used

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95947 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-07-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #26 from anlauf at gcc dot gnu.org --- (In reply to David Edelsohn from comment #25) > The problem on big endian systems is that GFortran is passing the character > with the wrong padding. [...] > GFortran is not taking account of end

[Bug fortran/110725] [13/14 Regression,openmp] internal compiler error: in expand_expr_real_1, at expr.cc:10897

2023-07-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110725 kargl at gcc dot gnu.org changed: What|Removed |Added Summary|[13/14 Regression] internal |[13/14 Regression,openmp]

[Bug middle-end/110724] Unnecessary alignment on branch to unconditional branch targets

2023-07-18 Thread javier.martinez.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110724 --- Comment #3 from Javier Martinez --- The generic tuning of 16:11:8 looks reasonable to me, I do not argue against it. 

From Anger Fog’s Optimizing subroutines in assembly language: 
> Most microprocessors fetch code in aligned 16-byte or 3

[Bug middle-end/110726] New: [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 Bug ID: 110726 Summary: [14 Regression] wrong code on llvm-16 around 'a |= a == 0' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/110727] New: gcc.target/aarch64/sve/aarch64-sve.exp has two new failures since commit 061f74c0673

2023-07-18 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110727 Bug ID: 110727 Summary: gcc.target/aarch64/sve/aarch64-sve.exp has two new failures since commit 061f74c0673 Product: gcc Version: 14.0 Status: UNCONFIRMED Sev

[Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 --- Comment #1 from Andrew Pinski --- I think this will be fixed with -momit-leaf-frame-pointer patch at : https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624752.html

[Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 --- Comment #2 from Andrew Pinski --- Whoops wrong bug report.

[Bug target/110722] FP is Saved/Restored around inline assembly

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110722 --- Comment #1 from Andrew Pinski --- I think this will be fixed with -momit-leaf-frame-pointer patch at : https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624752.html

[Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

  1   2   >