[Bug c++/86608] [7/8/9 Regression] volatile variable is taken as a constexpr

2018-12-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86608 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/88435] New: Compiling with optimizations causes the compiler to fail.

2018-12-10 Thread mattis at mattisborgen dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88435 Bug ID: 88435 Summary: Compiling with optimizations causes the compiler to fail. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/88271] Omit test instruction after add

2018-12-10 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88271 --- Comment #10 from Daniel Fruzynski --- Here is possible code transformation to equivalent form, where this optimization can be simply applied. This change also has a bit surprising side effect, second nested while loop is unrolled. [code] voi

[Bug rtl-optimization/88435] Compiling with optimizations causes the compiler to fail.

2018-12-10 Thread mattis at mattisborgen dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88435 --- Comment #1 from Mattis Lind --- The very same bug is present in 9.0 The problem goes away if you change to pdp-11/40 rather than pdp-11/10 using -m40 option.

[Bug testsuite/88436] New: [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail

2018-12-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88436 Bug ID: 88436 Summary: [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated

2018-12-10 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88422 --- Comment #4 from Jim Wilson --- I used a cross compiler, so ulong_type is easy enough to check. For simple-object-elf.i I see __extension__ typedef unsigned long long uint64_t; ... __extension__ typedef uint64_t ulong_type; which looks right.

[Bug target/88435] Compiling with optimizations causes the compiler to fail.

2018-12-10 Thread pkoning at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88435 --- Comment #2 from pkoning at gcc dot gnu.org --- I don't see it in the current V9, rev 266823. ./xgcc -B. -O2 -S ~/Documents/pr88435.c -m10 cat pr88435.s .text .even .globl _pollConsole _pollConsole: mov

[Bug c/88437] New: Excessive struct alignment on x86_64

2018-12-10 Thread jwerner at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88437 Bug ID: 88437 Summary: Excessive struct alignment on x86_64 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin

2018-12-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979 --- Comment #4 from Dominique d'Humieres --- Created attachment 45203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45203&action=edit auto-host.h > Any particular tuning option (what -march/-mtune is the default)? Target: x86_64-apple-da

[Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin

2018-12-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979 --- Comment #5 from Dominique d'Humieres --- Created attachment 45204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45204&action=edit tarball for gcc9 -S -da /opt/gcc/work/gcc/testsuite/gcc.c-torture/compile/pr69102.c -Og -fschedule-insns2

[Bug fortran/88438] New: A pointer function reference can denote a variable in any variable definition context.

2018-12-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88438 Bug ID: 88438 Summary: A pointer function reference can denote a variable in any variable definition context. Product: gcc Version: 9.0 Status: UNCONFIRMED Seve

[Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87950 --- Comment #13 from Martin Sebor --- *** Bug 87951 has been marked as a duplicate of this bug. ***

[Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87951 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/88439] New: missing -Wrestrict on memcpy with a variable offset

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88439 Bug ID: 88439 Summary: missing -Wrestrict on memcpy with a variable offset Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/85570] Resolution of unqualified-id in member access involving templates fails

2018-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570 --- Comment #2 from Andrew Pinski --- Note typedef has a similar issue and you don't even need to have main or an use of test to show the issue: void func() {} }; template struct C : public A { typedef A TheA; }; template void test1() { C

[Bug tree-optimization/88440] New: size optimization of memcpy-like code

2018-12-10 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88440 Bug ID: 88440 Summary: size optimization of memcpy-like code Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug c++/88434] operator< should take precedence over template argument in basic.lookup.classref

2018-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88434 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFI

[Bug tree-optimization/88440] size optimization of memcpy-like code

2018-12-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88440 --- Comment #1 from Andrew Pinski --- I thought I had a dup of this bug somewhere which was asking for this optimization to moved to -O2 (and -Os) and above rather than keep it at -O3 and above.

[Bug tree-optimization/88441] New: missing warning on a buffer overflow with non-constant offset and constant size

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88441 Bug ID: 88441 Summary: missing warning on a buffer overflow with non-constant offset and constant size Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: n

[Bug c/88442] New: Misleading error message with duplicated struct definitions

2018-12-10 Thread a...@linux-foundation.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88442 Bug ID: 88442 Summary: Misleading error message with duplicated struct definitions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/88443] New: [meta-bug] bogus/missing -Wstringop-overflow warnings

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug ID: 88443 Summary: [meta-bug] bogus/missing -Wstringop-overflow warnings Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/88433] wrong code for printf after a pointer cast from a pointer to an adjacent object

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88433 --- Comment #1 from Martin Sebor --- Then again, the "problem" would disappear if the middle-end could be made to understand that memcmp(&p, &q, sizeof p) is the same thing as p == q for any integer or pointer types p and q. So maybe it is a mid

[Bug tree-optimization/86196] [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86196 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue Dec 11 01:22:08 2018 New Revision: 266967 URL: https://gcc.gnu.org/viewcvs?rev=266967&root=gcc&view=rev Log: PR tree-optimization/86196 - Bogus -Wrestrict on memcpy between array elem

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 86196, which changed state. Bug 86196 Summary: [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86196 What|Removed

[Bug tree-optimization/86196] [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices

2018-12-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86196 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/87922] ICE in gfc_wide_strlen, at fortran/scanner.c:142

2018-12-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87922 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Dec 11 02:34:44 2018 New Revision: 266969 URL: https://gcc.gnu.org/viewcvs?rev=266969&root=gcc&view=rev Log: 2018-12-10 Steven G. Kargl PR fortran/87922

[Bug fortran/87922] ICE in gfc_wide_strlen, at fortran/scanner.c:142

2018-12-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87922 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/88139] ICE in get_c_type_name, at fortran/dump-parse-tree.c:3047

2018-12-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88139 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/88139] ICE in get_c_type_name, at fortran/dump-parse-tree.c:3047

2018-12-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88139 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #4) > Record F2018 constraint. > > C1554 If proc-language-binding-spec is specified for a procedure, each >of its dummy arguments shall be an interoperable

[Bug tree-optimization/88444] New: [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in ge

2018-12-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88444 Bug ID: 88444 Summary: [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have

[Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled

2018-12-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87951 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug tree-optimization/80520] [7/8/9 Regression] Performance regression from missing if-conversion

2018-12-10 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520 --- Comment #12 from Jeffrey A. Law --- Author: law Date: Tue Dec 11 04:56:54 2018 New Revision: 266971 URL: https://gcc.gnu.org/viewcvs?rev=266971&root=gcc&view=rev Log: PR tree-optimization/80520 * gimple-ssa-split-paths.c (is_

[Bug tree-optimization/33315] stores not commoned by sinking

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

[Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment)

2018-12-10 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88261 --- Comment #4 from Bernd Edlinger --- For G++ versions, where this was accepted with -fpermissive, the code was wrong: struct str { int len; char s[]; }; int foo() { struct str b = { 2, "b" }; return sizeof(b); } => movl$4,

[Bug target/88437] Excessive struct alignment on x86_64

2018-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88437 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/88437] Excessive struct alignment on x86_64

2018-12-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88437 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_val

2018-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88444 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers

2018-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88430 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 07:45:47 2018 New Revision: 266972 URL: https://gcc.gnu.org/viewcvs?rev=266972&root=gcc&view=rev Log: PR c/88430 * quadmath_weak.h (__qmath2): Add __quadmath_th

<    1   2