[Bug tree-optimization/103144] vectorizer failed to recognize shift>>=1 in loop as shift>>i

2021-12-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103144 --- Comment #3 from rguenther at suse dot de --- On Wed, 1 Dec 2021, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103144 > > --- Comment #2 from Hongtao.liu --- > Another issue is for SLP, when trip count is

[Bug target/103515] New: Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag

2021-12-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103515 Bug ID: 103515 Summary: Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug target/103515] Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag

2021-12-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103515 Kewen Lin changed: What|Removed |Added Target||powerpc --- Comment #1 from Kewen Lin ---

[Bug libstdc++/103453] ASAN detection with clang

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #9 from Jonathan Wakely --- Yes. This is working as intended.

[Bug tree-optimization/103456] [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594cff78

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456 --- Comment #5 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:da9386f9a70ac494939650c0e0a0e4168a6f76d8 commit r12-5649-gda9386f9a70ac494939650c0e0a0e4168a6f76d8 Author: Siddhesh Poyarekar

[Bug target/103124] PPC: "mr" instruction is unnecessary when extending DI to V1TI

2021-12-01 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103124 --- Comment #5 from HaoChen Gui --- (In reply to Segher Boessenkool from comment #4) > Skipping mode TI for zero_extend lowering. > Splitting mode TI for ashift lowering with shift amounts = > Splitting mode TI for lshiftrt lowering with

[Bug c++/103511] __builtin_bit_cast requires a constructor call

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103511 --- Comment #1 from Jonathan Wakely --- This seems like a defect in the standard.

[Bug libstdc++/103453] ASAN detection with clang

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103453 --- Comment #10 from Jonathan Wakely --- And as documented: https://gcc.gnu.org/onlinedocs/gcc-11.2.0/libstdc++/manual/manual/using_macros.html

[Bug tree-optimization/103144] vectorizer failed to recognize shift>>=1 in loop as shift>>i

2021-12-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103144 --- Comment #4 from Richard Biener --- So neither cunroll itself nor the triggered FRE afterwards do what forwprop would do - fold each stmt. There's no propagation into them so FRE doesn't fold, but we don't fold at stmt creation time (that's

[Bug analyzer/97090] gcc.dg/analyzer/malloc-vs-local-1b.c fails on arm and powerpc64*-linux-gnu

2021-12-01 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97090 --- Comment #15 from Christophe Lyon --- Indeed I don't see that anymore.

[Bug tree-optimization/103456] [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594cff78

2021-12-01 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456 Siddhesh Poyarekar changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug preprocessor/103415] [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103415 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ac5fd364f0978c62ae759e7b36ce6b912a27546c commit r12-5651-gac5fd364f0978c62ae759e7b36ce6b912a27546c Author: Jakub Jelinek Date: W

[Bug preprocessor/103415] [12 Regression] ICE in cpp_interpret_string_1, at libcpp/charset.c:1739

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

[Bug rtl-optimization/102356] [11/12 Regression] compile-time explosion at -O3 -g in var-tracking since r11-209-g74dc179a6da33cd0

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102356 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:35f2c098c81118020b1d288cd739108c8747a520 commit r12-5652-g35f2c098c81118020b1d288cd739108c8747a520 Author: Jakub Jelinek Date: W

[Bug c++/100977] [C++23] Implement C++ Identifier Syntax using Unicode Standard Annex 31

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100977 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c264208e161830a5642ee3125871c23110508462 commit r12-5653-gc264208e161830a5642ee3125871c23110508462 Author: Jakub Jelinek Date:

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

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

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 Martin Liška changed: What|Removed |Added Summary|ICE in compare_bound_mpz_t, |ICE in compare_bound_mpz_t,

[Bug fortran/103506] [10/11/12 Regression] ICE in gfc_free_namespace, at fortran/symbol.c:4039 since r10-2798-ge68a35ae4a65d2b3

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

[Bug fortran/103507] ICE in resolve_block_construct, at fortran/resolve.c:10787

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

[Bug target/103515] Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag

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

[Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558

2021-12-01 Thread pjfloyd at wanadoo dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516 Bug ID: 103516 Summary: internal compiler error in comptypes, typeck.c:1558 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/103517] New: ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512

2021-12-01 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517 Bug ID: 103517 Summary: ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/103516] internal compiler error in comptypes, typeck.c:1558

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

[Bug tree-optimization/103517] [12 Regression] ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 since r12-5612-g10833849b55401a5

2021-12-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517 Martin Liška changed: What|Removed |Added Summary|ICE in as_a, at is-a.h:242 |[12 Regression] ICE in

[Bug c++/103516] internal compiler error in comptypes, typeck.c:1558

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

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types

2021-12-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Andrew Pinski changed: What|Removed |Added CC||pjfloyd at wanadoo dot fr --- Comment #

[Bug rtl-optimization/102356] [11 Regression] compile-time explosion at -O3 -g in var-tracking since r11-209-g74dc179a6da33cd0

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

[Bug c++/103516] internal compiler error in comptypes, typeck.c:1558

2021-12-01 Thread pjfloyd at wanadoo dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516 --- Comment #3 from Paul Floyd --- Forgot to say, this is building llvm. And it does look like 10715.

[Bug rtl-optimization/102356] [11 Regression] compile-time explosion at -O3 -g in var-tracking since r11-209-g74dc179a6da33cd0

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102356 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6a43f5c64b4000233c552891abc13cbd447e5703 commit r11-9346-g6a43f5c64b4000233c552891abc13cbd447e5703 Author: Jakub Jelinek

[Bug tree-optimization/103514] Missing XOR-EQ-AND Optimization

2021-12-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103514 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Ever confirmed|0

[Bug rtl-optimization/102356] [11 Regression] compile-time explosion at -O3 -g in var-tracking since r11-209-g74dc179a6da33cd0

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

[Bug tree-optimization/103517] [12 Regression] ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 since r12-5612-g10833849b55401a5

2021-12-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517 rsandifo at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot

[Bug c++/103511] __builtin_bit_cast requires a constructor call

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

[Bug c++/103518] New: g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 Bug ID: 103518 Summary: g++ hangs on invalid code Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assign

[Bug c++/103518] g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 Egor Pugin changed: What|Removed |Added CC||egor.pugin at gmail dot com --- Comment #1

[Bug ipa/103267] Wrong code with ipa-sra

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:5e2e6cc84c46ff7ceb6395c0309a2c6b71d83cb1 commit r11-9347-g5e2e6cc84c46ff7ceb6395c0309a2c6b71d83cb1 Author: Martin Jambor

[Bug ipa/103267] Wrong code with ipa-sra

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:d2ecc42195e8af1992d12e678e761c73557eaf56 commit r10-10318-gd2ecc42195e8af1992d12e678e761c73557eaf56 Author: Martin Jambor

[Bug c++/103518] g++ hangs on invalid code

2021-12-01 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518 --- Comment #2 from Egor Pugin --- Callgrind https://www.dropbox.com/s/3ro2ulrfp6jma8f/callgrind.out.39995?dl=1 Interestingly, clang++-13 hangs for 50 s. while gcc for 150 s. Probably, clang also does something wrong here.

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #17 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:cb137e85720654e41db370d952df226654e576a6 commit r12-5688-gcb137e85720654e41db370d952df226654e576a6 Author: Andrew MacLeod Date:

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-12-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/100494] [11/12 Regression] Unterminated recursion in gimple-range.cc (x86_64-w64-mingw32)

2021-12-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494 --- Comment #15 from Andrew Macleod --- Stack frame depth issued should be completely resolved in GCC12 now by patches for PR 103231 and a follow up for PR 103464.

[Bug tree-optimization/103517] [12 Regression] ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 since r12-5612-g10833849b55401a5

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1e625a44f6f3001cea31e0f7c563943ecba92b68 commit r12-5689-g1e625a44f6f3001cea31e0f7c563943ecba92b68 Author: Richard Sandiford D

[Bug tree-optimization/103517] [12 Regression] ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 since r12-5612-g10833849b55401a5

2021-12-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2021-12-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 103517, which changed state. Bug 103517 Summary: [12 Regression] ICE in as_a, at is-a.h:242 with -O2 -march=skylake-avx512 since r12-5612-g10833849b55401a5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103517

[Bug sanitizer/103519] New: Address sanitizer check missing for AVX512 masked load

2021-12-01 Thread dlong at cadence dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103519 Bug ID: 103519 Summary: Address sanitizer check missing for AVX512 masked load Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug sanitizer/103519] Address sanitizer check missing for AVX512 masked load

2021-12-01 Thread dlong at cadence dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103519 David Long changed: What|Removed |Added CC||dlong at cadence dot com --- Comment #1 fr

[Bug fortran/103507] ICE in resolve_block_construct, at fortran/resolve.c:10787

2021-12-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103507 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug d/103520] New: [12 regression] ICE: onRangeError

2021-12-01 Thread schwab--- via Gcc-bugs
Assignee: ibuclaw at gdcproject dot org Reporter: sch...@linux-m68k.org Target Milestone: --- Host: aarch64-*-* Target: aarch64-*-* make[3]: Entering directory '/opt/gcc/gcc-20211201/Build/aarch64-suse-linux/libphobos/libdruntime' /bin/sh ../libto

[Bug libstdc++/103501] associative containers left invalid after allocator-extended move construction

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103501 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:056551414a328b427c4bf4955b9a3832f344685c commit r12-5693-g056551414a328b427c4bf4955b9a3832f344685c Author: Jonathan Wakely Date:

[Bug libstdc++/96074] Associative containers never propagate allocator on copy assignment

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96074 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/96074] Associative containers never propagate allocator on copy assignment

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

[Bug tree-optimization/82090] Bogus warning: ‘magic_p’ may be used uninitialized in this function [-Wmaybe-uninitialized]

2021-12-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82090 --- Comment #4 from Aldy Hernandez --- Created attachment 51913 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51913&action=edit proof of concept to reduce uninit warnings with the path solver

[Bug tree-optimization/82090] Bogus warning: ‘magic_p’ may be used uninitialized in this function [-Wmaybe-uninitialized]

2021-12-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82090 --- Comment #5 from Aldy Hernandez --- [from the POC patch] It seems that every missed thread (due to inability of the threader, or due to cost restraints) is a potential false positive for the uninit code. Perhaps what we need is a way to iden

[Bug analyzer/102471] RFE: add support to analyzer testsuite for running SAMATE/SARD tests (e.g. Juliet Test Suite)

2021-12-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102471 --- Comment #2 from David Malcolm --- There's also https://www.nist.gov/itl/ssd/software-quality-group/other-assurance-tool-test-collections Currently the only non-Java collection on the list is: https://sir.csc.ncsu.edu/portal/index.php Ho

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-12-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #11 from qinzhao at gcc dot gnu.org --- Please see the details of the discussion of the patch for this bug: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg275509.html as a summary, we decide to exclude OPAQUE_TYPE from auto

[Bug tree-optimization/82090] Bogus warning: ‘magic_p’ may be used uninitialized in this function [-Wmaybe-uninitialized]

2021-12-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82090 --- Comment #6 from Jeffrey A. Law --- I never explored the idea, but Bodik has a discussion of recording infeasible paths in the CFG which would seem to address this issue. He was using the concept in the context of coverage analysis -- the ide

[Bug tree-optimization/80548] -Wmaybe-uninitialized false positive when an assignment is added

2021-12-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80548 --- Comment #6 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #4) > Created attachment 51908 [details] > untested patch > > Like this. It fixes the problem at least for -O2. Richi responded that the current BB copier won't ha

[Bug tree-optimization/103409] [12 Regression] 18% SPEC2017 WRF compile-time regression with -O2 -flto since r12-5228-gb7a23949b0dcc4205fcc2be6b84b91441faa384d

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103409 --- Comment #11 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:54ebec35abec09a24b47b997172622ca0d8e2318 commit r12-5694-g54ebec35abec09a24b47b997172622ca0d8e2318 Author: Aldy Hernandez Date:

[Bug tree-optimization/103409] [12 Regression] 18% SPEC2017 WRF compile-time regression with -O2 -flto since r12-5228-gb7a23949b0dcc4205fcc2be6b84b91441faa384d

2021-12-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103409 --- Comment #12 from Aldy Hernandez --- I've fixed the threading slowdown. Can someone verify and close this PR if all the slowdown has been accounted for? If not, then someone needs to explore any slowdown unrelated to the threader.

[Bug tree-optimization/101912] -Wmaybe-uninitialized false alarm in tzdb localtime.c

2021-12-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101912 Aldy Hernandez changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #6

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

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

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #7 from Jonathan Wakely --- I have a patch: --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -54,6 +54,11 @@ namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-12-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 --- Comment #8 from qinzhao at gcc dot gnu.org --- the minimum option to repeat this failure is "-O1 -mno-strict-align". The option "-mno-strict-align" is the one that make the difference. For the following call to .DEFERRED_INIT: MEM[(int[0:

[Bug c++/94490] Ternary expression with 3 consts is “not” a constant expression

2021-12-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 --- Comment #5 from Marek Polacek --- Patch finally posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/585932.html

[Bug ipa/103267] Wrong code with ipa-sra

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:7dd5b92bbe0944dc27e6175b0df72ed0a7188016 commit r9-9852-g7dd5b92bbe0944dc27e6175b0df72ed0a7188016 Author: Martin Jambor D

[Bug ipa/103267] Wrong code with ipa-sra

2021-12-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug analyzer/102471] RFE: add support to analyzer testsuite for running SAMATE/SARD tests (e.g. Juliet Test Suite)

2021-12-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102471 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from David Malc

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2021-12-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Eric Gallager changed: What|Removed |Added CC||allan.chandler at oakton dot com.a

[Bug libstdc++/103501] associative containers left invalid after allocator-extended move construction

2021-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103501 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > I haven't checked the unordered containers yet to see if they have the same > issue. This still needs to be done.

[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102347 --- Comment #13 from CVS Commits --- The master branch has been updated by William Schmidt : https://gcc.gnu.org/g:d683a1b3e89007211a7c800bb61647d8ac42cb6b commit r12-5695-gd683a1b3e89007211a7c800bb61647d8ac42cb6b Author: Bill Schmidt Date:

[Bug tree-optimization/103491] nextafter does not raise "overflow" and "inexact" floating-point exceptions

2021-12-01 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103491 --- Comment #4 from Pavel M --- To: jos...@codesourcery.com Re: This testcase is incorrect. Indeed. The F.10.8.3 was misunderstood.

[Bug c/103310] null comparison with a weak symbol eliminated

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103310 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:53caa4723d8de73fe21e63ba264082f3071b2887 commit r12-5696-g53caa4723d8de73fe21e63ba264082f3071b2887 Author: Jason Merrill Date: W

[Bug c++/103319] [coroutines] ICE in is_this_parameter, at cp/semantics.c:10672

2021-12-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103319 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolu

[Bug analyzer/103521] New: [12 regression] gcc.dg/analyzer/pr93032-mztools.c broken after r12-5585

2021-12-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103521 Bug ID: 103521 Summary: [12 regression] gcc.dg/analyzer/pr93032-mztools.c broken after r12-5585 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #12 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:5b1ef8b9db964ec2375df29a73d2b1651afe7ea9 commit r12-5698-g5b1ef8b9db964ec2375df29a73d2b1651afe7ea9 Author: Peter Bergner Date:

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-12-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-12-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 --- Comment #9 from qinzhao at gcc dot gnu.org --- disable tree-ccp by adding -fno-tree-ccp cures the ICE.

[Bug tree-optimization/101145] niter analysis fails for until-wrap condition

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101145 --- Comment #11 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:de3e5aae6c4b540e808c822c1e878b0a3304d09c commit r12-5699-gde3e5aae6c4b540e808c822c1e878b0a3304d09c Author: Roger Sayle Date: Wed

[Bug d/103520] [12 regression] ICE: onRangeError

2021-12-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103520 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #2) > diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c > index 6552eaf3b0c..1b2f5b310a7 100644 > --- a/gcc/fortran/array.c > +++ b/gcc/fortran/array.c > @@ -4

[Bug tree-optimization/103522] New: New test case gcc.dg/ubsan/pr103456.c fails in r12-5649

2021-12-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103522 Bug ID: 103522 Summary: New test case gcc.dg/ubsan/pr103456.c fails in r12-5649 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

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

[Bug tree-optimization/103409] [12 Regression] 18% SPEC2017 WRF compile-time regression with -O2 -flto since r12-5228-gb7a23949b0dcc4205fcc2be6b84b91441faa384d

2021-12-01 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103409 --- Comment #13 from hubicka at kam dot mff.cuni.cz --- > I've fixed the threading slowdown. Can someone verify and close this PR if > all > the slowdown has been accounted for? If not, then someone needs to explore > any > slowdown unrelated

[Bug target/103523] New: [12 Regression] SVE float auto-vect float format expand failure

2021-12-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 Bug ID: 103523 Summary: [12 Regression] SVE float auto-vect float format expand failure Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-c

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-01 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #5 from Steve Kargl --- On Wed, Dec 01, 2021 at 08:26:25PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 > > --- Comment #4 from anlauf at gcc dot gnu.org --- > (In reply to kargl from

[Bug target/103523] [11/12 Regression] SVE float auto-vect float format expand failure

2021-12-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 --- Comment #1 from Tamar Christina --- An additional ICE seen on a month old tree is during GIMPLE pass: veclower2 zbuf.i: In function 'd': zbuf.i:3:1: internal compiler error: in to_constant, at poly-int.h:504 0xbc9494 poly_int_pod<2u, unsign

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #5) > Ah yes. Good catch. Are you going to insert the 2 lines > lower int the file? If so, I think you can considered > the patch complete and reviewed.

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #25 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:7eb961d83b0eda53aeb1cfaacdc367e1952de613 commit r12-5700-g7eb961d83b0eda53aeb1cfaacdc367e1952de613 Author: Uros Bizjak Date: Wed

[Bug c++/102881] gcc totally broken when trailing return type combine with decltype lambda

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102881 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:7eb961d83b0eda53aeb1cfaacdc367e1952de613 commit r12-5700-g7eb961d83b0eda53aeb1cfaacdc367e1952de613 Author: Uros Bizjak Date: Wed D

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-12-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #26 from Uroš Bizjak --- The testcase now compiles with -O2 -mf16c to: vpxor %xmm2, %xmm2, %xmm2 vpblendw$1, %xmm0, %xmm2, %xmm0 vpblendw$1, %xmm1, %xmm2, %xmm1 vcvtph2ps %xmm1

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-01 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #7 from Steve Kargl --- On Wed, Dec 01, 2021 at 09:42:44PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 > > --- Comment #6 from anlauf at gcc dot gnu.org --- > (In reply to Steve Karg

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-12-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 --- Comment #10 from qinzhao at gcc dot gnu.org --- looks like that this is exactly the same issue as exposed in pr102285. and the original fix to pr102285 just hide this inconsistent IR issue. -mno-strict-align exposed this issue again. So. I

[Bug c++/102881] gcc totally broken when trailing return type combine with decltype lambda

2021-12-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102881 --- Comment #4 from Uroš Bizjak --- > The master branch has been updated by Uros Bizjak : Oops, wrong PR number...

[Bug target/103274] [10/11/12 regression] remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-12-01 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 --- Comment #12 from Tomas Kalibera --- I've tested with GCC 10.3 with R. R can be built and passes its tests (without the patch, it crashes). Also, I've checked the generated assembly with an awk script looking for a call instruction immediatel

[Bug analyzer/102471] RFE: add support to analyzer testsuite for running SAMATE/SARD tests (e.g. Juliet Test Suite)

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102471 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:860c56b5bc356960a4d0445dadc43ceddbe3c7e2 commit r12-5701-g860c56b5bc356960a4d0445dadc43ceddbe3c7e2 Author: David Malcolm Date: W

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

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

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

2021-12-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 103483, which changed state. Bug 103483 Summary: context-sensitive ranges change triggers stringop-overread https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 What|Removed |Added --

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

2021-12-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > I think we should come up with a better plan in general for "flow sensative" > warnings really. Maybe only enable them with -O2 and above. But we keep on > getti

[Bug target/103383] Microblaze bswaphi2 can cause issues with delay slots

2021-12-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103383 Andrew Pinski changed: What|Removed |Added Summary|Microblaze bswaphi2 |Microblaze bswaphi2 can

[Bug d/103520] [12 regression] ICE: onRangeError

2021-12-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103520 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:fa10faa72d8e9e97b6e564f8b0a7b602538d0da0 commit r12-5704-gfa10faa72d8e9e97b6e564f8b0a7b602538d0da0 Author: Iain Buclaw Date: Wed D

  1   2   >