[Bug c++/92359] function static variable instantiated at -O1 despite extern template

2019-11-05 Thread sbence92 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92359 --- Comment #2 from Bence Szabó --- Is it a subtle thing that all implementations missed or is it not specified very well in the standard? As far as I could tell there's no specific rule for this case. The standard is detailed about member static

[Bug c/92371] New: ice in info_for_reduction, at tree-vect-loop.c:4106

2019-11-05 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92371 Bug ID: 92371 Summary: ice in info_for_reduction, at tree-vect-loop.c:4106 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/92339] [10 Regression] ICE at cp/typeck.c:1510

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92339 --- Comment #4 from Martin Liška --- Author: marxin Date: Tue Nov 5 08:39:14 2019 New Revision: 277816 URL: https://gcc.gnu.org/viewcvs?rev=277816&root=gcc&view=rev Log: Remove FIELD_DECL leftover. 2019-11-05 Martin Liska PR c++/92

[Bug c++/92339] [10 Regression] ICE at cp/typeck.c:1510

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92339 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92371] [10 Regression] ICE in info_for_reduction, at tree-vect-loop.c:4106

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92371 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92370 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug inline-asm/92368] internal compiler error: Segmentation fault in gcc-7.4

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92368 Martin Liška changed: What|Removed |Added CC||law at gcc dot gnu.org,

[Bug c/89549] [7/8/9/10 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers

2019-11-05 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549 --- Comment #12 from Dávid Bolvanský --- This missed gcc 7.5 :/

[Bug other/92366] new test case gcc.dg/vect/bb-slp-41.c fails with its introduction in r277784

2019-11-05 Thread joel.hutton at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92366 --- Comment #2 from Joel Hutton --- I'm looking into this. The testcase triggered a case with a constructor with a large number of elements (at least on aarch64).

[Bug inline-asm/92368] internal compiler error: Segmentation fault in gcc-7.4

2019-11-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92368 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/84682] [7 Regression] internal compiler error: Segmentation fault (process_address_1)

2019-11-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84682 Andrew Pinski changed: What|Removed |Added CC||anbu1024.me at gmail dot com --- Comment

[Bug ipa/92372] New: [10 Regression] ICE in ipa_update_overall_fn_summary at gcc/ipa-fnsummary.c:3671 since r277780

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92372 Bug ID: 92372 Summary: [10 Regression] ICE in ipa_update_overall_fn_summary at gcc/ipa-fnsummary.c:3671 since r277780 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug ipa/92372] [10 Regression] ICE in ipa_update_overall_fn_summary at gcc/ipa-fnsummary.c:3671 since r277780

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92372 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug tree-optimization/92373] [10 Regression] ICE get_initializer_for at gcc/tree.c:13553 since r277728

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine

2019-11-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug tree-optimization/92373] New: [10 Regression] ICE get_initializer_for at gcc/tree.c:13553 since r277728

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92373 Bug ID: 92373 Summary: [10 Regression] ICE get_initializer_for at gcc/tree.c:13553 since r277728 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on

[Bug c++/92374] New: Unable to link relocatable object when GCC is configured with "--disable-comdat"

2019-11-05 Thread g.hoogewerf at gmail dot com
ne-eabi --enable-languages=c,c++ --disable-libssp \ > --disable-multilib --disable-comdat --disable-nls --disable-fixed-point \ > --disable-decimal-float --enable-__cxa_atexit --disable-lto \ > --with-newlib --with-sysroot=/scratch/arm-none-eabi-newlib/test\ > /arm-none-eabi/arm-none-eab

[Bug c++/92374] Unable to link relocatable object when GCC is configured with "--disable-comdat"

2019-11-05 Thread g.hoogewerf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92374 --- Comment #1 from GHoogewerf --- Created attachment 47174 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47174&action=edit Proposed fix for gcc-7-branch This patch seems to address the issue in the gcc-7-branch.

[Bug c++/92343] [[likely]]/[[unlikely]] prevent method from being a constant expression

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92343 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Nov 5 10:16:39 2019 New Revision: 277819 URL: https://gcc.gnu.org/viewcvs?rev=277819&root=gcc&view=rev Log: PR c++/92343 * constexpr.c (potential_constant_expression_

[Bug tree-optimization/91945] [10 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5837 since r274997

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91945 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Nov 5 10:17:29 2019 New Revision: 277820 URL: https://gcc.gnu.org/viewcvs?rev=277820&root=gcc&view=rev Log: PR tree-optimization/91945 * builtins.c (compute_objsize):

[Bug target/92361] [8/9 Regression] failing fortran libcgns test on powerpc64le-linux-gnu

2019-11-05 Thread gilles.filippini at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361 --- Comment #5 from Gilles Filippini --- Created attachment 47175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47175&action=edit Tentative self-contained test case for PR92361 Here is a tentative self-contained test case, made after the

[Bug target/92280] [10 regression] gcc.target/i386/pr83008.c FAILs

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92280 --- Comment #7 from Richard Biener --- (In reply to Hongtao.liu from comment #6) > (In reply to Richard Biener from comment #3) > > That said, VN already computes the partial loads to { 148, _142, _145, _139 > > } > > and would insert those CTOR

[Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine

2019-11-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208 --- Comment #8 from Tobias Burnus --- (In reply to Christophe Lyon from comment #7) > On gcc-9, the patch introduced regressions, seen on arm and aarch64: On trunk, the following was needed (PR92277, r277661) – but I it did not trigger on the br

[Bug tree-optimization/92351] [10 Regression] Wrong code with -O3 -match=skylake since r277569

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92351 --- Comment #2 from Martin Liška --- Using -fdbg-cnt=vect_loop:4:6 will reduce vectorizer to one vectorization + one epilogue vectorization that causes the miscompilation.

[Bug c++/92365] [10 Regression] ice unexpected expression ‘int16_t()’ of kind cast_expr

2019-11-05 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365 --- Comment #2 from Bernd Edlinger --- This was a hidden bug: g++ -std=c++98 -Wshadow=compatible-local test.cc did ICE all the time.

[Bug tree-optimization/92371] [10 Regression] ICE in info_for_reduction, at tree-vect-loop.c:4106

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92371 --- Comment #2 from Richard Biener --- Fortunately the fix is easy...

[Bug c++/92338] double/float thought (ambiguous) candidate for C-array index. (Non numeric types aren't.)

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338 --- Comment #8 from Jonathan Wakely --- (In reply to Mick P. from comment #5) > Try Visual Studio's. I did, and it doesn't compile: https://godbolt.org/z/Q54kFs

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92370 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/92343] [[likely]]/[[unlikely]] prevent method from being a constant expression

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92343 --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug tree-optimization/91945] [10 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5837 since r274997

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91945 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92375] New: Warn on suspicious taking of function address instead of calling a function

2019-11-05 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92375 Bug ID: 92375 Summary: Warn on suspicious taking of function address instead of calling a function Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diag

[Bug c/92324] [10 Regression] ICE in expand_direct_optab_fn, at internal-fn.c:2890

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92324 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue Nov 5 11:00:24 2019 New Revision: 277822 URL: https://gcc.gnu.org/viewcvs?rev=277822&root=gcc&view=rev Log: 2019-11-05 Richard Biener PR tree-optimization/92324

[Bug c++/92375] Warn on suspicious taking of function address instead of calling a function

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92375 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/92376] New: [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Bug ID: 92376 Summary: [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: build

[Bug libstdc++/92376] [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2019-11-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075 --- Comment #5 from Jason Merrill --- Author: jason Date: Tue Nov 5 11:46:54 2019 New Revision: 277825 URL: https://gcc.gnu.org/viewcvs?rev=277825&root=gcc&view=rev Log: PR c++/88075 - Don't require 'bool' in a concept definition.

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-11-05 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #9 from Elad Lahav --- While trying to write a simple test to demonstrate that the suggested patch works I ran into a couple of issues. First, here is the test code: #include #include #if defined(__aarch64__) static long __attribu

[Bug libstdc++/91356] Poor optimization of calls involving std::unique_ptr

2019-11-05 Thread nisse at lysator dot liu.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91356 --- Comment #10 from Niels Möller --- I was just made aware of this paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1863r0.pdf arguing that C++ standards community and implementers ought to decide on how to prioritize C++ perfor

[Bug c/92377] New: [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92377 Bug ID: 92377 Summary: [7/8 Regression] ICE: Segmentation fault Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/92378] New: missing -Warray-bounds warning

2019-11-05 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92378 Bug ID: 92378 Summary: missing -Warray-bounds warning Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assigne

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2019-11-05 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #16 from Alexander Monakov --- I'd like to backport this to gcc-9 branch and then close this bug (Richi already indicated that further backports are not desirable). Thoughts?

[Bug c++/92354] [10 Regression] ICE: Segmentation fault (in lookup_page_table_entry)

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92354 --- Comment #2 from Martin Liška --- I've got a patch candidate.

[Bug target/92280] [10 regression] gcc.target/i386/pr83008.c FAILs

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92280 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/92280] [10 regression] gcc.target/i386/pr83008.c FAILs

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92280 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Nov 5 13:29:52 2019 New Revision: 277832 URL: https://gcc.gnu.org/viewcvs?rev=277832&root=gcc&view=rev Log: 2019-11-05 Richard Biener PR tree-optimization/92280

[Bug target/92379] New: rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379 Bug ID: 92379 Summary: rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int' Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/92379] rs6000.c:5598:13: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92379 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/92377] [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92377 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug libstdc++/92376] [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.3

[Bug middle-end/92377] [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92377 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #2 from Martin Liška --- Fi

[Bug middle-end/92377] [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92377 --- Comment #3 from Martin Liška --- ... and it started with r235817.

[Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine

2019-11-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208 --- Comment #9 from Christophe Lyon --- (In reply to Tobias Burnus from comment #8) > (In reply to Christophe Lyon from comment #7) > > On gcc-9, the patch introduced regressions, seen on arm and aarch64: > > On trunk, the following was needed (

[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2019-11-05 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075 --- Comment #6 from Hannes Hauswedell --- (In reply to Jason Merrill from comment #5) > Author: jason > Date: Tue Nov 5 11:46:54 2019 > New Revision: 277825 > > URL: https://gcc.gnu.org/viewcvs?rev=277825&root=gcc&view=rev > Log: > PR c++

[Bug fortran/92277] [10 Regression] ICE with assumed rank in gfc_conv_gfc_desc_to_cfi_desc

2019-11-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92277 --- Comment #5 from Tobias Burnus --- Author: burnus Date: Tue Nov 5 14:28:07 2019 New Revision: 277840 URL: https://gcc.gnu.org/viewcvs?rev=277840&root=gcc&view=rev Log: PR 92208 + PR 92277 – GCC 9 follow-up fix PR fortran/92208

[Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine

2019-11-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208 --- Comment #10 from Tobias Burnus --- Author: burnus Date: Tue Nov 5 14:28:07 2019 New Revision: 277840 URL: https://gcc.gnu.org/viewcvs?rev=277840&root=gcc&view=rev Log: PR 92208 + PR 92277 – GCC 9 follow-up fix PR fortran/92208

[Bug libstdc++/92376] [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx

2019-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 --- Comment #1 from Jonathan Wakely --- After fixing that, there's still a problem, as isn't installed for freestanding: In file included from /home/jwakely/gcc/freestanding/include/c++/10.0.0/version:35, from :1: /home/jwakely

[Bug middle-end/92377] [7/8 Regression] ICE: Segmentation fault

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92377 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/89280] [7/8 Regression] ICE: Segmentation fault (in is_gimple_reg_type)

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280 Richard Biener changed: What|Removed |Added CC||anbu1024.me at gmail dot com --- Commen

[Bug c++/92365] [10 Regression] ice unexpected expression ‘int16_t()’ of kind cast_expr

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug fortran/92277] [10 Regression] ICE with assumed rank in gfc_conv_gfc_desc_to_cfi_desc

2019-11-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92277 --- Comment #6 from Tobias Burnus --- (In reply to Tobias Burnus from comment #4) > The test case was also added to the GCC 9 branch - where it passes without > requiring a compiler patch. Spoke to early - it was needed for arm and aarch64 as PR

[Bug target/92361] [8/9 Regression] failing fortran libcgns test on powerpc64le-linux-gnu

2019-11-05 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361 --- Comment #6 from Steve Kargl --- On Tue, Nov 05, 2019 at 10:17:50AM +, gilles.filippini at free dot fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361 > > --- Comment #5 from Gilles Filippini --- > Created attachment 47175 >

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

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 92378, which changed state. Bug 92378 Summary: missing -Warray-bounds warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92378 What|Removed |Added -

[Bug tree-optimization/92341] missing -Warray-bounds indexing past the end of a compound literal

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92341 Martin Sebor changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn --- C

[Bug middle-end/92378] missing -Warray-bounds warning

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92378 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/92380] New: Bogus -Warray-bounds warning with structures

2019-11-05 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92380 Bug ID: 92380 Summary: Bogus -Warray-bounds warning with structures Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/92374] Unable to link relocatable object when GCC is configured with "--disable-comdat"

2019-11-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92374 --- Comment #2 from Andrew Pinski --- Why are you configuring GCC with disable-comdat in the first place on an elf target?

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2019-11-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #17 f

[Bug target/91886] [10 regression] powerpc64 impossible constraint in asm

2019-11-05 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #3 fr

[Bug middle-end/92381] New: missing -Warray-bounds on negative index with very large magnitude

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92381 Bug ID: 92381 Summary: missing -Warray-bounds on negative index with very large magnitude Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/92381] missing -Warray-bounds on negative index with very large magnitude

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92381 Martin Sebor changed: What|Removed |Added Keywords||diagnostic See Also|

[Bug tree-optimization/92371] [10 Regression] ICE in info_for_reduction, at tree-vect-loop.c:4106

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92371 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92371] [10 Regression] ICE in info_for_reduction, at tree-vect-loop.c:4106

2019-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92371 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Nov 5 16:12:07 2019 New Revision: 277850 URL: https://gcc.gnu.org/viewcvs?rev=277850&root=gcc&view=rev Log: 2019-11-05 Richard Biener PR tree-optimization/92371

[Bug tree-optimization/86611] missing -Warray-bounds on a large negative index into a string in lp64

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86611 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/92341] missing -Warray-bounds indexing past the end of a compound literal

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92341 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Nov 5 16:20:44 2019 New Revision: 277851 URL: https://gcc.gnu.org/viewcvs?rev=277851&root=gcc&view=rev Log: PR middle-end/92341 - missing -Warray-bounds indexing past the end of a co

[Bug tree-optimization/82612] missing -Warray-bounds on a non-zero offset from the address of a non-array object

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Nov 5 16:20:44 2019 New Revision: 277851 URL: https://gcc.gnu.org/viewcvs?rev=277851&root=gcc&view=rev Log: PR middle-end/92341 - missing -Warray-bounds indexing past the end of a co

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

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 92341, which changed state. Bug 92341 Summary: missing -Warray-bounds indexing past the end of a compound literal https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92341 What|Removed |Added

[Bug tree-optimization/92341] missing -Warray-bounds indexing past the end of a compound literal

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92341 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug gcov-profile/92382] New: variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 Bug ID: 92382 Summary: variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c Product: gcc Version: 10.0 S

[Bug target/92361] [8/9 Regression] failing fortran libcgns test on powerpc64le-linux-gnu

2019-11-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92361 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/82612] missing -Warray-bounds on a non-zero offset from the address of a non-array object

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 82612, which changed state. Bug 82612 Summary: missing -Warray-bounds on a non-zero offset from the address of a non-array object https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612 What|Removed

[Bug c/92383] New: ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1519

2019-11-05 Thread mpoulhies at kalray dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92383 Bug ID: 92383 Summary: ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1519 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92370 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92370] [10 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1118

2019-11-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92370 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Nov 5 16:59:41 2019 New Revision: 277853 URL: https://gcc.gnu.org/viewcvs?rev=277853&root=gcc&view=rev Log: [PR c++/92370] ICE with VC marker https://gcc.gnu.org/ml/gcc-patches/20

[Bug tree-optimization/82608] missing -Warray-bounds on an out-of-bounds VLA index

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 --- Comment #2 from Martin Sebor --- Author: msebor Date: Tue Nov 5 17:05:33 2019 New Revision: 277854 URL: https://gcc.gnu.org/viewcvs?rev=277854&root=gcc&view=rev Log: PR middle-end/92333 - missing variable name referencing VLA in warnings PR

[Bug middle-end/92333] missing variable name referencing VLA in warnings

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92333 --- Comment #2 from Martin Sebor --- Author: msebor Date: Tue Nov 5 17:05:33 2019 New Revision: 277854 URL: https://gcc.gnu.org/viewcvs?rev=277854&root=gcc&view=rev Log: PR middle-end/92333 - missing variable name referencing VLA in warnings PR

[Bug middle-end/92333] missing variable name referencing VLA in warnings

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92333 Martin Sebor changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[Bug tree-optimization/82608] missing -Warray-bounds on an out-of-bounds VLA index

2019-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 --- Comment #16 from Segher Boessenkool --- Author: segher Date: Tue Nov 5 17:17:03 2019 New Revision: 277855 URL: https://gcc.gnu.org/viewcvs?rev=277855&root=gcc&view=rev Log: backport for PR91289 Backport from trunk 2019-10-2

[Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 --- Comment #17 from Segher Boessenkool --- Author: segher Date: Tue Nov 5 17:20:00 2019 New Revision: 277856 URL: https://gcc.gnu.org/viewcvs?rev=277856&root=gcc&view=rev Log: backport for PR91289 Backport from trunk 2019-10-2

[Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #2 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #1) > Why is this a major issue? Just variable shadowing, so something that with > -Wshadow* compiler will warn, but nothing more, the code is well defined

[Bug c++/92375] Warn on suspicious taking of function address instead of calling a function

2019-11-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92375 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #3 from Jakub Jelinek --- Most likely just GDB doesn't handle it correctly, or a bug in what we emit as debug info for it (for -O0 it wouldn't surprise me, as we don't really track the scope of the variable).

[Bug c++/92338] double/float thought (ambiguous) candidate for C-array index. (Non numeric types aren't.)

2019-11-05 Thread mick.pearson at wildblue dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338 Mick P. changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #9 from Mick P. --- I began

[Bug target/91886] [10 regression] powerpc64 impossible constraint in asm

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #4 from Segher Boessenkool --- Yes, you should use "wa". Making our constraint (and output modifier) doc more useful is on my list for GCC 10.

[Bug gcov-profile/92382] variable double-definition in routine replace_filename_variables of libgcc/libgcov-driver-system.c

2019-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92382 --- Comment #4 from Jakub Jelinek --- This boils down to int main () { volatile int v = 0; { v++; v++; volatile int v = 4; v++; } } >From what I see, this is handled correctly in the generated code, so it is just the debuggi

[Bug target/91886] [10 regression] powerpc64 impossible constraint in asm

2019-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #5 from Segher Boessenkool --- So: -- LLVM should support "wa", since that is *the* constraint for VSX registers. -- musl should use the "wa" constraint in its inline asm. -- If after those two you still want "ws" (for compiling lega

[Bug c++/92367] spurious -Wunused-but-set-parameter warning with constexpr if in a template function

2019-11-05 Thread 60rntogo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92367 --- Comment #2 from Born Togo <60rntogo at gmail dot com> --- That's perfect. For what it's worth, I did try searching for this bug report first, but somehow didn't find it. Sorry for littering.

[Bug c++/92338] double/float thought (ambiguous) candidate for C-array index. (Non numeric types aren't.)

2019-11-05 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

  1   2   >