[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #8 from Hongtao.liu --- (In reply to Hongtao.liu from comment #7) > (In reply to Hongtao.liu from comment #6) > > > So it there any canonical rtx for vec_merge? > > > (vec_merge (A B const_int 10) should abviously equal to (vec_merge

[Bug c/101117] New: Does not diagnose invalid constant initializers with -std=c11 -pedantic -pedantic-errors

2021-06-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101117 Bug ID: 101117 Summary: Does not diagnose invalid constant initializers with -std=c11 -pedantic -pedantic-errors Product: gcc Version: 11.1.1 Status: UNCONFIRMED

[Bug c/71983] "error: initializer element is not constant" only with -O0

2021-06-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71983 Richard Biener changed: What|Removed |Added Known to fail||7.5.0 Status|NEW

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #7 from Hongtao.liu --- (In reply to Hongtao.liu from comment #6) > > So it there any canonical rtx for vec_merge? > > (vec_merge (A B const_int 10) should abviously equal to (vec_merge B A > > const_int 5) > > A and B here are 4-el

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #6 from Hongtao.liu --- > So it there any canonical rtx for vec_merge? > (vec_merge (A B const_int 10) should abviously equal to (vec_merge B A > const_int 5) A and B here are 4-element vector.

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #5 from Hongtao.liu --- With open-code successfully optimize __m128d f1(__m128d x, __m128d y, __m128d z){ __m128d tem = _mm_mul_pd (x,y); __m128d tem2 = tem + z; __m128d tem3 = tem - z; return __builtin_shuffle (tem2

[Bug target/101116] missed peephole optimization not of bitwise and

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

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #4 from Hongtao.liu --- > (define_mode_attr addsub_cst [(V4DF "5") (V2DF "1") > (V4SF "5") (V8SF "85")]) > (define_insn "*fma_fmaddsub_" > [(set (match_operand:VF_128_256 0 "register_operand" "=v,v,v,x

[Bug target/101116] missed peephole optimization not of bitwise and

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

[Bug tree-optimization/101116] New: missed peephole optimization not of bitwise and

2021-06-17 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101116 Bug ID: 101116 Summary: missed peephole optimization not of bitwise and Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/101115] ld.bfd: warning: .init_array section has zero size

2021-06-17 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101115 --- Comment #2 from Chris Packham --- (In reply to Andrew Pinski from comment #1) > Try adding --enable-initfini-array to gcc config > > Most likely GCC config is not detecting .init_array/.fini_array support > which is now always turned on the

[Bug target/101115] ld.bfd: warning: .init_array section has zero size

2021-06-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101115 --- Comment #1 from Andrew Pinski --- Try adding --enable-initfini-array to gcc config Most likely GCC config is not detecting .init_array/.fini_array support which is now always turned on the trunk for *linux-* targets.

[Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:9e10782370391ed48d2a690a4205594f6b7d2fbe commit r10-9931-g9e10782370391ed48d2a690a4205594f6b7d2fbe Author: Peter Bergner

[Bug target/99842] MMA test case ICEs using -O3

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99842 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:206d49a23735168769065716c4b211328dbf1b76 commit r10-9929-g206d49a23735168769065716c4b211328dbf1b76 Author: Peter Bergner D

[Bug other/101115] New: ld.bfd: warning: .init_array section has zero size

2021-06-17 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101115 Bug ID: 101115 Summary: ld.bfd: warning: .init_array section has zero size Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f0d8d001d94166242be4387ca72fe0fc483860f1 commit r11-8613-gf0d8d001d94166242be4387ca72fe0fc483860f1 Author: Patrick Palka

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bc7a522548c37daf612c2ba4c44e9ea93548ed45 commit r11-8612-gbc7a522548c37daf612c2ba4c44e9ea93548ed45 Author: Patrick Palka

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #3 from Hongtao.liu --- (In reply to Richard Biener from comment #1) > The complication is that the define_insn looks like > > (define_insn "*fma_fmaddsub_" > [(set (match_operand:VF_128_256 0 "register_operand" "=v,v,v,x,x") >

[Bug target/100866] PPC: Inefficient code for vec_revb(vector unsigned short) < P9

2021-06-17 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100866 --- Comment #6 from luoxhu at gcc dot gnu.org --- For V4SI, it is also better to use vector splat and vector rotate operations. revb: .LFB0: .cfi_startproc vspltish %v1,8 vspltisw %v0,-16 vrlh %v2,%v2,%v1

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87555 --- Comment #2 from Hongtao.liu --- I'll take a look.

[Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565

2021-06-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101114 Bug ID: 101114 Summary: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565 Product: gcc Version: 12.0

[Bug tree-optimization/101112] [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1551

2021-06-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101112 --- Comment #1 from Andrew Pinski --- What target is this on?

[Bug tree-optimization/101112] [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1551

2021-06-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101112 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug sanitizer/101111] Undefined reference to ___lsan_default_suppressions when compiling GCC 11.1 for x86_64 macOS

2021-06-17 Thread mose at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #1 from Mosè Giordano --- To add more information, the real problem seems to be that xgcc can't generate weak symbols: sandbox:${WORKSPACE}/srcdir/gcc_build # x86_64-apple-darwin14-nm x86_64-apple-darwin14/libsanitizer/lsan/.libs/l

[Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:04a6793eec7f3482f3fb1273a725b3001865a685 commit r11-8610-g04a6793eec7f3482f3fb1273a725b3001865a685 Author: Peter Bergner

[Bug target/99842] MMA test case ICEs using -O3

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99842 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:aaa8419bcf2ec491c0fd41a526f5817da0cf3ed4 commit r11-8608-gaaa8419bcf2ec491c0fd41a526f5817da0cf3ed4 Author: Peter Bergner D

[Bug c++/101113] g++ thinks constructor suppressed by a requires clause is actually a bad copy constructor

2021-06-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101113 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-06-17 Keywords|

[Bug libstdc++/91488] [9/10/11/12 Regression] char_traits::length causes "inlining failed in call to always_inline" error with -fgnu-tm -O2 -std=c++17

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91488 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b376b1ef38971b84975ad1540bf5d2ae0b924e76 commit r12-1603-gb376b1ef38971b84975ad1540bf5d2ae0b924e76 Author: Jonathan Wakely Date:

[Bug c++/101106] [11/12 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101106 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:331e20a69be0d9e7d448580945945d4c7a1e3c0a commit r12-1602-g331e20a69be0d9e7d448580945945d4c7a1e3c0a Author: Jason Merrill Date: T

[Bug c/98571] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3542

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98571 Martin Sebor changed: What|Removed |Added Target Milestone|--- |11.2 Resolution|---

[Bug c/100719] missing -Wvla-parameter on a mismatch in second parameter

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100719 Martin Sebor changed: What|Removed |Added Target Milestone|11.2|12.0 Status|ASSIGNED

[Bug fortran/100683] Array initialization refuses valid

2021-06-17 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 José Rui Faustino de Sousa changed: What|Removed |Added Attachment #51010|0 |1 is obsolete|

[Bug fortran/100683] Array initialization refuses valid

2021-06-17 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 --- Comment #10 from José Rui Faustino de Sousa --- Second and hopefully last update... https://gcc.gnu.org/pipermail/fortran/2021-June/056170.html

[Bug middle-end/100406] bogus/missing -Wmismatched-new-delete

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100406 Bug 100406 depends on bug 100876, which changed state. Bug 100876 Summary: [11 Regression] -Wmismatched-new-delete should understand placement new when it's not inlined https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100876 What|Rem

[Bug middle-end/100876] [11 Regression] -Wmismatched-new-delete should understand placement new when it's not inlined

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

[Bug c/100783] [10/11 Regression] ICE on attribute nonnull and erroneous type

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

[Bug tree-optimization/100732] [11 Regression] ICE on sprintf %s with integer argument

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

[Bug middle-end/95507] [meta-bug] bogus/missing -Wnonnull

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 100684, which changed state. Bug 100684 Summary: [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 What|Removed |Added -

[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda

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

[Bug c/100619] [11 Regression] ICE on a VLA parameter with too many dimensions

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

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

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 100574, which changed state. Bug 100574 Summary: [11 Regression] ICE: in size_remaining, at builtins.c:413 with -O3 -ftracer -fno-tree-dominator-opts -fno-tree-fre https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100574

[Bug tree-optimization/100574] [11 Regression] ICE: in size_remaining, at builtins.c:413 with -O3 -ftracer -fno-tree-dominator-opts -fno-tree-fre

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

[Bug c++/100399] bogus/missing -Wplacement-new

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100399 Bug 100399 depends on bug 100307, which changed state. Bug 100307 Summary: [11 Regression] spurious -Wplacement-new with negative pointer offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100307 What|Removed

[Bug middle-end/100307] [11 Regression] spurious -Wplacement-new with negative pointer offset

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

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-06-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 100250, which changed state. Bug 100250 Summary: [11 Regression] ICE related to -Wmaybe-uninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100250 What|Removed |Added

[Bug tree-optimization/100250] [11 Regression] ICE related to -Wmaybe-uninitialized

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

[Bug middle-end/100876] [11 Regression] -Wmismatched-new-delete should understand placement new when it's not inlined

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100876 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:00bf3e4d12944e659b3a3706ca720f1d6346e610 commit r11-8607-g00bf3e4d12944e659b3a3706ca720f1d6346e610 Author: Martin Sebor Da

[Bug middle-end/100876] [11 Regression] -Wmismatched-new-delete should understand placement new when it's not inlined

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100876 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:fbafba7114939b279e860198d009d7641f3ce49c commit r11-8606-gfbafba7114939b279e860198d009d7641f3ce49c Author: Martin Sebor Da

[Bug c/100783] [10/11 Regression] ICE on attribute nonnull and erroneous type

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100783 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:3863203bf306a730482861e974ff779e0d1db02f commit r11-8605-g3863203bf306a730482861e974ff779e0d1db02f Author: Martin Sebor Da

[Bug tree-optimization/100732] [11 Regression] ICE on sprintf %s with integer argument

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100732 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:b9edb8fb8202dc6907f69094a8b2a621840174e1 commit r11-8604-gb9edb8fb8202dc6907f69094a8b2a621840174e1 Author: Martin Sebor Da

[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:ca0bc927103f5408f4812a3ad65d2d02a37840b2 commit r11-8603-gca0bc927103f5408f4812a3ad65d2d02a37840b2 Author: Martin Sebor Da

[Bug c/100619] [11 Regression] ICE on a VLA parameter with too many dimensions

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100619 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:933885db3872cc58dc36498aa1b8e8f15484e008 commit r11-8602-g933885db3872cc58dc36498aa1b8e8f15484e008 Author: Martin Sebor Da

[Bug tree-optimization/100574] [11 Regression] ICE: in size_remaining, at builtins.c:413 with -O3 -ftracer -fno-tree-dominator-opts -fno-tree-fre

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100574 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:11133f8f113e4591a2a5c9e61d810b9e5931043e commit r11-8601-g11133f8f113e4591a2a5c9e61d810b9e5931043e Author: Martin Sebor Da

[Bug middle-end/100307] [11 Regression] spurious -Wplacement-new with negative pointer offset

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100307 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:c2791cd4e62731ccde165c0e62b83f8e7ee38118 commit r11-8600-gc2791cd4e62731ccde165c0e62b83f8e7ee38118 Author: Martin Sebor Da

[Bug tree-optimization/100250] [11 Regression] ICE related to -Wmaybe-uninitialized

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100250 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:a52b2f4cae38abecda2a7ad72a47c4e38236870a commit r11-8599-ga52b2f4cae38abecda2a7ad72a47c4e38236870a Author: Martin Sebor Da

[Bug c++/101113] New: g++ thinks constructor suppressed by a requires clause is actually a bad copy constructor

2021-06-17 Thread gcc at nospam dot scs.stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101113 Bug ID: 101113 Summary: g++ thinks constructor suppressed by a requires clause is actually a bad copy constructor Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug tree-optimization/101112] New: [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1551

2021-06-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101112 Bug ID: 101112 Summary: [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1551 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/101111] New: Undefined reference to ___lsan_default_suppressions when compiling GCC 11.1 for x86_64 macOS

2021-06-17 Thread mose at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Bug ID: 10 Summary: Undefined reference to ___lsan_default_suppressions when compiling GCC 11.1 for x86_64 macOS Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug target/100884] Comparing unsigned 32 bit integer values generates 64 bit compare instructions when optimized

2021-06-17 Thread mfarazma.ext at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100884 m farazma changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/100884] Comparing unsigned 32 bit integer values generates 64 bit compare instructions when optimized

2021-06-17 Thread mfarazma.ext at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100884 --- Comment #1 from m farazma --- The development team has mentioned this is correct behaviour, according to PPC ABI the returning function needs to sign or zero extend the result when necessary: https://refspecs.linuxfoundation.org/ELF/ppc64/PP

[Bug gcov-profile/80223] RFE: Exclude functions from profile instrumentation

2021-06-17 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 --- Comment #9 from Nick Desaulniers --- (In reply to Fangrui Song from comment #8) > I am thinking of __attribute__((no_profile)). > > In Clang, > -fprofile-generate(-fcs-profile-generate)/-fprofile-instr-generate/-fprofile- > arcs are all diff

[Bug other/101110] New: [12 regression] gcc.c-torture/execute/950704-1.c fails after r12-1546

2021-06-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101110 Bug ID: 101110 Summary: [12 regression] gcc.c-torture/execute/950704-1.c fails after r12-1546 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug other/67300] -foffload* undocumented

2021-06-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67300 --- Comment #3 from Tobias Burnus --- Patch to document -foffload= https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573081.html Still undocumented: -foffload-abi=[lp64|ilp32]

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-06-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101106] [11/12 regression] =delete on second declaration of the same function produces a note with no error

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

[Bug c/101109] New: ICE: Segmentation Fault: tree_check(tree_node*, char const*, int, char const*, tree_code)

2021-06-17 Thread cnsun at uwaterloo dot ca via Gcc-bugs
compression algorithms: zlib gcc version 12.0.0 20210617 (experimental) [master revision :7d4a310d9:9a61dfdb5ecb58bc4caea1c11e017d93bdd1d9a5] (GCC) $ cat mutant.c __attribute__((section(".vtable_map_vars"))) f3() {} $ gcc-trunk mutant.c mutant.c:1:46: warning: return type defaul

[Bug c/101108] New: ICE: segmentation fault: gimplify_target_expr, gimplify.c:6760

2021-06-17 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210617 (experimental) [master revision :7d4a310d9:9a61dfdb5ecb58bc4caea1c11e017d93bdd1d9a5] (GCC) $ cat mutant.c #include test_ptr(void *p) { atomic_int j; j += *p; } $ gcc-trunk mutant.c mutant.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #10 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2b87f3318cf6334a3a42dcf27f2fdec0fce04665 commit r12-1567-g2b87f3318cf6334a3a42dcf27f2fdec0fce04665 Author: Patrick Palka Date:

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #9 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0f4a2fb44dad6c9c140226fc19ed16109b85e6f4 commit r12-1566-g0f4a2fb44dad6c9c140226fc19ed16109b85e6f4 Author: Patrick Palka Date: T

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #4 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:967b46530234b4e6ad3983057705aea6c20a03c4 commit r12-1564-g967b46530234b4e6ad3983057705aea6c20a03c4 Author: H.J. Lu Date: Fri May 21 11

[Bug target/97194] optimize vector element set/extract at variable position

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97194 --- Comment #24 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:20a2c8ace0ab56c147fd995432abd5e7cf89b0e3 commit r12-1563-g20a2c8ace0ab56c147fd995432abd5e7cf89b0e3 Author: Uros Bizjak Date: Thu J

[Bug c++/101107] New: Misleading error message in aggregate initialization in CRTP base class

2021-06-17 Thread btzy1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101107 Bug ID: 101107 Summary: Misleading error message in aggregate initialization in CRTP base class Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: norm

[Bug libstdc++/100823] Special member functions of common_iterator should be conditionally trivial

2021-06-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100823 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/101106] [11/12 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101106 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/101106] [11/12 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101106 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-06-17 Status|UNCONFI

[Bug target/87555] There is no need for UNSPEC_FMADDSUB

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

[Bug c++/101106] [11/12 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101106 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2 Summary|[11 regression

[Bug c++/101106] New: [11 regression] =delete on second declaration of the same function produces a note with no error

2021-06-17 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101106 Bug ID: 101106 Summary: [11 regression] =delete on second declaration of the same function produces a note with no error Product: gcc Version: 11.1.1 Status: UNCONFIRMED

[Bug tree-optimization/100790] ICE with -O2: in verify_range, at value-range.cc:385

2021-06-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100790 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/100790] ICE with -O2: in verify_range, at value-range.cc:385

2021-06-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100790 --- Comment #4 from Aldy Hernandez --- fixed in trunk.

[Bug tree-optimization/100790] ICE with -O2: in verify_range, at value-range.cc:385

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100790 --- Comment #3 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:f1555d4013ed3cae2589270436387063d1c2f1a3 commit r12-1562-gf1555d4013ed3cae2589270436387063d1c2f1a3 Author: Aldy Hernandez Date:

[Bug fortran/101100] [9/10/11/12 Regression] ICE in trans_caf_token_assign, at fortran/trans-expr.c:9433

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

[Bug c++/101099] [9/10/11/12 Regression] ICE in type_unification_real, at cp/pt.c:22173

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

[Bug c++/101098] [11/12 Regression] ICE in instantiate_body, at cp/pt.c:25858 since r10-3735-gcb57504a55015891

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

[Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Marius Hillenbrand : https://gcc.gnu.org/g:de0fcacd568bbd86726df7a5416edd08a525c93a commit r9-9587-gde0fcacd568bbd86726df7a5416edd08a525c93a Author: Marius Hille

[Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Marius Hillenbrand : https://gcc.gnu.org/g:66d838e249814dbe731ee8d983d63dedfa4ecffa commit r10-9927-g66d838e249814dbe731ee8d983d63dedfa4ecffa Author: Marius Hil

[Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Marius Hillenbrand : https://gcc.gnu.org/g:e86ad5ad011573121291bccb88d3a6fdb933469c commit r11-8597-ge86ad5ad011573121291bccb88d3a6fdb933469c Author: Marius Hil

[Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871 --- Comment #1 from CVS Commits --- The master branch has been updated by Marius Hillenbrand : https://gcc.gnu.org/g:a4fc63e0c3c6c7b895225c883137d152743be7fc commit r12-1559-ga4fc63e0c3c6c7b895225c883137d152743be7fc Author: Marius Hillenbrand

[Bug middle-end/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #15 from Eric Botcazou --- > Eric, any idea what's going on? Shall I readd if (TREE_CODE (t) == > QUAL_UNION_TYPE) return; at the start function and thus ignore > QUAL_UNION_TYPE and handle only UNION_TYPEs, or should the bitfield >

[Bug middle-end/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #14 from Jakub Jelinek --- Sorry for bad paste, on QUAL_UNION_TYPE atree__atree_private_part__node_record___is_extension___XVN

[Bug middle-end/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #13 from Jakub Jelinek --- I have tried to backport this patch to the 11 branch, but unlike the trunk, it doesn't build there, with atree.ads:3844:34: size for "Node_Record" too small make[3]: *** [../../gcc/ada/gcc-interface/Make-la

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-06-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 54400, which changed state. Bug 54400 Summary: recognize vector reductions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54400 What|Removed |Added

[Bug middle-end/54400] recognize vector reductions

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

[Bug middle-end/100898] [9/10 Regression] ICE with -O2: in gimple_call_arg_ptr, at gimple.h:3264

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

[Bug debug/100852] [11 Regression] -fcompare-debug failure (length) with -Og -fif-conversion -fno-tree-ccp -fno-tree-copy-prop

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

[Bug middle-end/54400] recognize vector reductions

2021-06-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54400 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3dfa4fe9f1a089b2b3906c83e22a1b39c49d937c commit r12-1551-g3dfa4fe9f1a089b2b3906c83e22a1b39c49d937c Author: Richard Biener Date:

[Bug driver/101103] -fsanitise=undef gives better help than -fsanitize=undef

2021-06-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101103 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug tree-optimization/101097] Vectorizer is too eager to use vec_unpack

2021-06-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101097 --- Comment #10 from Richard Biener --- (In reply to Uroš Bizjak from comment #8) > (In reply to Hongtao.liu from comment #6) > > > > I just to want to classify the test is used to test another optimization > > which rely on either loop vectori

[Bug tree-optimization/101097] Vectorizer is too eager to use vec_unpack

2021-06-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101097 --- Comment #9 from Hongtao.liu --- > As said - a lot of work, sth that might be easier when we got rid of the > SLP vs. non-SLP duality. Understand. I guess we will encounter more redundant packs and unpacks, considering that we have supporte

  1   2   >