[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #10 from Richard Biener --- So to clarify the ARRAY_REF constraints - there is currently no way to construct a valid ARRAY_REF where an index does an access to memory before the supplied base object. TREE_OPERAND (array_ref, 0) need

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

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

[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

2021-11-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 Jan Hubicka changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

2021-11-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103165 --- Comment #3 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584035.html * * * Note the remark in https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584042.html regarding preserving spacing with th

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 --- Comment #5 from Richard Biener --- The issue is rather if (!TREE_CONSTANT (divisor) || integer_zerop (divisor)) return true; return false; for division handling where here we have { 3, 0 } for the divisor.

[Bug c++/103183] New: ind[arr] produces an lvalue when arr is an array xvalue

2021-11-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183 Bug ID: 103183 Summary: ind[arr] produces an lvalue when arr is an array xvalue Product: gcc Version: 10.1.0 Status: UNCONFIRMED Keywords: accepts-invalid, rej

[Bug target/103184] New: ICE caused by r12-5102

2021-11-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184 Bug ID: 103184 Summary: ICE caused by r12-5102 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[Bug c++/103185] New: ind[arr] is rejected when arr is an array prvalue

2021-11-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103185 Bug ID: 103185 Summary: ind[arr] is rejected when arr is an array prvalue Product: gcc Version: 10.1.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug target/103184] ICE caused by r12-5102

2021-11-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184 --- Comment #1 from Hongtao.liu --- Small testcase reprodce it. #include int tbit0 (_Atomic int* a) { #define BIT (0x01 << 3) return atomic_fetch_or(a, BIT) & BIT; #undef BIT } aarch64-linux-gnu-gcc test.c -O2 -S test.c: In function ‘tbit

[Bug target/102376] [aarch64] using target("sve") attribute without a + is not very helpful on what is wrong

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102376 --- Comment #2 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:145be5efaf5674a7d25c723dc5684392a6276834 commit r12-5147-g145be5efaf5674a7d25c723dc5684392a6276834 Author: Prathamesh Kulkarn

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

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

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

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

[Bug tree-optimization/103173] strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 --- Comment #2 from Richard Biener --- &MEM [(void *)&data] should have been folded to &data btw

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

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

[Bug debug/101378] Negative DW_AT_data_member_location

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101378 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:10db7573014008ff867098206f51012d501ab57b commit r12-5148-g10db7573014008ff867098206f51012d501ab57b Author: Jakub Jelinek Date:

[Bug testsuite/103179] [12 regression] Excess errors in gfortran.dg/do_subscript_3.f90 after r12-5126

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

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

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

[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

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

[Bug tree-optimization/103184] [12 Regression] ICE caused by r12-5102

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184 Richard Biener changed: What|Removed |Added Component|target |tree-optimization Priority|P

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a5fed4063f428a14f5b91533d5954b9bf4e3e7db commit r12-5149-ga5fed4063f428a14f5b91533d5954b9bf4e3e7db Author: Richard Biener Date:

[Bug c++/103183] ind[arr] produces an lvalue when arr is an array xvalue

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183 --- Comment #1 from Andrew Pinski --- There has to be C++ defect report about this. Because clang has the behavior you are requesting but ICC, MSVC all act the same as GCC.

[Bug tree-optimization/103184] [12 Regression] ICE caused by r12-5102

2021-11-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184 --- Comment #2 from Hongtao.liu --- When mask is integer_cst, it not safe to replace_uses_by (use_lhs, lhs); since integer_cst has type signed int, but lhs has type unsigned int, and will issue ICE for type mismatch _7 = _1 & 8; _1 is signed in

[Bug c++/103183] ind[arr] produces an lvalue when arr is an array xvalue

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183 --- Comment #2 from Andrew Pinski --- Found it PR 79832.

[Bug c++/103183] ind[arr] produces an lvalue when arr is an array xvalue

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Found it PR 79832. Well DR 1213, http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1213

[Bug tree-optimization/103184] [12 Regression] ICE caused by r12-5102

2021-11-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > When mask is integer_cst, it not safe to replace_uses_by (use_lhs, lhs); Similar ICE for variable mask. int tbit0 (_Atomic int* a, int n) { #define BIT (0x01 << n)

[Bug c++/103186] New: redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 Bug ID: 103186 Summary: redefinition of template symbol error with strange error diagnostic Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #1 from dennis luehring --- Created attachment 51765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51765&action=edit ii-file output of "gcc -Wall -Wextra -std=c++17 test.cpp -DTEST=1 -save-temps"

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #2 from dennis luehring --- Created attachment 51766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51766&action=edit s-file output of "gcc -Wall -Wextra -std=c++17 test.cpp -DTEST=1 -save-temps"

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org -

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #3 from Andrew Pinski --- >gcc -Wall -Wextra -std=c++17 test.cpp -DTEST=2 This is wrong, you should use g++ to link as you need to link against libstdc++ which gcc does not do which is why you are not seeing it on gcc.godbolt.

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #4 from dennis luehring --- (In reply to Andrew Pinski from comment #3) > >gcc -Wall -Wextra -std=c++17 test.cpp -DTEST=2 > > > This is wrong, you should use g++ to link as you need to link against > libstdc++ which gcc does not do

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #5 from dennis luehring --- -DTEST=1 compiles under Ubuntu 21.04 with g++ 10.3.0 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hs

[Bug c++/103186] redefinition of template symbol error with strange error diagnostic

2021-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #6 from Andrew Pinski --- Reduced testcase for the first issue (note it is a different error but the problem is the same): using Callback = void(); template struct GetSetHelper { static void set( Callback callback_ = []() {} ){

[Bug c++/103186] [11/12 Regression] redefinition of template symbol error with strange error diagnostic

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

[Bug libstdc++/103187] New: std::counting_semaphore::try_acquire_for does not unblock during wait duration

2021-11-11 Thread s.zvyagin83 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103187 Bug ID: 103187 Summary: std::counting_semaphore::try_acquire_for does not unblock during wait duration Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severit

[Bug tree-optimization/103184] [12 Regression] ICE caused by r12-5102

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

[Bug tree-optimization/103188] New: ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ib gcc version 12.0.0 2021 (experimental) [master r12-5143-ga97fdde627e] (GCC) [637] % [637] % gcctk -O1 small.c; ./a.out [638] % [638] % gcctk -O2 small.c gcctk: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed sou

[Bug libstdc++/103187] std::counting_semaphore::try_acquire_for does not unblock during wait duration

2021-11-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103187 Jonathan Wakely changed: What|Removed |Added Known to fail||11.2.1 Known to work|

[Bug libstdc++/103187] std::counting_semaphore::try_acquire_for does not unblock during wait duration

2021-11-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103187 --- Comment #2 from Jonathan Wakely --- The relevant commit seems to be g:aeaea265cea3a2b2e772af7825351a4ceef29aac but that *should* only be an optimization to use futexes when available. The fact it times out without that change suggests the no

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug testsuite/103042] gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c etc. FAIL

2021-11-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103042 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #7 from Tamar Christina --- >> gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c > > This one running is odd, it's guarded by vect_double whi

[Bug testsuite/103042] gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c etc. FAIL

2021-11-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103042 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from CVS Commits --- [...] > testsuite: change vect_long to vect_long_long in complex tests. > > These tests are still failing on SPARC and it looks like this

[Bug tree-optimization/102880] [12 Regression] Dead Code Elimination Regression at -O3

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102880 --- Comment #6 from Richard Biener --- So interestingly as a band-aid fix I bootstrapped and tested diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c index a016ee47a02..c2a0555dd78 100644 --- a/gcc/tree-cfgcleanup.c +++ b/gcc/tree-cfgc

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Status|NEW

[Bug tree-optimization/103189] New: [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 Bug ID: 103189 Summary: [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc. FAIL Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[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 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #

[Bug bootstrap/80047] fixincludes/fixincl.c: PVS-Studio: Improper Release of Memory Before Removing Last Reference (CWE-401)

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

[Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes

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

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 --- Comment #4 from Richard Biener --- Created attachment 51767 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51767&action=edit patch I am testing

[Bug testsuite/103042] gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c etc. FAIL

2021-11-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103042 Tamar Christina changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/103186] [11/12 Regression] ICE with fold-expression and lambdas as default

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

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

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

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

2021-11-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103189 --- Comment #1 from Jan Hubicka --- I wonder if you can attach .optimized dumps of valid revision and broken one. It may be related to modref/PTA changes.

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Martin Liška changed: What|Removed |Added Blocks||26163 --- Comment #5 from Martin Liška

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 --- Comment #6 from Martin Liška --- And reproduces with: gcc gcc/testsuite/gcc.dg/guality/pr89892.c -Os -ftree-vectorize

[Bug tree-optimization/103190] New: [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103190 Bug ID: 103190 Summary: [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e Product: gcc Version: 12.0

[Bug tree-optimization/103190] [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e

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

[Bug other/79872] document placeholder %K in gcc-internal-format

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

[Bug tree-optimization/83336] [meta-bug] Issues with displaying inlining chain for middle-end warnings

2021-11-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83336 Bug 83336 depends on bug 79872, which changed state. Bug 79872 Summary: document placeholder %K in gcc-internal-format https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 What|Removed |Added -

[Bug tree-optimization/103188] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8865133614f09caadf48c0b7d05f0331959b3bc1 commit r12-5155-g8865133614f09caadf48c0b7d05f0331959b3bc1 Author: Richard Biener Date:

[Bug tree-optimization/103188] [12 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Richard Biener changed: What|Removed |Added Summary|ICE on valid code at -O2|[12 Regression] ICE on

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 103188, which changed state. Bug 103188 Summary: [12 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 What|Removed

[Bug libstdc++/103191] New: vector doesn't have any checks enabled by _GLIBCXX_ASSERTIONS

2021-11-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103191 Bug ID: 103191 Summary: vector doesn't have any checks enabled by _GLIBCXX_ASSERTIONS Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement

[Bug tree-optimization/103176] -foptimize-strlen causes stringop-overflow warning

2021-11-11 Thread josiah_vanderzee at mediacombb dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176 --- Comment #3 from Josiah VanderZee --- Created attachment 51768 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51768&action=edit Test case to reproduce strange -Wstringop-overflow warning I'm worried this test case is too large to conv

[Bug tree-optimization/103190] [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e

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

[Bug c++/95982] [10 Regression] ICE with non-type template parameter that is itself the instantiation of a template

2021-11-11 Thread bence.kodaj at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95982 --- Comment #6 from Bence Kodaj --- For what it's worth, the bug is no longer present in gcc 11.1.

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

2021-11-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 Bug ID: 103192 Summary: [12 Regression] ICE on libgomp target-in-reduction-2.{C,c} Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

2021-11-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 --- Comment #4 from Jeffrey A. Law --- And just to be clear, Andrew's c#1 is correct. It's 45967-2.c.

[Bug tree-optimization/103188] [12 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Aldy Hernandez changed: What|Removed |Added CC||aldyh at redhat dot com,

[Bug fortran/103174] ICE in gfc_match_varspec, at fortran/primary.c:2154 since r6-1958-g4668d6f9c00d4767

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103174 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/103190] [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103190 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fac4c4bdab1735bd8a87e37c519f0260e4769f2a commit r12-5158-gfac4c4bdab1735bd8a87e37c519f0260e4769f2a Author: Richard Biener Date:

[Bug tree-optimization/103190] [12 Regression] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1452 since r12-431-ga310bb73edc9548e

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

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

2021-11-11 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 Bug ID: 103193 Summary: gcc for x86_64: wrong code generation: ucomiss instead of comiss Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug d/103044] d: Use __builtin_clear_padding for zeroing objects before set.

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103044 --- Comment #2 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:8d71d3a317236ab4a69f441cf867a43aeb448150 commit r12-5160-g8d71d3a317236ab4a69f441cf867a43aeb448150 Author: Raphael Moreira Zin

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

2021-11-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #1 from Jakub Jelinek

[Bug libgcc/103004] [12 regression] r12-4416 breaks backtrace on PPC64 Big-endian

2021-11-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 --- Comment #5 from Segher Boessenkool --- Bah, I typoed the PR id: commit 8d71d3a317236ab4a69f441cf867a43aeb448150 Author: Raphael Moreira Zinsly Date: Thu Nov 11 11:40:10 2021 -0300 libgcc: Fix backtrace fallback on PowerPC Big-endian

[Bug target/55610] cc1 is calling munmap() on part of itself on darwin

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

[Bug other/83520] format string bug in libvtv

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

[Bug target/55610] cc1 is calling munmap() on part of itself on darwin

2021-11-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55610 --- Comment #10 from Iain Sandoe --- (In reply to Eric Gallager from comment #9) > Is this still an issue now that dragonegg isn't really a thing anymore? Last > update to it was years ago... oddly, the changes to support PIE might well squash t

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

2021-11-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/17898] Incorrect usage of isdigit, etc.

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

[Bug c/90843] pragma diagnostic doesn't affect warnings controlled by extra_warnings and pedantic

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

[Bug c/90843] pragma diagnostic doesn't affect warnings controlled by extra_warnings and pedantic

2021-11-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90843 --- Comment #2 from Eric Gallager --- (In reply to Eric Gallager from comment #1) > (In reply to Martin Sebor from comment #0) > > I thought there was a bug about this but I can't find it so let me open this > > one for reference... > > bug 5307

[Bug fortran/103043] gfortran can not write to files (macOS Monterey GCC 11.2.0)

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

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

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #9 from Martin Liška --- 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/vect-tsvc-s112.c index 3c6ae49f212..851b54e68b1 100644 ---

[Bug gcov-profile/96092] Should --coverage respect -ffile-prefix-map?

2021-11-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092 Martin Liška changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c/103194] New: ice in optimize_atomic_bit_test_and, at tree-ssa-ccp.c:3626

2021-11-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 Bug ID: 103194 Summary: ice in optimize_atomic_bit_test_and, at tree-ssa-ccp.c:3626 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug c/103194] ice in optimize_atomic_bit_test_and, at tree-ssa-ccp.c:3626

2021-11-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 David Binderman changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes

2021-11-11 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823 --- Comment #7 from Xi Ruoyao --- New patch, for both PR 80047 and this one.

[Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes

2021-11-11 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823 --- Comment #8 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #7) > New patch, for both PR 80047 and this one. https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584164.html

[Bug bootstrap/80047] fixincludes/fixincl.c: PVS-Studio: Improper Release of Memory Before Removing Last Reference (CWE-401)

2021-11-11 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80047 --- Comment #7 from Xi Ruoyao --- New patch for PR 21823 and this one: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584164.html

[Bug libgcc/103004] [12 regression] r12-4416 breaks backtrace on PPC64 Big-endian

2021-11-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/103129] gcc/diagnostic-show-locus.c:692:18: warning: unused variable 'def_tabstop' [-Wunused-const-variable] since g:bd5e882cf6e0def3dd1bc106075d59a303fe0d1e

2021-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103129 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:abdff441a07f55d16e3d0e5ced3123c83d210a0a commit r12-5176-gabdff441a07f55d16e3d0e5ced3123c83d210a0a Author: David Malcolm Date: W

[Bug other/103129] gcc/diagnostic-show-locus.c:692:18: warning: unused variable 'def_tabstop' [-Wunused-const-variable] since g:bd5e882cf6e0def3dd1bc106075d59a303fe0d1e

2021-11-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103129 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[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

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

  1   2   >