[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 --- Comment #5 from Jason Merrill --- *** Bug 106178 has been marked as a duplicate of this bug. ***

[Bug c++/106178] [13 Regression] Rejected code with "is private within this context" 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=106178 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2022-07-05 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105626 --- Comment #6 from Ulrich Drepper --- (In reply to Marek Polacek from comment #5) > Fixed for GCC 13. I could probably backport to GCC 12, if desirable. Thanks. And I certainly would appreciate a backport since this is an annoying warning in

[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|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 --- Comment #9 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:656c0212909bc91b1025aa12774d981adb531b4c commit r13-1516-g656c0212909bc91b1025aa12774d981adb531b4c Author: Jason Merrill Date: T

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

2022-07-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106179 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:656c0212909bc91b1025aa12774d981adb531b4c commit r13-1516-g656c0212909bc91b1025aa12774d981adb531b4c Author: Jason Merrill Date: T

[Bug c++/106211] New: Rejects valid with function template with non-deduced parameters from deduced parameters of another function template

2022-07-05 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106211 Bug ID: 106211 Summary: Rejects valid with function template with non-deduced parameters from deduced parameters of another function template Product: gcc Versio

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #37 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #36) > An alternative solution: for programs that are known to potentially fail due > to built libraries and LD_LIBRARY_PATH, GCC could define wrappers that clean >

[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 vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #36 from Vincent Lefèvre --- An alternative solution: for programs that are known to potentially fail due to built libraries and LD_LIBRARY_PATH, GCC could define wrappers that clean up LD_LIBRARY_PATH before executing the real progr

[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 vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #35 from Vincent Lefèvre --- And since the title of this bug was changed to mention that this is related to the GNU gold linker, there is a runpath bug in this linker that might affect libtool (perhaps causing it to use LD_LIBRARY_PA

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #34 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #33) > (In reply to Andrew Pinski from comment #32) > > The runpath won't work because the libraries are installed yet. > > This is what libtool does for GNU MPFR,

[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 vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 --- Comment #33 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #32) > The runpath won't work because the libraries are installed yet. This is what libtool does for GNU MPFR, and this works fine. For instance, when building tes

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

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

2022-07-05 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106180 --- Comment #4 from Haochen Jiang --- Created attachment 53261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53261&action=edit This patch aims to handle memory issue when unpacking in cvtps2pd I am trying to solve this ICE problem with t

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

2022-07-05 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 Thomas Rodgers changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[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 #5 from xeioex --- My question is more practical. For example while `-fexcess-precision=standard` fixes the problem in GCC. But, I am left with the same problem regarding other compilers. At least am looking for a way to detect exces

[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

[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?

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

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).

[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|

[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 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 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 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] 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 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 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 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++/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 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 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 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 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 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 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 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 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 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 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/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 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 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 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++/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++/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 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 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 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 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/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 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] 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 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 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 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 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 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 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++/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 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++/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 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 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 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 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 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 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[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 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 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 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 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 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 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++/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 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 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 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/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 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/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 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 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 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 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 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 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 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 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] 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 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 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 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 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 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 Keywords||missed-optimization Status

[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/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|

  1   2   >