[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

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

[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110741 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cf10790c24b302b3265afdfc96abdfc35932fbd0 commit r13-7677-gcf10790c24b302b3265afdfc96abdfc35932fbd0 Author: Kewen Lin Date:

[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110741 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:e58899645f09fb26fbca03ed8b9b13f162ff32dc commit r12-9795-ge58899645f09fb26fbca03ed8b9b13f162ff32dc Author: Kewen Lin Date:

[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110741 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:2ad68e7ce034f74ac0e74b6140b3207c21b6573a commit r11-10931-g2ad68e7ce034f74ac0e74b6140b3207c21b6573a Author: Kewen Lin Date:

[Bug preprocessor/87299] #pragma GCC target behaves differently when using -save-temps

2023-07-31 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #4

[Bug c++/110866] No UDC lookup with va_arg

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110866 --- Comment #2 from Andrew Pinski --- In fact ICC rejects all cases: (11): error: incorrect use of va_start va_start(va, fmt); va.engaged = 1; ^ (12): error: incorrect use of va_arg va_arg(va, int); ^ (14):

[Bug c++/110866] No UDC lookup with va_arg

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

[Bug c++/110866] New: No UDC lookup with va_arg

2023-07-31 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110866 Bug ID: 110866 Summary: No UDC lookup with va_arg Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/104113] invalid template argument causes the type to become int which confuses the rest of the diagnostic

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

[Bug c++/104113] invalid template argument causes the type to become int which confuses the rest of the diagnostic

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > from decl.cc: > > if (type_was_error_mark_node && template_parm_flag) > /* FIXME we should be able to propagate the error_mark_node as is >

[Bug libstdc++/110862] format out of bands read on format string "{0:{0}"

2023-07-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #1 from 康桓瑋

[Bug modula2/110865] Unable to access copied const array

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

[Bug modula2/110865] Unable to access copied const array

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110865 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:8a47474f2cf48837d6adf4a1232a89fd398ca7fa commit r14-2892-g8a47474f2cf48837d6adf4a1232a89fd398ca7fa Author: Gaius Mulley Date:

[Bug tree-optimization/93044] extra cast is not removed

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

[Bug tree-optimization/93044] extra cast is not removed

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93044 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:cc2003cd87532f319c94028f17d20a327df5ccfa commit r14-2890-gcc2003cd87532f319c94028f17d20a327df5ccfa Author: Andrew Pinski Date:

[Bug testsuite/110858] [14 Regression] gcc.dg/unroll-1.c UNRESOLVED

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110858 --- Comment #4 from Andrew Pinski --- The scan-rtl-dump-not should be only testing for `{ target { { i?86-*-* x86_64-*-* } && ia32 } }` I think. So this is a just a testsuite issue ...

[Bug testsuite/110858] [14 Regression] gcc.dg/unroll-1.c UNRESOLVED

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110858 Andrew Pinski changed: What|Removed |Added Target|powerpc64le-linux-gnu |

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

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

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 --- Comment #1 from Andrew Pinski --- Created attachment 55669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55669=edit full testcase

[Bug testsuite/110858] [14 Regression] gcc.dg/unroll-1.c UNRESOLVED

2023-07-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110858 seurer at gcc dot gnu.org changed: What|Removed |Added Build||powerpc64le-linux-gnu

[Bug modula2/110865] Unable to access copied const array

2023-07-31 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110865 --- Comment #2 from Gaius Mulley --- Created attachment 55668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55668=edit Proposed fix Here is a proposed patch which I'll apply (if) the bootstrap succeeds and no further regressions are

[Bug analyzer/110830] -Wanalyzer-use-of-uninitialized-value false negative due to use-after-free::supercedes_p.

2023-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110830 --- Comment #2 from David Malcolm --- The "supercedes_p" logic is called in diagnostic_manager::emit_saved_diagnostics here: best_candidates.handle_interactions (this); I *think* every saved_diagnostic ought to have a non-NULL m_best_epath

[Bug analyzer/110830] -Wanalyzer-use-of-uninitialized-value false negative due to use-after-free::supercedes_p.

2023-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110830 --- Comment #1 from David Malcolm --- For reference, I implemented use_after_free::supercedes_p in commit g:33255ad3ac14e3953750fe0f2d82b901c2852ff6 as part of the gcc 12 (re)implementation of -Wanalyzer-use-of-uninitialized-value.

[Bug modula2/110865] Unable to access copied const array

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

[Bug modula2/110865] New: Unable to access copied const array

2023-07-31 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110865 Bug ID: 110865 Summary: Unable to access copied const array Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug middle-end/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #2 from Andrew Pinski --- That is: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7cdd0860949c6c3232e6cff1d7ca37bb5234074c

[Bug middle-end/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

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

[Bug middle-end/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #1 from Andrew Pinski --- Most likely the same issue as on arm: https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625913.html

[Bug middle-end/110864] New: [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-07-31 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 Bug ID: 110864 Summary: [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/110858] [14 Regression] gcc.dg/unroll-1.c UNRESOLVED

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

[Bug libstdc++/110860] std::format("{:f}",2e304) invokes undefined behaviour

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

[Bug middle-end/110859] New FAIL: 23_containers/vector/bool/110807.cc

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110859 Andrew Pinski changed: What|Removed |Added Target||!LP64 Summary|[14

[Bug libstdc++/110859] [14 Regression] New FAIL: 23_containers/vector/bool/110807.cc

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

[Bug other/110863] New test case 23_containers/vector/bool/110807.cc from r14-2797-g7931a1de9ec87b fails on big endian

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

[Bug fortran/50410] [11/12/13/14 Regression] ICE in record_reference, pointer variable in data statement

2023-07-31 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410 --- Comment #48 from anlauf at gcc dot gnu.org --- Created attachment 55666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55666=edit Inremental patch This is a cut-down and revised version of the patch by Tobias that deals with invalid

[Bug middle-end/87403] [Meta-bug] Issues that suggest a new warning

2023-07-31 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 65213, which changed state. Bug 65213 Summary: Extend -Wmissing-declarations to variables [i.e. add -Wmissing-variable-declarations] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65213 What|Removed

[Bug c/65213] Extend -Wmissing-declarations to variables [i.e. add -Wmissing-variable-declarations]

2023-07-31 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65213 Joseph S. Myers changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/65213] Extend -Wmissing-declarations to variables [i.e. add -Wmissing-variable-declarations]

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65213 --- Comment #4 from CVS Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:ffc74822468a39324722eef4c4412ea3224ca976 commit r14-2888-gffc74822468a39324722eef4c4412ea3224ca976 Author: Hamza Mahfooz Date:

[Bug other/110863] New: New test case 23_containers/vector/bool/110807.cc from r14-2797-g7931a1de9ec87b fails on big endian

2023-07-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110863 Bug ID: 110863 Summary: New test case 23_containers/vector/bool/110807.cc from r14-2797-g7931a1de9ec87b fails on big endian Product: gcc Version: 14.0 Status:

[Bug modula2/110284] [14 Regression] Bootstrap failures with m2

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110284 --- Comment #17 from CVS Commits --- The releases/gcc-13 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:1f0933298c4aa76646b4ea964d6fbc07504526c8 commit r13-7675-g1f0933298c4aa76646b4ea964d6fbc07504526c8 Author: Gaius Mulley

[Bug tree-optimization/96923] Failure to optimize a select-related bool pattern to or+not

2023-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96923 Bug 96923 depends on bug 100864, which changed state. Bug 100864 Summary: (a&!b) | b is not opimized to a | b for comparisons https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100864 What|Removed |Added

[Bug tree-optimization/100864] (a&!b) | b is not opimized to a | b for comparisons

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

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

2023-07-31 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 Target Milestone|--- |14.0 Status|ASSIGNED

[Bug tree-optimization/100864] (a&!b) | b is not opimized to a | b for comparisons

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100864 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b9237226fdc9387bccf584a811b30c5d3689ffd2 commit r14-2885-gb9237226fdc9387bccf584a811b30c5d3689ffd2 Author: Andrew Pinski Date:

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #13 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:ac0e0966ebf08c454d53042a649403e2880ccbc1 commit r14-2887-gac0e0966ebf08c454d53042a649403e2880ccbc1 Author: Andrew Pinski Date:

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #12 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0258b73680e21fd96290af961c80966ac6b3cc68 commit r14-2886-g0258b73680e21fd96290af961c80966ac6b3cc68 Author: Andrew Pinski Date:

[Bug driver/77576] gcc-ar doesn't work if all options are read from file

2023-07-31 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug driver/77576] gcc-ar doesn't work if all options are read from file

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576 --- Comment #8 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:c6523ae786e36dccd64589682140e9221628bb5b commit r14-2884-gc6523ae786e36dccd64589682140e9221628bb5b Author: Costas Argyris Date: Mon

[Bug bootstrap/109250] Invalid configuration `loongarch64-linux-gnu': machine `loongarch64-unknown' not recognized

2023-07-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109250 --- Comment #8 from Xi Ruoyao --- Should be fixed with GMP 6.3.0.

[Bug target/109713] [14 Regression] gcc/config/riscv/sync.md:66:1: error: control reaches end of non-void function [-Werror=return-type] since r14-406-gbff7c773864479

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109713 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick O'Neill : https://gcc.gnu.org/g:1e9180b3298def6c01d9055d558fdb52231f8d2d commit r13-7674-g1e9180b3298def6c01d9055d558fdb52231f8d2d Author: Martin Liska

[Bug target/89835] The RISC-V target uses amoswap.w for relaxed stores

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89835 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick O'Neill : https://gcc.gnu.org/g:74abe200bc9b06e10f0f3cad74f11da4fae90cd3 commit r13-7668-g74abe200bc9b06e10f0f3cad74f11da4fae90cd3 Author: Patrick

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-31 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/110378] IPA-SRA for destructors

2023-07-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 --- Comment #4 from Martin Jambor --- Created attachment 55665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55665=edit Testcase with non-zero offset with pass-through split This testcase is similar to the previous one but on top of it

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 --- Comment #6 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:b769811e7c1b3dff2fa0ec2c37b52859d7bceed4 commit r14-2883-gb769811e7c1b3dff2fa0ec2c37b52859d7bceed4 Author: Andrew MacLeod Date:

[Bug ipa/110378] IPA-SRA for destructors

2023-07-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 --- Comment #3 from Martin Jambor --- Created attachment 55664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55664=edit Testcase with single inheritance This testcase is somewhat more difficult and addressing will mean not just changes

[Bug ipa/110378] IPA-SRA for destructors

2023-07-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/106293] [13/14 Regression] 456.hmmer at -Ofast -march=native regressed by 19% on zen2 and zen3 in July 2022

2023-07-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106293 --- Comment #22 from Martin Jambor --- (In reply to Jan Hubicka from comment #21) > Fixing loop distribution and vectorizer profile update seems to do the trick > with profile feedback. Without we are still worse than in July last year on >

[Bug target/106346] [11/12/13/14 Regression] Potential regression on vectorization of left shift with constants since r11-5160-g9fc9573f9a5e94

2023-07-31 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106346 Tamar Christina changed: What|Removed |Added Target Milestone|11.5|14.0

[Bug analyzer/109361] RFE: SARIF output could contain timing/profile information

2023-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/109361] RFE: SARIF output could contain timing/profile information

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:75d623946d4b6ea80a777b789b116d4b4a2298dc commit r14-2881-g75d623946d4b6ea80a777b789b116d4b4a2298dc Author: David Malcolm Date:

[Bug middle-end/110378] IPA-SRA for destructors

2023-07-31 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 --- Comment #2 from Martin Jambor --- Created attachment 55663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55663=edit Simplest testcase The PR 109849 testcase behavior changes over time, so I prepared three specialized for this PR.

[Bug libstdc++/110862] New: format out of bands read on format string "{0:{0}"

2023-07-31 Thread gcc at pauldreik dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 Bug ID: 110862 Summary: format out of bands read on format string "{0:{0}" Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2023-07-31 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 David Edelsohn changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org ---

[Bug c++/110861] Bad codegen leading to runtime segfault when mixing import and #include

2023-07-31 Thread headch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110861 --- Comment #1 from Christopher Head --- Note that I ran into this while trying to find a small repro case for the same symptoms (uninitialized “this” and segfault using a string_view) in a larger project, where I originally saw the same thing

[Bug c++/110861] New: Bad codegen leading to runtime segfault when mixing import and #include

2023-07-31 Thread headch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110861 Bug ID: 110861 Summary: Bad codegen leading to runtime segfault when mixing import and #include Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug testsuite/110419] [14 regression] new test case gfortran.dg/value_9.f90 in r14-2050-gd130ae8499e0c6 fails

2023-07-31 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419 --- Comment #18 from Mikael Morin --- Created attachment 55662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55662=edit Updated tentative patch This fixes comment #4 as well, but the failure on value_9 remains on 32 bit powerpc. It is

[Bug libstdc++/110860] New: std::format("{:f}",2e304) invokes undefined behaviour

2023-07-31 Thread gcc at pauldreik dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110860 Bug ID: 110860 Summary: std::format("{:f}",2e304) invokes undefined behaviour Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/110859] New: [14 Regression] New FAIL: 23_containers/vector/bool/110807.cc

2023-07-31 Thread carlos.seo at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110859 Bug ID: 110859 Summary: [14 Regression] New FAIL: 23_containers/vector/bool/110807.cc Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/110858] New: [14 Regression] gcc.dg/unroll-1.c UNRESOLVED

2023-07-31 Thread carlos.seo at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110858 Bug ID: 110858 Summary: [14 Regression] gcc.dg/unroll-1.c UNRESOLVED Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug gcov-profile/110545] gcda files not generated for some shared libs

2023-07-31 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545 --- Comment #3 from Gejoe --- Any other comment or suggestion here for this case ?

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-07-31 Thread Richard Biener via Gcc-bugs
On Mon, Jul 31, 2023 at 2:57 PM Changbin Du via Gcc wrote: > > Hello, folks. > This is to discuss Gcc's heuristic strategy about Predicated Instructions and > Branches. And probably something needs to be improved. > > [The story] > Weeks ago, I built a huffman encoding program with O2, O3, and

[Bug tree-optimization/110280] [13 Regression] internal compiler error: in const_unop, at fold-const.cc:1884

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

[Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-07-31 Thread Changbin Du via Gcc-bugs
Hello, folks. This is to discuss Gcc's heuristic strategy about Predicated Instructions and Branches. And probably something needs to be improved. [The story] Weeks ago, I built a huffman encoding program with O2, O3, and PGO respectively. This program is nothing special, just a random code I

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

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #12 from CVS Commits --- The master branch has been updated by Hao Liu : https://gcc.gnu.org/g:bf67bf4880ce5be0b6e48c7c35828528b7be12ed commit r14-2877-gbf67bf4880ce5be0b6e48c7c35828528b7be12ed Author: Hao Liu Date: Mon Jul 31

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-07-31 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #8 from Aaron Ballman --- (In reply to Richard Biener from comment #7) > I think -std=c++XY should diagnose (at least with a warning) the use of GNU > extensions. Let me alter the summary and confirm. Thanks! I still think this

[Bug middle-end/110857] New: aarch64-linux-gnu profiledbootstrap broken

2023-07-31 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110857 Bug ID: 110857 Summary: aarch64-linux-gnu profiledbootstrap broken Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/110838] [14 Regression] wrong code on x365-3.5, -O3, sign extraction

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

[Bug target/110309] Wrong code for masked load expansion

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110309 Richard Biener changed: What|Removed |Added Known to work||13.1.1, 14.0 Target Milestone|---

[Bug tree-optimization/88540] Issues with vectorization of min/max operations

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

[Bug rtl-optimization/94864] Failure to combine vunpckhpd+movsd into single vunpckhpd

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94864 Bug 94864 depends on bug 88540, which changed state. Bug 88540 Summary: Issues with vectorization of min/max operations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88540 What|Removed |Added

[Bug tree-optimization/88540] Issues with vectorization of min/max operations

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 88540, which changed state. Bug 88540 Summary: Issues with vectorization of min/max operations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88540 What|Removed |Added

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

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 --- Comment #10 from Richard Biener --- We now also apply SLP vectorizing the loop, but as said the high VF is probably prohibitive and causes quite some spilling: .L7: vmovdqu (%r14), %ymm2 vmovdqu 32(%r14), %ymm1 subq

[Bug tree-optimization/110280] [13 Regression] internal compiler error: in const_unop, at fold-const.cc:1884

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280 --- Comment #17 from CVS Commits --- The releases/gcc-13 branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:f4029de35fb1b293a4fd586574b1b4b73ddf7880 commit r13-7661-gf4029de35fb1b293a4fd586574b1b4b73ddf7880 Author:

[Bug c++/110856] New: GCC rejects template alias of function type as invalid template parameter

2023-07-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110856 Bug ID: 110856 Summary: GCC rejects template alias of function type as invalid template parameter Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug sanitizer/110799] [tsan] False positive due to -fhoist-adjacent-loads

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

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever

[Bug sanitizer/110799] [tsan] False positive due to -fhoist-adjacent-loads

2023-07-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110799 --- Comment #16 from Alexander Monakov --- In C11 and C++11 the issue of compiler-introduced racing loads is discussed as follows (5.1.2.4 Multi-threaded executions and data races in C11): 28 NOTE 14 Transformations that introduce a

[Bug lto/110844] LTO sometimes fail with -save-temp -dumpdir options

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110844 --- Comment #3 from Richard Biener --- we shouldn't pass it two times either

[Bug target/110762] [11/12/13 Regression] inappropriate use of SSE (or AVX) insns for v2sf mode operations

2023-07-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110762 --- Comment #23 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #22) > It looks to me that partial vector half-float instructions have the same > issue. Yes, I'll take a look.

[Bug target/110843] [14 Regression] ICE in convert_insn, at config/i386/i386-features.cc:1438 since r14-2405-g4814b63c3c2326

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

[Bug target/110762] [11/12/13 Regression] inappropriate use of SSE (or AVX) insns for v2sf mode operations

2023-07-31 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110762 --- Comment #22 from Uroš Bizjak --- It looks to me that partial vector half-float instructions have the same issue.

[Bug target/81904] FMA and addsub instructions

2023-07-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81904 --- Comment #7 from Hongtao.liu --- > > to .VEC_ADDSUB possibly loses exceptions (the vectorizer now directly > creates .VEC_ADDSUB when possible). Let's put it under -fno-trapping-math.

[Bug middle-end/110832] [14 Regression] 14% capacita -O2 regression between g:9fdbd7d6fa5e0a76 (2023-07-26 01:45) and g:ca912a39cccdd990 (2023-07-27 03:44) on zen3 and core

2023-07-31 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110832 --- Comment #10 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #9) > for mov_internal, we can just set alternative (v,v) with mode DI, then > it will use vmovq, for other alternatives which set sse_regs, the > instructions has

[Bug tree-optimization/106293] [13/14 Regression] 456.hmmer at -Ofast -march=native regressed by 19% on zen2 and zen3 in July 2022

2023-07-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106293 --- Comment #21 from Jan Hubicka --- Fixing loop distribution and vectorizer profile update seems to do the trick with profile feedback. Without we are still worse than in July last year on zen2 tester (zen3 and ice lake seems to behave

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

2023-07-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 110758, which changed state. Bug 110758 Summary: [14 Regression] 8% hmmer regression on zen1/3 with -Ofast -march=native -flto between g:8377cf1bf41a0a9d (2023-07-05 01:46) and g:3a61ca1b9256535e (2023-07-06 16:56);

[Bug target/110758] [14 Regression] 8% hmmer regression on zen1/3 with -Ofast -march=native -flto between g:8377cf1bf41a0a9d (2023-07-05 01:46) and g:3a61ca1b9256535e (2023-07-06 16:56); g:d76d19c9bc5

2023-07-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110758 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/110855] New: std::source_location doesn't work with C++20 coroutine

2023-07-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 Bug ID: 110855 Summary: std::source_location doesn't work with C++20 coroutine Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/81904] FMA and addsub instructions

2023-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81904 --- Comment #6 from Richard Biener --- (In reply to Hongtao.liu from comment #5) > (In reply to Richard Biener from comment #1) > > Hmm, I think the issue is we see > > > > f (__m128d x, __m128d y, __m128d z) > > { > > vector(2) double _4; >

[Bug target/110478] RISC-V multilib gcc zicsr in the -march causing incorrect libgcc to be used

2023-07-31 Thread bmeng.cn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110478 --- Comment #7 from Bin Meng --- Any update about this issue?

  1   2   >