[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393 Jakub Jelinek changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #2 from Jakub Jelin

[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used

2022-04-26 Thread 364961 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393 Laryushin Aleksandr <364961 at mail dot ru> changed: What|Removed |Added Resolution|INVALID |FIXED

[Bug sanitizer/105396] [9/10/11 Regression] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Summary|missed

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9715f10c0651c9549b479b69d67be50ac4bd98a6 commit r12-8276-g9715f10c0651c9549b479b69d67be50ac4bd98a6 Author: Jakub Jelinek Date: W

[Bug rtl-optimization/105376] ICE: in decimal_to_decnumber, at dfp.cc:134 with _Decimal128 at -O -g

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105376 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug rtl-optimization/105376] ICE: in decimal_to_decnumber, at dfp.cc:134 with _Decimal128 at -O -g

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105376 --- Comment #4 from Richard Biener --- (In reply to jos...@codesourcery.com from comment #3) > For this transformation to be correct for DFP, you need a 2 with quantum > exponent 0. Converting from either integer or binary floating-point 2 >

[Bug lto/105399] [12 Regression] -O2/-Ofast -flto ICEs as internal compiler error: verify_cgraph_node failed

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105399 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

2022-04-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/103605] [PowerPC] fmin/fmax should be inlined always with xsmindp/xsmaxdp

2022-04-26 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103605 --- Comment #6 from HaoChen Gui --- gcc -O0 -fsignaling-nans -D_WANT_SNAN -lm -o main main.c && ./main (nan, 3.0), fmin: 3.0, builtin: 3.0, xsmincdp: 3.0, xsmindp: 3.0 (3.0, nan), fmin: 3.0, builtin: nan, xsmincdp: nan, xsmindp: 3.0 (snan, 3.0

[Bug target/105359] _Float128 expanders and builtins disabled on ppc targets with 64-bit long double

2022-04-26 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105359 --- Comment #1 from Alexandre Oliva --- pr82748-1.c is another victim of this issue. do_copysign_ld needs to convert between (64-bit) long double and __ieee128 for __builtin_copysignq, and since the expanders for these conversions are condition

[Bug target/105402] New: ICE: in emit_swap_insn, at reg-stack.c:837 at -Og with custom target flags

2022-04-26 Thread zsojka at seznam dot cz via Gcc-bugs
d LTO compression algorithms: zlib zstd gcc version 12.0.1 20220426 (experimental) (GCC)

[Bug preprocessor/104640] incomplete unicode support for User-defined literals

2022-04-26 Thread pacoarjonilla at yahoo dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104640 --- Comment #3 from Paco Arjonilla --- (In reply to Paco Arjonilla from comment #2) Compiler output: :4:17: error: pasting """_" and "\U00b5m" does not give a valid preprocessing token 4 | double operator ""_##suffix (long long unsigne

[Bug c/105401] New: Improved diagnostics for code from "Labels as Values" documentation

2022-04-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105401 Bug ID: 105401 Summary: Improved diagnostics for code from "Labels as Values" documentation Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

2022-04-26 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 --- Comment #6 from Steve Kargl --- On Wed, Apr 27, 2022 at 12:03:54AM +, hp at gcc dot gnu.org wrote: > > --- Comment #5 from Hans-Peter Nilsson --- > (In reply to kargl from comment #4) > > You either need to remove the above two lines to

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:39d2411c787493adb1e1ae894cbef161cb7a114f commit r12-8275-g39d2411c787493adb1e1ae894cbef161cb7a114f Author: Kewen Lin Date: Tue Apr 2

[Bug middle-end/105400] g++-11 regression produces -Warray-bounds false positive warning with -O2

2022-04-26 Thread laurent.pinchart at ideasonboard dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105400 --- Comment #2 from Laurent Pinchart --- Thank you Andrew for the very quick answer! The original code is available at https://git.libcamera.org/libcamera/libcamera.git/tree/src/libcamera/base/object.cpp (the process() function is Object::mess

[Bug middle-end/105400] g++-11 regression produces -Warray-bounds false positive warning with -O2

2022-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105400 --- Comment #1 from Andrew Pinski --- This is just inlining and there is no way for GCC to know that the method type will return Type1 rather than Type2 here for the variable b. The warning is correct but only because of optimizations and such.

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

2022-04-26 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 --- Comment #5 from Hans-Peter Nilsson --- (In reply to kargl from comment #4) > You either need to remove the above two lines to get a valid program > or remove the testcase as it's testing processor dependent behavior. How about changing it to

[Bug c++/105400] New: g++-11 regression produces -Warray-bounds false positive warning with -O2

2022-04-26 Thread laurent.pinchart at ideasonboard dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105400 Bug ID: 105400 Summary: g++-11 regression produces -Warray-bounds false positive warning with -O2 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: no

[Bug c++/100252] [9/10/11/12 Regression] Internal compiler error during template instantiation

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104470] [10/11/12 Regression] internal compiler error: Segmentation fault compiling std::variant with -std=c++20

2022-04-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104470 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug lto/105399] New: [12 Regression] -O2/-Ofast -flto ICEs as internal compiler error: verify_cgraph_node failed

2022-04-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105399 Bug ID: 105399 Summary: [12 Regression] -O2/-Ofast -flto ICEs as internal compiler error: verify_cgraph_node failed Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/103605] [PowerPC] fmin/fmax should be inlined always with xsmindp/xsmaxdp

2022-04-26 Thread pc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103605 --- Comment #5 from pc at gcc dot gnu.org --- I modified the testcase from comment #3 to clear-before and check-after FE_INVALID exception bit for each operation: -- $ /opt/gcc-nightly/trunk/bin/gcc -O2 -o xsmindp-test xsmindp-test.c xsmindp.c -l

[Bug c++/98417] ICE when using C++ modules and -g

2022-04-26 Thread remi.galanalfonso at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98417 Rémi Galan Alfonso changed: What|Removed |Added CC||remi.galanalfonso at gmail dot com

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94376 Patrick Palka changed: What|Removed |Added CC||cuzdav at gmail dot com --- Comment #6 f

[Bug c++/94624] Assignment to nested mutable lambda's capture (of outer lambda non-mutable capture) is not allowed

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94624 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/102629] [10/11/12 Regression] ICE: tree check in lookup_base, at cp/search.c:233 since r10-2194-g10acaf4db9f8b54b

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102629 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9ace5d4dab2ab39072b0f07089621a823580f27c commit r12-8273-g9ace5d4dab2ab39072b0f07089621a823580f27c Author: Jason Merrill Date: T

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Patrick Palka changed: What|Removed |Added Assignee|ppalka at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 --- Comment #4 from Marek Polacek --- The patch above changed - if (TREE_CODE (template_type) == ENUMERAL_TYPE && !is_dependent_type + if (TREE_CODE (template_type) == ENUMERAL_TYPE + && !uses_template_parms (current_nonlambda

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug other/16996] [meta-bug] code size improvements

2022-04-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16996 Bug 16996 depends on bug 40361, which changed state. Bug 40361 Summary: Conditional return not always profitable with -Os https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40361 What|Removed |Added --

[Bug rtl-optimization/40361] Conditional return not always profitable with -Os

2022-04-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40361 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/103605] [PowerPC] fmin/fmax should be inlined always with xsmindp/xsmaxdp

2022-04-26 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103605 --- Comment #4 from joseph at codesourcery dot com --- On Tue, 26 Apr 2022, guihaoc at gcc dot gnu.org via Gcc-bugs wrote: > C99/11 standard > If just one argument is a NaN, the fmin functions return the other argument > (if > both arguments a

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 --- Comment #1 from Egor Pugin --- auto f = [](auto &&m) { enum { _,e3,e2,e1,C4,C3,C2,C1 }; static constexpr int x_coeffs[3][4] = { {e1,C2,C3,C4}, {e2,C1,C3,C4}, {e3,C1,C2,C4}, }; }; int main() { f(0); }

[Bug c++/105398] New: [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Bug ID: 105398 Summary: [11/12 Regression][ICE] enum in array in lambda Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/103605] [PowerPC] fmin/fmax should be inlined always with xsmindp/xsmaxdp

2022-04-26 Thread pc at gcc dot gnu.org via Gcc-bugs
" : "=wa" (rx) : "wa" (d1), "wa" (d0)); printf ("(SNAN, +3.0): %+3.1f %+3.1f %+3.1f\n", rf, rb, rx); d0 = __builtin_nans ("0"); rf = fmin (d0, d1); rb = __builtin_vsx_xsmindp (d0, d1); asm ("xsmindp %0,%1,%2" : "=wa" (

[Bug fortran/105371] The result of the merge function is different when it's type of parameters is the extensions type of derived type

2022-04-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105371 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-26 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384 --- Comment #7 from joseph at codesourcery dot com --- Using host libm routines is a bad idea, that would make the generated code depend on the host libm and processor. Having a cut-off to avoid constant folding these functions for n >= 128 m

[Bug rtl-optimization/105376] ICE: in decimal_to_decnumber, at dfp.cc:134 with _Decimal128 at -O -g

2022-04-26 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105376 --- Comment #3 from joseph at codesourcery dot com --- For this transformation to be correct for DFP, you need a 2 with quantum exponent 0. Converting from either integer or binary floating-point 2 will work for that. However, I note that de

[Bug c++/105397] New: Cannot export module initializer symbols with `-fvisibility=hidden`

2022-04-26 Thread bugzilla.gcc at me dot benboeckel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105397 Bug ID: 105397 Summary: Cannot export module initializer symbols with `-fvisibility=hidden` Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

2022-04-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug testsuite/105349] [12 regression] gcc.target/powerpc/bswap-brw.c fails after r12-8221

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

[Bug c++/105289] [11 Regression] ICE on partial specialization

2022-04-26 Thread michsteinb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 --- Comment #6 from Michael Steinberg --- (In reply to Patrick Palka from comment #4) > (In reply to Michael Steinberg from comment #2) > > Created attachment 52851 [details] > > Working modified partial specialization > > > > I suppose ice-on

[Bug c++/100252] [9/10/11/12 Regression] Internal compiler error during template instantiation

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #10 from Marek Polacek --- Proof of concept: --- a/gcc/cp/semantics.cc +++ b/gcc/cp/semantics.cc @@ -3296,6 +3296,14 @@ finish_compound_literal (tree type, tree compound_literal, if (TREE_CODE (compound_literal) == CONSTRUCTO

[Bug c++/100252] [9/10/11/12 Regression] Internal compiler error during template instantiation

2022-04-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #9 from Marek Polacek --- When we are cp_parser_late_parsing_nsdmi for "int y = A{x}.y;" we perform finish_compound_literal on type=A, compound_literal={((struct B *) this)->x}. When digesting this initializer, we call get_nsdmi whi

[Bug preprocessor/104640] incomplete unicode support for User-defined literals

2022-04-26 Thread pacoarjonilla at yahoo dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104640 Paco Arjonilla changed: What|Removed |Added CC||pacoarjonilla at yahoo dot es --- Comm

[Bug rtl-optimization/105383] [11/12 Regression] ICE: in change_insns, at rtl-ssa/changes.cc:674 with -Os -fno-tree-dominator-opts -fno-tree-vrp -msseregparm -m32 since r11-6188-g0b76990a9d75d97b

2022-04-26 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105383 --- Comment #2 from Zdenek Sojka --- Created attachment 52886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52886&action=edit a bit different testcase A bit different testcase, a bit different flags: $ x86_64-pc-linux-gnu-gcc -Os -fnon-c

[Bug c++/105386] [11 Regression] Tuple in unevaluated context is instantiated; creates reference to void

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105386 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] Tuple in |[11 Regression] Tuple in

[Bug c++/105289] [11 Regression] ICE on partial specialization

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] ICE on |[11 Regression] ICE on

[Bug c++/105289] [11/12 Regression] ICE on partial specialization

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Patrick Palka changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #4 from

[Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

2022-04-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX. since r12-3876-g4a960d548b7d7d94

2022-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Jakub Jelinek changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |jakub at gcc dot gnu.org --- Com

[Bug tree-optimization/105329] [12 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Keyw

[Bug fortran/103662] [12 Regression] TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03

2022-04-26 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662 --- Comment #24 from hubicka at kam dot mff.cuni.cz --- Thanks a lot! Honza

[Bug c++/105386] [11/12 Regression] Tuple in unevaluated context is instantiated; creates reference to void

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105386 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b6a48401da51e9042b6f0822d532b3b472492658 commit r12-8270-gb6a48401da51e9042b6f0822d532b3b472492658 Author: Patrick Palka Date: T

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #4 from Jakub Jelinek --- Oops, sorry Martin, missed you ASSIGNED this to yourself. If you have your fix for this, go ahead with it, if you don't, I can test mine.

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #3 from Jakub Jelinek --- So, the bug is clearly in asan_redzone_buffer::emit_redzone_byte. The off == offset case is handled correctly, but the other case is valid only if the gap is bigger such that we need to flush in between. --

[Bug fortran/78054] gfortran.dg/pr70673.f90 FAILs at -O0

2022-04-26 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78054 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment #

[Bug middle-end/105346] [11/12 Regression] -Wno-free-nonheap-object false positive (on Bison-generated grammar code)

2022-04-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105346 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #

[Bug middle-end/105346] [11/12 Regression] -Wno-free-nonheap-object false positive (on Bison-generated grammar code)

2022-04-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105346 --- Comment #11 from Andrew Macleod --- (In reply to Richard Biener from comment #6) > >: > bufp_2 = &buf; > if (&buf != bufp_2) > goto ; [INV] > else > goto ; [INV] > >: > __builtin_free (bufp_2); > > and for the stm

[Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #2 from Jakub Jelinek --- I think the bug is visible in -fdump-rtl-expand-details dump: Partition 2: size 40 align 16 c Partition 1: size 8 align 8 b Partition 0: size 4 align 4 a_1 Partition 3: size 4 align 8

[Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:cd4acb8cd9e45fd35664baa5b0a3150e479aae32 commit r12-8269-gcd4acb8cd9e45fd35664baa5b0a3150e479aae32 Author: Martin Liska Date: Tue

[Bug target/105325] power10: Error: operand out of range

2022-04-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 --- Comment #11 from Segher Boessenkool --- It should use "YZ" as constraint (Y is DS-mode, Z is X-mode). The predicate should probably be lwa_operand ("lwau" does not exist, that's the irregularity this predicate is for).

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-26 Assignee|unassigned

[Bug target/105394] [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394 Richard Biener changed: What|Removed |Added Component|tree-optimization |target Assignee|rguenth at g

gcc-bugs@gcc.gnu.org

2022-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103013 --- Comment #11 from Jonathan Wakely --- Fixed for 10.4 and 11.4 too.

[Bug tree-optimization/105394] [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

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

[Bug tree-optimization/105394] [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394 --- Comment #3 from Richard Biener --- We are calling tree_vec_extract with bitsize 32 but a QImode boolean type. ICK. (gdb) p debug_gimple_stmt (stmt) _8 = VEC_COND_EXPR <_6, _7, { 3.0e+0, 3.0e+0, 3.0e+0, 3.0e+0 }>; $15 = void (gdb) p debug_t

[Bug libstdc++/103911] std::from_chars shouldn't call isdigit

2022-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103911 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.4 Resolution|---

[Bug libstdc++/103630] [9 Regression] std::make_exception_ptr(t) is ill-formed

2022-04-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103630 Jonathan Wakely changed: What|Removed |Added Summary|[9/10 Regression] |[9 Regression] |std

[Bug libstdc++/104098] [11 Regression] bits/stl_iterator.h fails to compile for __cplusplus > 201703L and with __cpp_concepts undefined

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104098 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c8f58be95d666e08221447d43d84782e1e6fb95 commit r10-10578-g5c8f58be95d666e08221447d43d84782e1e6fb95 Author: Jonathan Wak

[Bug libstdc++/102048] __gnu_cxx::rope.erase(size_t __p) implementation seems to be wrong

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102048 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:dcd1fc4900fd101f8fa22883b6ac31e6f7601373 commit r10-10576-gdcd1fc4900fd101f8fa22883b6ac31e6f7601373 Author: Jonathan Wa

[Bug libstdc++/100153] Undefined behavior in stl_bvector.h

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100153 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:60da20c0cdfb6df11bce054ba82b71a0a24a1bd9 commit r10-10575-g60da20c0cdfb6df11bce054ba82b71a0a24a1bd9 Author: Jonathan Wak

gcc-bugs@gcc.gnu.org

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103013 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ba2baf20356befbba6c8d83bbb3676cfee7e146f commit r10-10574-gba2baf20356befbba6c8d83bbb3676cfee7e146f Author: Jonathan Wa

[Bug libstdc++/100117] FAIL testsuite/17_intro/headers/c++1998/49745.cc with trunk glibc

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:436891d97aef6d7a8e107d2d3e02e8ca4c52a51a commit r10-10571-g436891d97aef6d7a8e107d2d3e02e8ca4c52a51a Author: Jonathan Wak

[Bug libstdc++/49745] error: ‘int truncate’ redeclared as different kind of symbol

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 --- Comment #26 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:436891d97aef6d7a8e107d2d3e02e8ca4c52a51a commit r10-10571-g436891d97aef6d7a8e107d2d3e02e8ca4c52a51a Author: Jonathan Wak

[Bug libstdc++/103630] [9/10 Regression] std::make_exception_ptr(t) is ill-formed

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103630 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:02b601ad7ea06460e7bc42d7251e895d9031bc6e commit r10-10570-g02b601ad7ea06460e7bc42d7251e895d9031bc6e Author: Jonathan Wak

[Bug libstdc++/103650] [9/10 Regression] libstdc++ headers defined LT_OBJDIR and STDC_HEADERS

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103650 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:24eb54cc3b564f2bfa6d7e2fa26ddc82c8b2dc18 commit r10-10569-g24eb54cc3b564f2bfa6d7e2fa26ddc82c8b2dc18 Author: Jonathan Wak

[Bug libstdc++/103911] std::from_chars shouldn't call isdigit

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103911 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b596c35a4ed0143e84422449020296b43a655de7 commit r10-10560-gb596c35a4ed0143e84422449020296b43a655de7 Author: Jonathan Wak

[Bug libstdc++/103853] std::forward_list::merge should check if __list != this

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103853 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93d720f0ec7651e6a402dda33553817c1ad14ded commit r10-10559-g93d720f0ec7651e6a402dda33553817c1ad14ded Author: Pavel I. Kr

[Bug sanitizer/105396] New: missed stack-buffer-overflow by -O0

2022-04-26 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Bug ID: 105396 Summary: missed stack-buffer-overflow by -O0 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug tree-optimization/105394] [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

2022-04-26 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394 --- Comment #2 from Alex Coplan --- (In reply to Richard Biener from comment #1) > Hmm, in my cross-arm build I get > > > ./cc1plus -quiet t.c -I include -march=armv8.1-m.main+mve -mfloat-abi=hard > > -O > cc1plus: error: target CPU does not s

[Bug tree-optimization/105394] [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug modula2/105390] [12 regression] sigfpe redeclared in mc-boot-ch/GSysExceptions.c

2022-04-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105390 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3

[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393 Jakub Jelinek changed: What|Removed |Added Resolution|FIXED |INVALID CC|

[Bug libstdc++/105375] std::packaged_task has no deduction guide.

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

[Bug libstdc++/105375] std::packaged_task has no deduction guide.

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105375 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:eb6f6f638a547f0330cc7940c5389039b59e4e76 commit r11-9936-geb6f6f638a547f0330cc7940c5389039b59e4e76 Author: Jonathan Wake

[Bug rtl-optimization/105395] New: Invalid reload of atomic operation

2022-04-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105395 Bug ID: 105395 Summary: Invalid reload of atomic operation Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug analyzer/105382] Support for coroutines in -fanalyzer

2022-04-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105382 --- Comment #1 from David Malcolm --- Looks like the analyzer is assuming that all of the different _Coro_resume_index values are possible at each entry to f(f()::_Z1fv.Frame*), but AIUI that value is expressing which basic block the coroutine i

[Bug tree-optimization/105394] New: [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2

2022-04-26 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394 Bug ID: 105394 Summary: [12 Regression] ICE: verify_gimple failed with MVE during GIMPLE pass: veclower2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severit

[Bug c++/105386] [11/12 Regression] Tuple in unevaluated context is instantiated; creates reference to void

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105386 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used

2022-04-26 Thread 364961 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393 Laryushin Aleksandr <364961 at mail dot ru> changed: What|Removed |Added Resolution|INVALID |FIXED

[Bug c/105378] [OpenMP][5.1] 'nowait' on 'taskwait' not supported

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105378 --- Comment #1 from Jakub Jelinek --- @item @code{nowait} clause in @code{taskwait} directive @tab N @tab is certainly in our tables.

[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used

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

[Bug c++/105393] New: A simple for loop becomes an infinite when -O1/2/3 used

2022-04-26 Thread 364961 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393 Bug ID: 105393 Summary: A simple for loop becomes an infinite when -O1/2/3 used Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Pri

  1   2   >