[Bug tree-optimization/102929] [missed optimization] two ways to rounddown-to-next-multiple

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102929 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/102930] equal values appear to be different due to missing correct rounding in libc

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102930 --- Comment #5 from Richard Biener --- It looks like the usual equivalence issue.

[Bug middle-end/102934] missing warning passing address of first member to free()

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102934 --- Comment #1 from Richard Biener --- But the second is valid? p->a is just an obfuscated way to write p.

[Bug testsuite/102935] [12 regression] new test case gcc.target/powerpc/pr101384-1.c fails

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

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

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

[Bug other/102938] [12 regression] ICE in fortran test cases after r12-4240

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

[Bug middle-end/102860] [12 regression] libgomp.fortran/simd2.f90 ICEs after r12-4526

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102860 --- Comment #3 from Richard Biener --- *** Bug 102938 has been marked as a duplicate of this bug. ***

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941 Andrew Pinski changed: What|Removed |Added Host|x86_64-linux-gnu| Target|aarch64-linux-gnu

[Bug c/102939] Ridiculously long compilation times on (admittedly itself ridiculous) pointer declaration

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

[Bug tree-optimization/102940] [12 Regression] ICE: Segmentation fault (in gimple_bb)

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

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941 --- Comment #5 from Andrew Pinski --- Created attachment 51665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51665&action=edit Patch which I am testing This is the patch which I am testing which fixes the issue. I tested on the testcase

[Bug c++/102468] False acceptance of invalid `using Parent::Grandparent`

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

[Bug tree-optimization/102494] Failure to optimize vector reduction properly especially when using OpenMP

2021-10-26 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102494 --- Comment #12 from Hongtao.liu --- > That's pretty good, but VMOVD eax, xmm0 would be more efficient than > VPEXTRW when we don't need to avoid high garbage (because it's a return > value in this case). And TARGET_AVX512FP16 has vmovw.

[Bug target/102914] spurious warnings are emitted on ARM about non-delegitimized UNSPEC UNSPEC_TLS

2021-10-26 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102914 Alex Coplan changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/102885] [12 Regression] ICE when compiling gfortran.dg/bind_c_char_10.f90 with -flto since r12-4467-g64f9623765da3306

2021-10-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102885 --- Comment #3 from Tobias Burnus --- Further reduced testcase: module m use iso_c_binding, only: c_char, c_size_t implicit none (type, external) contains subroutine ar3 (xn, n) bind(C) integer(c_size_t), intent(in) :: n character(len=n

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2021-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #7 from David Binderman --- (In reply to David Binderman from comment #6) > I'd like to vote for -Wduplicated-cond being in either -Wextra or -Wall. > > I only just found it last week (thanks to Weverything discussion) > and it is pr

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2021-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 --- Comment #10 from Jakub Jelinek --- (In reply to Jason Merrill from comment #9) > (In reply to Jakub Jelinek from comment #8) > > But I'm worried about larger TUs where not all dynamic initialization can be > > optimized into constants. E.g.

[Bug c++/93914] invalid definition of explicit specialization accepted with just a warning

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

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2021-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 --- Comment #11 from Jakub Jelinek --- Though, I guess the FE would need to express in the ifns how exactly is the dynamic initialization ordered, whether it is unordered, partially ordered or ordered, so that the middle-end optimization could j

[Bug other/102942] New: Implicit copy constructor not elided

2021-10-26 Thread albin at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102942 Bug ID: 102942 Summary: Implicit copy constructor not elided Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug fortran/102885] [12 Regression] ICE when compiling gfortran.dg/bind_c_char_10.f90 with -flto since r12-4467-g64f9623765da3306

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102885 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:a31a3d0421f0cf1f7eefacfec8cbf37e7f91600d commit r12-4703-ga31a3d0421f0cf1f7eefacfec8cbf37e7f91600d Author: Tobias Burnus Date: T

[Bug fortran/102885] [12 Regression] ICE when compiling gfortran.dg/bind_c_char_10.f90 with -flto since r12-4467-g64f9623765da3306

2021-10-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102885 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug preprocessor/82469] ICE in _cpp_process_line_notes, at libcpp/lex.c:1066

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82469 --- Comment #3 from Andrew Pinski --- Let me see if I can reproduce it on aarch64. It might be some bug in the hand vectorized code.

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/102897] [12 Regression] simplify_permutation ICEs on assert since r12-1103-g4a9f2306cb39a3cf

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102897 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:54e4e1769e44b925c35c0ffc11723027ff855bd7 commit r12-4705-g54e4e1769e44b925c35c0ffc11723027ff855bd7 Author: Kewen Lin Date: Tue Oct 2

[Bug testsuite/96109] [11/12 Regression] gcc.dg/vect/slp-47.c etc. FAIL

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:94f28340513753ba94ab483e93ce1d096842a5ad commit r12-4706-g94f28340513753ba94ab483e93ce1d096842a5ad Author: Richard Biener Date:

[Bug testsuite/96109] [11 Regression] gcc.dg/vect/slp-47.c etc. FAIL

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

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2021-10-26 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 --- Comment #12 from Mathias Stearn --- (In reply to Jakub Jelinek from comment #10) > So we'd just punt at optimizing that, we don't know if b is read or written > by foo (and, note, it doesn't have to be just the case of explicitly being > pas

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

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 Bug ID: 102943 Summary: VRP threader compile-time hog with 521.wrf_r Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

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

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Key

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

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #2 from Richard Biener --- The biggest LTRANS unit (36) also shows this: df reaching defs : 56.27 ( 6%) 0.30 ( 9%) 57.56 ( 6%) 0 ( 0%) df live regs : 101.65 ( 10%) 0.19 ( 6%)

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #11 from Peter Bergner --- (In reply to Martin Liška from comment #10) > (In reply to Peter Bergner from comment #8) > > FYI, here's a smaller test case that still shows the issue with today's > > trunk: > > > > extern void foo (voi

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2021-10-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 --- Comment #13 from Jakub Jelinek --- (In reply to Mathias Stearn from comment #12) > (In reply to Jakub Jelinek from comment #10) > > So we'd just punt at optimizing that, we don't know if b is read or written > > by foo (and, note, it doesn't

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #12 from Peter Bergner --- (In reply to Martin Liška from comment #10) > All right, I have a patch candidate. Would it be possible to prepare a GCC > test-suite test-case? Forgot to mention, if you want me to test your patch, I can

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

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #3 from Richard Biener --- And just in case it helps, perf for ltrans36 Samples: 1M of event 'cycles', Event count (approx.): 2082526448741 Overhead Samples Command Shared Object Symbol

[Bug testsuite/102836] gcc.target/i386/pieces-memset-1.c etc. FAIL

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102836 --- Comment #3 from CVS Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:ace06d730a8f41827d9d1a0067b596cc1ad37680 commit r12-4711-gace06d730a8f41827d9d1a0067b596cc1ad37680 Author: Rainer Orth Date: Tue O

[Bug testsuite/102836] gcc.target/i386/pieces-memset-1.c etc. FAIL

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102836 Rainer Orth changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/102835] gcc.target/i386/avx512fp16-trunchf.c FAILs

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102835 --- Comment #3 from CVS Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:2243f6cf4d18f8793eb3e77c444a191763509285 commit r12-4712-g2243f6cf4d18f8793eb3e77c444a191763509285 Author: Rainer Orth Date: Tue O

[Bug testsuite/102835] gcc.target/i386/avx512fp16-trunchf.c FAILs

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102835 Rainer Orth changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834 --- Comment #4 from CVS Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:a1516b50f291e132d76e3dc79ea91148f8713deb commit r12-4713-ga1516b50f291e132d76e3dc79ea91148f8713deb Author: Rainer Orth Date: Tue O

[Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102834 Rainer Orth changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-10-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #18 from Richard Biener --- We can warn at CFG construction time. Note the ??? though, we'd want to improve here to avoid duplicate diagnostics. Tricky cases: /* Unreachable region entry has a predecessor (backedge). */ void foo()

[Bug c++/102933] Can't use CTAD in template argument

2021-10-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102933 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug testsuite/102944] New: Many gcc.dg/Wstringop-overflow-*.c failures

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102944 Bug ID: 102944 Summary: Many gcc.dg/Wstringop-overflow-*.c failures Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: test

[Bug testsuite/102944] Many gcc.dg/Wstringop-overflow-*.c failures

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102944 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug gcov-profile/102945] New: gcc.dg/gcov-info-to-gcda.c FAILs

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102945 Bug ID: 102945 Summary: gcc.dg/gcov-info-to-gcda.c FAILs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug gcov-profile/102945] gcc.dg/gcov-info-to-gcda.c FAILs

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102945 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug middle-end/101397] [11 Regression] spurious warning writing to the result of stpcpy minus 1

2021-10-26 Thread siddhesh at gotplt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Siddhesh Poyarekar changed: What|Removed |Added CC||siddhesh at gotplt dot org --- Com

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #13 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:f9190a1c6d001099d1409298ae3b684499bd1fdd commit r12-4714-gf9190a1c6d001099d1409298ae3b684499bd1fdd Author: Sandra Loosemore Da

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-26 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug gcov-profile/102945] gcc.dg/gcov-info-to-gcda.c FAILs

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102945 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug testsuite/102946] New: gcc.dg/vect/pr101145_1.c etc. FAIL

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102946 Bug ID: 102946 Summary: gcc.dg/vect/pr101145_1.c etc. FAIL Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite

[Bug testsuite/102946] gcc.dg/vect/pr101145_1.c etc. FAIL

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102946 --- Comment #1 from Rainer Orth --- Created attachment 51666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51666&action=edit 32-bit sparc-sun-solaris2.11 pr101145_1.c.170t.vect

[Bug testsuite/102946] gcc.dg/vect/pr101145_1.c etc. FAIL

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102946 --- Comment #2 from Rainer Orth --- Created attachment 51667 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51667&action=edit 32-bit sparc-sun-solaris2.11 pr101145_2.c.170t.vect

[Bug testsuite/102946] gcc.dg/vect/pr101145_1.c etc. FAIL

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102946 Rainer Orth changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org Target Mile

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

2021-10-26 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug middle-end/102947] New: SPEC2006 compiler time regression (-Ofast -march=native -flto) between 1932e1169a236849 and 9cfb95f9b92326e8

2021-10-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102947 Bug ID: 102947 Summary: SPEC2006 compiler time regression (-Ofast -march=native -flto) between 1932e1169a236849 and 9cfb95f9b92326e8 Product: gcc Version: 12.0

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #13 from Martin Liška --- Created attachment 51668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51668&action=edit Patch candidate Please test the patch on a power10 machine, thanks.

[Bug middle-end/102947] SPEC2006 compiler time regression (-Ofast -march=native -flto) between 1932e1169a236849 and 9cfb95f9b92326e8

2021-10-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102947 --- Comment #1 from Jan Hubicka --- It seems enough to lookat the WRP benchmark build time. https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=322.270.8&plot.1=307.270.8&plot.2=343.270.8&plot.3=266.270.8&plot.4=395.270.8&plot.5=412.270.8&p

[Bug middle-end/102947] SPEC2006 compiler time regression (-Ofast -march=native -flto) between 1932e1169a236849 and 9cfb95f9b92326e8

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

[Bug target/102941] ICE in extract_insn with ccflags output from inline-asm and var with address taken

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102941 --- Comment #8 from Andrew Pinski --- (In reply to qinzhao from comment #7) > One question: > > is this ICE triggered by the call to __builtin_clear_padding (&le,) > inserted by -ftrivial-auto-var-init=pattern (which makes the "le" addres

[Bug middle-end/102948] New: 60% build time regression on gamess in range 2fc2e3917f9c8fd94f5d101477971d16c483ef88...c16f21c7cf97ce48967e42d3b5d22ea169a9c2c8

2021-10-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102948 Bug ID: 102948 Summary: 60% build time regression on gamess in range 2fc2e3917f9c8fd94f5d101477971d16c483ef88...c16f21c7cf9 7ce48967e42d3b5d22ea169a9c2c8 Product: gcc

[Bug middle-end/102947] SPEC2006 481.wrf compiler time regression (-Ofast -march=native -flto) between g:1932e1169a236849 and g:9cfb95f9b92326e8

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102947 Martin Liška changed: What|Removed |Added Keywords||needs-bisection CC|

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

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102949 Bug ID: 102949 Summary: [12 regression] gcc.dg/vect/slp-reduc-1.c FAIL Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

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

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102949 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug middle-end/102947] SPEC2006 481.wrf compiler time regression (-Ofast -march=native -flto) between g:1932e1169a236849 and g:9cfb95f9b92326e8

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

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

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 Andrew Pinski changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

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

2021-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 102947, which changed state. Bug 102947 Summary: SPEC2006 481.wrf compiler time regression (-Ofast -march=native -flto) between g:1932e1169a236849 and g:9cfb95f9b92326e8 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102947

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

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-10-26 Status|UNCONFIRME

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

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #5 from Martin Liška --- Created attachment 51669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51669&action=edit Memory and CPU utilization with LTO (--enable-checking=release)

[Bug other/102440] Uinteger Opt/Param but the underlying type is signed

2021-10-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 --- Comment #8 from Martin Liška --- (In reply to Segher Boessenkool from comment #6) > (In reply to Martin Liška from comment #5) > > All right, so the meaning of the UInteger type is actually that users can't > > set the flag/param to a negati

[Bug tree-optimization/102950] New: [11 Regression] Dead Code Elimination Regression at -O3 (trunk&11.2.0 vs 10.3.0)

2021-10-26 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102950 Bug ID: 102950 Summary: [11 Regression] Dead Code Elimination Regression at -O3 (trunk&11.2.0 vs 10.3.0) Product: gcc Version: 12.0 Status: UNCONFIRMED Severit

[Bug tree-optimization/102951] New: failure to optimize MIN_EXPR of subobject addresses of the same object

2021-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102951 Bug ID: 102951 Summary: failure to optimize MIN_EXPR of subobject addresses of the same object Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #14 from Peter Bergner --- (In reply to Martin Liška from comment #13) > Created attachment 51668 [details] > Patch candidate > > Please test the patch on a power10 machine, thanks. I'll kick it off now. Thanks!

[Bug c++/102617] [C++23] P2360R0 - Extend init-statement to allow alias-declaration

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:5469d58d6620195c6275d11b474d686f5921c3ba commit r12-4716-g5469d58d6620195c6275d11b474d686f5921c3ba Author: Marek Polacek Date: Th

[Bug c++/102617] [C++23] P2360R0 - Extend init-statement to allow alias-declaration

2021-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98940] Implement C++23 language features

2021-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 102617, which changed state. Bug 102617 Summary: [C++23] P2360R0 - Extend init-statement to allow alias-declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102617 What|Removed |Add

[Bug c/102952] New: New code-gen options for retpolines and straight line speculation

2021-10-26 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952 Bug ID: 102952 Summary: New code-gen options for retpolines and straight line speculation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/102952] New code-gen options for retpolines and straight line speculation

2021-10-26 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952 --- Comment #1 from Andrew Cooper --- https://bugs.llvm.org/show_bug.cgi?id=52323 for Clang cross-request.

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #15 from kargl at gcc dot gnu.org --- (In reply to sandra from comment #14) > Should be fixed now. Thanks you for fixing this, and the CFI issues you've been working through.

[Bug other/102440] Uinteger Opt/Param but the underlying type is signed

2021-10-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 --- Comment #9 from Segher Boessenkool --- (In reply to Martin Liška from comment #8) > > We could make the "UInteger" type mean it is implemented with an "unsigned > > int" > > C type (or some other unsigned integer type). > > This would lead

[Bug tree-optimization/102951] failure to optimize MIN_EXPR of subobject addresses of the same object

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

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #15 from Segher Boessenkool --- (In reply to Peter Bergner from comment #14) > (In reply to Martin Liška from comment #13) > > Created attachment 51668 [details] > > Patch candidate > > > > Please test the patch on a power10 machine

[Bug c/102953] New: Improvements to CET-IBT and ENDBR generation

2021-10-26 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953 Bug ID: 102953 Summary: Improvements to CET-IBT and ENDBR generation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/102719] [12 regression] several failures after r12-4337

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102719 --- Comment #3 from CVS Commits --- The master branch has been updated by Paul Clarke : https://gcc.gnu.org/g:7d37abedf58d664ccb9c06272303a10021ee36a7 commit r12-4717-g7d37abedf58d664ccb9c06272303a10021ee36a7 Author: Paul A. Clarke Date: Mo

[Bug tree-optimization/102954] New: [12 regression] gcc.dg/vect/pr33804.c XPASSes

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102954 Bug ID: 102954 Summary: [12 regression] gcc.dg/vect/pr33804.c XPASSes Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug target/102952] New code-gen options for retpolines and straight line speculation

2021-10-26 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952 --- Comment #2 from Andrew Cooper --- PeterZ has suggested that the straight line speculation case can be dis-entangled with the thunk inlining case. If an `int3` is emitted following any `jmp __x86_indirect_thunk_*` instruction (i.e. treated a

[Bug tree-optimization/102954] [12 regression] gcc.dg/vect/pr33804.c XPASSes

2021-10-26 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102954 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug bootstrap/102955] New: assembler errors when bootstrapping with #pragma optimize "0"

2021-10-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102955 Bug ID: 102955 Summary: assembler errors when bootstrapping with #pragma optimize "0" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102860] [12 regression] libgomp.fortran/simd2.f90 ICEs after r12-4526

2021-10-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102860 --- Comment #4 from seurer at gcc dot gnu.org --- For completeness this also affects two other test cases: FAIL: libgomp.fortran/simd2.f90 -O2 (internal compiler error) FAIL: libgomp.fortran/simd2.f90 -O2 (test for excess errors) FAIL: lib

[Bug target/100962] Poor optimization of AVR code when using structs in __flash

2021-10-26 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100962 --- Comment #4 from Georg-Johann Lay --- Did you try option -mstrictX? And try to make a problem-report self-contained.

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-10-26 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 --- Comment #16 from Georg-Johann Lay --- --with-avrlibc is default, so setting it is void. C.f. install info.

[Bug fortran/102816] [12 Regression] ICE in resolve_structure_cons, at fortran/resolve.c:1467 since r12-4452-g1e819bd95ebeefc1

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102816 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:99af0b2f0fe1c0dc8c6d558157e700326d52816a commit r12-4719-g99af0b2f0fe1c0dc8c6d558157e700326d52816a Author: Harald Anlauf Date: T

[Bug fortran/102917] [PDT] KIND and LEN type parameters shall not be restricted to default integer

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102917 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:cfcb27cfcb1d32b8cf7bc463cc1fc5cacae8d199 commit r12-4720-gcfcb27cfcb1d32b8cf7bc463cc1fc5cacae8d199 Author: Harald Anlauf Date: T

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-10-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #16 from Peter Bergner --- (In reply to Segher Boessenkool from comment #15) > (In reply to Peter Bergner from comment #14) > > (In reply to Martin Liška from comment #13) > > > Please test the patch on a power10 machine, thanks. > >

[Bug rtl-optimization/102842] [10 Regression] ICE in cselib_record_set at -O2 or greater

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102842 --- Comment #13 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:8c59f4118357789cfa8df2cf0d3ecb61be7e9041 commit r12-4721-g8c59f4118357789cfa8df2cf0d3ecb61be7e9041 Author: Vladimir N. Makarov

[Bug fortran/102956] New: [PDT] KIND and LEN type parameters are mutually exclusive

2021-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102956 Bug ID: 102956 Summary: [PDT] KIND and LEN type parameters are mutually exclusive Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/102956] [PDT] KIND and LEN type parameters are mutually exclusive

2021-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102956 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-10-26 Ever confirme

[Bug fortran/102956] [PDT] KIND and LEN type parameters are mutually exclusive

2021-10-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102956 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:662f64a1f9e2de65982e4d895b3afe72cbf581ba commit r12-4722-g662f64a1f9e2de65982e4d895b3afe72cbf581ba Author: Harald Anlauf Date: T

[Bug fortran/102956] [PDT] KIND and LEN type parameters are mutually exclusive

2021-10-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102956 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

  1   2   >