[Bug tree-optimization/101895] [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895 --- Comment #1 from Andrew Pinski --- I wonder if we should do something like in match.pd anyways (unrelated to this issue): (simplify (vec_perm (any_binary:s (VEC_DUP/CONSTRUCTOR@0) @1)@2 @2 @3) (any_binary @0 (vec_perm @1 @1 @3)))

[Bug tree-optimization/101895] [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target

[Bug middle-end/101862] [C, C++] Potential '?:' diagnostic for always-true expressions in boolean context

2021-08-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101862 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/101895] New: [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities

2021-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895 Bug ID: 101895 Summary: [11/12 Regression] SLP Vectorizer change pushes VEC_PERM_EXPR into bad location spoiling further optimization opportunities Product: gcc

[Bug c++/101880] New: mangling vec_perm_expr is not implemented

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101880 Bug ID: 101880 Summary: mangling vec_perm_expr is not implemented Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ABI Severity: normal Priority: P3

[Bug target/101696] Function multiversioning not usable with new x86-64-v*

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101696 Martin Liška changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Bug ID: 101881 Summary: [9/10/11/12 Regression] ICE with vector type in template alias Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Martin Liška changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9/10/11/12 Regression] ICE

[Bug c/54907] post increasing a value pointed by p in subexpression of an expression modifying p saves the increased value in the wrong place

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54907 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code

[Bug c++/101878] ICE with invalid lambda definition

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101878 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/50198] New test gcc.c-torture/execute/scal-to-vec1.c fails on many targets

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50198 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.7.0 Component|c

[Bug c++/100765] attribute incorrectly applied during type alias deduction

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100765 --- Comment #1 from Andrew Pinski --- *** Bug 100766 has been marked as a duplicate of this bug. ***

[Bug c++/100766] Template type deduction fails with vector extensions

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100766 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/100765] attribute incorrectly applied during type alias deduction

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100765 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12 Ever confirmed|0

[Bug target/101882] New: modulus with input and output set to a hard register

2021-08-12 Thread willschm at gcc dot gnu.org via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: willschm at gcc dot gnu.org Target Milestone: --- Noted on powerpc using recent GCC. gcc version 12.0.0 20210812 (experimental) (GCC) foofoo9.c: register a __asm__("r20"); b() { a = a % 9 ;

[Bug c++/101883] New: class template argument deduction in non-type template parameter allows explicit deduction guide

2021-08-12 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101883 Bug ID: 101883 Summary: class template argument deduction in non-type template parameter allows explicit deduction guide Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug ipa/101726] target_clone resolver does not generate PIC despite -fPIC

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101726 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Liška

[Bug c++/101878] New: ICE with invalid lambda definition

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101878 Bug ID: 101878 Summary: ICE with invalid lambda definition Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code Severity: normal

[Bug driver/48083] DEPENDENCIES_OUTPUT + -no-integrated-cpp produces bad dependencies

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48083 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/101879] Broken diagnostic: 'vec_perm_expr' not supported by dump_expr

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101879 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12

[Bug c++/100765] attribute incorrectly applied during type alias deduction

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100765 --- Comment #3 from Andrew Pinski --- GNU++98 version: #define vec __attribute__((vector_size(4))) template vec T f(vec T); vec int ff(vec int t) { return f(t); } - CUT And one which rejects a different way: #define vec

[Bug middle-end/86156] ffmpeg clean clone fails

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86156 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Status|WAITING

[Bug tree-optimization/101868] [9/10/11 Regression] Incorrect reordering in -O2 with LTO

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0 Target Milestone|---

[Bug c++/101872] static_cast succeeds in CRTP with incorrect type

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101872 --- Comment #1 from Andrew Pinski --- Original testcase (since we won't know if godbolt will be around in 10-20 years ...): #include template typename ContainerImpl, typename Policy> struct BaseContainer { using Impl = ContainerImpl; //

[Bug c++/101344] [11/12 Regression] braced-init-list not supported in an aggregate deduction

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101344 Patrick Palka changed: What|Removed |Added Known to work||10.1.0, 10.2.0, 10.3.0 Known to

[Bug target/101882] modulus with input and output set to a hard register

2021-08-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2021-08-12

[Bug tree-optimization/101868] Incorrect reordering in -O2 with LTO

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-08-12 Ever confirmed|0

[Bug c++/101874] New: [12 Regression] ICE with auto specifier for arrays

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101874 Bug ID: 101874 Summary: [12 Regression] ICE with auto specifier for arrays Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c++/101873] Compilation error of valid code with return local variable in C++20 mode

2021-08-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101873 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/101874] [12 Regression] ICE with auto specifier for arrays since r12-1933-ge66d0b7b87d105d2

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101874 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-08-12

[Bug target/101860] [12 Regression] ICE in gen_reg_rtx, at emit-rtl.c:1199 since r12-2837-g50b5877925ef5ae8

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101860 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:04b4f3152593f85b05974528d1607619dd77d702 commit r12-2876-g04b4f3152593f85b05974528d1607619dd77d702 Author: Jakub Jelinek Date:

[Bug middle-end/101876] [290x] vector builtin vec_permi fails to resolve with #pragma GCC target

2021-08-12 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101876 --- Comment #1 from Marius Hillenbrand --- Comparing results with -mdebug, the variant that should match is ignored with -march=z13: ... s390_resolve_overloaded_builtin, code = 606, __builtin_s390_vec_permi - overloaded checking variant

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 --- Comment #12 from Jonathan Wakely --- (In reply to cqwrteur from comment #8) > But it is not documented. It is: https://gcc.gnu.org/install/configure.html#avr > > in the /src/c++11/system_error.cc > > #ifdef __AVR__ > return

[Bug c++/101663] [11/12 Regression] GCC crashes when assigning one single_view to another.

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101663 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/101726] target_clone resolver does not generate PIC despite -fPIC

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101726 --- Comment #5 from Martin Liška --- (In reply to Stefan Kneifel from comment #4) > Yes, but a programmer might choose to implement target clones for a shared > library using another language, e.g. hand-optimized assembler code (this was > the

[Bug c++/101879] New: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101879 Bug ID: 101879 Summary: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug tree-optimization/101451] Incorrect -Wstringop-truncation warning

2021-08-12 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101451 --- Comment #2 from Quentin Armitage --- Created attachment 51297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51297=edit ipvswrapper.i for strncpy truncated warning The following warning is generated: gcc -c -o ipvswrapper.o1 -O2

[Bug tree-optimization/101451] Incorrect -Wstringop-truncation warning

2021-08-12 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101451 --- Comment #3 from Quentin Armitage --- According to the man page for strncat: As with strcat(), the resulting string in dest is always null-terminated. If src contains n or more bytes, strncat() writes n+1 bytes to dest (n from

[Bug tree-optimization/95176] Failure to optimize division followed by multiplication to modulo followed by subtraction

2021-08-12 Thread arjun.is at lostca dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95176 Arjun Shankar changed: What|Removed |Added CC||arjun.is at lostca dot se --- Comment

[Bug c++/27433] vector template argument is not fully supported in function arguments

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27433 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 27433, which changed state. Bug 27433 Summary: vector template argument is not fully supported in function arguments https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27433 What|Removed

[Bug c++/57572] vector operators don't participate in overload resolution

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57572 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12 Ever confirmed|0

[Bug middle-end/85320] Segmentation fault when building XKAAPI

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85320 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Resolution|---

[Bug c++/95931] ICE in dependent_type_p, at cp/pt.c:26326

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95931 Andrew Pinski changed: What|Removed |Added CC||reichelt at gcc dot gnu.org --- Comment

[Bug c++/101878] ICE with invalid lambda definition

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101878 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101344] braced-init-list not supported in an aggregate deduction

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101344 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug tree-optimization/101868] Incorrect reordering in -O2 with LTO

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug target/101860] [12 Regression] ICE in gen_reg_rtx, at emit-rtl.c:1199 since r12-2837-g50b5877925ef5ae8

2021-08-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101860 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/20313] in diagnostic is confusing

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > That would mean we use "N" instead of "". Oops, sorry, in this PR it would be "i" not "N".

[Bug c++/20313] in diagnostic is confusing

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313 --- Comment #7 from Jonathan Wakely --- As I said in PR 57014 comment 2: It would be nice if later declarations that name a template parameter could be used to "fill in" any unnamed template parameters from the original declaration, so that

[Bug c++/101663] [11/12 Regression] GCC crashes when assigning one single_view to another.

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101663 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f65ae298d43b2dd280b6f3761d6f3ea8e572be61 commit r11-8857-gf65ae298d43b2dd280b6f3761d6f3ea8e572be61 Author: Patrick Palka

[Bug c++/101873] Compilation error of valid code with return local variable in C++20 mode

2021-08-12 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101873 --- Comment #2 from Fedor Chelnokov --- Thanks, I assumed that the code is valid based on stackoverflow answer: https://stackoverflow.com/questions/68747489/is-the-local-variable-returned-by-a-function-automatically-moved-in-c20

[Bug c++/101873] Compilation error of valid code with return local variable in C++20 mode

2021-08-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101873 --- Comment #3 from Jakub Jelinek --- So questionable based on the status of https://wg21.link/p2266 and whether it will be a DR or not?

[Bug tree-optimization/101301] Improving sparse switch statement

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101301 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug analyzer/101875] [12 Regression] ICE: Segmentation fault (in c_tree_printer)

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101875 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-08-12 Ever confirmed|0

[Bug middle-end/101876] New: [290x] vector builtin vec_permi fails to resolve with #pragma GCC target

2021-08-12 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101876 Bug ID: 101876 Summary: [290x] vector builtin vec_permi fails to resolve with #pragma GCC target Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug target/101743] [12 Regression] Error: insn does not satisfy its constraints since r12-2640-gf7bf03cf69ccb7dc

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101743 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/57014] pretty-printer prints anonymous for template-parameter with a name

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57014 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug analyzer/101875] New: [12 Regression] ICE: Segmentation fault (in c_tree_printer)

2021-08-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101875 Bug ID: 101875 Summary: [12 Regression] ICE: Segmentation fault (in c_tree_printer) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug other/101877] New: [s390x] ICE: canonical types differ for identical types when #pragma GCC target enables vector support

2021-08-12 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101877 Bug ID: 101877 Summary: [s390x] ICE: canonical types differ for identical types when #pragma GCC target enables vector support Product: gcc Version: 12.0 Status:

[Bug c++/101873] New: Compilation error of valid code with return local variable in C++20 mode

2021-08-12 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101873 Bug ID: 101873 Summary: Compilation error of valid code with return local variable in C++20 mode Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug c++/20313] in diagnostic is confusing

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313 --- Comment #6 from Jonathan Wakely --- *** Bug 57014 has been marked as a duplicate of this bug. ***

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #11 from Jonathan

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug c++/101886] New: [11/12 Regression][concepts] ICE with auto as template parameter

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101886 Bug ID: 101886 Summary: [11/12 Regression][concepts] ICE with auto as template parameter Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/67112] [MinGW64] build failure due to name conflict with system headers

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67112 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #7 from Bill Schmidt --- Sorry, but that IL looks very strange to me. BB 5 should be going directly to BB 8, and the value of interest along that path is pos.80_31. But BB 8 says that it only gets pos.80 from BB 36, and the value

[Bug c++/101889] New: [11/12 Regression] ICE with template argument deduction of broken template

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101889 Bug ID: 101889 Summary: [11/12 Regression] ICE with template argument deduction of broken template Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/98712] Incorrect defaulted operator== at compile time and runtime when declared constexpr and inheriting (c++20)

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98712 Patrick Palka changed: What|Removed |Added CC||myosotis at mail dot ustc.edu.cn ---

[Bug fortran/101871] Array of strings of different length passed as an argument produces invalid result.

2021-08-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-08-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Liška

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 --- Comment #14 from cqwrteur --- (In reply to Jonathan Wakely from comment #13) > Marking as enhancement, since this is not a supported target for libstdc++ > today, so is not expected to build. Whatever. i have successfully built that. It

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 --- Comment #15 from Jonathan Wakely --- (In reply to cqwrteur from comment #14) > Whatever. i have successfully built that. It works very well tbh. Excellent!

[Bug c++/101887] New: [9/10/11/12 Regression] ICE with invalid declaration of 'operator delete'

2021-08-12 Thread reichelt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101887 Bug ID: 101887 Summary: [9/10/11/12 Regression] ICE with invalid declaration of 'operator delete' Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #8 from Martin Sebor --- Created attachment 51298 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51298=edit Change to test case that avoids -Warray-bounds. The attached change to test case avoids all -Warray-bounds instances.

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #9 from Bill Schmidt --- But it doesn't explain the bogus IL in the previous message.

[Bug target/101849] MMA built-in dies with a verify_gimple failed error

2021-08-12 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101849 --- Comment #5 from Peter Bergner --- (In reply to Peter Bergner from comment #4) > Is there a benefit of one over the other? ...other than the build2 code > being simpler since we'd just pass in the type we want. So the following seems to

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2021-08-12 Thread mathieu.desnoyers at efficios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 Mathieu Desnoyers changed: What|Removed |Added CC||mathieu.desnoyers@efficios.

[Bug c++/101884] New: Generic lambda with auto in template parameter list rejected

2021-08-12 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101884 Bug ID: 101884 Summary: Generic lambda with auto in template parameter list rejected Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c/65403] -Wno-error= is an error

2021-08-12 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403 --- Comment #15 from Alex Henrie --- Nicholas Guriev also sent a patch for this issue: https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573774.html

[Bug tree-optimization/101885] New: wrong code at -O3 on x86_64-linux-gnu

2021-08-12 Thread qrzhang at gatech dot edu via Gcc-bugs
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It appears a regression in gcc-10. gcc-9 works fine. $ gcc-trunk -v gcc version 12.0.0 20210812 (experimental) [master revision 01f8a8b48e5:0eb7800d242

[Bug tree-optimization/101885] wrong code at -O3 on x86_64-linux-gnu

2021-08-12 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 --- Comment #1 from Qirun Zhang --- My bisection points to g:529ea7d9596b26ba103578eeab448e9862a2d2c5

[Bug c++/101888] New: constexpr default comparison member function disregards the base class

2021-08-12 Thread myosotis at mail dot ustc.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101888 Bug ID: 101888 Summary: constexpr default comparison member function disregards the base class Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug c++/101883] class template argument deduction in non-type template parameter allows explicit deduction guide

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101883 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/101888] constexpr default comparison member function disregards the base class

2021-08-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101888 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #6 from Martin Sebor --- I've only looked at the first warning so far. It's issued for the access in bb 8: [local count: 4057510040]: pos.80_31 = pos; if (pos.80_31 <= 1023) goto ; [96.34%] else goto ; [3.66%]

[Bug c/101838] sizeof of struct with array of unspecified bound folded to constant

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101838 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:d2ba65ab6010f0d507bf5512a0223692e6653b23 commit r12-2882-gd2ba65ab6010f0d507bf5512a0223692e6653b23 Author: Martin Uecker Date:

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:d2ba65ab6010f0d507bf5512a0223692e6653b23 commit r12-2882-gd2ba65ab6010f0d507bf5512a0223692e6653b23 Author: Martin Uecker Date:

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 --- Comment #10 from Bill Schmidt --- As a reminder, the code compiled fine with no warnings until the rewrite of the back-threader. Based on the IL example above, it looks to me like the new pass is not producing a self-consistent CFG in all

[Bug c++/101219] [12 Regression] ice in perform_or_defer_access_check since r12-1804-g65870e75616ee435

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219 --- Comment #9 from CVS Commits --- The master branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:27a1fb385b7fe706f05608e53f3e91d7d3442b8b commit r12-2883-g27a1fb385b7fe706f05608e53f3e91d7d3442b8b Author: Sergei Trofimovich

[Bug libstdc++/101870] std::lerp is missing Arithmetic overloads

2021-08-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101870 --- Comment #2 from Jonathan Wakely --- Fixed on trunk but I plan to backport it as well.

[Bug tree-optimization/101890] [12 regression] ICEs on aarch64 after r12-2836

2021-08-12 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101890 Christophe Lyon changed: What|Removed |Added Target Milestone|--- |12.0 Target|

[Bug tree-optimization/101830] [12 Regression] Incorrect error messages beginning with r12-2591 (backward jump threader)

2021-08-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101830 Martin Sebor changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #12 from Martin Sebor

[Bug c++/101887] [9/10/11/12 Regression] ICE with invalid declaration of 'operator delete'

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

[Bug rtl-optimization/101885] [10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Summary|wrong code at

[Bug tree-optimization/101451] Incorrect -Wstringop-truncation warning

2021-08-12 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101451 --- Comment #5 from Quentin Armitage --- In the code of my original example (which I have simplified) === #include static char dest[16]; static char src[16] = "012345678901234"; int main(__attribute__(void) {

[Bug tree-optimization/101451] Incorrect -Wstringop-truncation warning

2021-08-12 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101451 Quentin Armitage changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug middle-end/88781] [meta-bug] bogus/missing -Wstringop-truncation warnings

2021-08-12 Thread quentin at armitage dot org.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781 Bug 88781 depends on bug 101451, which changed state. Bug 101451 Summary: Incorrect -Wstringop-truncation warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101451 What|Removed |Added

[Bug rtl-optimization/101885] [10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12 Ever confirmed|0

[Bug c++/99186] std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 --- Comment #2 from Andrew Pinski --- Seems fixed in GCC 11.2.0 and on the trunk.

  1   2   >