[Bug inline-asm/92352] ICE in force_constant_size

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

[Bug middle-end/92231] [9 Regression] ICE in gimple_fold_stmt_to_constant_1

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92231 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:58:14 2019 New Revision: 277986 URL: https://gcc.gnu.org/viewcvs?rev=277986=gcc=rev Log: Backported from mainline 2019-10-31 Jakub Jelinek PR

[Bug preprocessor/92296] [7/8/9 Regression] internal compiler error: Segmentation fault #pragma push_macro("__LINE__")

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92296 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:59:14 2019 New Revision: 277987 URL: https://gcc.gnu.org/viewcvs?rev=277987=gcc=rev Log: Backported from mainline 2019-10-31 Jakub Jelinek PR

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

2019-11-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #33 from Segher Boessenkool --- (In reply to nsz from comment #31) > (In reply to Segher Boessenkool from comment #28) > > [ "ws" needs at least a Power7, btw. ] > > powerpc64le-* implies power8 and that's where this came up. Does

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

2019-11-08 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #34 from Rich Felker --- > Does musl not support BE? There is nothing about this that is LE-only > as far as I can see. For powerpc64, musl supports both BE and LE, and uses "elfv2" ABI for both (since it was not present as a

[Bug c++/92015] [9 Regression] internal compiler error: in cxx_eval_array_reference, at cp/constexpr.c:2568

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

[Bug tree-optimization/85887] [7/8 Regression] Missing DW_TAG_lexical_block PC range

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85887 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/92231] [9 Regression] ICE in gimple_fold_stmt_to_constant_1

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

[Bug fortran/83079] ICE in gfc_widechar_to_char, at fortran/scanner.c:198

2019-11-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83079 --- Comment #4 from anlauf at gcc dot gnu.org --- The following patch fixes the testcase in comment#3: Index: gcc/fortran/trans-intrinsic.c === --- gcc/fortran/trans-intrinsic.c

[Bug c++/92427] Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 --- Comment #2 from Marek Polacek --- GCC 5 says: 92427.C:11:25: error: too many initializers for ‘C [0]’ } y = { 1, { { 2, 3 } } }; ^ then since r231665 we accepted the test. Then since r233126 92427.C: In

[Bug sanitizer/92154] new glibc breaks arm bootstrap due to libsanitizer

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92154 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:53:18 2019 New Revision: 277981 URL: https://gcc.gnu.org/viewcvs?rev=277981=gcc=rev Log: Backported from mainline 2019-10-22 Tamar Christina PR

[Bug c++/92015] [9 Regression] internal compiler error: in cxx_eval_array_reference, at cp/constexpr.c:2568

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92015 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:52:44 2019 New Revision: 277980 URL: https://gcc.gnu.org/viewcvs?rev=277980=gcc=rev Log: Backported from mainline 2019-10-21 Jakub Jelinek PR

[Bug tree-optimization/85887] [7/8/9 Regression] Missing DW_TAG_lexical_block PC range

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85887 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:53:46 2019 New Revision: 277982 URL: https://gcc.gnu.org/viewcvs?rev=277982=gcc=rev Log: Backported from mainline 2019-10-22 Jakub Jelinek PR

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

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92343 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 19:00:02 2019 New Revision: 277988 URL: https://gcc.gnu.org/viewcvs?rev=277988=gcc=rev Log: Backported from mainline 2019-11-05 Jakub Jelinek PR

[Bug fortran/92422] [Regression 9] Warning with character and optimisation flags

2019-11-08 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92422 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 CC|

[Bug c++/92427] Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/92428] New: Crash on conflicting types

2019-11-08 Thread dpotapov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 Bug ID: 92428 Summary: Crash on conflicting types Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug middle-end/92410] Invalid access to df->insns[] in regstat_bb_compute_calls_crossed (caught by hwasan)

2019-11-08 Thread matmal01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 --- Comment #7 from Matthew Malcomson --- (In reply to Matthew Malcomson from comment #6) > I'm not sure whether there's any pre-existing "should not use dataflow > queries on notes" rule. If there is, then the >

[Bug c++/92426] New: ICE on spaceship declaration plus other P1185R2 interaction issue

2019-11-08 Thread dacamara.cameron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92426 Bug ID: 92426 Summary: ICE on spaceship declaration plus other P1185R2 interaction issue Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/92384] [8 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Jakub Jelinek changed: What|Removed |Added Known to work||10.0, 9.2.1 Summary|[8/9

[Bug preprocessor/92296] [7/8 Regression] internal compiler error: Segmentation fault #pragma push_macro("__LINE__")

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92296 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] internal |[7/8 Regression] internal

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread akobets at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 Alexander Kobets changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/92384] [8/9 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 19:02:24 2019 New Revision: 277989 URL: https://gcc.gnu.org/viewcvs?rev=277989=gcc=rev Log: PR c++/92384 * function.c (assign_parm_setup_block,

[Bug c++/90947] [9 Regression] Simple lookup table of array of strings is miscompiled

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Fri Nov 8 18:56:42 2019 New Revision: 277985 URL: https://gcc.gnu.org/viewcvs?rev=277985=gcc=rev Log: Backported from mainline 2019-10-31 Jakub Jelinek PR

[Bug fortran/92358] libgfortran/io/async.c:548:37: warning: unused parameter 'cmp'

2019-11-08 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92358 --- Comment #1 from Jerry DeLisle --- I notoced your report here. I do not get that warning on my system here. I am using gcc version 9.2.1 20190827 to build with. What are you using?

[Bug c++/92427] New: Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error

2019-11-08 Thread nmehrotra at riorey dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92427 Bug ID: 92427 Summary: Initializing an element which has a zero-length array of a type-with-destructor causes an internal compiler error Product: gcc Version:

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

2019-11-08 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #35 from David Edelsohn --- The ELFv2 ABI does not require Power8+ because the subroutine linkage convention requires Power8 instructions. It requires Power8+ because the ABI provide a minimum guarantee to the programmer / developer

[Bug c++/92058] constinit disregards non-constexpr constructor

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92058 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:40:45 2019 New Revision: 277990 URL: https://gcc.gnu.org/viewcvs?rev=277990=gcc=rev Log: PR c++/92058 - constinit malfunction in static data member. *

[Bug c++/92058] constinit disregards non-constexpr constructor

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92058 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90998] [9 Regression] ICE (segfault) in gcc/cp/call.c compare_ics() with -std=c++17

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/79016] missing -Wstringop-overflow= overflowing allocated buffers

2019-11-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79016 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug fortran/82243] -fcheck=bounds not checking, and behaving differently with different real kinds

2019-11-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82243 --- Comment #4 from anlauf at gcc dot gnu.org --- I don't think that it has to do with kinds. Currently there simply seems to be no code being emitted for array constructors. Example: program p implicit none integer :: i, n = 40 real

[Bug c++/92215] flawed diagnostic for bit-field with non-integral type

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92215 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/92428] Crash on conflicting types

2019-11-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 --- Comment #1 from joseph at codesourcery dot com --- Each enum type is compatible with an integer type, and in GCC that's unsigned int by default (in the absence of values that don't fit in unsigned int), so it's valid to declare a function

[Bug c++/92215] flawed diagnostic for bit-field with non-integral type

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92215 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:48:47 2019 New Revision: 277991 URL: https://gcc.gnu.org/viewcvs?rev=277991=gcc=rev Log: PR c++/92215 - flawed diagnostic for bit-field with non-integral type.

[Bug c++/92426] ICE on spaceship declaration plus other P1185R2 interaction issue

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92426 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/92357] ICE in IPA pass fnsummary in openmp offload

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357 --- Comment #4 from Jakub Jelinek --- Created attachment 47202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47202=edit pr92357.ii Partially reduced testcase.

[Bug tree-optimization/92429] New: [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 Bug ID: 92429 Summary: [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/92430] New: [10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 Bug ID: 92430 Summary: [10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp Product: gcc Version: 10.0

[Bug c++/90998] [9 Regression] ICE (segfault) in gcc/cp/call.c compare_ics() with -std=c++17

2019-11-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90998 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Fri Nov 8 21:52:39 2019 New Revision: 277992 URL: https://gcc.gnu.org/viewcvs?rev=277992=gcc=rev Log: PR c++/90998 - ICE with copy elision in init by ctor and -Wconversion.

[Bug libstdc++/90295] Please define ~exception_ptr inline

2019-11-08 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90295 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com ---

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #2 from Arseny Solokha --- I believe I have something that is a different manifestation of the same problem. 1. gcc-10.0.0-alpha20191103 snapshot (r277758) ICEs when compiling the following testcase reduced from

[Bug middle-end/91582] missing heap overflow detection for strcpy

2019-11-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91582 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug tree-optimization/85484] missing -Wstringop-overflow for strcpy with a string of non-const length

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

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #1 from

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread akobets at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 --- Comment #2 from Alexander Kobets --- I think eax is 32-bit register. May be I do not understand, then I re-check the result of that operation.

[Bug c++/90393] [9/10 Regression] ICE in return statement with a conditional operator, one of the second and third arguments is throw, and the other is a const variable of a class with a nontrivial co

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393 Jakub Jelinek changed: What|Removed |Added CC||tpg+gcc at mutabah dot net --- Comment

[Bug c++/92423] Reference assigned from a ternary results in destructor call

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92423 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #3

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread akobets at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 --- Comment #4 from Alexander Kobets --- Ok.

[Bug debug/92418] New: g++ does not produce the DW_AT_calling_convention attribute for types

2019-11-08 Thread tankut.baris.aktemur at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92418 Bug ID: 92418 Summary: g++ does not produce the DW_AT_calling_convention attribute for types Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/91253] [9/10 Regression] gfortran.dg/continuation_6.f fails when using -pre_include as done with latest glibc

2019-11-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91253 --- Comment #2 from Tobias Burnus --- Author: burnus Date: Fri Nov 8 08:14:40 2019 New Revision: 277948 URL: https://gcc.gnu.org/viewcvs?rev=277948=gcc=rev Log: Fortran] PR91253 fix continuation-line handling with -pre_include PR

[Bug testsuite/92415] new test case g++.dg/cpp2a/spaceship-scalar1-neg.C introduced in r277925 fails

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

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > more complex "ranges" for debug counters appreciated, > -fdbg-cnt=foo:{5-6,9,1-10} or some sorts of that (lists of ranges / values). > I'm definitely missing

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #14 from Martin Liška --- > > more complex "ranges" for debug counters appreciated, +1 > -fdbg-cnt=foo:{5-6,9,1-10} or some sorts of that (lists of ranges / values). > I'm definitely missing a all-but-N as well. ~6 and ~6-9 maybe.

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #15 from rguenther at suse dot de --- On Fri, 8 Nov 2019, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 > > --- Comment #14 from Martin Liška --- > > > > more complex "ranges" for debug

[Bug target/92095] [8/9/10 regression] internal error with -O1 -mcpu=niagara2 -fPIE

2019-11-08 Thread ebotcazou at gcc dot gnu.org
. (sparc_init_pic_reg): In PIC mode, always initialize the PIC register if optimization is enabled. * config/sparc/sparc.md (load_pcrel_sym): Emit the assembly by calling output_load_pcrel_sym. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20191108-1.c Modified

[Bug target/92095] [8/9/10 regression] internal error with -O1 -mcpu=niagara2 -fPIE

2019-11-08 Thread ebotcazou at gcc dot gnu.org
. (sparc_init_pic_reg): In PIC mode, always initialize the PIC register if optimization is enabled. * config/sparc/sparc.md (load_pcrel_sym): Emit the assembly by calling output_load_pcrel_sym. Added: branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/20191108-1

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 Richard Biener changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-11-08 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #26 from Manuel López-Ibáñez --- Hi Martin, Wouldn't it be better if the testcase tested that no warning is given for a true case? Otherwise if the bug is fixed, no warning will be given, no matter the option. Or have a testcase

[Bug middle-end/92410] Invalid access to df->insns[] in regstat_bb_compute_calls_crossed (caught by hwasan)

2019-11-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 Martin Liška changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org Known

[Bug middle-end/92419] New: const variable aliases lead to folding non-const initializers

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92419 Bug ID: 92419 Summary: const variable aliases lead to folding non-const initializers Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

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

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92324 --- Comment #7 from Richard Biener --- Author: rguenth Date: Fri Nov 8 09:30:52 2019 New Revision: 277958 URL: https://gcc.gnu.org/viewcvs?rev=277958=gcc=rev Log: 2019-11-08 Richard Biener PR tree-optimization/92324 *

[Bug tree-optimization/92420] New: [7/8/9/10 Regression] Vectorization miscompilation with negative strides since r238039

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92420 Bug ID: 92420 Summary: [7/8/9/10 Regression] Vectorization miscompilation with negative strides since r238039 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug tree-optimization/92420] [7/8/9/10 Regression] Vectorization miscompilation with negative strides since r238039

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92420 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug c++/92421] New: ice in inline_small_functions, at ipa-inline.c:2001

2019-11-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92421 Bug ID: 92421 Summary: ice in inline_small_functions, at ipa-inline.c:2001 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 Martin Jambor changed: What|Removed |Added Attachment #47195|0 |1 is obsolete|

[Bug c/92088] aggregates with VLAs and nested functions are broken

2019-11-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92088 --- Comment #10 from Eric Botcazou --- > VLAs are always passed by reference in Ada. And, more generally, any type with variable size is too.

[Bug middle-end/92419] const variable aliases lead to folding non-const initializers

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92419 --- Comment #2 from Richard Biener --- bool varpool_node::ctor_useable_for_folding_p (void) { ... /* Alias of readonly variable is also readonly, since the variable is stored in readonly memory. We also accept readonly aliases of

[Bug tree-optimization/92420] [7/8/9/10 Regression] Vectorization miscompilation with negative strides since r238039

2019-11-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92420 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/92095] [8/9/10 regression] internal error with -O1 -mcpu=niagara2 -fPIE

2019-11-08 Thread ebotcazou at gcc dot gnu.org
. (sparc_init_pic_reg): In PIC mode, always initialize the PIC register if optimization is enabled. * config/sparc/sparc.md (load_pcrel_sym): Emit the assembly by calling output_load_pcrel_sym. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/20191108-1

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

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

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #12 from Richard Biener --- Tackling from the tuning side, -mfma -mtune=znver2 miscompares, -mtune=generic doesn't [checkme]. Using -mfma -mtune=generic

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-11-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #25 from Martin Jambor --- I have posted an RFC patch alleviating the situation somewhat to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00614.html

[Bug target/92095] [8/9/10 regression] internal error with -O1 -mcpu=niagara2 -fPIE

2019-11-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #16 from Richard Biener --- (In reply to Richard Biener from comment #12) > Trying to bisect with IVOPTs debug-counter. > > 65:69 FAIL > 65:66 OK > 67:69 OK > > *sigh* Back to this (ivopts_loop counter soon to be checked in).

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

2019-11-08 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #30 from nsz at gcc dot gnu.org --- i think it is not the end of the world if the asm constraint api changes in this case: fixing musl is easy because it's not super important to optimize fmin, fminf, fmax, fmaxf in libc (if it were

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #19 from Richard Biener --- (In reply to Alexander Monakov from comment #17) > (In reply to Richard Biener from comment #16) > > interestingly 66:66 and 67:67 generate exactly the same code and > > 66:67 add a single loop. That's

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #13 from Richard Biener --- Author: rguenth Date: Fri Nov 8 13:15:40 2019 New Revision: 277972 URL: https://gcc.gnu.org/viewcvs?rev=277972=gcc=rev Log: 2019-11-08 Richard Biener PR ipa/92409 * tree-inline.c

[Bug testsuite/92391] gcc.dg/vect/bb-slp-40.c FAILs

2019-11-08 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92391 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #4 from Joel Hutton --- > Hi Rainer > > I set up an account with cfarm, and tested on gcc202, the test fails because > on > SPARC, no constructor is generated, the for

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

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

[Bug middle-end/92410] Invalid access to df->insns[] in regstat_bb_compute_calls_crossed (caught by hwasan)

2019-11-08 Thread matmal01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 --- Comment #5 from Matthew Malcomson --- I've had a little look into it, and the below seems promising: Based on a comment in haifa-sched.c, notes are removed before scheduling and added back in. Since the insn that is larger than the df

[Bug tree-optimization/92401] [10 Regression] ICE in fold_ternary_loc, at fold-const.c:11698

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92401 --- Comment #4 from Jakub Jelinek --- Created attachment 47197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47197=edit gcc10-pr92401.patch Full untested patch.

[Bug middle-end/92410] Invalid access to df->insns[] in regstat_bb_compute_calls_crossed (caught by hwasan)

2019-11-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 --- Comment #4 from Martin Liška --- Can be reproduced with a aarch64 cross compiler on x86-64-linux-gnu.

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

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92324 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Nov 8 09:01:41 2019 New Revision: 277955 URL: https://gcc.gnu.org/viewcvs?rev=277955=gcc=rev Log: 2019-11-08 Richard Biener PR tree-optimization/92324 *

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

2019-11-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92324 --- Comment #6 from Uroš Bizjak --- (In reply to Richard Biener from comment #4) > Author: rguenth > Date: Fri Nov 8 09:01:41 2019 > New Revision: 277955 > > URL: https://gcc.gnu.org/viewcvs?rev=277955=gcc=rev > Log: > 2019-11-08 Richard

[Bug fortran/91253] [9/10 Regression] gfortran.dg/continuation_6.f fails when using -pre_include as done with latest glibc

2019-11-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91253 --- Comment #4 from Tobias Burnus --- Author: burnus Date: Fri Nov 8 09:25:40 2019 New Revision: 277957 URL: https://gcc.gnu.org/viewcvs?rev=277957=gcc=rev Log: Fortran] PR91253 fix continuation-line handling with -pre_include

[Bug tree-optimization/92412] excessive errno aliasing assumption defeats optimization

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92412 --- Comment #3 from Richard Biener --- PR92419 for that mess...

[Bug fortran/92422] New: Warning with character and optimisation flags

2019-11-08 Thread moad212 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92422 Bug ID: 92422 Summary: Warning with character and optimisation flags Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #10 from Richard Biener --- (In reply to Martin Jambor from comment #9) > Created attachment 47199 [details] > Fixed fix > > Uh, the conversion must be on the RHS, not the LHS. I'm testing this patch, > it should be the right one

[Bug c++/92421] [10 Regression] ice in inline_small_functions, at ipa-inline.c:2001

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92421 Richard Biener changed: What|Removed |Added Keywords||needs-reduction CC|

[Bug middle-end/92384] [8/9 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] Empty |[8/9 Regression] Empty

[Bug middle-end/92410] Invalid access to df->insns[] in regstat_bb_compute_calls_crossed (caught by hwasan)

2019-11-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 --- Comment #2 from Martin Liška --- One can see it with the following patch: diff --git a/gcc/regstat.c b/gcc/regstat.c index 4da9b7cc523..c6cefb117d7 100644 --- a/gcc/regstat.c +++ b/gcc/regstat.c @@ -324,6 +324,7 @@

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

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

[Bug tree-optimization/92412] excessive errno aliasing assumption defeats optimization

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92412 --- Comment #2 from Richard Biener --- The DECL_EXTERNAL is what should make the difference but IIRC a errno.h with a tentative definition would be conforming, no? And that woudln't be DECL_EXTERNAL ... TREE_READONLY should be handled more

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #8 from Richard Biener --- I think the fix is more like the following to make declare_return_variable notice the mismatch. That alone might not be enough but the fix should be there. I assume that we use a return slot only for

[Bug c/92088] aggregates with VLAs and nested functions are broken

2019-11-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92088 --- Comment #9 from Eric Botcazou --- > I don't think the inliner should work around this - this hasn't been > necessary for Ada which is a good sign here. Eric - how does GiGi handle > this > case? VLAs are always passed by reference in

[Bug c/92088] aggregates with VLAs and nested functions are broken

2019-11-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92088 --- Comment #8 from rguenther at suse dot de --- On Thu, 7 Nov 2019, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92088 > > --- Comment #7 from joseph at codesourcery dot com dot com> --- > Yes,

[Bug target/92055] [avr] Support 64-bit double

2019-11-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92055 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Fri Nov 8 08:49:07 2019 New Revision: 277954 URL: https://gcc.gnu.org/viewcvs?rev=277954=gcc=rev Log: PR target/92055 * config/avr/avr.opt (-mdouble=, -mlong-double=):

  1   2   >