[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #7 from rguenther at suse dot de --- On Thu, 4 Nov 2021, hubicka at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 > > Jan Hubicka changed: > >What|Removed |Added

[Bug tree-optimization/102714] [10 Regression] A volatile-related problem cased by ipa inline pass

2021-11-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 --- Comment #11 from rguenther at suse dot de --- On Fri, 5 Nov 2021, duan.db at linux dot alibaba.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 > > --- Comment #10 from Bo Duan --- > (In reply to Richard Biener from commen

[Bug ipa/103083] [10/11/12 Regression] Wrong code due to ipa-cp's value range propagation since r10-5538-gc7ac9a0c7e3916f1

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

[Bug target/103085] [12 Regression] -fPIC and -fstack-protector-strong broken AArch64

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

[Bug libstdc++/103086] [11 Regression] std::unique_ptr printer gets confused by [[no_unique_address]] in tuple

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

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

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

[Bug c++/103091] [DR 2256] Can't jump into scope of a variable with a nontrivial destructor in C++20

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103091 --- Comment #3 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #2) > which is consider CD5. That's just a detail of which draft of was included in, which doesn't mean much. More relevant is that it was approved as a DR so it ap

[Bug c++/103092] New: Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 Bug ID: 103092 Summary: Non-throwing function pointer can point to a throwing-function in C++14 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #20 from Aldy Hernandez --- With attachment 51726 and current trunk, the present damage is 22% for the ltrans105 unit, which AFAICT, is the worst offender. This is much better than the original 44%, but still not ideal. After some

[Bug c/103093] New: ice in get_imports, at gimple-range-gori.cc:221

2021-11-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103093 Bug ID: 103093 Summary: ice in get_imports, at gimple-range-gori.cc:221 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103092] Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UN

[Bug debug/103046] [11/12 Regression] Incorrect debug info for uint128 bit shift in gcc 11.2

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103046 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:155f6b2be421b0f84e478e34fbf72ee0bb9e36bc commit r12-4933-g155f6b2be421b0f84e478e34fbf72ee0bb9e36bc Author: Jakub Jelinek Date: F

[Bug c++/103092] Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 --- Comment #2 from Jonathan Wakely --- G++ does not give an error for the example in p5: class A { /* ... */ }; void (*pf1)(); // no exception specification void (*pf2)() throw(A); void f() { pf1 = pf2; // OK: pf1 is less restrictive pf2

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

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

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

2021-11-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103042 --- Comment #6 from Tamar Christina --- ok, then I don't think sparc can vectorize these cases at all through SLP, so I will just skip them.

[Bug target/103094] New: [12 Regression] Incorrect codegen from AArch64 intrinsics

2021-11-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 Bug ID: 103094 Summary: [12 Regression] Incorrect codegen from AArch64 intrinsics Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/103094] [12 Regression] Incorrect codegen from AArch64 intrinsics

2021-11-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 Tamar Christina changed: What|Removed |Added Target Milestone|--- |12.0

[Bug other/103095] New: Option to force no overalignment

2021-11-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103095 Bug ID: 103095 Summary: Option to force no overalignment Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other

[Bug c++/103096] New: Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread pavel.celba at ricardo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 Bug ID: 103096 Summary: Compiling never ends (at least not in resonable time - less than 10 mins) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: no

[Bug target/103097] New: ICE in move_for_stack_reg, at reg-stack.c:1186

2021-11-05 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103097 Bug ID: 103097 Summary: ICE in move_for_stack_reg, at reg-stack.c:1186 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code Sever

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #21 from Martin Liška --- > For the record, I hate the SPEC build system :). Then you're the first one! No, just kidding, it's cumbersome, and feel free to contact me with questions regarding that...

[Bug target/102953] Improvements to CET-IBT and ENDBR generation

2021-11-05 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #23 from Andrew Cooper --- Apologies for the delay, but I do now have a working prototype of Xen with CET-IBT active, using the current version of these patches. The result actually builds back to older versions of GCCs, but the lac

[Bug libstdc++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 Richard Biener changed: What|Removed |Added Component|c++ |libstdc++ Keywords|

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #22 from Aldy Hernandez --- (In reply to Martin Liška from comment #21) > > For the record, I hate the SPEC build system :). > > Then you're the first one! No, just kidding, it's cumbersome, and feel free > to contact me with questi

[Bug c/103098] New: bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 Bug ID: 103098 Summary: bogus error: the last argument must be an 8-bit immediate Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/103093] [12 Regression] ice in get_imports, at gimple-range-gori.cc:221

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

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #1 from Andrew Pinsk

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #23 from Martin Liška --- (In reply to Aldy Hernandez from comment #22) > (In reply to Martin Liška from comment #21) > > > For the record, I hate the SPEC build system :). > > > > Then you're the first one! No, just kidding, it's c

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 --- Comment #2 from Frank Heckenbach --- https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

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

[Bug libstdc++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread pavel.celba at ricardo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #2 from Pavel Celba --- But shouldn't the compiler end in all cases with some error? There should be a depth instantiation limit which is reached and compilation ended. No matter how non-sensible the input is. My input is quite sensi

[Bug rtl-optimization/85412] ICE in put_TImodes, at sel-sched.c:7191

2021-11-05 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Arseny Solokha changed: What|Removed |Added Summary|[8 Regression] ICE in |ICE in put_TImodes, at

[Bug tree-optimization/103093] [12 Regression] ICE in get_imports, at gimple-range-gori.cc:221 since r12-4788-gcb596fd43667f92c

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103093 Martin Liška changed: What|Removed |Added CC||amacleod at redhat dot com,

[Bug target/103097] ICE in move_for_stack_reg, at reg-stack.c:1186

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

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ Last reconfirmed|

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #4 from Aldy Hernandez --- (In reply to Martin Liška from comment #1) > The following file is miscompiled: > > gfortran -c -o m_MergeSorts.fppized.o -I. -Iinclude -Inetcdf/include -O2 > -march=native -g -std=legacy m_MergeSorts.fppi

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #5 from Aldy Hernandez --- > That is, is signed overflow undefined in overflow? Errr, "is signed overflow undefined for integer(kind=4)?"

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #4 from Jonathan Wakely --- Maybe the compiler could notice that there is only one qHash function template, and so realize that the instantiation recursion of qHash instantiating qHash instantiating qHash etc. will never terminate.

[Bug ipa/103099] New: [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 Bug ID: 103099 Summary: [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4 Prod

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-05 Known to work|

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

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

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > Maybe the compiler could notice that there is only one qHash function > template, and so realize that the instantiation recursion of qHash > instantiating qH

[Bug debug/102955] [12 Regression] ICE with #pragma optimize "0" or attribute optimize and -g -gtoggle

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102955 --- Comment #12 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:14c7041a1f00ef4ee9a036e0b369c97646db5b5c commit r12-4934-g14c7041a1f00ef4ee9a036e0b369c97646db5b5c Author: Martin Liska Date: Mo

[Bug debug/102955] [12 Regression] ICE with #pragma optimize "0" or attribute optimize and -g -gtoggle

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

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #7 from Aldy Hernandez --- Simplified version without the noise: [local count: 56063504182]: _134 = M.10_120 + 1; if (_71 <= _134) goto ; [11.00%] else goto ; [89.00%] ... ... [local count: 49896518755]: [l

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #6 from Jakub Jelinek --- We'd need next to the instantiation depth limit something that would be incremented for every nested instantiation and when this counter reaches some limit, also fail like reaching the instantiation depth li

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #8 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #5) > > That is, is signed overflow undefined in overflow? > > Errr, "is signed overflow undefined for integer(kind=4)?" Yes it is undefined. Figures spec would hav

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/103094] [12 Regression] Incorrect codegen from AArch64 intrinsics

2021-11-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 --- Comment #1 from Tamar Christina --- Looks like it's wrong from expand already, it's expanding into overlapping registers.

[Bug target/103094] [12 Regression] Incorrect codegen from AArch64 intrinsics

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

[Bug c++/103096] Compiling never ends (at least not in resonable time - less than 10 mins)

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096 --- Comment #7 from Jonathan Wakely --- 30 would be too low for "reasonable" code, like a std::variant or std::tuple of 31 types, if some algorithm is implemented as a recursive template.

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #9 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #8) > (In reply to Aldy Hernandez from comment #5) > > > That is, is signed overflow undefined in overflow? > > > > Errr, "is signed overflow undefined for integer(k

[Bug target/103094] [12 Regression] Incorrect codegen from AArch64 intrinsics

2021-11-05 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 --- Comment #3 from Tamar Christina --- (In reply to Andrew Pinski from comment #2) > (In reply to Tamar Christina from comment #1) > > Looks like it's wrong from expand already, it's expanding into overlapping > > registers. > > Maybe a dup of

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > Well, the usual thing to do is to check max_size_known_p () and > if maybe_ne (max_size, size) then use [offset, max_size] for > disambiguation. I think for modref you can do the same - i

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 --- Comment #4 from H.J. Lu --- (In reply to Jakub Jelinek from comment #3) > If by fail you mean that it doesn't update the memory if the memory isn't > equal to expected, sure, but do you mean it can fail spuriously, not update > the memory ev

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #10 from Martin Liška --- > So the question to the reporter is does -fwrapv works for the original > testcase? So adding -fwrapv does not help, it still crashes.

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread mliska at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #9 from Martin Liška --- On 11/5/21 13:32, hubicka at kam dot mff.cuni.cz wrote: > |+ " - Paradoxical ragne. Ignoring\n");| s/ragne/range

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #10 from Martin Liška --- > This bootstraps/regtests and fixes the testcase. Does it look sane to > you? Note this ended in bugzilla and not in gcc-patches ML.

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #11 from rguenther at suse dot de --- On Fri, 5 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 > > --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > > Well, the usual th

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #12 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 > > --- Comment #10 from Martin Liška --- > > This bootstraps/regtests and fixes the testcase. Does it look sane to > > you? > > Not

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 Jakub Jelinek changed: What|Removed |Added CC||redi at gcc dot gnu.org,

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #11 from Martin Liška --- And note that the benchmark survives -fsanitize=undefined run.

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #13 from hubicka at kam dot mff.cuni.cz --- > > diff --git a/gcc/ipa-modref-tree.h b/gcc/ipa-modref-tree.h > > index 9976e489697..1b51323175b 100644 > > --- a/gcc/ipa-modref-tree.h > > +++ b/gcc/ipa-modref-tree.h > > @@ -813,6 +818,20

[Bug target/103100] New: unaligned access generated when zero-initializing large locals with SIMD-instructions and -O2 -mstrict-align

2021-11-05 Thread felix at breitweiser dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 Bug ID: 103100 Summary: unaligned access generated when zero-initializing large locals with SIMD-instructions and -O2 -mstrict-align Product: gcc Version: 11.2.0

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 --- Comment #6 from Jakub Jelinek --- E.g. the builtin is often used in a loop where the user does his own atomic load first and decides what to do based on that. Say for float f; void foo () { #pragma omp atomic f += 3.0f; } with -O2 -fope

[Bug target/103100] unaligned access generated when zero-initializing large locals with SIMD-instructions and -O2 -mstrict-align

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

[Bug middle-end/101934] [11 Regression] aarch64 memset code creates unaligned stores for -mstrict-align

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101934 Andrew Pinski changed: What|Removed |Added CC||felix at breitweiser dot de --- Comment

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 --- Comment #1 from Richard Biener --- (gdb) l 1392 gimple *stmt = gsi_stmt (gsi); 1393 bool remove = false; 1394 if (gimple_clobber_p (stmt) || is_gimple_debug (stmt)) 1395FOR_EACH_SSA_TREE

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

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

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 --- Comment #7 from H.J. Lu --- Instead of generating: movlf(%rip), %eax .L2: movd%eax, %xmm0 addss .LC0(%rip), %xmm0 movd%xmm0, %edx lock cmpxchgl %edx, f(%rip) jne .L2

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 --- Comment #2 from Martin Jambor --- I'll have a look.

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #12 from Andrew Macleod --- On 11/5/21 8:02 AM, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 > > --- Comment #7 from Aldy Hernandez --- > Simplified version without the noise: > > [local

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 --- Comment #4 from Richard Biener --- Of course BDESC (OPTION_MASK_ISA_SSE2, 0, CODE_FOR_sse2_ashlv1ti3, "__builtin_ia32_pslldqi128", IX86_BUILTIN_PSLLDQI128, UNKNOWN, (int) V2DI_FTYPE_V2DI_INT_CONVERT) looks suspicious, ashlv1ti3 doesn't sou

[Bug target/103100] unaligned access generated when zero-initializing large locals with SIMD-instructions and -O2 -mstrict-align

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

[Bug fortran/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 --- Comment #8 from Martin Liška --- (In reply to Jan Hubicka from comment #6) > Looking at the particular ICE, this looks like a fortran frond-end issue - > this is during compilation and not during link and I do not see why Fortran > should pr

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

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

[Bug c++/102396] [11/12 Regression] ICE when using concepts, in get, at cp/constraint.cc:2637 since r11-6245-g79f57d5cb070bb02

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

[Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537

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

[Bug c++/102656] [11/12 Regression] ICE on coroutines on -fsanitize=address -O1 since r11-1613-g788b962aa00959e8

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

[Bug fortran/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 --- Comment #9 from Martin Liška --- And WPA cgraph dump tells: quick_sort_1.1/213 (quick_sort_1) @0x774c2550 Type: function definition analyzed Visibility: prevailing_def_ironly References: Referring: Read from file: quicksort.

[Bug target/103066] __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 --- Comment #8 from Jakub Jelinek --- (In reply to H.J. Lu from comment #7) > Instead of generating: > > movlf(%rip), %eax > .L2: > movd%eax, %xmm0 > addss .LC0(%rip), %xmm0 > movd%xmm0, %edx > lock c

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

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

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #13 from Aldy Hernandez --- (In reply to Andrew Macleod from comment #12) > I dont understand why? isnt m.10_120 killed in bb20?    whats the basis > for threading that?  I dont see it Huh. The last thing we do in the solver is

[Bug middle-end/102700] [12 Regression] wrong location in -Wuninitialized after -O2 vectorization

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

[Bug d/102765] [11 Regression] GDC11 stopped inlining library functions and lambdas used by a binary search one-liner code

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #1 from Richard Biene

[Bug middle-end/103059] [12 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 Richard Biener changed: What|Removed |Added Summary|[11 regression][VAX] ICE in |[12 regression][VAX] ICE in

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

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

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

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

[Bug ada/103070] ICE in gimple_call_static_chain_flags, at gimple.c:1669

2021-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103070 Richard Biener changed: What|Removed |Added Summary|[12 regression] ICE in |ICE in |gimple_call_

[Bug middle-end/50481] builtin to reverse the bit order

2021-11-05 Thread f.boesing at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481 Frank changed: What|Removed |Added CC||f.boesing at gmx dot de --- Comment #7 from Fran

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Mine. > This should fix it (untested): And yes it works.

[Bug debug/103046] [11 Regression] Incorrect debug info for uint128 bit shift in gcc 11.2

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

[Bug tree-optimization/103037] [11/12 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

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

[Bug rtl-optimization/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu by r7-7101

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

[Bug c++/102990] [9/10/11/12 Regression] ICE in tsubst_copy_and_build with NSDMI and double to int conversion

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

[Bug c++/102980] [10/11/12 Regression] Fail to get an r-value from std::array::size in a template function

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

[Bug target/103098] bogus error: the last argument must be an 8-bit immediate

2021-11-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID CC|

  1   2   3   >