[Bug c/110049] New: Is there a conflict between `-Os` and `always_inline`?

2023-05-31 Thread qin.qiwei at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110049 Bug ID: 110049 Summary: Is there a conflict between `-Os` and `always_inline`? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 C

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

2023-05-31 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 Bug ID: 110050 Summary: experimental/simd/pr109822_cast_functions.cc fails on arm after g:668d43502f465d48adbc1fe2956b979f36657e5f Product: gcc Version: 14.0 Status: UNC

[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-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110038 --- Comment #3 from CVS Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:80ee7d02e8db4893e104de02659fb71cc1dc81e9 commit r14-1425-g80ee7d02e8db4893e104de02659fb71cc1dc81e9 Author: Cui, Lili Date: Wed May 31

[Bug c++/110051] New: error: writing 1 byte into a region of size 0

2023-05-31 Thread pkurash at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110051 Bug ID: 110051 Summary: error: writing 1 byte into a region of size 0 Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/110052] New: useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 Bug ID: 110052 Summary: useless local variable not optimized away Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/110044] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org Last re

[Bug target/110044] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #5 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #3) > (In reply to Eric Gallager from comment #2) > > possible dup of either bug 60972 and/or bug 68160? > > From those topics it looks that the bug, if identical, has

[Bug target/27663] missed-optimization transforming a byte array to unsigned long

2023-05-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27663 Georg-Johann Lay changed: What|Removed |Added Known to work||14.0 Resolution|---

[Bug target/27663] missed-optimization transforming a byte array to unsigned long

2023-05-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27663 --- Comment #11 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #10) > bswap recognition appears to have improved since then [...] Closed thusly.

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug target/110044] [10, 11, 12, 13, 14 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |10.5

[Bug rtl-optimization/101169] [10 regression] test case gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r10-9880

2023-05-31 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101169 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org Component

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/110051] error: writing 1 byte into a region of size 0

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110051 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Richard

[Bug c/110049] Is there a conflict between `-Os` and `always_inline`?

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

[Bug target/106769] PPCLE: vec_extract(vector unsigned int) unnecessary rldicl after mfvsrwz

2023-05-31 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106769 HaoChen Gui changed: What|Removed |Added Last reconfirmed||2023-05-31 Status|UNCONFIRMED

[Bug c++/110051] error: writing 1 byte into a region of size 0

2023-05-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110051 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-05-31 Status|UNCONFI

[Bug c/110053] New: csmith: problems with -O1 and -O2 in same file

2023-05-31 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110053 Bug ID: 110053 Summary: csmith: problems with -O1 and -O2 in same file Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/110054] New: stdx::simd masked store should not use non-temporal store instruction

2023-05-31 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110054 Bug ID: 110054 Summary: stdx::simd masked store should not use non-temporal store instruction Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/110054] stdx::simd masked store should not use non-temporal store instruction

2023-05-31 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110054 Matthias Kretz (Vir) changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/110055] New: Dangling pointer warning inside std::vector on RISC-V

2023-05-31 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 Bug ID: 110055 Summary: Dangling pointer warning inside std::vector on RISC-V Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/110055] Dangling pointer warning inside std::vector on RISC-V

2023-05-31 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #1 from Sprite --- $ g++ -v ``` Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/riscv64-unknown-linux-gnu/13.1.1/lto-wrapper Target: riscv64-unknown-linux-gnu Configured with: /build/gcc/src/gcc/configure --en

[Bug c++/110056] New: ICE on trying to generate header unit for 'execution'

2023-05-31 Thread saifi.khan at nishan dot io via Gcc-bugs
iority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: saifi.khan at nishan dot io Target Milestone: --- ENV AMD64 x86_64 64-bit Linux 6.3.5 glibc 2.37-3 gcc version 14.0.0 20230531 (experimental) CMD g++ -std=c++23 -g3 -fmodules-ts -fmodule-only -c -x

[Bug tree-optimization/110057] New: Missed devirtualization opportunities

2023-05-31 Thread yongxiangng at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 Bug ID: 110057 Summary: Missed devirtualization opportunities Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optim

[Bug debug/108917] ICE when specifying optimization level and debuging for C++ contracts code

2023-05-31 Thread saifi.khan at nishan dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108917 --- Comment #2 from Saifi Khan --- Compiling with gcc version 14.0.0 20230531 and executing the ELF binary. coredumpctl info 239557 Coredump Stack Trace #0 0x7f5f739b226c n/a (libc.so.6 + 0x8926c) #1

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

2023-05-31 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 Matthias Kretz (Vir) changed: What|Removed |Added Last reconfirmed||2023-05-31 Assignee|un

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #12 from Richard Biener --- Bad: Samples: 4M of event 'cycles:u', Event count (approx.): 6574968845607 Overhead Samples Command Shared Object Symbol 59.44% 2803407 cc1 cc1

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 Richard Biener changed: What|Removed |Added Known to work||11.3.0 --- Comment #13 from Richard Bi

[Bug target/110058] New: confusing error message for %c asm output modifier

2023-05-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110058 Bug ID: 110058 Summary: confusing error message for %c asm output modifier Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/109143] PTA compile-time hog with many calls

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:95e5c38a98cc64a797b1d766a20f8c0d0c807a74 commit r14-1429-g95e5c38a98cc64a797b1d766a20f8c0d0c807a74 Author: Richard Biener Date:

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:95e5c38a98cc64a797b1d766a20f8c0d0c807a74 commit r14-1429-g95e5c38a98cc64a797b1d766a20f8c0d0c807a74 Author: Richard Biener Date:

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #15 from Richard Biener --- Btw, for me GCC 12.3 takes 170s for the compile.

[Bug target/110059] New: When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.

2023-05-31 Thread d_vampile at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110059 Bug ID: 110059 Summary: When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally. Product: gcc Version: 10.3.1 Status: UNCONFIRME

[Bug c/110053] csmith: problems with -O1 and -O2 in same file

2023-05-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110053 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug libstdc++/110054] stdx::simd masked store should not use non-temporal store instruction

2023-05-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110054 Alexander Monakov changed: What|Removed |Added Keywords||wrong-code CC|

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

2023-05-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110060 Bug ID: 110060 Summary: Adding optimizer hints to std::vector causes a new -Wstringop-overread false positive Product: gcc Version: 14.0 Status: UNCONFIRMED Ke

[Bug target/110059] When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.

2023-05-31 Thread d_vampile at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110059 d_vampile changed: What|Removed |Added Version|10.3.1 |10.3.0 Target|

[Bug libstdc++/109922] : consider removing operator>> for istream >> setfill(c)

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109922 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:979f8bfd3164d23e6bd192a00e89eb1fc8f5b4a3 commit r14-1430-g979f8bfd3164d23e6bd192a00e89eb1fc8f5b4a3 Author: Jonathan Wakely Date:

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

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f150a084e25eaa98afaf25e2211001047ecc8d44 commit r14-1433-gf150a084e25eaa98afaf25e2211001047ecc8d44 Author: Jonathan Wakely Date:

[Bug libstdc++/109921] c++17/floating_from_chars.cc: compile error: ‘from_chars_strtod’ was not declared in this scope

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109921 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7037e7b6e4ac41e536bdb9a2efcf546ec4d77166 commit r14-1431-g7037e7b6e4ac41e536bdb9a2efcf546ec4d77166 Author: Jonathan Wakely Date:

[Bug target/110059] When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.

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

[Bug libstdc++/109922] : consider removing operator>> for istream >> setfill(c)

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

[Bug libstdc++/109921] c++17/floating_from_chars.cc: compile error: ‘from_chars_strtod’ was not declared in this scope

2023-05-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109921 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.2 --- Comment #4 from Jonathan Wak

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

2023-05-31 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 Target Milestone|13.2|14.0 --- Comment #7 from Jonathan Wak

[Bug tree-optimization/109143] PTA compile-time hog with many calls

2023-05-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 --- Comment #3 from Richard Biener --- It's now at 27s on trunk. callgraph ipa passes : 6.04 ( 22%) 0.24 ( 16%) 6.28 ( 22%) 184M ( 17%) tree PTA : 10.28 ( 37%) 0.16 ( 11%) 10.38 ( 36%) 10

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

2023-05-31 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 --- Comment #12 from Jan Hubicka --- > /home/sdp/jun/btl0/install/bin/ld: /tmp/ccnX75zI.ltrans0.ltrans.o: in > function `main': > :(.text.startup+0x1): undefined reference to `GMCommand' I wonder if your plugin is configured correctly. Can you

[Bug target/110061] New: libatomic: 128-bit atomics should be lock-free on AArch64

2023-05-31 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 Bug ID: 110061 Summary: libatomic: 128-bit atomics should be lock-free on AArch64 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #1 from Andrew Pinski --- But it is not valid thing to do.

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

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

[Bug c/110062] New: missed vectorization in graphicsmagick

2023-05-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 Bug ID: 110062 Summary: missed vectorization in graphicsmagick Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug jit/110063] New: Leaks in gcc driver accumulate when calling gcc_jit_context_compile

2023-05-31 Thread eliaz.pitavy at obspm dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110063 Bug ID: 110063 Summary: Leaks in gcc driver accumulate when calling gcc_jit_context_compile Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

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

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 Andrew Pinski changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #12

[Bug target/108659] Suboptimal 128 bit atomics codegen x64

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108659 Andrew Pinski changed: What|Removed |Added Summary|Suboptimal 128 bit atomics |Suboptimal 128 bit atomics

[Bug target/110039] [14 Regression] FAIL: gcc.target/aarch64/rev16_2.c scan-assembler-times rev16\\tw[0-9]+ 2

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110039 --- Comment #2 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:070d651c6db37c3658be0a5274f44265045428e6 commit r14-1437-g070d651c6db37c3658be0a5274f44265045428e6 Author: Christophe Lyon Date:

[Bug target/110039] [14 Regression] FAIL: gcc.target/aarch64/rev16_2.c scan-assembler-times rev16\\tw[0-9]+ 2

2023-05-31 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110039 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/110055] Dangling pointer warning inside std::vector on RISC-V

2023-05-31 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #2 from Sprite --- Note that the error is raised only on the second and subsequent variables, the first variable works fine.

[Bug target/110044] [10, 11, 12, 13, 14 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #6 from Iain Sandoe --- I'm going to test the following (which will take some time since the hardware is needed for testing releases too). The test for AGGREGATE_TYPE_P() could actually be changed to RECORD_OR_UNION_TYPE_P () - sinc

[Bug target/110059] When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.

2023-05-31 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110059 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug jit/110063] Leaks from gcc driver accumulate when calling gcc_jit_context_compile

2023-05-31 Thread eliaz.pitavy at obspm dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110063 --- Comment #1 from Eliaz Pitavy --- Adding ctx.set_bool_option(GCC_JIT_BOOL_OPTION_SELFCHECK_GC, 1); reduces the memory leak to 733302 bytes leaked in 5589 allocations. Adding ctx.set_bool_use_external_driver(1); reduces the memory leak to 171

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

2023-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772 --- Comment #8 from Jakub Jelinek --- Dunno. I think you can add support even without any compiler changes, at least if _GLIBCXX_DOUBLE_IS_IEEE_BINARY64: #ifdef __STRICT_ANSI__   static _GLIBCXX_CONSTEXPR __float128   min() _GLIBCXX_USE

[Bug target/110059] When SPEC is used to test the GCC (10.3.1), the test result of subitem 548 fluctuates abnormally.

2023-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110059 --- Comment #4 from Jakub Jelinek --- I'd like to point out that doing performance testing for GCC 10 at this point isn't a very good idea, GCC 10 is going out of support within a month or two, and while some important wrong-code generation bugs

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

2023-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772 --- Comment #9 from Jakub Jelinek --- Sorry, 0x1.0p-1016 * 0x1.0p-1016 * 0x1.0p-1016 obviously should have been 0x1.0p+1016 * 0x1.0p+1016 * 0x1.0p+1016, I tested it on a testcase where I used different names etc.

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-05-31 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 Wilco changed: What|Removed |Added Last reconfirmed||2023-05-31 See Also|

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

2023-05-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772 --- Comment #10 from Jakub Jelinek --- And the reason for the helper functions is C++11 which would not like temporaries in constexpr functions.

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

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

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #13 from Andrew Pinski --- *** Bug 110061 has been marked as a duplicate of this bug. ***

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 --- Comment #6 from Andrew Pinski --- bug 70814 comment #3 explains why this should not be done. As I mentioned it can be improved for armv8.4-a maybe using an ifunc but it cannot be done for before that.

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2023-05-31 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 Wilco changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug target/106271] Bootstrap on RISC-V on Ubuntu 22.04 LTS: bits/libc-header-start.h: No such file or directory

2023-05-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106271 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comm

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

2023-05-31 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 --- Comment #2 from Christophe Lyon --- Just noticed that the test passes if GCC is configured --with-arch=armv7-a, but fails when forcing -march=armv8-a

[Bug fortran/34040] Support for DOUBLE_TYPE_SIZE != 64 targets

2023-05-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34040 --- Comment #18 from Georg-Johann Lay --- (In reply to Francois-Xavier Coudert from comment #11) > As far as I can say, the targets with this problem are: avr, bfin, h8300, > picochip and sh (for some subtargets of sh). > > On avr, bfin, h8300 a

[Bug target/106271] Bootstrap on RISC-V on Ubuntu 22.04 LTS: bits/libc-header-start.h: No such file or directory

2023-05-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106271 Thomas Schwinge changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #

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

2023-05-31 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110050 --- Comment #3 from Christophe Lyon --- So we have a different behavior in libstdc++-v3/include/experimental/bits/simd_detail.h: #if defined __ARM_NEON && (__ARM_ARCH >= 8 || defined __aarch64__) #define _GLIBCXX_SIMD_HAVE_NEON_A32 1 #else #defi

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

2023-05-31 Thread ldionne.2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #9 from Louis Dionne --- (In reply to Andrew Pinski from comment #3) > I am getting a feeling this attribute is well defined enough. > > Is it really just supposed to block explicit instantiation of templates? > Is there a decent se

[Bug target/106271] Bootstrap on RISC-V on Ubuntu 22.04 LTS: bits/libc-header-start.h: No such file or directory

2023-05-31 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106271 --- Comment #5 from Thomas Schwinge --- With the latter hunk applied (plus manual 'rm gcc/s-mlib gcc/multilib.h' to regenerate the latter file), I find that this apparently does only address the '--disable-multilib' case, but not my '--enable-mu

[Bug c++/110064] New: spurious missing initializer for member for anonymous

2023-05-31 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110064 Bug ID: 110064 Summary: spurious missing initializer for member for anonymous Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/92707] type alias on type alias on lambda in unevaluated context does not work

2023-05-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92707 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment #

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

2023-05-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 Jan Hubicka changed: What|Removed |Added CC||rguenther at suse dot de See Al

[Bug target/99195] Optimise away vec_concat of 64-bit AdvancedSIMD operations with zeroes in aarch64

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99195 --- Comment #18 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:547d3bce0c02dbcbb6f62d9469a71eedf17bd688 commit r14-1447-g547d3bce0c02dbcbb6f62d9469a71eedf17bd688 Author: Kyrylo Tkachov Date:

[Bug target/99195] Optimise away vec_concat of 64-bit AdvancedSIMD operations with zeroes in aarch64

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99195 --- Comment #19 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:d0c064c3eabc75cf83df296ebcd1db19b4a68851 commit r14-1448-gd0c064c3eabc75cf83df296ebcd1db19b4a68851 Author: Kyrylo Tkachov Date:

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

2023-05-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #10 from Jona

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

2023-05-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 --- Comment #14 from Martin Jambor --- (In reply to Jan Hubicka from comment #13) > The only difference between slp vectorization is: > > - # _68 = PHI <_5(3)> > - # _67 = PHI <_11(3)> > - # _66 = PHI <_16(3)> > - .r = _68; > - .g = _67; >

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

2023-05-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #11 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #10) > Do you want to be able to change these functions in > ABI-incompatible ways between major revisions of the library? Sorry, that was unclear, I meant to as

[Bug fortran/109948] [13/14 Regression] ICE(segfault) in gfc_expression_rank() from gfc_op_rank_conformable()

2023-05-31 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109948 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug rtl-optimization/109930] transform atomic exchange to unconditional store when old value is unused?

2023-05-31 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109930 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #4 from Wi

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

2023-05-31 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #12 from Nikolas Klauser --- (In reply to Jonathan Wakely from comment #10) > Using always_inline on everything is simply wrong: GCC will refuse to inline > some functions and the user gets an error that they cannot avoid. There's no

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 --- Comment #3 from Bernhard Reutner-Fischer --- Note that in this particular case myrealloc() is static, maybe i should have omitted the noipa attribute for it was only meant to simplify analysis and there is no such attribute in the original c

[Bug c++/110065] New: auto in template argument causes ICE, also accepts-invalid

2023-05-31 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065 Bug ID: 110065 Summary: auto in template argument causes ICE, also accepts-invalid Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/110052] useless local variable not optimized away

2023-05-31 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110052 --- Comment #4 from Bernhard Reutner-Fischer --- (In reply to Bernhard Reutner-Fischer from comment #3) > Note that in this particular case myrealloc() is static, maybe i should have > omitted the noipa attribute for it was only meant to simplif

[Bug fortran/109948] [13/14 Regression] ICE(segfault) in gfc_expression_rank() from gfc_op_rank_conformable()

2023-05-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109948 --- Comment #16 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #15) > Created attachment 55225 [details] > Fix for this PR > > The attached patch substantially tidies up parse_associate and fixes: LGTM! I was close to

[Bug ipa/109983] [12/13 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #16 from Sam James --- (In reply to Richard Biener from comment #9) > My suggestion is to not enable -fipa-pta if you hit such issue or in general > if you don't know it pays off with a good runtime performance boost. Many thanks ri

[Bug c++/109247] [13/14 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Jason Merrill changed: What|Removed |Added Attachment #54739|0 |1 is obsolete|

[Bug fortran/109948] [13/14 Regression] ICE(segfault) in gfc_expression_rank() from gfc_op_rank_conformable()

2023-05-31 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109948 --- Comment #17 from Mikael Morin --- (In reply to anlauf from comment #16) > (In reply to Paul Thomas from comment #15) > > Created attachment 55225 [details] > > Fix for this PR > > > > The attached patch substantially tidies up parse_associa

[Bug c++/109864] explicit constructor considered during overload resolution leads to ambiguity

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

[Bug c++/60027] [DR1228] Problem with braced-init-lists and explicit ctors

2023-05-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60027 Jason Merrill changed: What|Removed |Added CC||dmatthews at utexas dot edu --- Comment

[Bug libstdc++/109921] c++17/floating_from_chars.cc: compile error: ‘from_chars_strtod’ was not declared in this scope

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109921 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a239a35075ffd8b34f1db72c22998a625ff962b5 commit r14-1451-ga239a35075ffd8b34f1db72c22998a625ff962b5 Author: Jonathan Wakely Date:

[Bug libstdc++/109818] std::trunc() requires a hack after building DJGPP

2023-05-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109818 --- Comment #30 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:49f59826c66bcaa3531429381b4aed944c332e5b commit r14-1454-g49f59826c66bcaa3531429381b4aed944c332e5b Author: Jonathan Wakely Date

[Bug libstdc++/109818] std::trunc() requires a hack after building DJGPP

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

[Bug jit/110063] Leaks from gcc driver accumulate when calling gcc_jit_context_compile

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

  1   2   >