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

2021-10-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #6 from Aldy Hernandez --- Can this be re-checked now that the forward threader has been dropped post-VRP? BTW, please CC me on any compile-time hogs related to the threader, especially if it's not SPEC related, as I've yet to hunt

[Bug target/93811] __builtin___clear_cache() is a noop on powerpc (which is incorrect)

2021-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93811 --- Comment #4 from Andrew Pinski --- Mono's implementation seems like the best so far: https://github.com/mono/mono/blob/main/mono/mini/mini-ppc.c#L759-L795

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

2021-10-29 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #21 from Andrew Cooper --- Another possibly-bug, but possibly mis-expectations on my behalf. I've found some code in the depths of Xen which is causing a failure on final link due to a missing `__x86_indirect_thunk_nt_rax` symbol.

[Bug testsuite/103000] Some updated test cases from r12-4786 fail

2021-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103000 --- Comment #3 from Andrew Pinski --- (In reply to Tamar Christina from comment #2) > From a quick look at the failures on -m32 it looks like SLP vectorization > fails completely but these targets declare vect_float so that's not enough > to sto

[Bug testsuite/103000] Some updated test cases from r12-4786 fail

2021-10-29 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103000 --- Comment #2 from Tamar Christina --- (In reply to Andrew Pinski from comment #1) > Looks like these are missing { target { vect_complex_add_float } } in there. > No, that's not right, `vect_complex_add_float` is for when the target supports

[Bug testsuite/103000] Some updated test cases from r12-4786 fail

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

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

2021-10-29 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #20 from Andrew Cooper --- (In reply to H.J. Lu from comment #19) > (In reply to Andrew Cooper from comment #17) > > I think I've found a bug in the -fcf-check-attribute implementation. > > Please try the v5 patch. Thanks. That do

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

2021-10-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #19 from H.J. Lu --- (In reply to Andrew Cooper from comment #17) > I think I've found a bug in the -fcf-check-attribute implementation. > Please try the v5 patch. BTW, do you have a testcase to show how -fcf-check-attribute=yes i

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

2021-10-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 H.J. Lu changed: What|Removed |Added Attachment #51696|0 |1 is obsolete|

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 --- Comment #6 from Tobias Burnus --- Created attachment 51700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51700&action=edit Draft patch for the 'gcc -E' / 'gcc -save-temps' issue This solves the -E / -save-temps preprocessing issue. F

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

2021-10-29 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 --- Comment #17 from Andrew Cooper --- I think I've found a bug in the -fcf-check-attribute implementation. $ cat fnptr-array-arg.c static int __attribute__((cf_check)) foo(char a[], int b) { return 0; } int (*ptr)(char[], int)

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 --- Comment #5 from Tobias Burnus --- The problem is that the pragma is not known/registered. In that case, when calling libcpp/directives.c's do_pragma, the result is p == NULL and thus: if (p) ... else if (pfile->cb.def_pragma) .

[Bug c/102998] Wrong documentation for -Warray-parameter

2021-10-29 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/102409] _pragma ("omp ...") expansion issue - placed in the wrong scope

2021-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102409 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0078a058a569387153419876acca080142873b65 commit r12-4797-g0078a058a569387153419876acca080142873b65 Author: Tobias Burnus Date: F

[Bug c++/102547] [11 Regression] g++ 11. ICE with NTTPs and partial specialization

2021-10-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102547 Patrick Palka changed: What|Removed |Added CC||cantonios at google dot com --- Comment

[Bug c++/102999] g++-11 regression: sorry, unimplemented: unexpected AST of kind nontype_argument_pack

2021-10-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102999 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug tree-optimization/103002] New: Missed loop unrolling opportunity

2021-10-29 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103002 Bug ID: 103002 Summary: Missed loop unrolling opportunity Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug fortran/98426] find_symbol in module.c traverses O(N) part of a search tree

2021-10-29 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98426 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org ---

[Bug fortran/103001] New: missing simplify of (CAF) get_team

2021-10-29 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103001 Bug ID: 103001 Summary: missing simplify of (CAF) get_team Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug middle-end/103000] New: Some updated test cases from r12-4786 fail

2021-10-29 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103000 Bug ID: 103000 Summary: Some updated test cases from r12-4786 fail Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middl

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #4

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2021-10-29 Thread luke-jr+gccbugs at utopios dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #7 from Luke Dashjr --- It's the standard Ubuntu focal g++-mingw-w64-i686 package.

[Bug c/91669] #pragma's and _Pragma's work but _Pragma's used in an equivalent macro don't

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91669 --- Comment #3 from Tobias Burnus --- Comparing the two inside handle_pragma_visibility: * the no-save-temps version has as 'loc' the line pointing to _Pragma(#__VA_ARGS__) * with -save-temps, 'loc' == 'input_location'. But: control_warning_opti

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

2021-10-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102980 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/99250] [F2018] coshape intrinsic is missing

2021-10-29 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99250 --- Comment #2 from sandra at gcc dot gnu.org --- Hmmm. I've been going through the list at https://gcc.gnu.org/wiki/Fortran2018Status and there really are a large number of unimplemented F2018 features, not just this one. :-( Anyway, I added

[Bug c++/102999] New: g++-11 regression: sorry, unimplemented: unexpected AST of kind nontype_argument_pack

2021-10-29 Thread cantonios at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102999 Bug ID: 102999 Summary: g++-11 regression: sorry, unimplemented: unexpected AST of kind nontype_argument_pack Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c/91669] #pragma's and _Pragma's work but _Pragma's used in an equivalent macro don't

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91669 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

2021-10-29 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 --- Comment #10 from Jürgen Reuter --- Reassuringly, the gfortran 11.2 from Macports has the same problem as the gfortran 12.0.0 installed by hand: no redirecting into files.

[Bug tree-optimization/102996] No warning on dereferencing of uninitialized pointer in an array, in a loop

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

[Bug tree-optimization/102983] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

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

[Bug tree-optimization/102983] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102983 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:cb596fd43667f92c4cb037a4ee8b2061c393ba60 commit r12-4788-gcb596fd43667f92c4cb037a4ee8b2061c393ba60 Author: Andrew MacLeod Date:

[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

2021-10-29 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 --- Comment #9 from Jürgen Reuter --- I also tried that for a Fortran program ./a.out | less (pipe to less) works. It's just the redirection that does not work. I'm waiting for the compilation to check whether gfortran 11.2 from Macports shares

[Bug tree-optimization/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2021-10-29 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #16 from hubicka at kam dot mff.cuni.cz --- > It will only help for V2DF I think, so no, not really. But an IPA idea of > whether there's cross-call STLF issues might be nice. > > Generally doing wider stores is fine but of course i

[Bug middle-end/71065] Missing diagnostic for statements between OpenMP 'target' and 'teams'

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71065 --- Comment #4 from Tobias Burnus --- >From IRC: "testcases where nothing should be diagnosed would include e.g. lambdas in expressions inside of teams clauses and similar nastiness" Simple examples: #pragma omp target map(tofrom: b[0:100])

[Bug middle-end/71065] Missing diagnostic for statements between OpenMP 'target' and 'teams'

2021-10-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71065 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #3

[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

2021-10-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 Iain Sandoe changed: What|Removed |Added Summary|Piping in a file does no|fortran: redirecting |l

[Bug tree-optimization/102058] [12 regression] 450.soplex regressed on x86_64 with -Ofast -march=generic (by 8-15%)

2021-10-29 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102058 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Sum

[Bug libfortran/102992] Piping in a file does no longer work on macOS Monterey

2021-10-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 --- Comment #7 from Iain Sandoe --- (although , the output is fine when not redirected, so perhaps that's irrelevant)

[Bug libfortran/102992] Piping in a file does no longer work on macOS Monterey

2021-10-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 --- Comment #6 from Iain Sandoe --- I had a brief look at some new fails on macOS12 / Darwin21 for gcov. It seems that .mod_term_funcs entries are not being run - so if libgfortran relies on something defined as __attribute__((destructor)) [e.g

[Bug tree-optimization/102977] [12 Regression] vectorizer failed to use armv8.3-a complex fma

2021-10-29 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102977 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/102977] [12 Regression] vectorizer failed to use armv8.3-a complex fma

2021-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102977 --- Comment #10 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:4045d5fa42f2ee7b284977c8f2f0edc300a63e43 commit r12-4786-g4045d5fa42f2ee7b284977c8f2f0edc300a63e43 Author: Tamar Christina Date

[Bug tree-optimization/102977] [12 Regression] vectorizer failed to use armv8.3-a complex fma

2021-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102977 --- Comment #9 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:ed3de62ac949c92ad41ef6de7cc926fbb2a510ce commit r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce Author: Tamar Christina Date:

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Z

2021-10-29 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #5 from hubicka at kam dot mff.cuni.cz --- > Not seen on Haswell (but w/o PGO). Is this PGO specific? There's another > large jump visible end of 2019. It is between 2019-11-15 and 18 but the revisions does not exist at git - perhap

Re: [Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7

2021-10-29 Thread Jan Hubicka via Gcc-bugs
> Not seen on Haswell (but w/o PGO). Is this PGO specific? There's another > large jump visible end of 2019. It is between 2019-11-15 and 18 but the revisions does not exist at git - perhaps they reffer to the old git mirror. Martin will know better. In that range there are many of Richard's vec

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Z

2021-10-29 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #4 from hubicka at kam dot mff.cuni.cz --- > Not seen on Haswell (but w/o PGO). Is this PGO specific? There's another > large jump visible end of 2019. This is kabylake LTO+PGO+march=native https://lnt.opensuse.org/db_default/v4/SP

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-10-29 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c/102998] Wrong documentation for -Warray-parameter

2021-10-29 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 --- Comment #1 from Roland Illig --- > for the following redeclarations That's wrong. There is only 1 redeclaration in the code that follows.

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Z

2021-10-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #3 from Richard Biener --- train data: Samples: 6K of event 'cycles', Event count (approx.): 7715838425 Overhead Samples Command Shared Object Symbol 5.68% 382 calculi

[Bug c/102998] New: Wrong documentation for -Warray-parameter

2021-10-29 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 Bug ID: 102998 Summary: Wrong documentation for -Warray-parameter Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Z

2021-10-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #2 from Richard Biener --- Btw, IIRC calculix train data and ref data do not match up wrt the hottest loops, so not sure whether any regression here is considered important. Maybe the profile is now preserved better. I can't reprod

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Z

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

[Bug c/102996] No warning on dereferencing of uninitialized pointer in an array, in a loop

2021-10-29 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102996 --- Comment #2 from Eyal Rozenberg --- (In reply to Richard Biener from comment #1) > The foo form is handled by the early uninit pass Since _none_ of `as` is initialized, one could argue that an early uninit pass could catch that as well.

[Bug middle-end/102997] New: 45% calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b98b6bde8e9be7 on Zen

2021-10-29 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 Bug ID: 102997 Summary: 45% calculix regression with LTO+PGO -march=native -Ofast between ce4d1f632ff3f680550d3b186b60176022f41190 and 6fca1761a16c68740f875fc487b9

[Bug rtl-optimization/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-10-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 --- Comment #3 from Jakub Jelinek --- Or tree-vect-generic.c would need to check the predicates of the vector shift and try to figure out if they accept REGs or not. But no idea how to do that cleanly, the predicate could be very well some targ

[Bug libfortran/102992] Piping in a file does no longer work on macOS Monterey

2021-10-29 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 --- Comment #5 from Jürgen Reuter --- I checked that the assembler code on macOS Big Sur and Monterey is identical (up to the date in the .ident line). So either the assembler works differently, or one of the routines from the libgfortran (_gfor

[Bug rtl-optimization/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

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

[Bug target/102991] [12 regression] gcc.dg/vect/vect-simd-17.c fails after r12-4757

2021-10-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102991 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2 fro

[Bug c/102996] No warning on dereferencing of uninitialized pointer in an array, in a loop

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

[Bug fortran/102966] size() returns 0 for an unallocated array, no error message or error exit

2021-10-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102966 --- Comment #8 from Jakub Jelinek --- What checks are emitted evolves over time...

[Bug fortran/102966] size() returns 0 for an unallocated array, no error message or error exit

2021-10-29 Thread b.j.braams at cwi dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102966 --- Comment #7 from Bastiaan Braams --- Pleased to see that the run-time error is properly diagnosed in version 11.2.1 and later, and agreed that the matter is outside the fortran language standard. Just one comment on the discussion in view of

[Bug target/102991] [12 regression] gcc.dg/vect/vect-simd-17.c fails after r12-4757

2021-10-29 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
PASS: gcc.dg/vect/vect-simd-17.c -flto -ffat-lto-objects execution test === gcc Summary === # of expected passes4 /home/luoxhu/workspace/build/gcc/xgcc version 12.0.0 20211029 (experimental) (GCC)

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

2021-10-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102880 --- Comment #5 from Richard Biener --- Created attachment 51699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51699&action=edit hack to make forwarders This is an overly simple attempt to make forwarders which works to restore the DCE.

[Bug c/102985] [openmp] Bogus "error: lastprivate variable ‘n’ is private in outer context"

2021-10-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102985 --- Comment #2 from Jakub Jelinek --- Actually, I think 5.2 got this right and thus the testcase is not valid in 5.2. This is because of the introduction of work-distribution constructs term. For lastprivate the restriction now says: "A list it

[Bug libstdc++/102984] strange alignment issues with std::vector::emplace/push_back and overaligned type

2021-10-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102984 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |WORKSFORME --- Comment #9 from Jonath

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2021-10-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #6 from Eric Botcazou --- > I think we still default to those for 32bit unless you configure with > --disable-sjlj-exceptions. Yes, everybody should configure with it.

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

2021-10-29 Thread duan.db at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 --- Comment #8 from Bo Duan --- (In reply to Richard Biener from comment #7) > (In reply to Bo Duan from comment #6) > > Hello, should we backport this patch to gcc-10? > > It's scheduled for a backport to GCC 11, I'm not aware that GCC 10 is >

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2021-10-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 --- Comment #5 from Richard Biener --- I think we still default to those for 32bit unless you configure with --disable-sjlj-exceptions.

[Bug libstdc++/102984] strange alignment issues with std::vector::emplace/push_back and overaligned type

2021-10-29 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102984 Milian Wolff changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug c/102996] New: No warning on use dereferencing of uninitialized point in an array

2021-10-29 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102996 Bug ID: 102996 Summary: No warning on use dereferencing of uninitialized point in an array Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102995] New: Template friend class declaration of same class with different template parameters fails to allow private methods access

2021-10-29 Thread jdapena at igalia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102995 Bug ID: 102995 Summary: Template friend class declaration of same class with different template parameters fails to allow private methods access Product: gcc Ver

[Bug c++/94404] [meta-bug] C++ core issues

2021-10-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 102820, which changed state. Bug 102820 Summary: [DR2351] Failure to compile void{} https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102820 What|Removed |Added --

[Bug c++/102820] [DR2351] Failure to compile void{}

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

[Bug c++/102820] [DR2351] Failure to compile void{}

2021-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102820 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:eca767aa51d1f69614222ceb130ca6bb07713232 commit r12-4782-geca767aa51d1f69614222ceb130ca6bb07713232 Author: Jakub Jelinek Date: F

[Bug driver/102803] Bug: -no-canonical-prefixes not working

2021-10-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102803 Carlos Galvez changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2021-10-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

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

2021-10-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 Richard Biener changed: What|Removed |Added Summary|[11 Regression] A |[10/11 Regression] A

[Bug tree-optimization/102949] [12 regression] gcc.dg/vect/slp-reduc-1.c FAIL

2021-10-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102949 --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #7 from Richard Biener --- > Fixed (by inspecting assembly). Indeed: the execution tests PASS again. Thanks.