[Bug target/106187] armhf: Miscompilation at all optimization levels

2022-07-05 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #6 from Mathieu Malaterre --- (In reply to Andrew Pinski from comment #5) > Does it work with -fstrict-aliasing ? Yes with and without valgrind I can reproduce the assert. > Does adding -fsanitize=address report anything? When I u

[Bug tree-optimization/106182] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 since r13-1450-gd2a898666609452e

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106182 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b55284f4a1235fccd8254f539ddc6b869580462b commit r13-1467-gb55284f4a1235fccd8254f539ddc6b869580462b Author: Richard Biener Date:

[Bug tree-optimization/106182] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 since r13-1450-gd2a898666609452e

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

[Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106194 Bug 106194 depends on bug 106182, which changed state. Bug 106182 Summary: [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 since r13-1450-gd2a89809452e https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106182

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-05 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #7 from Jan Wassenberg --- The easiest way to reduce the amount of code in the binary is to comment out from mul_test.cc all the HWY_EXPORT_AND_TEST_P except the one with TestAllMulEven. The actual miscompilation is probably happeni

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Mi

[Bug middle-end/106190] [12/13 Regression] ICE in expand_builtin_eh_common with -fnon-call-exceptions -fsanitize=address,undefined -fno-sanitize-recover=all

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106190 --- Comment #4 from Richard Biener --- Somehow we delted EH region 1 while still having _18 = __builtin_eh_pointer (1); in the IL.

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-05 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #8 from Mathieu Malaterre --- (In reply to Jan Wassenberg from comment #7) > The easiest way to reduce the amount of code in the binary is to comment out > from mul_test.cc all the HWY_EXPORT_AND_TEST_P except the one with > TestAllM

[Bug tree-optimization/106192] [11/12/13 Regression] ICE in vect_loop_versioning, at tree-vect-loop-manip.cc:3522

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106192 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/106195] RFE: Split -msse into -msse and -fenable-intrinsics

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106195 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #2 from Richard

[Bug target/106195] RFE: Split -msse into -msse and -fenable-intrinsics

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106195 --- Comment #3 from Richard Biener --- Implementation-wise the simples way would be "sub-functions" that are assembled "inline". A frame like we have for nested functions would appear (ideally we'd be able to optimize those).

[Bug c++/87729] Please include -Woverloaded-virtual in -Wall

2022-07-05 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 Stephan Bergmann changed: What|Removed |Added CC||sbergman at redhat dot com --- Commen

[Bug middle-end/106196] [13 Regression] vect_do_peeling ICE since g:3769ad4ccea9589b3f7edaef901cb542aa10f49a

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106196 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-07-05 Target Milestone|---

[Bug bootstrap/105688] Cannot build GCC 11.3 on Fedora 36

2022-07-05 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #26 from Vincent Lefèvre --- (In reply to Jonathan Wakely from comment #23) > (In reply to Vincent Lefèvre from comment #21) > > I suppose that LD_LIBRARY_PATH is set because it is needed in order to use > > built libraries. > > It

[Bug tree-optimization/106198] New: [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 Bug ID: 106198 Summary: [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 Richard Biener changed: What|Removed |Added Keywords||needs-reduction Target Milestone|---

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

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

[Bug tree-optimization/106157] [13 Regression] ICE verify_ssa failed since r13-1268-g8c99e307b20c502e

2022-07-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106157 --- Comment #1 from Aldy Hernandez --- Silly question... In the lto1 that ICEs, we have the following in a.ltrans0.ltrans.094t.fixup_cfg3 (i.e. before DOM even comes into the picture): // Local variable struct VideoFrame videoFrame; ... ..

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #4 from Richard

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

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

[Bug d/106139] d: aggregate value used where floating point was expected

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0b909ae026e5aaf2ce42ef5c33128dbc06d29803 commit r10-10885-g0b909ae026e5aaf2ce42ef5c33128dbc06d29803 Author: Iain Buclaw Dat

[Bug d/106139] d: aggregate value used where floating point was expected

2022-07-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/106157] [13 Regression] ICE verify_ssa failed since r13-1268-g8c99e307b20c502e

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106157 --- Comment #2 from Richard Biener --- the reduction probably ended up removing the initialization as that's not needed to reproduce the ICE

[Bug c++/106199] New: vector::insert optimization is broken with gcc-12

2022-07-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 Bug ID: 106199 Summary: vector::insert optimization is broken with gcc-12 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/106199] vector::insert optimization is broken with gcc-12

2022-07-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 康桓瑋 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/100366] [11/12/13 Regression] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

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

[Bug c++/106199] vector::insert optimization is broken with gcc-12

2022-07-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 康桓瑋 changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug middle-end/106196] [13 Regression] vect_do_peeling ICE since g:3769ad4ccea9589b3f7edaef901cb542aa10f49a

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106196 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1a6e0d8252a71c61d4dc616044fb25b5ac2cfffb commit r13-1502-g1a6e0d8252a71c61d4dc616044fb25b5ac2cfffb Author: Richard Biener Date:

[Bug middle-end/106196] [13 Regression] vect_do_peeling ICE since g:3769ad4ccea9589b3f7edaef901cb542aa10f49a

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

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 --- Comment #1 from Richard Biener --- reducing is slow but progressing, eventually fuzzers will find a simpler duplicate as well ...

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220705 (experimental) [master r13-1500-g510ac273a78] (GCC) [565

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2022-07-05 Thread charles at yubo dot live via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #20 from charles-yubo --- As seen in godbolt, https://godbolt.org/z/qKGdPv94r , it exists in 11.3 and 12.1 with new following message : error: array used as initializer

[Bug target/105928] [AArch64] 64-bit constants with same high/low halves can use ADD lsl 32 (-Os at least)

2022-07-05 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105928 rsandifo at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 --- Comment #3 from Richard Biener --- OK, that one is really the same as PR106182 but the fix there no longer works (we don't remove a loop during fixup).

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c3d2600cfb476e576fd27f3f29f49e968e86774d commit r13-1503-gc3d2600cfb476e576fd27f3f29f49e968e86774d Author: Richard Biener Date:

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

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

[Bug target/106180] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-1418-g73f942c08deef3

2022-07-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106180 --- Comment #3 from Jakub Jelinek --- That doesn't really matter, many instructions just use the g, q etc. modifiers so that the correct Intel syntax is written, the RTL can have larger MEM just fine, the only thing that is wrong is e.g. if the

[Bug tree-optimization/106192] [11/12/13 Regression] ICE in vect_loop_versioning, at tree-vect-loop-manip.cc:3522

2022-07-05 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106192 --- Comment #2 from Michael Matz --- Unroll-and-jam simply unrolls the outer loop and merged all resulting inner-loop bodies. In this situation we have (before unroll-and-jam): outerloop(i_1) { _12 = i_1 <= 59 innerloop(i_1, j by 1) {

[Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e

2022-07-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106152 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-07-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 Patrick Palka changed: What|Removed |Added CC||byteslice at airmail dot cc --- Comment

[Bug tree-optimization/106192] [11/12/13 Regression] ICE in vect_loop_versioning, at tree-vect-loop-manip.cc:3522

2022-07-05 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106192 --- Comment #3 from Michael Matz --- (In reply to Michael Matz from comment #2) > see why it should be. If GIMP_SIMD_LANE has properties that make this > transformation invalid I would argue that those properties are correctly "are _not_" I me

[Bug c/12245] [10/11/12/13 regression] Uses lots of memory when compiling large initialized arrays

2022-07-05 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245 Carlos Galvez changed: What|Removed |Added CC||carlosgalvezp at gmail dot com --- Comme

[Bug c/106200] New: Shrink-wrapping opportunity releated to function call

2022-07-05 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106200 Bug ID: 106200 Summary: Shrink-wrapping opportunity releated to function call Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug rtl-optimization/106200] Shrink-wrapping opportunity releated to function call

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106200 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug libstdc++/106201] New: filesystem::directory_iterator is a borrowable range?

2022-07-05 Thread prlw1 at cam dot ac.uk via Gcc-bugs
ach( std::filesystem::directory_iterator("/") | std::views::take(3), print ); } the first two for_each clauses compile and execute correctly, even with g++ 10.3.0. Is my expectation that the third clause is valid incorrect? (I just tried with today's

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:07dd0f7ba27d1fe9f0ce5b049ac5735dc5d361ad commit r13-1505-g07dd0f7ba27d1fe9f0ce5b049ac5735dc5d361ad Author: Richard Biener Date:

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

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

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > The third one fails but not because of anything to do with borrowable > ranges. The problem is that the filesystem::swap(path&, path&) overload is > found by

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #3 from Jonathan Wakely --- Reduced to not use concepts: struct foo { template foo(const T&) { } }; struct bar { }; struct baz { template baz(const T&) { } }; void f(foo&); void f(baz, ...); int main() { bar b; f(b);

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 --- Comment #8 from Jeffrey A. Law --- Just glad it's fixed. I hope my bisection didn't waste too much of anyone's time.

[Bug tree-optimization/106186] [13 regression] Recent change causing target regressions for uninitialized objects

2022-07-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186 --- Comment #9 from Aldy Hernandez --- (In reply to Jeffrey A. Law from comment #8) > Just glad it's fixed. I hope my bisection didn't waste too much of anyone's > time. Heh, not mine. It was unlikely it was the nonzero bit patch as that just

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 Jonathan Wakely changed: What|Removed |Added Depends on||94894 --- Comment #4 from Jonathan Wa

[Bug c++/94894] Premature instantiation of conversion function template during overload resolution

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94894 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug bootstrap/105688] Cannot build GCC 11.3 on Fedora 36

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #27 from Jonathan Wakely --- (In reply to Artem S. Tashkinov from comment #25) > Can you please try with the script I posted in comment #4? That works fine on F35 and F36.

[Bug c++/105626] -Wformat should accept u8"" strings

2022-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105626 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-07-05 Assignee|unassigne

[Bug middle-end/106199] vector::insert optimization is broken with gcc-12

2022-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |middle-end --- Comment #3 from Jonath

[Bug c++/106202] New: internal compiler error: in move_fn_p, at cp/decl.cc:14907

2022-07-05 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106202 Bug ID: 106202 Summary: internal compiler error: in move_fn_p, at cp/decl.cc:14907 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug rtl-optimization/96692] Failure to optimize xor+or+xor to andnot+xor

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96692 --- Comment #2 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:d458c53a6f37c8c49aa854d12e6867b4d914555f commit r13-1507-gd458c53a6f37c8c49aa854d12e6867b4d914555f Author: Roger Sayle Date: Tue Ju

[Bug target/105854] ICE: in extract_constrain_insn, at recog.cc:2692 (insn does not satisfy its constraints: sse2_lshrv1ti3)

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105854 --- Comment #7 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:02e2e15ec4b610c0f5c73e1db424b1bbc65dd39a commit r13-1508-g02e2e15ec4b610c0f5c73e1db424b1bbc65dd39a Author: Roger Sayle Date: Tue J

[Bug bootstrap/105688] Cannot build GCC 11.3 on Fedora 36

2022-07-05 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #28 from Artem S. Tashkinov --- (In reply to Jonathan Wakely from comment #27) > (In reply to Artem S. Tashkinov from comment #25) > > Can you please try with the script I posted in comment #4? > > That works fine on F35 and F36. I

[Bug analyzer/106203] New: Allow to emit diagnostics at return edges for the exit point as well as the call site

2022-07-05 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106203 Bug ID: 106203 Summary: Allow to emit diagnostics at return edges for the exit point as well as the call site Product: gcc Version: unknown Status: UNCONFIRMED

[Bug analyzer/106204] New: False positive from -Wanalyzer-use-of-uninitialized-value with -ftrivial-auto-var-init=zero

2022-07-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106204 Bug ID: 106204 Summary: False positive from -Wanalyzer-use-of-uninitialized-value with -ftrivial-auto-var-init=zero Product: gcc Version: 12.0 Status

[Bug bootstrap/105688] GCC 11.3 doesn't build with the GNU gold linker (version 2.37-27.fc36) 1.16: libstdc++.so.6: version `GLIBCXX_3.4.30' not found

2022-07-05 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 Artem S. Tashkinov changed: What|Removed |Added Summary|Cannot build GCC 11.3 on|GCC 11.3 doesn't build with

[Bug analyzer/106204] False positive from -Wanalyzer-use-of-uninitialized-value with -ftrivial-auto-var-init=zero

2022-07-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106204 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/105888] RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function

2022-07-05 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888 Tim Lange changed: What|Removed |Added CC||tlange at gcc dot gnu.org --- Comment #2 fr

[Bug analyzer/105888] RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function

2022-07-05 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888 --- Comment #3 from Tim Lange --- (In reply to Tim Lange from comment #2) > I do have a fast prototype of this feature, but polishing that would require > PR105888 first. I plan to work on other checkers and get more familiar with > the code fir

[Bug bootstrap/105688] GCC 11.3 doesn't build with the GNU gold linker (version 2.37-27.fc36) 1.16: libstdc++.so.6: version `GLIBCXX_3.4.30' not found

2022-07-05 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #30 from Artem S. Tashkinov --- I'm not sure why certain headers file in the resulting build have changed: diff -urN gcc/lib/gcc/x86_64-pc-linux-gnu/11/include/omp.h gcc.123/lib/gcc/x86_64-pc-linux-gnu/11/include/omp.h --- gcc/lib/g

[Bug bootstrap/105688] GCC 11.3 doesn't build with the GNU gold linker (version 2.37-27.fc36) 1.16: libstdc++.so.6: version `GLIBCXX_3.4.30' not found

2022-07-05 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #31 from Artem S. Tashkinov --- And one final tidbit, `make LD=ld.bfd install prefix=/tmp/GCC-11.3` fails: make[3]: Entering directory '/tmp/OBJDIR/libcc1' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/tmp/

[Bug c++/99310] [11/12/13 Regression] ICE: canonical types differ for identical types 'void (A::)(void*)' and 'void (A::)(void*)'

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99310 --- Comment #5 from G. Steinmetz --- ICE is reproducible with e.g. -march=nano-x2 or -march=nano-x4 (gcc configured with --enable-checking=yes) $ gcc-13-20220703 -c pr39060.C -march=nano-x2 ... pr39060.C:19:15: internal compiler error: canonica

[Bug c++/106205] New: ICE: canonical types differ for identical types 'int()' and 'int()'

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106205 Bug ID: 106205 Summary: ICE: canonical types differ for identical types 'int()' and 'int()' Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106206] New: [12/13 Regression] ICE: canonical types differ for identical types 'int(...)' and 'int(...)'

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106206 Bug ID: 106206 Summary: [12/13 Regression] ICE: canonical types differ for identical types 'int(...)' and 'int(...)' Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c/106207] New: [11/12/13 Regression] ICE in apply_fixit, at edit-context.cc:769

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106207 Bug ID: 106207 Summary: [11/12/13 Regression] ICE in apply_fixit, at edit-context.cc:769 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/106208] New: [12/13 Regression] ICE in branch_prob, at profile.cc:1459

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106208 Bug ID: 106208 Summary: [12/13 Regression] ICE in branch_prob, at profile.cc:1459 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/106209] New: ICE in add_init_expr_to_sym, at fortran/decl.cc:2132

2022-07-05 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106209 Bug ID: 106209 Summary: ICE in add_init_expr_to_sym, at fortran/decl.cc:2132 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/106207] [11/12/13 Regression] ICE in apply_fixit, at edit-context.cc:769

2022-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106207 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/99307] FAIL: gfortran.dg/class_assign_4.f90 execution test

2022-07-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99307 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/106206] [12/13 Regression] ICE: canonical types differ for identical types 'int(...)' and 'int(...)'

2022-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106206 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c++

[Bug c++/106205] ICE: canonical types differ for identical types 'int()' and 'int()'

2022-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106205 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-07-05 Status|UNCONFIRM

[Bug c++/106202] internal compiler error: in move_fn_p, at cp/decl.cc:14907

2022-07-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106202 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/106209] ICE in add_init_expr_to_sym, at fortran/decl.cc:2132

2022-07-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106209 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-07-05 Status

[Bug analyzer/106181] [13 Regression] ICE in capacity_compatible_with_type, at analyzer/region-model.cc:2909

2022-07-05 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106181 --- Comment #2 from Tim Lange --- Posted a fix to the mailing list here: https://gcc.gnu.org/pipermail/gcc-patches/2022-July/597871.html

[Bug analyzer/106204] False positive from -Wanalyzer-use-of-uninitialized-value with -ftrivial-auto-var-init=zero

2022-07-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106204 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David Malc

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

2022-07-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106049 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #1) > Maybe there is a better solution. Here's an alternative, probably more general approach that modifies is_constant_array_expr: when the array size - as impli

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

2022-07-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106049 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug c++/106179] [13 Regression] Rejected code since r13-1390-g07ac550393d00fca

2022-07-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106179 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105626] -Wformat should accept u8"" strings

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105626 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:543828e79bfa63ef26b11a2c9ea81fd7905f33aa commit r13-1511-g543828e79bfa63ef26b11a2c9ea81fd7905f33aa Author: Marek Polacek Date: Tu

[Bug c++/105626] -Wformat should accept u8"" strings

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

[Bug tree-optimization/106200] Shrink-wrapping opportunity releated to function call

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

[Bug rtl-optimization/106210] New: missing shrink wrap for simple case

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106210 Bug ID: 106210 Summary: missing shrink wrap for simple case Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Prior

[Bug rtl-optimization/106210] [10/11/12/13 Regression] missing shrink wrap for simple case

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106210 Andrew Pinski changed: What|Removed |Added Summary|missing shrink wrap for |[10/11/12/13 Regression]

[Bug rtl-optimization/106210] [10/11/12/13 Regression] missing shrink wrap for simple case

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106210 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from And

[Bug tree-optimization/106199] incorrect memcpy writing 1 or more bytes into a region of size 0 overflows the destination with std::vector::insert .

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||std::vector::insert . --- Comment #4 from Andrew Pinski --- /opt/compiler-explorer/gcc-trunk-20220705/include/c++/13.0.0/bits/stl_algobase.h:431:30: error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' writing 1 or more bytes into a region of size 0

[Bug tree-optimization/106199] [12 Regression] incorrect warning: memcpy writing 1 or more bytes into a region of size 0 overflows the destination with std::vector::insert

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106199 Andrew Pinski changed: What|Removed |Added Summary|incorrect memcpy writing 1 |[12 Regression] incorrect

[Bug libstdc++/106183] std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait()

2022-07-05 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106183 Thomas Rodgers changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

Possible gcc bug

2022-07-05 Thread Norman
Hi all, Consider this bit of code: unsigned int d=1,e=2,f;     if((d-e) < 0)    {    f=d-e;    printf("f=%i",f);    } gcc  -Wall -DLinux -D_FILE_OFFSET_BITS=64 -c scroll.c gcc compiles this without a whimper. However the expression (d-e) < 0 always evaluates to false (0).

Re: Possible gcc bug

2022-07-05 Thread Marek Polacek via Gcc-bugs
On Wed, Jul 06, 2022 at 10:15:51AM +1000, Norman wrote: > Hi all, > > Consider this bit of code: > > unsigned int d=1,e=2,f; > >     if((d-e) < 0) >    { >    f=d-e; >    printf("f=%i",f); >    } > > gcc  -Wall -DLinux -D_FILE_OFFSET_BITS=64 -c scroll.c > > gcc compiles thi

[Bug target/106165] incorrect result when using inlined asm implementation of floor() on i686

2022-07-05 Thread xeioexception at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106165 --- Comment #3 from xeioex --- Is there a portable (across platforms and compilers) to ensure that double values are always 64 bits?

[Bug target/106165] incorrect result when using inlined asm implementation of floor() on i686

2022-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106165 --- Comment #4 from Andrew Pinski --- (In reply to xeioex from comment #3) > Is there a portable (across platforms and compilers) to ensure that double > values are always 64 bits? It is still 64bit storage on i686, just uses the excessive prec

  1   2   >