[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2021-11-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 --- Comment #1 from Tamar Christina --- I'm not an expert on the Power ISA either, but it kinda looks like that code was unrolled. The change is supposed to CSE redundant instructions early so perhaps it now fits into your default rtl unroll in

[Bug target/103201] [12 Regression] trunk 20211111 ftbfs for amdgcn – libgomp/teams.c:49:6: error: 'struct gomp_thread' has no member named 'num_teams'

2021-11-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
, ||jakub at gcc dot gnu.org Keywords||openmp Summary|[12 Regression] trunk |[12 Regression] trunk |2021 ftbfs for amdgcn |2021 ftbfs for amdgcn

[Bug target/103200] [12 Regression] FAIL: gcc.target/i386/pr91333.c scan-assembler-times vmovapd|vmovsd 3

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

[Bug target/103200] FAIL: gcc.target/i386/pr91333.c scan-assembler-times vmovapd|vmovsd 3

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103200 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-11-12 Keywords|

[Bug tree-optimization/103204] [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above)

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-11-12 Priority|P3

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/103201] [12 Regression] trunk 20211111 ftbfs for amdgcn

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103201 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|

[Bug target/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

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

[Bug tree-optimization/103195] tfft2 text grows by 70% with -Ofast between g:52fa771758635d9c53cddb9116e5a66fae592230...a97fdde627e64202940112009d45d17f85e4cc61

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103195 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from Ri

[Bug tree-optimization/103194] [12 Regression] ice in optimize_atomic_bit_test_and with __sync_fetch_and_and

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Component

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/103204] New: [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above)

2021-11-11 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204 Bug ID: 103204 Summary: [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/71136] [concepts] Spurious 'converting overloaded function is ambiguous' error.

2021-11-11 Thread tom at honermann dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71136 --- Comment #3 from Tom Honermann --- (In reply to Andrew Pinski from comment #2) > Hmm, clang and MSVC also reject the code in comment #1 (the one without the > bool) for the same reason as GCC. Interesting. Perhaps this is a common compiler bu

[Bug c++/101244] Wrong path in coroutine returning ternary

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

[Bug c++/101149] Coroutine compiler error with ternary operator

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101149 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from And

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 --- Comment #2 from Andrew Pinski --- This seems jump threading related but I can't tell how. -fno-tree-vrp is enough to workaround the bug but I don't have anything more than that.

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675 Andrew Pinski changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #16

[Bug sanitizer/103203] libsanitizer builds fails for freebsd13 target

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

[Bug sanitizer/103203] New: libsanitizer builds fails for freebsd13 target

2021-11-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103203 Bug ID: 103203 Summary: libsanitizer builds fails for freebsd13 target Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: s

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

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

[Bug tree-optimization/103202] [12 regression] gcc miscompiles ed-1.17

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

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67934, which changed state. Bug 67934 Summary: [concepts] ICE when providing default function implementations using concepts https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67934 What|Removed

[Bug c++/81717] [c++ concepts] - simple "define function if not defined" code doesn't compile, no errors generated

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81717 Andrew Pinski changed: What|Removed |Added CC||michel.steuwer at gmail dot com --- Comm

[Bug c++/67934] [concepts] ICE when providing default function implementations using concepts

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

[Bug tree-optimization/103202] New: [12 regression] gcc miscompiles ed-1.17

2021-11-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103202 Bug ID: 103202 Summary: [12 regression] gcc miscompiles ed-1.17 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug tree-optimization/102969] [12 regression] g++.dg/warn/Wstringop-overflow-4.C fails after r12-4726

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102969 --- Comment #3 from Andrew Pinski --- (In reply to Martin Sebor from comment #2) > Looks like this has resolved itself, most likely by one of the changes to > make greater use of ranger. I can't reproduce it with a cross-compiler and > don't se

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 102969, which changed state. Bug 102969 Summary: [12 regression] g++.dg/warn/Wstringop-overflow-4.C fails after r12-4726 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102969 What|Removed

[Bug tree-optimization/102969] [12 regression] g++.dg/warn/Wstringop-overflow-4.C fails after r12-4726

2021-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102969 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/80268] [concepts] list of candidates for ambiguous call includes unconstrained function

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80268 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-10-14 00:00:00 |2021-11-11 --- Comment #2 from Andrew Pi

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 70862, which changed state. Bug 70862 Summary: [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70862

[Bug c++/70862] [concepts] adding a concept-constrained version of a variable template causes multiple definition assembler error

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70862 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.2 Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68812, which changed state. Bug 68812 Summary: [concepts] bogus mismatched argument pack lengths https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68812 What|Removed |Added --

[Bug c++/68812] [concepts] bogus mismatched argument pack lengths

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68812 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Keywords|

[Bug c++/89997] Garbled expression in error message with -fconcepts

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89997 --- Comment #1 from Andrew Pinski --- In GCC 10+ (with -fconcepts-diagnostics-depth=2), GCC produces: : In function 'void test()': :17:16: error: use of function 'void check() requires requires(X x, T val) {x.X::operator<<()("hello") << val;} [

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71139, which changed state. Bug 71139 Summary: [concepts] ill-formed compound-requirement lacking a semicolon not rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71139 What|Removed

[Bug c++/71139] [concepts] ill-formed compound-requirement lacking a semicolon not rejected

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71139 Andrew Pinski changed: What|Removed |Added Known to fail||9.4.0 See Also|

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 71140, which changed state. Bug 71140 Summary: [concepts] ill-formed nested-requirement lacking a semicolon not rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71140 What|Removed

[Bug c++/71140] [concepts] ill-formed nested-requirement lacking a semicolon not rejected

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71140 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0 Keywords|

[Bug c++/78955] [c++ concepts] Concept requirements on functions cancels the private section method check in the following code

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78955 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 --- Comment #2 from anlauf at gcc dot gnu.org --- Testing the following patch: diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index ffa07b510cd..f325e5e4d5f 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -5272,13 +5272,18

[Bug c++/81717] [c++ concepts] - simple "define function if not defined" code doesn't compile, no errors generated

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81717 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug c++/68719] [concepts] placeholder deduction doesn't work for member functions

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68719 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from Andrew

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68246, which changed state. Bug 68246 Summary: [concepts] Incorrect evaluation of C++1z fold expressions (... || expr) in concepts https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68246 What|Removed

[Bug c++/68246] [concepts] Incorrect evaluation of C++1z fold expressions (... || expr) in concepts

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68246 Andrew Pinski changed: What|Removed |Added Target Milestone|7.0 |6.2 Keywords|

[Bug c++/97450] [concepts] Bogus errors during constraint normalization

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

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 77595, which changed state. Bug 77595 Summary: concepts: constrained member functions illegally instantiated during explicit class template instantiation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77595 What

[Bug c++/96164] Constraints and explicit template instantiation

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96164 Andrew Pinski changed: What|Removed |Added CC||akrzemi1 at gmail dot com --- Comment #7

[Bug c++/77595] concepts: constrained member functions illegally instantiated during explicit class template instantiation

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

[Bug c++/96111] checking type of attribute with concepts results in compilation error or ICE

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96111 Andrew Pinski changed: What|Removed |Added Known to work||12.0 Keywords|

[Bug fortran/102368] Failure to compile program using the C_SIZEOF function in ISO_C_BINDING

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102368 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/67901] [concepts] overloading bug when considered more specialized vs more constrained

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67901 --- Comment #2 from Andrew Pinski --- I needed one slight change to get the code to compiler (I needed this change even for clang and MSVC): Change: requires sizeof...(ArgumentsRest) % 2 == 0 to: requires (sizeof...(ArgumentsRest) % 2 == 0) W

[Bug c++/94332] [concepts] requires-expression that contains a requires-expression incorrectly evaluates to false

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

[Bug c++/86009] [Concepts] Placeholder as argument to partial-concept-id forms extra constrained parameters

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86009 --- Comment #3 from Andrew Pinski --- Note MSVC accepts the code in comment #2 but with the warning: (6): warning C4667: 'void f(wchar_t *)': no function template defined that matches forced instantiation

[Bug c++/67491] [meta-bug] concepts issues

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 85806, which changed state. Bug 85806 Summary: [concepts] Hard error for "invalid use of non-static data member" in a requires expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85806 What|Removed

[Bug c++/85806] [concepts] Hard error for "invalid use of non-static data member" in a requires expression

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85806 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug c++/71136] [concepts] Spurious 'converting overloaded function is ambiguous' error.

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71136 --- Comment #2 from Andrew Pinski --- Hmm, clang and MSVC also reject the code in comment #1 (the one without the bool) for the same reason as GCC.

[Bug c++/90097] [concepts] Error while comparing 2 non-type parameters in constraints

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

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #13) > (In reply to anlauf from comment #12) > > > Any reason not to use the macros from safe-ctype.h? > > Can we actually use it? This is part of libibe

[Bug target/103201] New: [12 Regression] trunk 20211111 ftbfs for amdgcn

2021-11-11 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103201 Bug ID: 103201 Summary: [12 Regression] trunk 2021 ftbfs for amdgcn Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-11 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 --- Comment #3 from joseph at codesourcery dot com --- Converting from >= to == is inappropriate (because >= should raise invalid for all NaN operands but == should do so only for signaling NaNs). If that's happening in architecture-independe

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2021-11-11 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #10 from joseph at codesourcery dot com --- N2775 (hopefully to be considered at the Jan/Feb 2022 WG14 meeting) is the proposal for constant suffixes.

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #13 from Thomas Koenig --- (In reply to anlauf from comment #12) > Any reason not to use the macros from safe-ctype.h? Can we actually use it? This is part of libiberty, AFAIK, and I am not sure that we link libgfortran against it.

[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #8) > New patch. This adds a bool component to gfc_forall_iterator so > that an iterator with an index-name that shadows a variable from > outer scope can be marked

[Bug tree-optimization/93150] (A&N) == CST1 &( ((A&M)==CST2) | ((A&O)==CST3) ) is not simplified

2021-11-11 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93150 --- Comment #4 from Navid Rahimi --- Although I wrote a small code to just test this optimization. But I am not able to verify this transformation [1]. https://alive2.llvm.org/ce/z/THP27D The code can be something like this but if I were able t

[Bug libfortran/95177] error: array subscript has type char

2021-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug fortran/103137] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181 since r12-4967-gbcf3728abe848888

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103137 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9ccc4f79f1a6dd08437e10db729694a744abb10a commit r11-9235-g9ccc4f79f1a6dd08437e10db729694a744abb10a Author: Harald Anlauf

[Bug fortran/103138] [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139 since r12-4967-gbcf3728abe848888

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103138 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9ccc4f79f1a6dd08437e10db729694a744abb10a commit r11-9235-g9ccc4f79f1a6dd08437e10db729694a744abb10a Author: Harald Anlauf

[Bug target/103200] New: FAIL: gcc.target/i386/pr91333.c scan-assembler-times vmovapd|vmovsd 3

2021-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103200 Bug ID: 103200 Summary: FAIL: gcc.target/i386/pr91333.c scan-assembler-times vmovapd|vmovsd 3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

2021-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Keyw

[Bug jit/103199] New: FAIL: ../jit/docs/examples/tut04-toyvm/toyvm.c, initial compilation

2021-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103199 Bug ID: 103199 Summary: FAIL: ../jit/docs/examples/tut04-toyvm/toyvm.c, initial compilation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 --- Comment #2 from Uroš Bizjak --- Here is compilable testcase: _Bool a (void) { #pragma STDC FENV_ACCESS ON float f; _Bool b; f = __builtin_nan (""); b = f >= f; // ucomiss (wrong), comiss (correct) return b; } Tree optimizers (_.o

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2021-11-11 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #9 from Alejandro Colomar --- Is there any proposal regarding suffices for constants? I didn't see it in the main proposal for _BitInt(). I mean something like 1u8 to create a constant of type unsigned _BitInt(8). --- @Joseph Re

[Bug c++/103198] ICE for requires requires clause with varadic templates

2021-11-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 Patrick Palka changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 --- Comment #6 from David Binderman --- Created attachment 51773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51773&action=edit gzipped C++ source code Another test case. Flag -O1 required.

[Bug c/102989] Implement C2x's n2763 (_BitInt)

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

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-11-11 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|roger at nextmoves

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-11 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 --- Comment #2 from acsawdey at gcc dot gnu.org --- >From the reload dump: 0 Non input pseudo reload: reject++ 1 Non-pseudo reload: reject+=2 1 Non input pseudo reload: reject++ alt=0,overall=16,lose

[Bug tree-optimization/93150] (A&N) == CST1 &( ((A&M)==CST2) | ((A&O)==CST3) ) is not simplified

2021-11-11 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93150 --- Comment #3 from Navid Rahimi --- Thanks Dávid, that does make sense. I forgot about constant elimination. I will send a patch for this.

[Bug tree-optimization/93150] (A&N) == CST1 &( ((A&M)==CST2) | ((A&O)==CST3) ) is not simplified

2021-11-11 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93150 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com ---

[Bug tree-optimization/103194] [12 Regression] ice in optimize_atomic_bit_test_and with __sync_fetch_and_and

2021-11-11 Thread hjl.tools at gmail dot com via Gcc-bugs
1, %eax ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (GNU) 12.0.0 2021 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-cfl-2 pr102566]$

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-11 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 --- Comment #1 from acsawdey at gcc dot gnu.org --- Looking at trunk, after expand we have this: (note 5 1 2 2 [bb 2] NOTE_INSN_BASIC_BLOCK) (insn 2 5 3 2 (set (reg/v/f:DI 117 [ a ]) (reg:DI 3 3 [ a ])) "bug2.c":3:1 -1 (nil)) (insn

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #11 from Andreas Schwab --- Target selectors are not arbitrary Tcl expressions. The parser requires all operators and operands to be separate list elements (see selector_expression in target-supports-dg.exp). { target { { ! powerpc*

[Bug c++/103198] ICE for requires requires clause with varadic templates

2021-11-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 --- Comment #2 from cqwrteur --- Created attachment 51772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51772&action=edit compiler error

[Bug c++/103198] ICE for requires requires clause with varadic templates

2021-11-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 --- Comment #1 from cqwrteur --- Created attachment 51771 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51771&action=edit Preprocess file preprocess file

[Bug c++/103198] New: ICE for requires requires clause with varadic templates

2021-11-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 Bug ID: 103198 Summary: ICE for requires requires clause with varadic templates Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/103189] [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc. FAIL

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103189 Andrew Pinski changed: What|Removed |Added Depends on||103182 --- Comment #5 from Andrew Pinsk

[Bug target/103197] New: ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-11 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 Bug ID: 103197 Summary: ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte Product: gcc Version: 10.3.1 Status: UNCONFIRMED

[Bug tree-optimization/103189] [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc. FAIL

2021-11-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103189 --- Comment #4 from Rainer Orth --- Created attachment 51770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51770&action=edit bad pr45967.c.250t.optimized

[Bug tree-optimization/103189] [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc. FAIL

2021-11-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103189 --- Comment #3 from Rainer Orth --- Created attachment 51769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51769&action=edit good pr45967.c.250t.optimized

[Bug tree-optimization/103189] [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc. FAIL

2021-11-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103189 --- Comment #2 from Rainer Orth --- I'd started a reghunt already, thus the late reply. The culprit rev is commit d70ef65692fced7ab72e0aceeff7407e5a34d96d Author: Jan Hubicka Date: Wed Nov 10 13:08:41 2021 +0100 Make EAF flags more reg

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #10 from Segher Boessenkool --- (In reply to Martin Liška from comment #9) > All right, so something like this should work, right? > > diff --git a/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s112.c > b/gcc/testsuite/gcc.dg/vect/tsvc/v

[Bug target/103196] New: [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2021-11-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Bug ID: 103196 Summary: [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-11 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 --- Comment #5 from hubicka at kam dot mff.cuni.cz --- The sanity check verifies that functions acessing parameter indirectly also reads the parameter (otherwise the indirect reference can not happen). This patch moves the check earlier and remo

Re: [Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-11 Thread Jan Hubicka via Gcc-bugs
The sanity check verifies that functions acessing parameter indirectly also reads the parameter (otherwise the indirect reference can not happen). This patch moves the check earlier and removes some overactive flag cleaning on function call boundary which introduces the non-sential situation. I g

[Bug tree-optimization/103195] New: tfft2 text grows by 70% with -Ofast between g:52fa771758635d9c53cddb9116e5a66fae592230...a97fdde627e64202940112009d45d17f85e4cc61

2021-11-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103195 Bug ID: 103195 Summary: tfft2 text grows by 70% with -Ofast between g:52fa771758635d9c53cddb9116e5a66fae592230...a97fdde62 7e64202940112009d45d17f85e4cc61 Product: gcc

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 --- Comment #4 from seurer at gcc dot gnu.org --- Also this one which fails but doesn't ICE g:d70ef65692fced7ab72e0aceeff7407e5a34d96d, r12-5113 make -k check-gcc-fortran RUNTESTFLAGS="dg.exp=gfortran.dg/inline_matmul_17.f90" FAIL: gfortran.dg/

[Bug target/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-11 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 --- Comment #1 from joseph at codesourcery dot com --- See bug 52451 and bug 91323 for previous cases of unordered comparisons being wrongly used on x86.

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/103194] [12 Regression] ice in optimize_atomic_bit_test_and with __sync_fetch_and_and

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 Andrew Pinski changed: What|Removed |Added Summary|ice in |[12 Regression] ice in

  1   2   >