[Bug target/91135] [9 Regression] __linux__ not defined with -mcall-aixdesc on 9.x and ppc64

2019-07-31 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91135 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/91135] [9 Regression] __linux__ not defined with -mcall-aixdesc on 9.x and ppc64

2019-07-31 Thread amodra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91135 --- Comment #11 from Alan Modra --- Author: amodra Date: Thu Aug 1 05:57:12 2019 New Revision: 273962 URL: https://gcc.gnu.org/viewcvs?rev=273962=gcc=rev Log: [RS6000] PR91135, __linux__ not defined with -mcall-aixdesc on 9.x and ppc64 This

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #22 from Xiong Hu XS Luo --- (In reply to Xiong Hu XS Luo from comment #21) > (In reply to H.J. Lu from comment #19) > > (In reply to Richard Biener from comment #17) > > > (In reply to Richard Biener from comment #16) > > > > (In

[Bug c++/91317] [7/8/9/10 Regression] false-positive maybe-uninitialized warning in destructor with placement new

2019-07-31 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91317 --- Comment #1 from Marc Glisse --- Did you consider exceptions? a() could throw.

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #21 from Xiong Hu XS Luo --- (In reply to H.J. Lu from comment #19) > (In reply to Richard Biener from comment #17) > > (In reply to Richard Biener from comment #16) > > > (In reply to Richard Biener from comment #15) > > > > Honza

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #20 from Xiong Hu XS Luo --- (In reply to rguent...@suse.de from comment #11) > On Wed, 31 Jul 2019, wschmidt at linux dot ibm.com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 > > > > --- Comment #10 from

[Bug fortran/42546] ALLOCATED statement typo in the docs and for scalar variables

2019-07-31 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42546 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/91183] strlen of a strcpy result with a conditional source not folded

2019-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91183 --- Comment #7 from Martin Sebor --- Patch to handle the issue discussed in comment #6: https://gcc.gnu.org/ml/gcc-patches/2019-08/msg0.html

[Bug tree-optimization/91315] missing strlen lower bound of a string known to be at least N characters

2019-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91315 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug tree-optimization/91294] [10 Regression] wrong strlen result of a conditional with an offset

2019-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91294 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-07-31 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #5 from Bernd Edlinger --- Created attachment 46654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46654=edit untested patch It looks like update_scratch_ops creates a copy of the original scratch register, but the new scratch

[Bug c++/91317] New: [7/8/9/10 Regression] false-positive maybe-uninitialized warning in destructor with placement new

2019-07-31 Thread martindorey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91317 Bug ID: 91317 Summary: [7/8/9/10 Regression] false-positive maybe-uninitialized warning in destructor with placement new Product: gcc Version: 8.3.0

[Bug target/91189] 20% binary size regression in avr-gcc 9.1.0 from 8.3.0

2019-07-31 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91189 --- Comment #2 from Georg-Johann Lay --- How did you conclude it's a target issue? Would you pinpoint where in the avr backend the problem is?

[Bug fortran/91316] New: Derived type finalization failing

2019-07-31 Thread jrfsousa at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91316 Bug ID: 91316 Summary: Derived type finalization failing Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-07-31 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 --- Comment #3 from Steve Kargl --- On Wed, Jul 31, 2019 at 10:04:17PM +, kargl at gcc dot gnu.org wrote: > This change appears to break FreeBSD as well. See > > https://gcc.gnu.org/ml/gcc-testresults/2019-07/msg03699.html > Yep,

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-07-31 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c/91312] -Wconversion warning with += operator

2019-07-31 Thread kosotiro at yahoo dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 --- Comment #3 from Kostas Sotiropoulos --- (In reply to Andrew Pinski from comment #2) > THis is not a bug, In C, "i += MACRO;" is equivant to: > i = i + MACRO. > And since you are using a type smaller than int, it is prompted to int. > > NOTE

[Bug libstdc++/51333] [7/8 Regression] cxxabi.h incompatible with -fkeep-inline-functions at link time

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51333 Jonathan Wakely changed: What|Removed |Added Summary|[7/8/9 Regression] cxxabi.h |[7/8 Regression] cxxabi.h

[Bug libstdc++/91308] [7/8/9 Regression] unique_ptr assignment fails with different deleters

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91308 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Wed Jul 31 19:56:08 2019 New Revision: 273947 URL: https://gcc.gnu.org/viewcvs?rev=273947=gcc=rev Log: PR libstdc++/91308 fix constraints on unique_ptr assignment Backport from

[Bug libstdc++/51333] [7/8/9 Regression] cxxabi.h incompatible with -fkeep-inline-functions at link time

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51333 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Wed Jul 31 19:56:04 2019 New Revision: 273946 URL: https://gcc.gnu.org/viewcvs?rev=273946=gcc=rev Log: PR libstdc++/51333 Define recursive_init_error constructor non-inline The

[Bug tree-optimization/91315] missing strlen lower bound of a string known to be at least N characters

2019-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91315 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/91315] New: missing strlen lower bound of a string known to be at least N characters

2019-07-31 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91315 Bug ID: 91315 Summary: missing strlen lower bound of a string known to be at least N characters Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/91314] New: Confusing warning refers to nonexistent comma operator

2019-07-31 Thread Keith.S.Thompson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91314 Bug ID: 91314 Summary: Confusing warning refers to nonexistent comma operator Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/91264] modifying const-qual object in constexpr context not detected

2019-07-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91264 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #4 from Marek Polacek

[Bug target/89746] powerpc-none-eabi-gcc emits code using stfiwx to misaligned address

2019-07-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89746 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

2019-07-31 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 --- Comment #1 from seurer at gcc dot gnu.org --- I tried this on a different power7 system and it worked OK there. The failing system is running Fedora 28. The one that worked Red hat 6.10. Maybe it is distro related? I will try a couple of

[Bug c++/90538] [9/10 Regression] Redeclaration error when expanding parameter pack multiple times in a lambda

2019-07-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90538 --- Comment #2 from Jason Merrill --- Author: jason Date: Wed Jul 31 18:50:00 2019 New Revision: 273944 URL: https://gcc.gnu.org/viewcvs?rev=273944=gcc=rev Log: PR c++/90538 - multiple expansions of capture packs Previously, with

[Bug lto/91313] [10 regression] r273908 breaks lto on power 7

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

[Bug rtl-optimization/88233] combine fails to merge insns leaving unneeded reg copies

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

[Bug lto/91313] New: [10 regression] r273908 breaks lto on power 7

2019-07-31 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91313 Bug ID: 91313 Summary: [10 regression] r273908 breaks lto on power 7 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

2019-07-31 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91050 Peter Bergner changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

2019-07-31 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91050 --- Comment #15 from Peter Bergner --- Author: bergner Date: Wed Jul 31 17:18:40 2019 New Revision: 273941 URL: https://gcc.gnu.org/viewcvs?rev=273941=gcc=rev Log: PR target/91050 * config/rs6000/rs6000.opt (mdejagnu-cpu=):

[Bug c/91312] -Wconversion warning with += operator

2019-07-31 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from Andrew

[Bug c/91312] -Wconversion warning with += operator

2019-07-31 Thread kosotiro at yahoo dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 --- Comment #1 from Kostas Sotiropoulos --- Hi, When compiling the following code snippet with gcc 8.3.0 with -Werror=conversion option: #include #define MACRO 1 int main(void) { unsigned char i; i += MACRO; return i; } the following

[Bug c/91312] New: -Wconversion warning with += operator

2019-07-31 Thread kosotiro at yahoo dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312 Bug ID: 91312 Summary: -Wconversion warning with += operator Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ada/91169] [10 regression] cd2a31a FAILs

2019-07-31 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91169 --- Comment #8 from Eric Botcazou --- The patch totally overlooks that the index can wrap around during the traversal of the CONSTRUCTOR: if (index_type) index = wi::ext (index, TYPE_PRECISION (index_type),

[Bug ada/87100] FAIL: gnat.dg/config_pragma1.adb execution test

2019-07-31 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87100 John David Anglin changed: What|Removed |Added Last reconfirmed|2019-03-10 00:00:00 |2019-7-31 CC|

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #19 from H.J. Lu --- (In reply to Richard Biener from comment #17) > (In reply to Richard Biener from comment #16) > > (In reply to Richard Biener from comment #15) > > > Honza probably knows where we output the LTO symtab and why we

[Bug sanitizer/91311] __attribute__ ((aligned (128))) results in stack-use-after-scope and stack-buffer-overflow

2019-07-31 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91311 --- Comment #1 from Konstantin Kharlamov --- Created attachment 46652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46652=edit rr record for the testcase, results in stack-use-after-scope I'm also attaching the `rr` record for the

[Bug tree-optimization/91145] [9 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1143 with -march=skylake-avx512 -O3

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91145 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/91162] [7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:86 (error: invalid 'PHI' argument)

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91162 Richard Biener changed: What|Removed |Added Known to work||9.1.1 Target Milestone|9.2

[Bug tree-optimization/91162] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:86 (error: invalid 'PHI' argument)

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91162 --- Comment #6 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug tree-optimization/91145] [9 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1143 with -march=skylake-avx512 -O3

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91145 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug tree-optimization/91200] ICE on valid code at -O1: verify_ssa failed

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91200 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug tree-optimization/91126] [7/8/9 regression] Incorrect constant propagation of BIT_FIELD_REF

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91126 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug middle-end/91131] Bad bitfield coalescing

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91131 --- Comment #13 from Richard Biener --- Author: rguenth Date: Wed Jul 31 15:40:36 2019 New Revision: 273939 URL: https://gcc.gnu.org/viewcvs?rev=273939=gcc=rev Log: 2019-07-31 Richard Biener Backport from mainline 2019-07-19

[Bug sanitizer/91311] New: __attribute__ ((aligned (128))) results in stack-use-after-scope and stack-buffer-overflow

2019-07-31 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91311 Bug ID: 91311 Summary: __attribute__ ((aligned (128))) results in stack-use-after-scope and stack-buffer-overflow Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug lto/91299] LTO inlines a weak definition in presence of a non-weak definition from an ELF file

2019-07-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91299 --- Comment #6 from H.J. Lu --- (In reply to Martin Liška from comment #5) > (In reply to Richard Biener from comment #4) > > You want to look at the output of the linker resolution file (compile with > > -v -save-temps and look for

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug fortran/91310] Read overflow generated by character array assignment to self

2019-07-31 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310 --- Comment #4 from Fritz Reese --- Created attachment 46651 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46651=edit intermediate code for test case 2 You can see the central loop described in the original report from lines 18-25. The

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 --- Comment #6 from Martin Liška --- The name to function is given here: get_file_function_name Breakpoint 1, get_file_function_name (type=0x7fffd670 "I_65535_0") at /home/marxin/Programming/gcc/gcc/tree.c:9809 9809 if

[Bug libstdc++/91308] [7/8/9/10 Regression] unique_ptr assignment fails with different deleters

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91308 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Wed Jul 31 14:38:26 2019 New Revision: 273937 URL: https://gcc.gnu.org/viewcvs?rev=273937=gcc=rev Log: PR libstdc++/91308 fix constraints on unique_ptr assignment PR

[Bug fortran/91310] Read overflow generated by character array assignment to self

2019-07-31 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310 --- Comment #3 from Fritz Reese --- Created attachment 46650 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46650=edit intermediate code for test case 1 You can see the central condition described in the original report from lines 17-25,

[Bug tree-optimization/91280] [8/9 Regression] ICE in get_constraint_for_component_ref, at tree-ssa-structalias.c:3259 since r260354

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91280 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[8/9/10

[Bug tree-optimization/91280] [8/9/10 Regression] ICE in get_constraint_for_component_ref, at tree-ssa-structalias.c:3259 since r260354

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91280 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Jul 31 14:38:21 2019 New Revision: 273936 URL: https://gcc.gnu.org/viewcvs?rev=273936=gcc=rev Log: 2019-07-31 Richard Biener PR tree-optimization/91280 *

[Bug c/91192] [9 regression] non-deterministic ICE on invalid

2019-07-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91192 Jakub Jelinek changed: What|Removed |Added Summary|[9/10 regression] |[9 regression]

[Bug c/91192] [9/10 regression] non-deterministic ICE on invalid

2019-07-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91192 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jul 31 14:32:24 2019 New Revision: 273935 URL: https://gcc.gnu.org/viewcvs?rev=273935=gcc=rev Log: PR c/91192 * c-parser.c (c_parser_sizeof_expression): Call

[Bug fortran/91310] Read overflow generated by character array assignment to self

2019-07-31 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310 --- Comment #2 from Fritz Reese --- Created attachment 46649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46649=edit test case 2

[Bug fortran/91310] Read overflow generated by character array assignment to self

2019-07-31 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310 --- Comment #1 from Fritz Reese --- Created attachment 46648 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46648=edit test case 1

[Bug fortran/91310] New: Read overflow generated by character array assignment to self

2019-07-31 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310 Bug ID: 91310 Summary: Read overflow generated by character array assignment to self Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/91293] [8/9 Regression] Wrong code with -O3 -mavx2

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91293 --- Comment #6 from Richard Biener --- Author: rguenth Date: Wed Jul 31 14:15:37 2019 New Revision: 273934 URL: https://gcc.gnu.org/viewcvs?rev=273934=gcc=rev Log: 2019-07-31 Richard Biener PR tree-optimization/91293 *

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 --- Comment #5 from Martin Liška --- Confirmed: $ marxin@marxinbox:/tmp> gcc -flto pr91307-*.c -o a.out && objdump -S a.out | grep GLOBAL 00401109 <_GLOBAL__I_65535_0_ccIH3dv1.o.4348>: marxin@marxinbox:/tmp> gcc -flto pr91307-*.c -o

[Bug tree-optimization/91293] [8/9 Regression] Wrong code with -O3 -mavx2

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91293 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[8/9/10

[Bug c++/91309] New: Fails to compile when initializing template argument with immediately-invoked lambda

2019-07-31 Thread beachboy44 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91309 Bug ID: 91309 Summary: Fails to compile when initializing template argument with immediately-invoked lambda Product: gcc Version: 9.1.1 Status: UNCONFIRMED

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 --- Comment #4 from Richard Biener --- A simple two-file testcase like static void init(void) __attribute__((constructor)); static void init() { static volatile int i = 0; } int main() { return 0; } static void init2(void)

[Bug libstdc++/91308] [7/8/9/10 Regression] unique_ptr assignment fails with different deleters

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91308 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.5

[Bug target/91303] powerpc-rtems compile error libgcc

2019-07-31 Thread joel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91303 --- Comment #3 from Joel Sherrill --- Pursuing the assumption that the e500 files shouldn't be build, I decided to remove them from the t-savresfgpr files. With this patch, powerpc-rtems5 builds again: diff --git

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Richard Biener changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread gccbmw at lsmod dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 --- Comment #3 from Bernhard M. Wiedemann --- It seems to be triggered by nvme-cli/cmd_handler.h #define PLUGIN(name, cmds) \ static struct plugin plugin = { \ name

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

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

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #16 from Richard Biener --- (In reply to Richard Biener from comment #15) > Honza probably knows where we output the LTO symtab and why we do not put > undefs for builtins there. #include double y, z; void foo (); int main() {

[Bug lto/91307] -flto causes binary to vary

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

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #14 from rguenther at suse dot de --- On Wed, 31 Jul 2019, wschmidt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 > > Bill Schmidt changed: > >What|Removed

[Bug tree-optimization/91201] [7/8/9/10 Regression] SIMD not generated for horizontal sum of bytes in array

2019-07-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91201 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Wed Jul 31 13:49:26 2019 New Revision: 273932 URL: https://gcc.gnu.org/viewcvs?rev=273932=gcc=rev Log: PR tree-optimization/91201 * config/i386/mmx.md

[Bug target/91303] powerpc-rtems compile error libgcc

2019-07-31 Thread joel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91303 --- Comment #2 from Joel Sherrill --- I admit to being completely confused by the multitude of PwerPC variants but if the e500 was deleted, why does libgcc/config.host still include libgcc/config/rs6000/t-savresfgpr for multiple powerpc targets

[Bug lto/91307] -flto causes binary to vary

2019-07-31 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 Bill Schmidt changed: What|Removed |Added Known to fail||10.0, 8.3.0, 9.1.0 --- Comment #13 from

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #12 from Bill Schmidt --- (In reply to rguent...@suse.de from comment #11) > On Wed, 31 Jul 2019, wschmidt at linux dot ibm.com wrote: > > OK, so -mveclibabi=mass isn't needed to reproduce the issue, nor is > linking -lmassv or

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #11 from rguenther at suse dot de --- On Wed, 31 Jul 2019, wschmidt at linux dot ibm.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 > > --- Comment #10 from wschmidt at linux dot ibm.com --- > On 7/31/19 2:25 AM,

[Bug lto/91287] LTO disables linking with scalar MASS library (Fortran only)

2019-07-31 Thread wschmidt at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 --- Comment #10 from wschmidt at linux dot ibm.com --- On 7/31/19 2:25 AM, rguenther at suse dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287 > > --- Comment #9 from rguenther at suse dot de --- > On Wed, 31 Jul 2019, luoxhu at

[Bug c++/91304] maybe_unused attribute ignored on variable declared in if declaration

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91304 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/91308] [7/8/9/10 Regression] unique_ptr assignment fails with different deleters

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

[Bug libstdc++/91308] New: [7/8/9/10 Regression] unique_ptr assignment fails with different deleters

2019-07-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91308 Bug ID: 91308 Summary: [7/8/9/10 Regression] unique_ptr assignment fails with different deleters Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/91293] [8/9/10 Regression] Wrong code with -O3 -mavx2

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91293 --- Comment #4 from Richard Biener --- Equivalent testcase that doesn't run into the operator swapping and thus works: long long a; unsigned b, c; int d = 62; void e(long long *f, int p2) { *f = p2; } int xx = 5, yy = 4; int main() { for (int

[Bug c/91307] -flto causes binary to vary

2019-07-31 Thread sschricker at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 --- Comment #1 from Simon Schricker --- We also tried building with -pipe, but the observed behavior didn't change.

[Bug ipa/69678] Missed function specialization + partial devirtualization opportunity

2019-07-31 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69678 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/91307] New: -flto causes binary to vary

2019-07-31 Thread gccbmw at lsmod dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91307 Bug ID: 91307 Summary: -flto causes binary to vary Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

2019-07-31 Thread philipp.spilger at kip dot uni-heidelberg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 --- Comment #2 from Philipp Spilger --- Only reverting the "elf_low" insn changes of this commit leads to no encounter of the problem, i.e. the following diff "resolves" the problem on gcc-9_1_0-release. diff --git a/gcc/config/rs6000/rs6000.md

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

2019-07-31 Thread mueller at kip dot uni-heidelberg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91289 Eric Müller changed: What|Removed |Added CC||mueller at kip dot uni-heidelberg.

[Bug fortran/91300] Wrong runtime error message with allocate and errmsg=

2019-07-31 Thread zed.three at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91300 --- Comment #2 from zed.three at gmail dot com --- Forgive me, but what is stupid here? The perceived wisdom is that it is best practice to always use `stat` with `allocate`, and the addition of `errmsg` now gives us something portable to

[Bug libgcc/91306] New: [MSP430] libgcc/crtstuff.c: Alignment of frame_dummy .init_array entry is too big

2019-07-31 Thread jozefl.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91306 Bug ID: 91306 Summary: [MSP430] libgcc/crtstuff.c: Alignment of frame_dummy .init_array entry is too big Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug tree-optimization/91178] [9 Regression] Infinite recursion in split_constant_offset in slp after r260289

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[9/10

[Bug tree-optimization/91178] [9 Regression] Infinite recursion in split_constant_offset in slp after r260289

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178 --- Comment #12 from Richard Biener --- Author: rguenth Date: Wed Jul 31 09:46:18 2019 New Revision: 273928 URL: https://gcc.gnu.org/viewcvs?rev=273928=gcc=rev Log: 2019-07-31 Richard Biener PR tree-optimization/91178 *

[Bug tree-optimization/91257] Compile-time and memory-hog hog

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91257 Richard Biener changed: What|Removed |Added Target Milestone|7.5 |--- Summary|[7/8/9/10

[Bug tree-optimization/90579] [8/9/10 Regression] Huge store forward stall due to vectorizer

2019-07-31 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 --- Comment #8 from rguenther at suse dot de --- On Wed, 31 Jul 2019, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 > > --- Comment #7 from Hongtao.liu --- > Transform second loop as > > diff --git

[Bug ipa/91305] ICF compile-time issues

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

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-07-31 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #1 from Lauri Kasanen --- clang 7.0.0 outputs the expected values, aka the gcc -O0 ones, at all optimization levels. (it calls the builtin __builtin_altivec_crypto_vpmsumd, but no other changes)

[Bug tree-optimization/90579] [8/9/10 Regression] Huge store forward stall due to vectorizer

2019-07-31 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 --- Comment #7 from Hongtao.liu --- Transform second loop as diff --git a/loop.c b/loop.c index feea9ea..81a3ea6 100644 --- a/loop.c +++ b/loop.c @@ -9,6 +9,6 @@ loop (int k, double x) for (i=0;i<6;i++) r[i] = x * a[i + k]; for

[Bug ipa/91305] New: ICF compile-time issues

2019-07-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91305 Bug ID: 91305 Summary: ICF compile-time issues Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee:

  1   2   >