[Bug tree-optimization/106053] New: [13 Regression] wrong code with -O -fno-tree-fre

2022-06-21 Thread zsojka at seznam dot cz via Gcc-bugs
unk-r13-1189-20220621080317-g7905a9ac267-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220621 (experimental) (GCC)

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #8 from luoxhu at gcc dot gnu.org --- (In reply to rguent...@suse.de from comment #6) > On Tue, 21 Jun 2022, jakub at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 > > > > --- Comment #5 from Jakub

[Bug c++/106052] ICE with -Wmismatched-tags with partially specialized friend struct of self type

2022-06-21 Thread beardsley.matt.j at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106052 --- Comment #1 from Matt Beardsley --- Just wanted to clarify that the prev. comment only reproduces with an asserted build. However, I first observed this in a 300,000+ LOC preprocessed file with a release gcc build. But I could not stably min

[Bug c++/106052] New: ICE with -Wmismatched-tags with partially specialized friend struct of self type

2022-06-21 Thread beardsley.matt.j at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106052 Bug ID: 106052 Summary: ICE with -Wmismatched-tags with partially specialized friend struct of self type Product: gcc Version: 10.3.0 Status: UNCONFIRMED Sever

[Bug target/105870] Asan cannot work correctly for RISC-V GCC

2022-06-21 Thread cooper.joshua at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870 --- Comment #8 from JUN SHA --- I have fixed this bug and will commit the patch then.

[Bug c++/106051] New: -Wmismatched-tags gives false positive warning when "class C" is "using namespace"d into a namespace with another "class C" declaration

2022-06-21 Thread beardsley.matt.j at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106051 Bug ID: 106051 Summary: -Wmismatched-tags gives false positive warning when "class C" is "using namespace"d into a namespace with another "class C" declaration Product: gcc

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 --- Comment #6 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:4306339798b6843937c628c5ece8c234b309b13d commit r13-1191-g4306339798b6843937c628c5ece8c234b309b13d Author: Roger Sayle Date: Wed J

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2022-06-21 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 --- Comment #2 from kargl

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2022-06-21 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #1 from kargl at gcc dot gnu.org --- Created attachment 53187 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53187&action=edit implementation of feature; no testcases The attach patch has had some minimal testing while it was u

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 H.J. Lu changed: What|Removed |Added Attachment #53171|0 |1 is obsolete|

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

2022-06-21 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 --- Comment #6 from Steve Kargl --- On Tue, Jun 21, 2022 at 09:28:27PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 > > --- Comment #5 from anlauf at gcc dot gnu.org --- > Submitted version: http

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

2022-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105691 --- Comment #5 from anlauf at gcc dot gnu.org --- Submitted version: https://gcc.gnu.org/pipermail/fortran/2022-June/057940.html

[Bug c++/99963] [11 Regression] [concepts] template vs concept auto reports ambiguous overload

2022-06-21 Thread tabloid.adroit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99963 tabloid.adroit at gmail dot com changed: What|Removed |Added CC||tabloid.adroit at gmail

[Bug c++/98469] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6350

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

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879

2022-06-21 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 Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/105691] Incorrect calculation of INDEX(str1,str2) at compile time

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

[Bug c++/105824] Accepts invalid issue with implicit conversion of a scoped enumeration type

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105824 --- Comment #2 from Andrew Pinski --- Interesting MSVC accepts it too ...

[Bug c/105775] GCC uses an invalid assumption in numeric limits of char

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105775 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from Andrew P

[Bug fortran/106050] New: ICE in reject_statement, at fortran/parse.cc:2879

2022-06-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 Bug ID: 106050 Summary: ICE in reject_statement, at fortran/parse.cc:2879 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/106049] New: ICE in gfc_simplify_pack, at fortran/simplify.cc:6481

2022-06-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106049 Bug ID: 106049 Summary: ICE in gfc_simplify_pack, at fortran/simplify.cc:6481 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/106048] New: [10/11/12/13 Regression] ICE in ubsan_encode_value, at ubsan.cc:143 / verify_gimple failed

2022-06-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106048 Bug ID: 106048 Summary: [10/11/12/13 Regression] ICE in ubsan_encode_value, at ubsan.cc:143 / verify_gimple failed Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug fortran/106047] New: ICE in structure_alloc_comps, at fortran/trans-array.cc:9574

2022-06-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106047 Bug ID: 106047 Summary: ICE in structure_alloc_comps, at fortran/trans-array.cc:9574 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/105807] ICE / error when defining a class containing polymorphic components

2022-06-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105807 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #2 from G.

[Bug c++/80637] [concepts] incorrect ambiguous overload

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80637 --- Comment #2 from Andrew Pinski --- clang accepts this while MSVC rejects this for the same reason as GCC.

[Bug c++/80637] [concepts] incorrect ambiguous overload

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80637 --- Comment #1 from Andrew Pinski --- Created attachment 53185 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53185&action=edit Updated full testcase

[Bug c++/106046] GCC fails to disambiguate call to static member function when inside a class template

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106046 --- Comment #1 from Andrew Pinski --- Created attachment 53184 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53184&action=edit testcase

[Bug target/105960] [12/13 Regression] Crash in 32-bit mode

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:2474c8e09a93027cde39ecb6a53742142c8496ed commit r12-8501-g2474c8e09a93027cde39ecb6a53742142c8496ed Author: H.J. Lu Date: Tue

[Bug tree-optimization/105651] [12/13 Regression] bogus "may overlap" memcpy warning with std::string

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug tree-optimization/105651] [12/13 Regression] bogus "may overlap" memcpy warning with std::string

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Andrew Pinski changed: What|Removed |Added Summary|bogus "may overlap" memcpy |[12/13 Regression] bogus

[Bug tree-optimization/105651] bogus "may overlap" memcpy warning with std::string

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Andrew Pinski changed: What|Removed |Added CC||cuzdav at gmail dot com --- Comment #6

[Bug tree-optimization/106044] Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

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

[Bug c++/106046] New: GCC fails to disambiguate call to static member function when inside a class template

2022-06-21 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106046 Bug ID: 106046 Summary: GCC fails to disambiguate call to static member function when inside a class template Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug libgomp/106045] Incorrect testcase in libgomp.c/target-31.c at -O0

2022-06-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106045 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/106045] Incorrect testcase in libgomp.c/target-31.c at -O0

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106045 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:85d613da341b76308edea48359a5dbc7061937c4 commit r13-1190-g85d613da341b76308edea48359a5dbc7061937c4 Author: Jakub Jelinek Date: T

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 --- Comment #6 from Hongtao.liu --- > backwards STV? There's a pass in x86 backend called STV(scalar to vector, the pass convert scalar instructions into vector mode when profitable), I guess "backwards STV" means converting vector instruction

[Bug tree-optimization/105545] [12/13 Regression] Warning for string assignment with _GLIBCXX_ASSERTIONS since r12-3347-g8af8abfbbace49e6

2022-06-21 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545 Peter Dimov changed: What|Removed |Added CC||pdimov at gmail dot com --- Comment #7 fr

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-21 Thread goldstein.w.n at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 --- Comment #5 from Noah Goldstein --- (In reply to Richard Biener from comment #4) > The vectorizer does not anticipate store-merging performing "vectorization" > in GPRs and thus the scalar cost is off (it also doesn't anticipate the > differe

[Bug libstdc++/97936] [11/12 Regression] 30_threads/latch/3.cc hangs

2022-06-21 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 Petr Sumbera changed: What|Removed |Added CC||sumbera at volny dot cz --- Comment #19 f

[Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a

2022-06-21 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106033 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106033 --- Comment #3 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:7905a9ac26707ed6ac49e40e35a9c8755c6574e3 commit r13-1189-g7905a9ac26707ed6ac49e40e35a9c8755c6574e3 Author: Ian Lance Taylor Dat

[Bug rust/105913] gccrs doesn't compile on 32-bit targets

2022-06-21 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105913 --- Comment #5 from Marc Poulhiès --- Oh, nice, should have checked before commenting then ! Thanks !

[Bug tree-optimization/106044] Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106044 --- Comment #2 from Chris Uzdavinis --- Even marginally simpler: #include auto f() { return "_" + std::string(" "); } Originally I marked it as tree-optimization since it's only with -O3, but it could be an issue in the standard library

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #9 from H.J. Lu --- (In reply to Richard Biener from comment #8) > (In reply to H.J. Lu from comment #6) > > Created attachment 53169 [details] > > A patch > > > > This patch multiplies the vector store cost by the number of scalar

[Bug gcov-profile/106036] Missing stdint.h include in libgcc/libgcov.h

2022-06-21 Thread kacper.slominski72 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106036 --- Comment #2 from Kacper Słomiński --- Okay, this seems to have been a false alarm, sorry for that! Our C library was missing the typedef for intptr_t in unistd.h, which POSIX does specify. After adding that, libgcc compiled without problems.

[Bug libgomp/106045] New: Incorrect testcase in libgomp.c/target-31.c at -O0

2022-06-21 Thread piannetta at kalrayinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106045 Bug ID: 106045 Summary: Incorrect testcase in libgomp.c/target-31.c at -O0 Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug rust/105913] gccrs doesn't compile on 32-bit targets

2022-06-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105913 --- Comment #4 from Thomas Schwinge --- (In reply to Marc Poulhiès from comment #3) > Fixed in github, but not yet in gcc's repository AFAIK. It is, as of today, 10:33 UTC, when I did the 'git push'. ;-). (If there's more to do, then please

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-06-21 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #3 from Benjamin Buch --- Bug is still present in GCC 12.1 and current trunk.

[Bug tree-optimization/106044] Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106044 --- Comment #1 from Chris Uzdavinis --- only in c++20, too.

[Bug tree-optimization/106044] New: Spurious warning: -Wrestrict for adding std::strings (__builtin_memcpy)

2022-06-21 Thread cuzdav at gmail dot com via Gcc-bugs
lt.org/z/KMWehnscM Command line: g++12 -O3 --std=c++20 -Wrestrict source.cpp Output: In file included from /opt/compiler-explorer/gcc-trunk-20220621/include/c++/13.0.0/string:40, from :1: In static member function 'static constexpr std::char_traits::char_type* std::char_traits::

[Bug rust/105913] gccrs doesn't compile on 32-bit targets

2022-06-21 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105913 --- Comment #3 from Marc Poulhiès --- Fixed in github, but not yet in gcc's repository AFAIK.

[Bug rust/105913] gccrs doesn't compile on 32-bit targets

2022-06-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105913 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/94899] Failure to optimize out add before compare with INT_MIN

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94899 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ab981aab92cbc71918fbaadcf6fa64bdb2b69be7 commit r13-1187-gab981aab92cbc71918fbaadcf6fa64bdb2b69be7 Author: Arjun Shankar Date: Tu

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a0c30fe3b888f20215f3e040d21b62b603804ca9 commit r13-1186-ga0c30fe3b888f20215f3e040d21b62b603804ca9 Author: Jakub Jelinek Date:

[Bug middle-end/106030] [13 Regression] ice in emit_move_insn, at expr.cc:4026

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2df1df945fac85d7b3d084001414a66a2709d8fe commit r13-1185-g2df1df945fac85d7b3d084001414a66a2709d8fe Author: Jakub Jelinek Date: T

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #7 from CVS Commits --- The master branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:57424087e82db140c06d4ea73f9700d5291c5bc2 commit r13-1184-g57424087e82db140c06d4ea73f9700d5291c5bc2 Author: Xionghu Luo Date: Thu

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #6 from rguenther at suse dot de --- On Tue, 21 Jun 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 > > --- Comment #5 from Jakub Jelinek --- > The problem with switch-conversion done mu

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #7 from Jan Wassenberg --- Sure, added GCC11 .ii. It does indeed still freeze GCC 12.

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #6 from Jan Wassenberg --- Created attachment 53181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53181&action=edit GCC11 zipped preprocessed source

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #5 from Jakub Jelinek --- The problem with switch-conversion done multiple times is that when it is done early, it can do worse job than when it is done late, e.g. we can have better range information later which allows (unfortunatel

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #5 from Martin Liška --- (In reply to Jan Wassenberg from comment #4) > Thanks for having a look! BTW forgot to mention: version 11.0 does not have > this issue. Can you please share pre-processed source from GCC 11? And can you ver

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #4 from Richard Biener --- IIRC switch conversion was run early originally because it was supposed to improve inlining heuristics. One might view if-to-switch + switch-conversion as canonicalization which would mean running it befor

[Bug rtl-optimization/106041] [12/13 Regression] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Richard Biener changed: What|Removed |Added Version|12.0|12.1.0 Target Milestone|---

[Bug c/106043] New: Power10: lacking vec_blendv builtins

2022-06-21 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106043 Bug ID: 106043 Summary: Power10: lacking vec_blendv builtins Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Last reconfirmed

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2022-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 --- Comment #6 from Andrew Pinski --- (In reply to Ivan Sorokin from comment #5) > I would suggest (In reply to Andrew Pinski from comment #4) > > nullptr_t t, t1 = nullptr; > > __builtin_memcpy(&a[0], &t, sizeof(t)); > > > So I suspect thi

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2022-06-21 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 --- Comment #5 from Ivan Sorokin --- I would suggest (In reply to Andrew Pinski from comment #4) > nullptr_t t, t1 = nullptr; > __builtin_memcpy(&a[0], &t, sizeof(t)); > So I suspect this should be marked as invalid. The questions is how G

[Bug tree-optimization/105736] [12/13 Regression] ICE in force_gimple_operand_1, at gimplify-me.cc:79 since r13-222-g28896b38fabce818

2022-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105736 --- Comment #4 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:70454c50b4592fe6876ecca13268264e395e058f commit r13-1183-g70454c50b4592fe6876ecca13268264e395e058f Author: Siddhesh Poyarekar

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug gcov-profile/106036] Missing stdint.h include in libgcc/libgcov.h

2022-06-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106036 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/106041] infinite loop in fast_dce at -O1 with aarch64

2022-06-21 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 --- Comment #4 from Jan Wassenberg --- Thanks for having a look! BTW forgot to mention: version 11.0 does not have this issue.