[Bug tree-optimization/98513] [10/11 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 --- Comment #10 from Richard Biener --- /* { dg-do run } */ __attribute__((noipa)) void __GIMPLE (ssa,startwith("evrp")) foo (int x, int minus_1) { int tem; unsigned int _1; unsigned int _2; __BB(2): tem_4 = minus_1_3(D); tem_5 = te

[Bug tree-optimization/98552] Make more use of __builtin_undefined for assuring that variables do not change

2021-01-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98552 --- Comment #2 from Thomas Koenig --- (In reply to Tobias Schlüter from comment #1) > There's a typo in the example, /= instead of !=. Fixed example below: The disease of a Fortran programmer writing C, I guess :-)

[Bug tree-optimization/98552] Make more use of __builtin_undefined for assuring that variables do not change

2021-01-06 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98552 --- Comment #3 from Tobias Schlüter --- Don't ask how long I'd been staring at the assembly in disbelief until I figured out what had gone wrong :-) In this particular case the problem can be addressed by passing &j into the function instead of

[Bug tree-optimization/98513] [10/11 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 --- Comment #11 from Richard Biener --- So the issue is we cannot decide between [ (] ) and [ ( ) ] and the check for [ (] ) elides the "redundant" check for the upper bound relation. But the check isn't redundant in case the compare cannot b

[Bug pch/98527] [11 Regression] ICE in handle_pragma_pop_options

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

[Bug target/98532] Use load/store pairs for 2-element vector in memory permutes

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98532 --- Comment #1 from Richard Biener --- _1 = BIT_FIELD_REF <*a_4(D), 64, 64>; _2 = BIT_FIELD_REF <*a_4(D), 64, 0>; tmp_5 = {_1, _2}; note this is another case where we'd like to improve forwprop to canonicalize this to _1 = *a_4(D); tm

[Bug other/98533] [11 Regression] ICE: 'verify_type' failed

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98533 Richard Biener changed: What|Removed |Added Keywords||ice-checking Target Milestone|---

[Bug tree-optimization/98535] [11 Regression] ICE in operands_scanner::get_expr_operands(tree_node**, int) building 538.imagick_r

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98535 Richard Biener changed: What|Removed |Added Version|unknown |11.0 CC|

[Bug middle-end/98540] [8/9/10/11 Regression] ICE: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P' since r7-6939-g853ef4e5632df328

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

[Bug middle-end/98540] [8/9/10/11 Regression] ICE: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P' since r7-6939-g853ef4e5632df328

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

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2021-01-06 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 John Dong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/98542] Redundant loads in vectorised loop

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98542 --- Comment #1 from Richard Biener --- What do you mean with "twice"? We seem to do interleaving here (on x86_64) but since 'v' and 'i' have different types they do not belong to the same interleaving chain (but we have two that "interleave" - h

[Bug tree-optimization/98544] [11 regression] Wrong code generated by tree vectorizer since r11-3917-g28290cb50c7dbf87

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98544 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug c++/98546] long compilation

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

[Bug target/98550] [11 Regression] ICE in exact_div, at poly-int.h:2219 on s390x-linux-gnu

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

[Bug c++/98556] New: [11 Regression] ICE

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98556 Bug ID: 98556 Summary: [11 Regression] ICE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassi

[Bug middle-end/98555] Functions optimized to zero length break function pointer inequality

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98555 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-01-06 Status|UNCONFIRM

[Bug c++/98556] [11 Regression] ICE: 'verify_gimple' failed on arm-linux-gnueabihf

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98556 Matthias Klose changed: What|Removed |Added Summary|[11 Regression] ICE |[11 Regression] ICE:

[Bug c++/98556] [11 Regression] ICE: 'verify_gimple' failed on arm-linux-gnueabihf

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98556 --- Comment #2 from Matthias Klose --- Created attachment 49895 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49895&action=edit preprocessed source

[Bug target/98557] New: [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557 Bug ID: 98557 Summary: [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/98556] [11 Regression] ICE: 'verify_gimple' failed on arm-linux-gnueabihf since r8-4821-g1af4ebf5985ef2aa

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

[Bug tree-optimization/98513] [10/11 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a05cc70a6c1ae0e5b22e16f4d8d13995a38ea1f9 commit r11-6499-ga05cc70a6c1ae0e5b22e16f4d8d13995a38ea1f9 Author: Richard Biener Date:

[Bug bootstrap/95582] [11 Regression] LTO lean + PGO bootstrap is broken in Ada

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95582 --- Comment #24 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c9ee9c1e3553247c776f33eb0fe0aadee094a192 commit r11-6500-gc9ee9c1e3553247c776f33eb0fe0aadee094a192 Author: Richard Biener Date:

[Bug tree-optimization/98365] Miss vectoization for signed char ifcvt

2021-01-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98365 --- Comment #6 from Hongtao.liu --- Created attachment 49897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49897&action=edit Bootstrapped and regtested on x86_64-linux-gnu{-m32,} Waiting for GCC12 stage1.

[Bug target/98557] [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf

2021-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug fortran/98558] New: Scalar character parameter does not print warning if actual length >1

2021-01-06 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98558 Bug ID: 98558 Summary: Scalar character parameter does not print warning if actual length >1 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/98556] [8/9/10/11 Regression] ICE: 'verify_gimple' failed since r8-4821-g1af4ebf5985ef2aa

2021-01-06 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98556 --- Comment #4 from Marc Glisse --- The result of the subtraction is supposed to be an integer type, and is instead an enum based on that underlying type? Maybe the verification code needs tweaking to allow that.

[Bug tree-optimization/98513] [10 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558

2021-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 --- Comment #13 from Martin Liška --- Thanks for the fix. I can confirm it fixed the 2 original (unreduced) yarpgen tests.

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #13 from Eric Botcazou --- The divergence appears to stem from get_ref_base_and_extent: case MEM_REF: [...] /* Hand back the decl for MEM[&decl, off]. */ if (TREE_CODE (TREE_OPERAND (exp, 0)) == ADDR_EXPR

[Bug target/98063] Emit R_X86_64_GOTOFF64 instead of R_X86_64_GOTPCRELX for -mcmodel=large -fno-plt

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98063 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ebc8606a9408623e2fa2a02a5526b882ffd0e7a8 commit r10-9211-gebc8606a9408623e2fa2a02a5526b882ffd0e7a8 Author: Jakub Jelinek D

[Bug c++/98072] [9/10 Regression] ICE in cp_parser_omp_var_list_no_open, at cp/parser.c:34843

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98072 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d62daad11b21a2ee9c39a43c5e94e7b966793dbd commit r10-9212-gd62daad11b21a2ee9c39a43c5e94e7b966793dbd Author: Jakub Jelinek D

[Bug plugins/98059] [11 regression] Plugins don't compile with c++20

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98059 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:45a5aa80240d2033fb490f974756b947f8d0db40 commit r10-9213-g45a5aa80240d2033fb490f974756b947f8d0db40 Author: Scott Snyder Da

[Bug target/98100] ICE in expand_debug_locations, at cfgexpand.c:5610

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98100 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4c18faa4dd4dffdb76bc879b774ce3f4da01 commit r10-9215-g4c18faa4dd4dffdb76bc879b774ce3f4da01 Author: Jakub Jelinek D

[Bug c++/98122] [10 Regression] Accessing union member through pointer-to-member is not a constant expression

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98122 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0c3467bd82d8df0294bbe2f141404d2a588bcbd9 commit r10-9216-g0c3467bd82d8df0294bbe2f141404d2a588bcbd9 Author: Jakub Jelinek D

[Bug c++/98187] ICE in build_call_expr_loc_array, at tree.c:11554

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98187 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e315ba968d2a47643a9487ea48d62e6399a07d49 commit r10-9217-ge315ba968d2a47643a9487ea48d62e6399a07d49 Author: Jakub Jelinek D

[Bug rtl-optimization/94440] [8/9/10 Regression] ICE in check_bool_attrs, at recog.c:2168 since r7-5324-gb8cab8a5492e9639

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94440 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a9a0d654006df98dd2c29b907c83571819c49727 commit r10-9218-ga9a0d654006df98dd2c29b907c83571819c49727 Author: Jakub Jelinek

[Bug middle-end/98205] ICE in expand_omp_for_generic, at omp-expand.c:4307

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c925d4cebf817905c237aa2d93887f254b4a74f4 commit r10-9219-gc925d4cebf817905c237aa2d93887f254b4a74f4 Author: Jakub Jelinek D

[Bug middle-end/98183] [8/9/10 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3972

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98183 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8c1ed7223ad1bc19ed9c936ba496220c8ef673bc commit r10-9220-g8c1ed7223ad1bc19ed9c936ba496220c8ef673bc Author: Jakub Jelinek D

[Bug c++/98383] [10 Regression] internal compiler error: in make_decl_rtl, at varasm.c:1342

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98383 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:03fd9caa6a2515aafe9edda3c5325b5e4e039bde commit r10-9222-g03fd9caa6a2515aafe9edda3c5325b5e4e039bde Author: Jakub Jelinek D

[Bug c++/98353] [8/9/10 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053 since r6-4886-gcda0a029f45d20f4

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98353 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f3113a85f098df8165624321cc85d20219fb2ada commit r10-9223-gf3113a85f098df8165624321cc85d20219fb2ada Author: Jakub Jelinek D

[Bug tree-optimization/98474] [8/9/10 Regression] incorrect results using __uint128_t

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98474 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a4d191d08c6acb24034af4182b3524e6ef97546c commit r10-9224-ga4d191d08c6acb24034af4182b3524e6ef97546c Author: Jakub Jelinek D

[Bug tree-optimization/98514] ICE in insert_operand_rank

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98514 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8d2e64c4a2892ca8889002b1a3dd713471ef9fab commit r10-9225-g8d2e64c4a2892ca8889002b1a3dd713471ef9fab Author: Jakub Jelinek D

[Bug target/98557] [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf

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

[Bug target/98557] [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557 --- Comment #3 from Jakub Jelinek --- (In reply to Martin Liška from comment #1) > Can't reproduce with a cross compiler :/ If it is a dup, you wouldn't reproduce that with a cross, unless it was a cross from 32-bit host.

[Bug target/98557] [11 Regression] ICE in insert_operand_rank, at tree-ssa-reassoc.c:367 on arm-linux-gnueabihf

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557 --- Comment #4 from Matthias Klose --- I'll recheck with an updated build from trunk

[Bug c++/98072] [9 Regression] ICE in cp_parser_omp_var_list_no_open, at cp/parser.c:34843

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98072 Jakub Jelinek changed: What|Removed |Added Summary|[9/10 Regression] ICE in|[9 Regression] ICE in

[Bug web/98559] New: test PR

2021-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98559 Bug ID: 98559 Summary: test PR Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc

[Bug c++/98122] [10 Regression] Accessing union member through pointer-to-member is not a constant expression

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

[Bug rtl-optimization/94440] [8/9 Regression] ICE in check_bool_attrs, at recog.c:2168 since r7-5324-gb8cab8a5492e9639

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94440 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug middle-end/98183] [8/9 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3972

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98183 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug c++/98383] [10 Regression] internal compiler error: in make_decl_rtl, at varasm.c:1342

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

[Bug c++/98353] [8/9 Regression] ICE in propagate_necessity, at tree-ssa-dce.c:1053 since r6-4886-gcda0a029f45d20f4

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98353 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug tree-optimization/98474] [8/9 Regression] incorrect results using __uint128_t

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98474 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] incorrect

[Bug target/98521] [x86] _mm256_cmov_si256 XOP function is missing

2021-01-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98521 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/98559] test PR

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98559 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:e8ae6c6b87fdfafde512bc915b447bbe9ed93cdf commit r10-5879-ge8ae6c6b87fdfafde512bc915b447bbe9ed93cdf Author: Uros Bizjak Date: Tue J

[Bug target/98522] _mm_cvttps_pi32 and _mm_cvtps_pi32 raise spurious FP exceptions

2021-01-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98522 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |10.3 Status|ASSIGNED

[Bug tree-optimization/98138] BB vect fail to SLP one case

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98138 --- Comment #6 from Richard Biener --- Starting from the loads is not how SLP discovery works so there will be zero re-use of code. Sure - the only important thing is you end up with a valid SLP graph. But going back to the original testcase an

[Bug target/98559] test PR

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98559 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:b2e3447cfccc6fe685eef6cc380d4b880610d1a0 commit r10-5880-gb2e3447cfccc6fe685eef6cc380d4b880610d1a0 Author: Martin Liska Date: Wed

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #14 from Eric Botcazou --- The fast path in wi::lshift looks suspicious to me: /* For fixed-precision integers like offset_int and widest_int, handle the case where the shift value is constant and the result i

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #15 from Richard Biener --- (In reply to Eric Botcazou from comment #13) > The divergence appears to stem from get_ref_base_and_extent: > > case MEM_REF: > [...] > /* Hand back the decl for MEM[&decl, off]. */ >

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #16 from Eric Botcazou --- Richard, any objection to me backporting Marc's fixlet? https://gcc.gnu.org/pipermail/gcc-patches/2019-July/525651.html

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #17 from rguenther at suse dot de --- On Wed, 6 Jan 2021, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 > > --- Comment #16 from Eric Botcazou --- > Richard, any objection to me backportin

[Bug libstdc++/98518] std::array not bound checked with _GLIBCXX_ASSERTIONS

2021-01-06 Thread arnaud02 at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98518 --- Comment #2 from Arnaud Desitter --- It is indeed fixed. Fantastic.

[Bug c/30475] assert(int+100 > int) optimized away

2021-01-06 Thread daniel.marjamaki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 --- Comment #66 from Daniel Marjamäki --- Thanks! I can appreciate that it's not very simple. Well using a flag is totally acceptable. I don't trust the sanitizer completely but those that do can use the optimisation.

[Bug testsuite/98225] gcc.misc-tests/outputs.exp ltrans_args tests FAIL

2021-01-06 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98225 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- >> The arguments are in a response-file: @outputs.ld1_args >> maybe that looks different for you? > > It ce

[Bug tree-optimization/98560] New: [11 Regression] gimple-isel ICE with folded condition

2021-01-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98560 Bug ID: 98560 Summary: [11 Regression] gimple-isel ICE with folded condition Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/98560] [11 Regression] gimple-isel ICE with folded condition

2021-01-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98560 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirme

[Bug tree-optimization/98335] [9/10/11 Regression] Poor code generation for partial struct initialization

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98335 --- Comment #3 from Eric Botcazou --- > We expand the first case from > > MEM [(struct Data *)&D.2365 + 1B] = {}; > c.0_1 = c; > D.2365.a = c.0_1; > return D.2365; But why generate a 7-byte zeroing instead of a 8-byte one? I gather th

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #18 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:9c7a3bf73df4581c8ea9a4db507c290524e91cd5 commit r9-9154-g9c7a3bf73df4581c8ea9a4db507c290524e91cd5 Author: Eric Botcazou Da

[Bug middle-end/98561] New: -Wstringop-overflow triggered when memcpy to single char and writing to differently sized array members

2021-01-06 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561 Bug ID: 98561 Summary: -Wstringop-overflow triggered when memcpy to single char and writing to differently sized array members Product: gcc Version: 10.2.1 Status: UNCONF

[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 90806, which changed state. Bug 90806 Summary: Warray-bounds-2.c fail on cross-aarch64 on RH6 host https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 What|Removed |Added

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2021-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 90806, which changed state. Bug 90806 Summary: Warray-bounds-2.c fail on cross-aarch64 on RH6 host https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 What|Removed |Added

[Bug c++/98330] [9/10/11 Regression] ICE in compute_parm_map, at ipa-modref.c:2900 since r9-2640-g3d78e00879b42574

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

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2021-01-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 --- Comment #13 from Martin Liška --- > Hi Martin, My sincere apologies for the delay in replying and also for > uploading a faulty patch. I have attached another patch for this issue. It > is more of a tweak than a straight-forward approach to f

[Bug tree-optimization/98292] Optimize away C return; in function returning integral/pointer

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

[Bug c++/17314] Error message wrongly shows declared rather than inherited access

2021-01-06 Thread anthonysharp15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314 --- Comment #23 from Anthony Sharp --- The patch is now on the mailing list (https://gcc.gnu.org/pipermail/gcc-patches/2021-January/562835.html). Please take my last comment with a pinch of salt ... I was mainly trying to sum up what has already

[Bug bootstrap/98562] New: [11 Regression] profiledbootstrap-lean broken on s390x-linux-gnu

2021-01-06 Thread doko at debian dot org via Gcc-bugs
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- trunk 20210106 ftbfs on s390x-linux-gnu, profiledbootstrap-lean target. an 20210102 snapshot successfully built. In file included from

[Bug tree-optimization/98542] Redundant loads in vectorised loop

2021-01-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98542 --- Comment #2 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > What do you mean with "twice"? We seem to do interleaving here (on x86_64) > but since 'v' and 'i' have different types they do not belong to the

[Bug bootstrap/98562] [11 Regression] profiledbootstrap-lean broken on s390x-linux-gnu

2021-01-06 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98562 --- Comment #1 from Matthias Klose --- this is r11-6500

[Bug bootstrap/98562] [11 Regression] profiledbootstrap-lean broken on s390x-linux-gnu

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

[Bug c++/98551] [10/11 Regression] ICE in replace_result_decl, at cp/constexpr.c:2150

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

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2021-01-06 Thread bhavana.kilambi at blackfigtech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 --- Comment #14 from Bhavana Kilambi --- Hi Martin, This fix is for a customer who was facing this issue. Since I couldn't find a trivial fix for it, tried to handle it in a special case.

[Bug bootstrap/98506] ../../gcc/libcody/resolver.cc:178:43: error: 'O_CLOEXEC' was not declared in thi s scope

2021-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98506 --- Comment #3 from CVS Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:6d0b075d662e277a9847f7e8c17d34e7866f0cec commit r11-6503-g6d0b075d662e277a9847f7e8c17d34e7866f0cec Author: John David Anglin Da

[Bug bootstrap/98506] ../../gcc/libcody/resolver.cc:178:43: error: 'O_CLOEXEC' was not declared in thi s scope

2021-01-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98506 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/98555] Functions optimized to zero length break function pointer inequality

2021-01-06 Thread rlcamp.pdx at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98555 --- Comment #2 from Campbell --- > Did you actually run into this for a relevant case? Yes. The relevant use case is where a sentinel value is needed that has function pointer type, as function pointers are not interchangeable with other types o

[Bug tree-optimization/98563] New: regression: vectorization fails while it worked on gcc 9 and earlier

2021-01-06 Thread nathanael.schaeffer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98563 Bug ID: 98563 Summary: regression: vectorization fails while it worked on gcc 9 and earlier Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/98564] New: valgrind error with -fanalyzer

2021-01-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98564 Bug ID: 98564 Summary: valgrind error with -fanalyzer Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug fortran/98565] New: internal compiler error: in conv_function_val, at fortran/trans-expr.c:3950

2021-01-06 Thread yves.secretan at ete dot inrs.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98565 Bug ID: 98565 Summary: internal compiler error: in conv_function_val, at fortran/trans-expr.c:3950 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/98563] regression: vectorization fails while it worked on gcc 9 and earlier

2021-01-06 Thread nathanael.schaeffer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98563 --- Comment #1 from N Schaeffer --- I just found the -mprefer-vector-width=512 to force to use zmm. The reported regression however remains.

[Bug analyzer/98564] valgrind error with -fanalyzer

2021-01-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98564 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug testsuite/98566] New: g++.dg/warn/Wmismatched-dealloc.C fails with -std=c++11

2021-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98566 Bug ID: 98566 Summary: g++.dg/warn/Wmismatched-dealloc.C fails with -std=c++11 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug target/98567] New: Failure to optimize using ZF flag from blsi

2021-01-06 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98567 Bug ID: 98567 Summary: Failure to optimize using ZF flag from blsi Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug testsuite/98566] g++.dg/warn/Wmismatched-dealloc.C fails with -std=c++11

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

[Bug testsuite/98566] g++.dg/warn/Wmismatched-dealloc.C fails with -std=c++11

2021-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98566 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-01-06 Assignee|unassigned

[Bug middle-end/98561] -Wstringop-overflow triggered when memcpy to single char and writing to differently sized array members

2021-01-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/95353] [10 Regression] spurious -Wstringop-overflow writing to a trailing array plus offset

2021-01-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 Martin Sebor changed: What|Removed |Added CC||alexander.grund@tu-dresden.

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

2021-01-06 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 98561, which changed state. Bug 98561 Summary: -Wstringop-overflow triggered when memcpy to single char and writing to differently sized array members https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561 What

[Bug target/98567] Failure to optimize using ZF flag from blsi

2021-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98567 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/98568] New: [11 regression] ICE in verify_gimple() during GIMPLE pass: store-merging

2021-01-06 Thread dimhen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98568 Bug ID: 98568 Summary: [11 regression] ICE in verify_gimple() during GIMPLE pass: store-merging Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

  1   2   >