[Bug fortran/99350] [10/11/12/13/14 Regression] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1869

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

[Bug modula2/110126] Variables are reported as unused when only referenced by ASM statements

2023-06-06 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110126 --- Comment #2 from Thorsten Otto --- But even if i rewrite it like that, i still get the warning. I avoided doing anything machine specific in the first example, but if i actually do, and use something like: PROCEDURE test; BEGIN ASM("movl

[Bug target/97784] Expressions evaluated as long chain instead of as tree or the like

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

[Bug rtl-optimization/68274] __builtin_unreachable pessimizes code

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

[Bug middle-end/110117] [14 Regression] ICE on valid code at -O1 with "-ftree-vrp -fno-tree-ccp -fno-tree-forwprop": in as_a, at machmode.h:381

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

[Bug middle-end/110117] [14 Regression] ICE on valid code at -O1 with "-ftree-vrp -fno-tree-ccp -fno-tree-forwprop": in as_a, at machmode.h:381

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110117 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:3f085e45755643f13d4fa45a12a6ade45be98f95 commit r14-1601-g3f085e45755643f13d4fa45a12a6ade45be98f95 Author: Andrew Pinski Date:

[Bug middle-end/110117] [14 Regression] ICE on valid code at -O1 with "-ftree-vrp -fno-tree-ccp -fno-tree-forwprop": in as_a, at machmode.h:381

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110117 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e60593f3881c72a96a3fa4844d73e8a2cd14f670 commit r14-1600-ge60593f3881c72a96a3fa4844d73e8a2cd14f670 Author: Andrew Pinski Date:

[Bug tree-optimization/14753] [tree-ssa] some missed forward propagation opportunities

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14753 Bug 14753 depends on bug 110134, which changed state. Bug 110134 Summary: [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110134

[Bug tree-optimization/110134] [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level

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

[Bug tree-optimization/110134] [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110134 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:cc155ff9c38848a8e6a7125dd0b66ac0aef47880 commit r14-1599-gcc155ff9c38848a8e6a7125dd0b66ac0aef47880 Author: Andrew Pinski Date:

[Bug tree-optimization/110151] New: warning: 'strncpy' output truncated copying 10 bytes from a string of length 26 [-Wstringop-truncation]

2023-06-06 Thread yinyuefengyi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110151 Bug ID: 110151 Summary: warning: 'strncpy' output truncated copying 10 bytes from a string of length 26 [-Wstringop-truncation] Product: gcc Version: 14.0 Status:

[Bug tree-optimization/105903] Missed optimization for __synth3way

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

[Bug tree-optimization/105903] Missed optimization for __synth3way

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 Bug 105903 depends on bug 89263, which changed state. Bug 89263 Summary: Simplify bool expression to OR https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 What|Removed |Added

[Bug tree-optimization/94898] Failure to optimize compare plus sub of same operands into compare

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 Bug 94898 depends on bug 89263, which changed state. Bug 89263 Summary: Simplify bool expression to OR https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 What|Removed |Added

[Bug tree-optimization/20083] Missed optimization with conditional and basically ||

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20083 Bug 20083 depends on bug 89263, which changed state. Bug 89263 Summary: Simplify bool expression to OR https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 What|Removed |Added

[Bug tree-optimization/89263] Simplify bool expression to OR

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

[Bug tree-optimization/20083] Missed optimization with conditional and basically ||

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

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 94898, which changed state. Bug 94898 Summary: Failure to optimize compare plus sub of same operands into compare https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 What|Removed |Added

[Bug tree-optimization/94898] Failure to optimize compare plus sub of same operands into compare

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

[Bug tree-optimization/94898] Failure to optimize compare plus sub of same operands into compare

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64d90d06d2db43538c8a45adbb3d74842f7868ae commit r14-1597-g64d90d06d2db43538c8a45adbb3d74842f7868ae Author: Andrew Pinski Date:

[Bug tree-optimization/20083] Missed optimization with conditional and basically ||

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20083 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64d90d06d2db43538c8a45adbb3d74842f7868ae commit r14-1597-g64d90d06d2db43538c8a45adbb3d74842f7868ae Author: Andrew Pinski Date:

[Bug tree-optimization/109957] Missing loop PHI optimization

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109957 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64d90d06d2db43538c8a45adbb3d74842f7868ae commit r14-1597-g64d90d06d2db43538c8a45adbb3d74842f7868ae Author: Andrew Pinski Date:

[Bug tree-optimization/99069] Failure to optimize bool selection pattern

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99069 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64d90d06d2db43538c8a45adbb3d74842f7868ae commit r14-1597-g64d90d06d2db43538c8a45adbb3d74842f7868ae Author: Andrew Pinski Date:

[Bug tree-optimization/89263] Simplify bool expression to OR

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263 --- Comment #11 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:64d90d06d2db43538c8a45adbb3d74842f7868ae commit r14-1597-g64d90d06d2db43538c8a45adbb3d74842f7868ae Author: Andrew Pinski Date:

[Bug c++/98105] constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98105 --- Comment #3 from Andrew Pinski --- Reduced: ``` void f(const int&); namespace { struct myFactory { static constexpr int s_sList = 1; }; } //constexpr int myFactory::s_sList; void sdi_register_model() { f(myFactory::s_sList); }

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

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

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2023-06-06 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 --- Comment #14 from cuilili --- This regression has been fixed with the commit below and we can close this ticket. https://gcc.gnu.org/g:1b9a5cc9ec08e9f239dd2096edcc447b7a72f64a

[Bug target/58208] deque 32-bit "-O3" bug

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58208 --- Comment #16 from Andrew Pinski --- (In reply to Andrew Pinski from comment #15) > This was a glibc issue. > > Fixed by glibc commit 5e49c52efdb37eb0aa315156f39056f25ff9ddaa ( > https://sourceware.org/git/?p=glibc.git;a=commit; >

[Bug target/58208] deque 32-bit "-O3" bug

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

[Bug target/58208] deque 32-bit "-O3" bug

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58208 --- Comment #14 from Andrew Pinski --- movdqa %xmm1, 16(%esp) movdqa %xmm0, 32(%esp) Maybe stack alignment for deconstructors.

[Bug tree-optimization/110038] [14 Regression] ICE: in rewrite_expr_tree_parallel, at tree-ssa-reassoc.cc:5522 with --param=tree-reassoc-width=2147483647

2023-06-06 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110038 --- Comment #5 from cuilili --- (In reply to Martin Jambor from comment #4) > So is this now fixed? Yes, the attachment case has been fixed.

[Bug target/84377] gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so

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

[Bug target/81763] Issues with BMI on 32bit x86 apps on GCC 7.1+

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 Andrew Pinski changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment

[Bug target/84377] gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84377 --- Comment #5 from Andrew Pinski --- The gimple level is the same: ``` _5 = 281474976710655 >> j0_20; _6 = ~_5; _7 = (long long unsigned int) _6; _8 = _7 & _35; qw_u.parts64.msw = _8; qw_u.parts64.lsw = 0; ``` The place where it

[Bug c++/51571] No named return value optimization while adding a dummy scope

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Jason Merrill changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #10 from Jason Merrill

[Bug c++/92407] Destruction of objects returned from functions skipped by goto

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92407 --- Comment #9 from Jason Merrill --- Fixed for GCC 14 so far.

[Bug c++/92407] Destruction of objects returned from functions skipped by goto

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92407 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7e0b65b239c3a0d68ce94896b236b03de666ffd6 commit r14-1593-g7e0b65b239c3a0d68ce94896b236b03de666ffd6 Author: Jason Merrill Date:

[Bug c++/51571] No named return value optimization while adding a dummy scope

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7e0b65b239c3a0d68ce94896b236b03de666ffd6 commit r14-1593-g7e0b65b239c3a0d68ce94896b236b03de666ffd6 Author: Jason Merrill Date:

[Bug c++/92407] Destruction of objects returned from functions skipped by goto

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92407 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b192e2007e1c98b548f4aa878523b485968d24a4 commit r14-1592-gb192e2007e1c98b548f4aa878523b485968d24a4 Author: Jason Merrill Date:

[Bug c++/58487] Missed return value optimization

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58487 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2ae5384d457b9c67586de012816dfc71a6943164 commit r14-1594-g2ae5384d457b9c67586de012816dfc71a6943164 Author: Jason Merrill Date:

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #22 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:08cea4e56a094ff9cc7c65fdc9ce8c4d7aff64be commit r14-1591-g08cea4e56a094ff9cc7c65fdc9ce8c4d7aff64be Author: Jason Merrill Date:

[Bug c++/58050] No return value optimization when calling static function through unnamed temporary

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58050 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4fe84e2a4c0b600d2bc01f171b3b9dd1f4357208 commit r14-1589-g4fe84e2a4c0b600d2bc01f171b3b9dd1f4357208 Author: Jason Merrill Date:

[Bug target/84377] gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84377 --- Comment #4 from Andrew Pinski --- GCC 7.3.0: ``` .loc 1 42 0 discriminator 2 movl$65535, %edi movl$-1, %esi movl$0, 48(%esp) shrdl %edi, %esi testb $32, %cl sarx

[Bug target/84377] gcc-7.3.0 miscompiles truncf128@@GLIBC_2.26 in libm.so

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

[Bug tree-optimization/14753] [tree-ssa] some missed forward propagation opportunities

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14753 Andrew Pinski changed: What|Removed |Added Depends on||85234, 110134 --- Comment #13 from

[Bug tree-optimization/94898] Failure to optimize compare plus sub of same operands into compare

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94898 --- Comment #5 from Andrew Pinski --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620829.html

[Bug tree-optimization/20083] Missed optimization with conditional and basically ||

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20083 --- Comment #7 from Andrew Pinski --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620829.html

[Bug tree-optimization/89263] Simplify bool expression to OR

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

[Bug modula2/110019] Reported line numbers ar off-by-1 when preprocessing source files

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

[Bug modula2/110019] Reported line numbers ar off-by-1 when preprocessing source files

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110019 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:29c82c6ca929e0f5eccfe038dea71177d814c6b7 commit r14-1588-g29c82c6ca929e0f5eccfe038dea71177d814c6b7 Author: Gaius Mulley Date:

[Bug modula2/110019] Reported line numbers ar off-by-1 when preprocessing source files

2023-06-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110019 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #2

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

2023-06-06 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #67 from Oleg Endo --- (In reply to Alexander Klepikov from comment #66) > (In reply to Alexander Klepikov from comment #65) > > > I'm thinking of something else. > > > > During kernel compile I got few internal errors in different

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

2023-06-06 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 Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/110149] std::format for pointer arguments allows a '0' option

2023-06-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 --- Comment #3 from Jonathan Wakely --- It looks like I forgot to actually format using 'P' though, I only parsed it from the format string. This would fix that, and disable the P2519 changes for -std=c++20 and -std=c++23: ---

[Bug libstdc++/110149] std::format for pointer arguments allows a '0' option

2023-06-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 --- Comment #2 from Jonathan Wakely --- GCC's formatter specialization has: // _GLIBCXX_RESOLVE_LIB_DEFECTS // P2519R3 Formatting pointers __first = __spec._M_parse_zero_fill(__first, __last); if (__finished())

[Bug ipa/92606] [10/11/12/13/14 Regression][avr] invalid merge of symbols in progmem and data sections

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 --- Comment #18 from Andrew Pinski --- Here is a x86_64 testcase: ``` typedef __UINT16_TYPE__ T; #define NI __attribute__((noinline,noclone,no_icf)) static const __seg_fs T xyz_prog[] = { 123, 123, 123 }; static __seg_gs T xyz[] = { 123, 123,

[Bug libstdc++/110149] std::format for pointer arguments allows a '0' option

2023-06-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 --- Comment #1 from Jonathan Wakely --- 0p is proposed by https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2510r3.pdf

[Bug d/110113] gdc -fpreview=dip1021 crash in d/dmd/root/aav.d:127 dmd_aaGetRvalue from DsymbolTable::lookup(Identifier const*)

2023-06-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110113 --- Comment #5 from ibuclaw at gcc dot gnu.org --- Reducing the std module down to the following always produces a crash in dmd_aaGetRvalue when running debian/ubuntu pre-compiled gdc-13 under gdb. --- struct Tid { MessageBox mbox; }

[Bug c++/110150] std::optional inside template leads to long compilation time

2023-06-06 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110150 --- Comment #3 from Steven Xia --- (In reply to Andrew Pinski from comment #2) > basically you are getting optional ... Understood, thanks for the quick reply

[Bug c++/110150] std::optional inside template leads to long compilation time

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110150 --- Comment #2 from Andrew Pinski --- basically you are getting optional ...

[Bug modula2/110019] Reported line numbers ar off-by-1 when preprocessing source files

2023-06-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110019 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/110150] std::optional inside template leads to long compilation time

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110150 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog --- Comment #1 from

[Bug ipa/92606] [10/11/12/13/14 Regression][avr] invalid merge of symbols in progmem and data sections

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 --- Comment #17 from Andrew Pinski --- (In reply to Georg-Johann Lay from comment #3) > Created attachment 47485 [details] > 123f.c: C test case with address space __flash. > > ...and the code is also wrong with address spaces like __flash (and

[Bug c++/110150] New: std::optional inside template leads to long compilation time

2023-06-06 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110150 Bug ID: 110150 Summary: std::optional inside template leads to long compilation time Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/84292] __sync_add_and_fetch returns the old value instead of the new value

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

[Bug bootstrap/110085] make clean inside the gcc directory when configured with m2 language and for sh-elf messes up

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

[Bug bootstrap/110085] make clean inside the gcc directory when configured with m2 language and for sh-elf messes up

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110085 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:044ee48215fd7eca1f1680758cd27574ff274417 commit r13-7421-g044ee48215fd7eca1f1680758cd27574ff274417 Author: Andrew Pinski

[Bug tree-optimization/110134] [10/11/12/13/14 Regression] (-unsigned1) != CST is not optimized to unsigned1 != CST at the gimple level

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

[Bug libstdc++/110149] New: std::format for pointer arguments allows a '0' option

2023-06-06 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110149 Bug ID: 110149 Summary: std::format for pointer arguments allows a '0' option Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/110148] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1

[Bug d/110113] gdc -fpreview=dip1021 crash in d/dmd/root/aav.d:127 dmd_aaGetRvalue from DsymbolTable::lookup(Identifier const*)

2023-06-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110113 --- Comment #4 from ibuclaw at gcc dot gnu.org --- Test case should deterministically crash when kernel.randomize_va_space=0.

[Bug tree-optimization/71414] 2x slower than clang summing small float array, GCC should consider larger vectorization factor for "unrolling" reductions

2023-06-06 Thread drraph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71414 Raphael C changed: What|Removed |Added CC||drraph at gmail dot com --- Comment #12

[Bug d/110113] gdc -fpreview=dip1021 crash in d/dmd/root/aav.d:127 dmd_aaGetRvalue from DsymbolTable::lookup(Identifier const*)

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

[Bug middle-end/110148] New: TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-06-06 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 Bug ID: 110148 Summary: TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8 Product: gcc

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

2023-06-06 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 Jan Hubicka changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Jan Hubicka ---

[Bug target/43892] PowerPC suboptimal "add with carry" optimization

2023-06-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 --- Comment #37 from Jakub Jelinek --- What happened with this patch?

[Bug target/109610] [14 regression] gcc.target/powerpc/dform-3.c fails after r14-172-g0368d169492017

2023-06-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109610 seurer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2023-06-06 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

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

2023-06-06 Thread aemseemann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109947 --- Comment #9 from Martin Seemann --- That's great news, looking forward to the next point release. Thank you very much for taking this to the committee and getting the process in motion so quickly!

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

2023-06-06 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #66 from Alexander Klepikov --- (In reply to Alexander Klepikov from comment #65) > > I'm thinking of something else. > > During kernel compile I got few internal errors in different passes. That > is, additional loop optimization

[Bug c++/110122] [13/14 Regression] using an aggregate with a member variable with a user defined copy constructor in a class NTTP causes capture and use of the `this` pointer in a generic lambda to p

2023-06-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110122 --- Comment #4 from Patrick Palka --- (In reply to waffl3x from comment #3) > Very cool, thanks, since your test case seems to cause problems in GCC 11 > and GCC 12 does that mean the bug goes deeper than I thought? > > (In reply to Patrick

[Bug demangler/110147] UBSAN error in rust-demangle.c: NULL pointer passed to memcpy

2023-06-06 Thread lukas.dresel at cs dot ucsb.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110147 --- Comment #1 from lukas.dresel at cs dot ucsb.edu --- The invocation was `rust_demangle(mangled=0x18140ad "_RYC0.vdj\\lc[kniso,bz", options=0x103)`. The original bug report to binutils can be found here with more details:

[Bug demangler/110147] New: UBSAN error in rust-demangle.c: NULL pointer passed to memcpy

2023-06-06 Thread lukas.dresel at cs dot ucsb.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110147 Bug ID: 110147 Summary: UBSAN error in rust-demangle.c: NULL pointer passed to memcpy Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/110141] Wrong code at -O2 on x86_64-linux-gnu

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110141 --- Comment #1 from Andrew Pinski --- Another -fstack-reuse= issue.

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

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

[Bug target/102974] GCC optimization is very poor for add carry and multiplication combos

2023-06-06 Thread slash.tmp at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102974 --- Comment #16 from Mason --- For the record, the example I provided was intended to show that, with some help, GCC can generate good code for bigint multiplication. In this situation, "help" means a short asm template.

[Bug c++/100765] attribute incorrectly applied during type alias deduction

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100765 Andrew Pinski changed: What|Removed |Added CC||gcc-bugzilla@richardebeling

[Bug c++/110140] Vector extensions cause false conflict in template argument deduction

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

[Bug c++/110140] Vector extensions cause false conflict in template argument deduction

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110140 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from

[Bug libstdc++/110145] 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard

2023-06-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110145 --- Comment #3 from Jakub Jelinek --- I've tried struct S { double value; constexpr S(double value) : value (value) {} }; inline constexpr S s[] = { 1e126 }; int main () { __builtin_printf ("%.32La %.32La\n", (long double) s[0].value,

[Bug target/110146] New: ICE in riscv_vector::function_builder::add_unique_function()

2023-06-06 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110146 Bug ID: 110146 Summary: ICE in riscv_vector::function_builder::add_unique_function() Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/110145] 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard

2023-06-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110145 --- Comment #2 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #1) > Weird, the 1e126 constant shouldn't be with excess precision because it is > stored into a double field (using ctor). Yeah, I've fixed nearly all the other

[Bug libstdc++/110145] 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard

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

[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-06-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 --- Comment #3 from Tobias Burnus --- (In reply to Tobias Burnus from comment #2) > (For GCN, enabling unified_address makes sense.) Now done via commit r14-1584-gf1af7d65ff64fe7102d1490ef46ea491a533e641 > TODO: It does not harm to have some

[Bug libstdc++/110145] New: 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard

2023-06-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110145 Bug ID: 110145 Summary: 20_util/to_chars/double.cc fails for -m32 -fexcess-precision=standard Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/104772] std::numeric_limits<__float128> should be specialized

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

[Bug c++/51571] No named return value optimization while adding a dummy scope

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

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

[Bug target/110144] New: cris-unknown-elf cross build fails with ICE if RTL checking is enabled

2023-06-06 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110144 Bug ID: 110144 Summary: cris-unknown-elf cross build fails with ICE if RTL checking is enabled Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: minor

[Bug c++/58055] [meta-bug] RVO / NRVO improvements

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 96004, which changed state. Bug 96004 Summary: Copy elision with conditional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96004 What|Removed |Added

  1   2   >