[Bug target/87149] ICE in extract_insn, at recog.c:2305 on ppc64le

2019-02-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87149 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Thu Feb 14 19:03:54 2019 New Revision: 268890 URL: https://gcc.gnu.org/viewcvs?rev=268890&root=gcc&view=rev Log: Backport from trunk 2018-08-31 Segher Boessenkool

[Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master

2019-02-14 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349 --- Comment #6 from Eric Botcazou --- > My reproducer described in the first comment was: > 1) build gcc trunk w/o bootstrap and install it > 2) use the compiler and build gcc-8 branch w/o bootstrap > 3) Ada FE is successfully built, but Ada runt

[Bug fortran/89352] Deferred length character array pointer error

2019-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/68241] [meta-bug] [F03] Deferred-length character

2019-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 89352, which changed state. Bug 89352 Summary: Deferred length character array pointer error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352 What|Removed |Added --

[Bug fortran/71880] pointer to allocatable character

2019-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880 Dominique d'Humieres changed: What|Removed |Added CC||clange001 at gmail dot com --- Co

[Bug target/88892] [8 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy

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

[Bug rtl-optimization/85805] [7/8 Regression] Wrong code for 64 bit comparisons on avr-gcc

2019-02-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805 --- Comment #14 from Segher Boessenkool --- I backported it anyway.

[Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement

2019-02-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248 --- Comment #8 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Thu Feb 14 20:24:54 2019 New Revision: 268895 URL: https://gcc.gnu.org/viewcvs?rev=268895&root=gcc&view=rev Log: 2019-02-14 Harald Anlauf PR fortran/88248

[Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement

2019-02-14 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248 --- Comment #9 from Harald Anlauf --- Fixed.

[Bug lto/89358] New: Combining -std=c++14 and -std=c++17 objects gives ODR warnings

2019-02-14 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358 Bug ID: 89358 Summary: Combining -std=c++14 and -std=c++17 objects gives ODR warnings Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal P

[Bug lto/89358] Combining -std=c++14 and -std=c++17 objects gives ODR warnings

2019-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-14 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321 --- Comment #7 from ian at gcc dot gnu.org --- Author: ian Date: Thu Feb 14 21:07:13 2019 New Revision: 268904 URL: https://gcc.gnu.org/viewcvs?rev=268904&root=gcc&view=rev Log: PR go/89321 compiler: copy has_padding field from conve

[Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-14 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.

2019-02-14 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552 --- Comment #5 from Janne Blomqvist --- Author: jb Date: Thu Feb 14 21:33:29 2019 New Revision: 268906 URL: https://gcc.gnu.org/viewcvs?rev=268906&root=gcc&view=rev Log: PR 81552 Improve and document -flag-init-integer Make the option handling

[Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.

2019-02-14 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552 Janne Blomqvist changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement

2019-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/89077] ICE using * as len specifier for character parameter

2019-02-14 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077 --- Comment #16 from Harald Anlauf --- Regarding the unwanted padding with \0, the following patch seems to solve the issue with transfer. Index: decl.c === --- decl.c (revisio

[Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648

2019-02-14 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835 --- Comment #9 from Mark Wielaard --- (In reply to Martin Sebor from comment #8) > The patch I posted for the related pr88993 also relaxes this warning for > printf and fprintf: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00224.html > > Like

[Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Feb 14 22:57:34 2019 New Revision: 268908 URL: https://gcc.gnu.org/viewcvs?rev=268908&root=gcc&view=rev Log: Don't offer suggestions for compiler-generated variables (PR c++/85515)

[Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code

2019-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337 --- Comment #9 from Martin Sebor --- The warning is very simple: it just looks for excessive sizes in calls emitted in the optimized IL. When the call is there (either because it's in the source code as is or because it's been synthesized by GCC

[Bug c++/86329] Bogus fix-it hint: note: suggested alternative: '._72'

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86329 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Thu Feb 14 23:02:45 2019 New Revision: 268909 URL: https://gcc.gnu.org/viewcvs?rev=268909&root=gcc&view=rev Log: C++: don't offer bogus "._0" suggestions (PR c++/86329) PR c++/86329 r

[Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Feb 14 23:10:47 2019 New Revision: 268913 URL: https://gcc.gnu.org/viewcvs?rev=268913&root=gcc&view=rev Log: PR rtl-optimization/89354 * combine.c (make_extraction): P

[Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Feb 14 23:12:26 2019 New Revision: 268914 URL: https://gcc.gnu.org/viewcvs?rev=268914&root=gcc&view=rev Log: PR rtl-optimization/89354 * combine.c (make_extraction): P

[Bug c++/88795] ICE on class-template argument deduction if non-type parameter has indirection

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88795 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Thu Feb 14 23:14:56 2019 New Revision: 268915 URL: https://gcc.gnu.org/viewcvs?rev=268915&root=gcc&view=rev Log: Fix ICE on class-template argument deduction (PR c++/88795) PR c++/887

[Bug c++/89036] [8 Regression] ICE if destructor has a requires

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Feb 14 23:17:51 2019 New Revision: 268916 URL: https://gcc.gnu.org/viewcvs?rev=268916&root=gcc&view=rev Log: C++ concepts: fix ICE with requires on dtors (PR c++/89036) PR c++/890

[Bug c++/67491] [meta-bug] concepts issues

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 89036, which changed state. Bug 89036 Summary: [8 Regression] ICE if destructor has a requires https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036 What|Removed |Added

[Bug c++/89036] [8 Regression] ICE if destructor has a requires

2019-02-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2019-02-14 Thread danielmicay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #2 from Daniel Micay --- This has now been implemented in Clang as __builtin_dynamic_object_size. There's a thread on the GCC mailing list about it at https://www.mail-archive.com/gcc@gcc.gnu.org/msg87230.html.

[Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518

2019-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350 --- Comment #1 from Martin Sebor --- The -Wstringop-overflow warning is a consequence of pointer offsets being treated as unsigned integers, argc being signed, and the object size computation returning scalars rather than ranges. In the first te

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 --- Comment #2 from Marek Polacek --- A similar testcase template auto fn () -> decltype(unsigned{0} + T(1)); auto e = fn();

[Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648

2019-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835 --- Comment #10 from Martin Sebor --- I've built the top of binutils-gdb with the patch referenced in comment #8 applied and with -Wformat-overflow=2 and -Wformat-truncation=2 and got the following breakdown: DiagnosticCo

[Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648

2019-02-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835 --- Comment #11 from Martin Sebor --- Ah, but you mentioned elfutilts, not binutils. I've now downloaded and built elfutils-0.175. It took a bit more effort because --disable-werror doesn't work there but once I got past that I just got the thr

[Bug go/89168] FAIL: cmd/go/internal/load

2019-02-14 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89168 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Fri Feb 15 00:36:50 2019 New Revision: 268922 URL: https://gcc.gnu.org/viewcvs?rev=268922&root=gcc&view=rev Log: PR go/89168 libgo: change gotest to run examples with o

[Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648

2019-02-14 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835 --- Comment #12 from Mark Wielaard --- (In reply to Martin Sebor from comment #11) > Ah, but you mentioned elfutilts, not binutils. I've now downloaded and > built elfutils-0.175. It took a bit more effort because --disable-werror > doesn't wor

[Bug go/89168] FAIL: cmd/go/internal/load

2019-02-14 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89168 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/70149] [F08] Character pointer initialization causes ICE

2019-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #13 from Domi

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 --- Comment #3 from Marek Polacek --- That revision also changes mangling of fn from decltype (unsigned short{2u}+((int)(3))) fn() to decltype ((2u)+((int)(3))) fn() template auto fn () -> decltype(unsigned{2u} + (T)3) { return 42; } template a

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 --- Comment #4 from Marek Polacek --- reshape_init turns {NON_LVALUE_EXPR <2>} into NON_LVALUE_EXPR <2> and then the mangled name misses "tlE".

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2019-02-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 --- Comment #2 from Eric Gallager --- There's probably a lot more bugs that should fall under this meta-bug than currently do; I'll leave finding them all for another day though (or for someone else to do)

[Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518

2019-02-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350 --- Comment #2 from Eric Gallager --- (In reply to Martin Sebor from comment #1) > > The test case makes the tacit assumption that argc is necessarily > non-negative. That makes sense for the argc argument to main but not in > other situations.

[Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648

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

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:17:24 2019 New Revision: 268924 URL: https://gcc.gnu.org/viewcvs?rev=268924&root=gcc&view=rev Log: PR other/89342 * optc-save-gen.awk: Handle optimize_fast l

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:36:23 2019 New Revision: 268925 URL: https://gcc.gnu.org/viewcvs?rev=268925&root=gcc&view=rev Log: PR other/89342 * optc-save-gen.awk: Handle optimize_fast l

[Bug c/89340] [7/8/9 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:38:09 2019 New Revision: 268926 URL: https://gcc.gnu.org/viewcvs?rev=268926&root=gcc&view=rev Log: PR c/89340 * c-decl.c (start_function): Clear TREE_PUBLIC

[Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:39:45 2019 New Revision: 268927 URL: https://gcc.gnu.org/viewcvs?rev=268927&root=gcc&view=rev Log: PR tree-optimization/89278 * tree-loop-distribution.c: Inc

[Bug target/89355] Unnecessary ENDBR

2019-02-14 Thread crazylht at gmail dot com
; .p2align 4,,10 > .p2align 3 > .L3: > .L2: > endbr64 <<< Why is ENDBR here? There is no indirect branch. > movl$22, %eax > ret > .cfi_endproc > .LFE0: > .size test, .-test > .ident "GCC: (GNU) 9.0.

[Bug target/89355] Unnecessary ENDBR

2019-02-14 Thread crazylht at gmail dot com
; .p2align 4,,10 > .p2align 3 > .L3: > .L2: > endbr64 <<< Why is ENDBR here? There is no indirect branch. > movl$22, %eax > ret > .cfi_endproc > .LFE0: > .size test, .-test > .ident "GCC: (GNU) 9.0.

[Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:50:26 2019 New Revision: 268928 URL: https://gcc.gnu.org/viewcvs?rev=268928&root=gcc&view=rev Log: PR tree-optimization/89278 * tree-loop-distribution.c: Inc

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

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

[Bug other/69006] [6 Regression] Extraneous newline emitted between error messages in GCC 6

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69006 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:52:50 2019 New Revision: 268930 URL: https://gcc.gnu.org/viewcvs?rev=268930&root=gcc&view=rev Log: PR other/69006 PR testsuite/88920 * lib/gcc-dg.exp

[Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920 --- Comment #27 from Jakub Jelinek --- Author: jakub Date: Fri Feb 15 07:52:50 2019 New Revision: 268930 URL: https://gcc.gnu.org/viewcvs?rev=268930&root=gcc&view=rev Log: PR other/69006 PR testsuite/88920 * lib/gcc-dg.ex

[Bug c/89340] [7/8 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821

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

[Bug rtl-optimization/89354] [7 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] Combine |[7 Regression] Combine pass

<    1   2