[Bug target/98285] xtensa doesn't use addx/subx instructions

2020-12-14 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98285 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|UN

[Bug target/98285] xtensa doesn't use addx/subx instructions

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98285 --- Comment #1 from CVS Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:06ff8708f0b834cf1b35afa46113c6c973905cad commit r11-6035-g06ff8708f0b834cf1b35afa46113c6c973905cad Author: Max Filippov Date: Sat

[Bug fortran/98284] ICE in get_array_index

2020-12-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Last reconfirmed|

[Bug target/98285] New: xtensa doesn't use addx/subx instructions

2020-12-14 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98285 Bug ID: 98285 Summary: xtensa doesn't use addx/subx instructions Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug fortran/98284] New: ICE in get_array_index

2020-12-14 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284 Bug ID: 98284 Summary: ICE in get_array_index Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3

[Bug fortran/97692] GNU Fortran is not working

2020-12-14 Thread nju044 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97692 ninos changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug c++/98283] New: decltype(auto) may be deduce static data member to wrong type

2020-12-14 Thread wuyongwei at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98283 Bug ID: 98283 Summary: decltype(auto) may be deduce static data member to wrong type Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal P

[Bug target/98112] Add -fdirect-access-external-data & drop HAVE_LD_PIE_COPYRELOC

2020-12-14 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 --- Comment #3 from Fangrui Song --- Are you happy with the option name -f[no-]direct-access-external-data ? https://reviews.llvm.org/D92633 is what I want to add to Clang. I want GCC and Clang to use the same option names...

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

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 Jakub Jelinek changed: What|Removed |Added Summary|Segmentation fault when |[8/9/10/11 Regression]

[Bug c++/98282] Segmentation fault when compiling with optimization >= 2

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/98282] Segmentation fault when compiling with optimization >= 2

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug testsuite/98208] make check's check-fixincludes fails in sys/types.h around AIX_PHYSADR_T_CHECK

2020-12-14 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98208 Ilya Leoshkevich changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2020-12-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/98216] [C++20] std::array template parameter error with negative values

2020-12-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98216 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #5

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

2020-12-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 98160, which changed state. Bug 98160 Summary: [11 Regression] ICE in default_tree_printer at gcc/tree-diagnostic.c:270 since r11-5732-gdce6c58db87ebf7f https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98160 What

[Bug tree-optimization/98160] [11 Regression] ICE in default_tree_printer at gcc/tree-diagnostic.c:270 since r11-5732-gdce6c58db87ebf7f

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

[Bug c++/57111] Generalize -Wfree-nonheap-object to delete

2020-12-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/57111] Generalize -Wfree-nonheap-object to delete

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111 --- Comment #15 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:fe7f75cf16783589eedbab597e6d0b8d35d7e470 commit r11-6028-gfe7f75cf16783589eedbab597e6d0b8d35d7e470 Author: Martin Sebor Date: Mon

[Bug middle-end/98166] bogus -Wmismatched-dealloc on user-defined allocator and inlining

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98166 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:fe7f75cf16783589eedbab597e6d0b8d35d7e470 commit r11-6028-gfe7f75cf16783589eedbab597e6d0b8d35d7e470 Author: Martin Sebor Date: Mon

[Bug tree-optimization/98160] [11 Regression] ICE in default_tree_printer at gcc/tree-diagnostic.c:270 since r11-5732-gdce6c58db87ebf7f

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98160 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:fe7f75cf16783589eedbab597e6d0b8d35d7e470 commit r11-6028-gfe7f75cf16783589eedbab597e6d0b8d35d7e470 Author: Martin Sebor Date: Mon

[Bug tree-optimization/96239] Failure to recognize __builtin_bswap16 pattern

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96239 --- Comment #3 from Jakub Jelinek --- Created attachment 49766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49766&action=edit gcc11-pr96239.patch So, I wrote this untested patch which fixes my testcases, but doesn't fix due to pass order

[Bug c++/98282] Segmentation fault when compiling with optimization >= 2

2020-12-14 Thread bengilgit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 --- Comment #1 from Benjamin Kietzman --- Created attachment 49765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49765&action=edit preprocessed file which reproduces the crash

[Bug c++/98282] New: Segmentation fault when compiling with optimization >= 2

2020-12-14 Thread bengilgit at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 Bug ID: 98282 Summary: Segmentation fault when compiling with optimization >= 2 Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/98281] - -Wformat-truncation false positive due to excessive integer range (gcc 10.2.0)

2020-12-14 Thread ishikawa at yk dot rim.or.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98281 --- Comment #2 from ishikawa,chiaki --- Created attachment 49764 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49764&action=edit The patch that I had for 94021 Funny I thought this was gone for a while with gcc-9 and an earlier 10 (?) I

[Bug tree-optimization/98281] - -Wformat-truncation false positive due to excessive integer range

2020-12-14 Thread ishikawa at yk dot rim.or.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98281 --- Comment #1 from ishikawa,chiaki --- The command to compile the source file uploaded. (Place it in /tmp) cd tmp export TERM=dumb /usr/bin/gcc-10 -std=gnu99 -o /tmp/Unified_c_libical_src_libical1.o -c -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/

[Bug tree-optimization/98281] New: - -Wformat-truncation false positive due to excessive integer range

2020-12-14 Thread ishikawa at yk dot rim.or.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98281 Bug ID: 98281 Summary: - -Wformat-truncation false positive due to excessive integer range Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-12-14 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #10 from Fangrui Song --- Note: the section key is not just (name, group name "G"). It is a quadruple: (name, group name "G", linked-to "o", unique ID) Keeping just name works for the simplest case. If GCC decides to support PR95095

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-12-14 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #9 from F

[Bug gcov-profile/98257] Replace Donald B. Johnson's cycle enumeration with iterative loop finding

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

[Bug tree-optimization/80738] dead first stmt in a=0;a=b;b=0 whatever the aliasing

2020-12-14 Thread david at doublewise dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80738 David Stone changed: What|Removed |Added CC||david at doublewise dot net --- Comment #6

[Bug libstdc++/65118] Android target build is broken with "guard.cc:36:22: fatal error: syscall.h: No such file or directory"

2020-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65118 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/98272] [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop by r11-5836

2020-12-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98272 --- Comment #2 from Eric Botcazou --- Created attachment 49762 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49762&action=edit Tentative fix

[Bug libstdc++/93151] system_error header fails to compile with -D_XOPEN_SOURCE=600

2020-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151 --- Comment #5 from Jonathan Wakely --- http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2227r0.html fixed C++ to depend on a later POSIX standard which defines EOWNERDEAD and ENOTRECOVERABLE but that won't help existing system headers wh

[Bug tree-optimization/98279] ICE in apply_scale with --param=hot-bb-frequency-fraction >= 2^31

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

[Bug rtl-optimization/98276] ICE in want_to_gcse_p, at gcse.c:808 with --param=gcse-cost-distance-ratio > 2^31

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

[Bug tree-optimization/98272] [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop by r11-5836

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

[Bug rtl-optimization/98271] ICE in apply_scale, at profile-count.h:1082 with large --param=align-loop-iterations

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98271 --- Comment #3 from Martin Liška --- All params we have are of int type: #ifdef GENERATOR_FILE extern int param_align_loop_iterations; #else int x_param_align_loop_iterations; #define param_align_loop_iterations global_options.x_param_align_lo

[Bug rtl-optimization/98271] ICE in apply_scale, at profile-count.h:1082 with large --param=align-loop-iterations

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98271 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

[Bug testsuite/98280] New: [11 regression] gcc.target/powerpc/fold-vec-logical-ors-char.c fails after t11-5958 with assembler output differences

2020-12-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98280 Bug ID: 98280 Summary: [11 regression] gcc.target/powerpc/fold-vec-logical-ors-char.c fails after t11-5958 with assembler output differences Product: gcc Version:

[Bug lto/98275] -flto=auto fails if nthreads_var is zero, must not pass -j0

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98275 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Status|UNCONFIRMED

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

2020-12-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 98264, which changed state. Bug 98264 Summary: [11 Regression] ice during linear_loads_p since r11-5969-g3ed472af6bc9f83b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 What|Removed

[Bug middle-end/98264] [11 Regression] ice during linear_loads_p since r11-5969-g3ed472af6bc9f83b

2020-12-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 Tamar Christina changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/98264] [11 Regression] ice during linear_loads_p since r11-5969-g3ed472af6bc9f83b

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 --- Comment #10 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:159b0bd9ce263dfb791eff5133b0ca0207201c84 commit r11-5993-g159b0bd9ce263dfb791eff5133b0ca0207201c84 Author: Tamar Christina Date:

[Bug tree-optimization/98279] ICE in apply_scale with --param=hot-bb-frequency-fraction >= 2^31

2020-12-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98279 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug tree-optimization/98279] New: ICE in apply_scale with --param=hot-bb-frequency-fraction >= 2^31

2020-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98279 Bug ID: 98279 Summary: ICE in apply_scale with --param=hot-bb-frequency-fraction >= 2^31 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/98278] New: switch optimisation and -fstrict-enums

2020-12-14 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98278 Bug ID: 98278 Summary: switch optimisation and -fstrict-enums Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug tree-optimization/96239] Failure to recognize __builtin_bswap16 pattern

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96239 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug d/98277] New: d: ICE in gimplify_expr, at gimplify.c

2020-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277 Bug ID: 98277 Summary: d: ICE in gimplify_expr, at gimplify.c Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug tree-optimization/96245] Failure to optimize arithmetic pattern in switch

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245 --- Comment #10 from Jakub Jelinek --- That is just one specific special case, it can be anything else, like case 7: p[14] = 1; break; case 8: p[13] = 1; break; case 9: p[12] = 1; break; case 10: p[11] = 1; break; etc. I think there are advantage

[Bug c/47781] warnings from custom printf format specifiers

2020-12-14 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #24 from Tom Tromey --- (In reply to David Crocker from comment #23) > I need this feature too. Instead of waiting several more years for an > all-singing all-dancing solution, PLEASE can we have a simple solution that > allows me to

[Bug rtl-optimization/98276] New: ICE in want_to_gcse_p, at gcse.c:808 with --param=gcse-cost-distance-ratio > 2^31

2020-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98276 Bug ID: 98276 Summary: ICE in want_to_gcse_p, at gcse.c:808 with --param=gcse-cost-distance-ratio > 2^31 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity

[Bug lto/98275] New: -flto=auto fails if nthreads_var is zero, must not pass -j0

2020-12-14 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98275 Bug ID: 98275 Summary: -flto=auto fails if nthreads_var is zero, must not pass -j0 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/98271] ICE in apply_scale, at profile-count.h:1082 with large --param=align-loop-iterations

2020-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98271 --- Comment #1 from Alex Coplan --- On further investigation, it seems we ICE when align-loop-iterations is 2^31 and above (i.e. if it's negative, treated as a 32-bit signed integer).

[Bug tree-optimization/96245] Failure to optimize arithmetic pattern in switch

2020-12-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245 --- Comment #9 from rguenther at suse dot de --- On December 14, 2020 12:19:32 PM GMT+01:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245 > >--- Comment #7 from Jakub Jelinek --- >Looking at godbolt and

[Bug target/98274] -march=x86-64-v[234] incompatible with target attribute

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98274 --- Comment #1 from Jakub Jelinek --- Created attachment 49760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49760&action=edit gcc11-pr98274.patch Untested fix.

[Bug target/98274] -march=x86-64-v[234] incompatible with target attribute

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98274 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/98274] New: -march=x86-64-v[234] incompatible with target attribute

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98274 Bug ID: 98274 Summary: -march=x86-64-v[234] incompatible with target attribute Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c/98217] Prefer a warning for when VLAs declared on stack

2020-12-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217 --- Comment #10 from Martin Uecker --- (for C++ compatibility, there is: -Wc++XX-compat ) So since Xmas is coming: - I would also like an option to allocate VLAs of unbounded size larger than X on the heap. - Better code generation for VLAs.

[Bug c/98217] Prefer a warning for when VLAs declared on stack

2020-12-14 Thread svoboda at cert dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217 --- Comment #9 from David Svoboda --- The more I think about it, the more I want to see two -W warnings...one to flag VLA declarations on the stack, and another to see *any* use of VLAs, even if in something as harmless as a conformant array. The

[Bug fortran/96986] [8/9/10/11 Regression] Explicit interface required: volatile argument for ENTRY subroutine

2020-12-14 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96986 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-12-14 Status|UNC

[Bug gcov-profile/98273] GCOV intermediate format is wrong when lambda functions (or nested functions) are used

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

[Bug tree-optimization/96094] Failure to optimize bool division

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96094 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug gcov-profile/98273] New: GCOV intermediate format is wrong when lambda functions (or nested functions) are used

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98273 Bug ID: 98273 Summary: GCOV intermediate format is wrong when lambda functions (or nested functions) are used Product: gcc Version: 11.0 Status: UNCONFIRMED Sev

[Bug tree-optimization/98272] New: [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop

2020-12-14 Thread zsojka at seznam dot cz via Gcc-bugs
h --prefix=/repo/gcc-trunk//binary-trunk-r11-5984-20201214092247-gcf7efe2d36f-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20201214 (experimental) (GCC)

[Bug rtl-optimization/98271] New: ICE in apply_scale, at profile-count.h:1082 with large --param=align-loop-iterations

2020-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98271 Bug ID: 98271 Summary: ICE in apply_scale, at profile-count.h:1082 with large --param=align-loop-iterations Product: gcc Version: 11.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/96245] Failure to optimize arithmetic pattern in switch

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245 Jakub Jelinek changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #8 fr

[Bug tree-optimization/96245] Failure to optimize arithmetic pattern in switch

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245 --- Comment #7 from Jakub Jelinek --- Looking at godbolt and LLVM release notes, this optimization appeared in LLVM 9 and looks to be a switch optimization: LLVM can now sink similar instructions to a common successor block also when the instruc

[Bug tree-optimization/96245] Failure to optimize arithmetic pattern in switch

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

[Bug target/98259] [11 Regression] error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)'

2020-12-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98259 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/98259] [11 Regression] error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)'

2020-12-14 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98259 --- Comment #1 from Matthias Klose --- a normal bootstrap works

[Bug target/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-12-14 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #48 from Levy --- Created attachment 49757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49757&action=edit Initial V1 patch on combine.c Three patches together: = Summary of gcc testsuite =

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

2020-12-14 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 96272, which changed state. Bug 96272 Summary: Failure to optimize overflow check https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96272 What|Removed |Added -

[Bug tree-optimization/96272] Failure to optimize overflow check

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

[Bug target/98147] [11 Regression] ICE in emit_library_call_value_1, at calls.c:5296 since r11-5725-g442b6fb7c09a39577261de90413cc4db366f1c5f

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

[Bug middle-end/98183] [8/9/10 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3972

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98183 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE in

[Bug sanitizer/98204] ICE in pointer_diff, at c/c-typeck.c:3954 since r8-5108-g05abad4cca62d372

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98204 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/98204] ICE in pointer_diff, at c/c-typeck.c:3954 since r8-5108-g05abad4cca62d372

2020-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98204 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:ab28eac607637a641fbec27c5f6bbe9b6197c80f commit r11-5985-gab28eac607637a641fbec27c5f6bbe9b6197c80f Author: Martin Liska Date: Wed

[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 --- Comment #5 from Martin Liška --- I can confirm that as well with --enable-checking=yes.

[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

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98270 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug tree-optimization/98270] New: [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-gfc7b4248172561a9ee3

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98270 Bug ID: 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 r11-5

[Bug tree-optimization/98254] Failure to optimize simple pattern for __builtin_convertvector

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98254 --- Comment #6 from Jakub Jelinek --- So, we have simplify_vector_constructor, but that handles only extractions from some other vector, not reads from memory. E.g. on -mavx2 -O2 -mtune=intel: typedef int __attribute__((vector_size(32))) V; type

[Bug middle-end/98264] [11 Regression] ice during linear_loads_p since r11-5969-g3ed472af6bc9f83b

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 Martin Liška changed: What|Removed |Added Blocks||26163 --- Comment #9 from Martin Liška -

[Bug c/98267] internal compiler error: verify_ssa failed

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

[Bug middle-end/98264] [11 Regression] ice during linear_loads_p since r11-5969-g3ed472af6bc9f83b

2020-12-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Summary|[11 Regression] ice

[Bug target/97251] [10 Regression] arm: ICEs compiling pure-code/no-literal-pool.c with integer MVE

2020-12-14 Thread wirkus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97251 Przemyslaw Wirkus changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/98269] gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow

2020-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269 --- Comment #3 from Jakub Jelinek --- For documentation, the bisection would be best, if you can preprocess the testcase and git bisect it between some 6.0-ish and 8.0-ish trunk revisions, we could know if the bug has been fixed or is just mere l

[Bug middle-end/98264] [11 Regression] ice during linear_loads_p

2020-12-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 Tamar Christina changed: What|Removed |Added Version|unknown |11.0 Summary|ice during lin

[Bug middle-end/98264] ice during linear_loads_p

2020-12-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98264 Tamar Christina changed: What|Removed |Added CC|tamar.christina at arm dot com |tnfchris at gcc dot gnu.org

[Bug c/98269] gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow

2020-12-14 Thread stli at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269 stli at linux dot ibm.com changed: What|Removed |Added Target||s390x Known to work|

[Bug c/98269] gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow

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

[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu

2020-12-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/98267] internal compiler error: verify_ssa failed

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

[Bug c/98269] New: gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow

2020-12-14 Thread stli at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269 Bug ID: 98269 Summary: gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow Product: gcc Version: unknown Status: UNCONFIRMED

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

2020-12-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98268 Bug ID: 98268 Summary: ICE: verify_gimple failed with LTO and SVE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op