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

2021-01-04 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98365 --- Comment #2 from Hongtao.liu --- > cnt.1_7 = (unsigned char) cnt_21; > _8 = cnt.1_7 + 1; > cnt_16 = (char) _8; > cnt_9 = _3 == _6 ? cnt_16 : cnt_21; > In tree_if_conversion, there's is_cond_scalar_reduction, i'm think to extend

[Bug c++/98523] New: Bug with class static definition and non-type template parameters

2021-01-04 Thread eldlistmailingz at tropicsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98523 Bug ID: 98523 Summary: Bug with class static definition and non-type template parameters Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-04 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 --- Comment #9 from Michael Meissner --- I agree with Segher. Given the 'magic' we need to add the missing 'p' and set the length for normal RTL, I don't see any reasonable way to add it to asm. We will just need to use a hook (or make one) to

[Bug target/95381] [11 Regression]: Build fails with --disable-bootstrap on m68k with ICE: in operator[], at vec.h:867

2021-01-04 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95381 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |NEW --- Comment #16 from Jeffrey A.

[Bug libstdc++/98473] std::vector::insert(pos, first, last) doesn't compile for T which has a deleted assignment operator

2021-01-04 Thread b.stanimirov at abv dot bg via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98473 --- Comment #3 from Borislav Stanimirov --- By the way, this is not just some esoteric synthetic example. A type which is copy-constructible but not copy-assignable is very useful to model immutable objects.

[Bug libgomp/98258] Can't compile programs for both OpenMP (CPU) + OpenACC (GPU)

2021-01-04 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258 --- Comment #8 from Alexander Monakov --- (In reply to Chinoune from comment #7) > $ gfortran-10 -O3 -fopenmp -fopenacc -c bug_omp_acc.f90 > $ gfortran-10 bug_omp_acc.o -lgomp -o test.x Contrary to my suggestion, you have omitted -fopenacc

[Bug libgomp/98258] Can't compile programs for both OpenMP (CPU) + OpenACC (GPU)

2021-01-04 Thread mehdi.chinoune at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258 --- Comment #7 from Chinoune --- $ gfortran -O3 -fopenmp -fopenacc -foffload=-fno-openmp bug_omp_acc.f90 -o test.x mkoffload: fatal error: either '-fopenacc' or '-fopenmp' must be set compilation terminated. lto-wrapper: fatal error:

[Bug c/89126] missing -Wtype-limits for int variables

2021-01-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89126 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #4

[Bug libgomp/98258] Can't compile programs for both OpenMP (CPU) + OpenACC (GPU)

2021-01-04 Thread mehdi.chinoune at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258 --- Comment #6 from Chinoune --- There is no mention of "-foffload=-fno-openmp" on documentation https://gcc.gnu.org/wiki/Offloading#Compilation_options

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

2021-01-04 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98365 --- Comment #1 from Hongtao.liu --- > Shouldn't cnt_21 = PHI , stmt relevant? > for stmt: cnt.1_7 = (unsigned char) cnt_21, the operand is defined by a previous iteration of the loop which is assumed to be handled in induction/reduction. But

[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2021-01-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/96381] gfc_find_vtab can use a character type typespec as a derived type (causing invalid access)

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

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

2021-01-04 Thread arnaud02 at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98518 Bug ID: 98518 Summary: std::array not bound checked with _GLIBCXX_ASSERTIONS Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libgomp/98258] Can't compile programs for both OpenMP (CPU) + OpenACC (GPU)

2021-01-04 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258 --- Comment #5 from Alexander Monakov --- One possible solution is -foffload=-fno-openmp Another possible solution is separate compilation and linking, with only OpenACC enabled at link step (needs explicit -lgomp): gfortran -fopenmp -fopenacc

[Bug bootstrap/98323] current trunk won't build with clang

2021-01-04 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98323 --- Comment #9 from joseph at codesourcery dot com --- The original intent in the C standard was definitely to allow at least some cases of subobjects; the May 20, 1988 list of changes in the third public review draft of C89 has as item 10

[Bug target/98519] New: rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 Bug ID: 98519 Summary: rs6000: @pcrel unsupported on this instruction error in pveclib Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

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

[Bug c++/98520] New: nodiscard not diagnosed in comma operator

2021-01-04 Thread tiagomacarios at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98520 Bug ID: 98520 Summary: nodiscard not diagnosed in comma operator Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-04 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 --- Comment #2 from Michael Meissner --- That fell off the plate. I imagine we are going to need a hook with asm that makes sure none of the memory references are PC-relative.

[Bug go/98504] [11 Regression] bootstrap broken in libgo on ia64-linux-gnu

2021-01-04 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 --- Comment #3 from Ian Lance Taylor --- Maybe I'm missing something obvious, but I don't see how this is possible. The code in the Go frontend is if (suffix.compare(2, 5, "thunk") == 0 && Gogo::is_digits(suffix.substr(7))) return

[Bug c/98029] [11 Regression] volatile triggers incorrect "warning: right-hand operand of comma expression has no effect [-Wunused-value]" since r11-5188-g32934a4f45a72144

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98029 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:a000eb5918e09d28838ef572f4eea924d32db09b commit r11-6450-ga000eb5918e09d28838ef572f4eea924d32db09b Author: Martin Uecker Date:

[Bug c/98503] [11 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-01-04 Thread w at 1wt dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 Willy Tarreau changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

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

2021-01-04 Thread w at 1wt dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 98503, which changed state. Bug 98503 Summary: [11 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503

[Bug fortran/78746] charlen_03, charlen_10 ICE

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

[Bug tree-optimization/98381] [11 Regression] Wrong code with -O3 -march=skylake-avx512 by r11-3072

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98381 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug fortran/94246] [9 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2021-01-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94246 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-01-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 94246, which changed state. Bug 94246 Summary: [9 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94246 What|Removed

[Bug target/98177] [11 Regression] SVE: ICE in expand_direct_optab_fn, at internal-fn.c:3368

2021-01-04 Thread wirkus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98177 Przemyslaw Wirkus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/98448] [11 Regression] bootstrap-O3 comparison fails due to libcody

2021-01-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98448 --- Comment #1 from Martin Liška --- Hm, I've just tried that on x86_64-linux with: ../configure --disable-multilib --with-build-config=bootstrap-O3 --enable-languages=c,c++ and it's fine.

[Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98393 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0926259f9fc21a7f1e09f45f8aede156ef249585 commit r11-6437-g0926259f9fc21a7f1e09f45f8aede156ef249585 Author: Richard Biener Date:

[Bug tree-optimization/98270] [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since r11-5928-gfc7b4248172561a9ee310e2d

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

[Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98393 --- Comment #13 from Richard Biener --- *** Bug 98270 has been marked as a duplicate of this bug. ***

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 98270, which changed state. Bug 98270 Summary: [11 Regression] UBSAN: /gcc/tree-vect-slp.c:2396:16: runtime error: load of value 112, which is not a valid value for type 'bool' since

[Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9

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

[Bug rtl-optimization/90255] [9/10/11 regression] r266385 caused code size regressions on Arm, thumb and thumb2

2021-01-04 Thread emerg.reanimator at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90255 Alexander Goomenuk changed: What|Removed |Added CC||emerg.reanimator at gmail dot com

[Bug c++/98475] Class template argument deduction for alias templates fails

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

[Bug c++/98508] Sanitizer disable -Wall and -Wextra

2021-01-04 Thread awdawdawdawq123123 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98508 --- Comment #2 from Joerg --- Oh okay. Is it possible to prevent that from happening?

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

2021-01-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #11 from rguenther at suse dot de --- On Mon, 4 Jan 2021, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 > > --- Comment #10 from Eric Botcazou --- > > Since -9223372036854775808 is

[Bug tree-optimization/96782] Failure to optimize comparison with bitwise not-ed with self

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

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-01-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96782, which changed state. Bug 96782 Summary: Failure to optimize comparison with bitwise not-ed with self https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96782 What|Removed |Added

[Bug go/98511] [11 Regression]: Go build fails on sparc64 with "error: reference to undefined name 'SYS_SETRESGID'"

2021-01-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98511 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/98510] [11 Regression] bootstrap broken in libgo on sparc64-linux-gnu, building the 32bit multilib

2021-01-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98510 --- Comment #1 from Andreas Schwab --- *** Bug 98511 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/98455] [11 Regression] ICE: verify_gimple failed (error: invalid 'PHI' argument; error: incompatible types in 'PHI' argument 2) since r11-5642-gc961e94901eb793b

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

[Bug other/98437] confusing wording in the description of option -fsanitize=address

2021-01-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98437 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98308 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/98396] gcc wrongly assumes that free preserves errno

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

[Bug target/98302] [?? Regression] Wrong code on aarch64

2021-01-04 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 --- Comment #15 from Alex Coplan --- (In reply to Martin Liška from comment #11) > > which is miscompiled at -O2 -ftree-vectorize or -O3. > > What a great reduction, can you please share knowledge how did you achieve > that?! Hi Martin, Sorry

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98464 --- Comment #5 from Richard Biener --- But this sprime = eliminate_avail (gimple_bb (SSA_NAME_DEF_STMT (use)), use); should make it more conservative (compared to the more desirable use of gimple_bb (stmt) aka 'b'). The issue is

[Bug tree-optimization/98282] [8/9/10 Regression] Segmentation fault when compiling with optimization >= 2

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

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

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

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

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 Richard Biener changed: What|Removed |Added Version|6.4.1 |11.0 --- Comment #9 from Richard

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-04 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #11 from Denis Yaroshevskiy --- Previous 128bit contained a bug. Here is an updated one: https://godbolt.org/z/6vdxro There is still a bit of a difference between 2 versions, not sure if important.

[Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98393 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

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

[Bug tree-optimization/96782] Failure to optimize comparison with bitwise not-ed with self

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96782 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ad64e807ffca93e927b68f1aa0cea54dacbe9afd commit r11-6433-gad64e807ffca93e927b68f1aa0cea54dacbe9afd Author: Jakub Jelinek Date:

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2021-01-04 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #45 from Mark Wielaard --- Note that the hack in comment 43 doesn't really work with elfutils since the .symver attribute doesn't work exactly like the assembly construct with @@@. The @@@ symver variant see

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

2021-01-04 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 98291, which changed state. Bug 98291 Summary: multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert

[Bug tree-optimization/98291] multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98291 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8837f82e4bab1b5405cf034eab9b3e83afc563ad commit r11-6434-g8837f82e4bab1b5405cf034eab9b3e83afc563ad Author: Richard Biener Date:

[Bug tree-optimization/98291] multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert

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

[Bug tree-optimization/98282] [8/9/10/11 Regression] Segmentation fault when compiling with optimization >= 2

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 --- Comment #8 from Richard Biener --- So the classification as VN_REFERENCE is wrong. We're doing case tcc_reference: /* VOP-less references can go through unary case. */ if ((code ==

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2021-01-04 Thread matthieum.147192 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288 --- Comment #2 from Matthieu M --- Richard Smith (Clang) agreed that the following program should return 0, and fixed the behavior in Clang (trunk) in https://bugs.llvm.org/show_bug.cgi?id=48517.

[Bug preprocessor/98459] [8/9/10/11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 since r6-6901-g876217ae71cf0b34

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

[Bug c++/98499] [11 Regression] Possibly bad std::string initialization in constructors

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

[Bug tree-optimization/88767] 'unroll and jam' not optimizing some loops

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88767 --- Comment #14 from Richard Biener --- (In reply to Jiu Fu Guo from comment #13) > Hi Richard, > > As checking the changed code as in comment 9, it seems there is another > opportunity to improve the performance: By improving locality of

[Bug tree-optimization/98282] [8/9/10/11 Regression] Segmentation fault when compiling with optimization >= 2

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:13b80a7d1b9b712651f5ece589634a6e57c26362 commit r11-6440-g13b80a7d1b9b712651f5ece589634a6e57c26362 Author: Richard Biener Date:

[Bug target/89057] [8/9/10/11 Regression] AArch64 ld3 st4 less optimized

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89057 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:b41e6dd50f329b0291457e939d4c0dacd81c82c1 commit r11-6439-gb41e6dd50f329b0291457e939d4c0dacd81c82c1 Author: Richard Sandiford

[Bug go/98511] New: [11 Regression]: Go build fails on sparc64 with "error: reference to undefined name 'SYS_SETRESGID'"

2021-01-04 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98511 Bug ID: 98511 Summary: [11 Regression]: Go build fails on sparc64 with "error: reference to undefined name 'SYS_SETRESGID'" Product: gcc Version: 11.0 URL:

[Bug other/98437] confusing wording in the description of option -fsanitize=address

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98437 --- Comment #1 from CVS Commits --- The master branch has been updated by Matthew Malcomson : https://gcc.gnu.org/g:7f2b73175666f678adbf007907c7aa2661284bd3 commit r11-6441-g7f2b73175666f678adbf007907c7aa2661284bd3 Author: Matthew Malcomson

[Bug target/89057] [8/9/10 Regression] AArch64 ld3 st4 less optimized

2021-01-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89057 rsandifo at gcc dot gnu.org changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression]

[Bug c++/98500] ICE template template parameter with default parameter lambda

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

[Bug c/98503] [11 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-01-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 Martin Liška changed: What|Removed |Added Known to fail||11.0 Summary|[11 regression]

[Bug go/98511] [11 Regression]: Go build fails on sparc64 with "error: reference to undefined name 'SYS_SETRESGID'"

2021-01-04 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98511 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to Andreas Schwab from comment #1) > dup > > *** This bug has been marked as a duplicate of bug 98510 *** Odd, I even searched for the error message before reporting.

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98464 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:39bd65faee3bafe2dc067e5fedb5079896551a8a commit r11-6442-g39bd65faee3bafe2dc067e5fedb5079896551a8a Author: Richard Biener Date:

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

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

[Bug go/98510] New: [11 Regression] bootstrap broken in libgo on sparc64-linux-gnu, building the 32bit multilib

2021-01-04 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98510 Bug ID: 98510 Summary: [11 Regression] bootstrap broken in libgo on sparc64-linux-gnu, building the 32bit multilib Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug bootstrap/98509] New: BUGURL quotation problem in libcody

2021-01-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98509 Bug ID: 98509 Summary: BUGURL quotation problem in libcody Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug fortran/94246] [9 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94246 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:f448af69b208ba95496748c4596a22d11b1a09b9 commit r9-9148-gf448af69b208ba95496748c4596a22d11b1a09b9 Author: Paul Thomas Date:

[Bug c++/98508] New: Sanitizer disable -Wall and -Wextra

2021-01-04 Thread awdawdawdawq123123 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98508 Bug ID: 98508 Summary: Sanitizer disable -Wall and -Wextra Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/98508] Sanitizer disable -Wall and -Wextra

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

[Bug tree-optimization/98291] multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert

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

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

2021-01-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 --- Comment #10 from Eric Botcazou --- > Since -9223372036854775808 is 0x8000 and ar3[0] == 1 it suggests > that the offset is somewhere truncated to 32bits ... but I can't reproduce > with a x86_64 to aarch64 cross and your reduced

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

2021-01-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98464 --- Comment #8 from Kewen Lin --- (In reply to Richard Biener from comment #5) > But this > > sprime = eliminate_avail (gimple_bb (SSA_NAME_DEF_STMT (use)), use); > > should make it more conservative (compared to the more desirable use

[Bug tree-optimization/95771] Failure to optimize popcount idiom when argument is unsigned char

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95771 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:24cd9afe617a39801d190418cf3fbab3bc3742a7 commit r11-6443-g24cd9afe617a39801d190418cf3fbab3bc3742a7 Author: Jakub Jelinek Date:

[Bug c++/98295] [8/9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/98294] [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 since r6-6901-g876217ae71cf0b34

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

[Bug fortran/96320] gfortran 8-10 shape mismatch in assumed-length dummy argument character array

2021-01-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320 --- Comment #27 from Paul Thomas --- Created attachment 49875 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49875=edit Fix for the cases in comments 23 and 24 Hi Damian, Happy New Year! or I wish you a better one anyway. I have

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

2021-01-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 Bug ID: 98513 Summary: [10/11 Regression] Wrong code with -O3 since r10-2804-gbf05a3bbb58b3558 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

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

2021-01-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98513 Martin Liška changed: What|Removed |Added Known to work||9.3.0 Last reconfirmed|

[Bug tree-optimization/98299] Failure to optimize sub loop into modulo-based pattern

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

[Bug bootstrap/98338] [11 Regression] profiledbootstrap failure on x86_64-linux

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

[Bug tree-optimization/98337] Failure to optimize out on-stack array construction when unneeded

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

[Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98308 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e79d76a16c56df0f838b9aede69c0a158203f56 commit r11-6444-g9e79d76a16c56df0f838b9aede69c0a158203f56 Author: Richard Biener Date:

[Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5

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

[Bug tree-optimization/95771] Failure to optimize popcount idiom when argument is unsigned char

2021-01-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95771 --- Comment #3 from Jakub Jelinek --- Should be fixed now, except that for __uint128_t we aren't able to optimize away the conditional in if (x) return __builtin_popcountll (x >> 64) + __builtin_popcountll (x); else return 0; - the phiopt

[Bug libgomp/98258] Can't compile programs for both OpenMP (CPU) + OpenACC (GPU)

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258 Richard Biener changed: What|Removed |Added Keywords||openacc, openmp --- Comment #1 from

[Bug tree-optimization/98268] ICE: verify_gimple failed with LTO and SVE

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

[Bug testsuite/98325] [11 regression] gcc.dg/pr25376.c fails after r11-5027

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

[Bug rtl-optimization/98334] Failure to optimally optimize add loop to mul

2021-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98334 --- Comment #3 from Richard Biener --- I think turning (int) (y - 1U) * x + x into unsigned mult is OK even early.

[Bug tree-optimization/98464] [11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_nop_conversion_p, at tree.c:12825 by r11-4637

2021-01-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98464 --- Comment #9 from rguenther at suse dot de --- On Mon, 4 Jan 2021, linkw at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98464 > > --- Comment #8 from Kewen Lin --- > (In reply to Richard Biener from comment #5) > >

[Bug tree-optimization/98512] New: “#pragma GCC diagnostic ignored” ineffective in conjunction with alias attribute

2021-01-04 Thread fw at gcc dot gnu.org via Gcc-bugs
emchr (s, c, (unsigned long)-1); |^~~~~~ Seen with: 11.0.0 20210104 (experimental)

  1   2   >