[Bug target/84301] [6/7/8 Regression] ICE in create_pre_exit, at mode-switching.c:451

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84301 Jakub Jelinek changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comment

[Bug c++/77522] [6/7/8 Regression] ICE on invalid code C++14 code: in tsubst_decl, at cp/pt.c:12447

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77522 --- Comment #4 from Jakub Jelinek --- The ICE got fixed with r251433. Since then the error is: pr77522.C: In instantiation of ‘void f(T) [with T = int]’: pr77522.C:8:7: required from here pr77522.C:3:8: error: use of ‘f(T) [with T =

[Bug c/84304] tree check fail in to_wide, at tree.h:5527

2018-02-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84304 David Binderman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84281] Heap grows indefinitely

2018-02-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84281 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/84278] claims initv4sfv2sf is available but inits through stack

2018-02-09 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84278 --- Comment #5 from rguenther at suse dot de --- On Thu, 8 Feb 2018, ro at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84278 > > Rainer Orth changed: > >What|Removed |Added >

[Bug c/83390] valgrind error in lra_eliminate_regs_1

2018-02-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83390 David Binderman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/84278] claims initv4sfv2sf is available but inits through stack

2018-02-09 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84278 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from rguenther at suse dot de --- [...] >> +FAIL: gcc.target/i386/pr84278.c scan-assembler-not (%.sp) > > I'm blind - I cannot spot (%.sp) in the assembler. Hmm.

[Bug c/84298] Shared TYPE_SIZE_UNIT ends up with freed SSA names

2018-02-09 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84298 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/84305] New: ICE inlining a VLA cast expression

2018-02-09 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84305 Bug ID: 84305 Summary: ICE inlining a VLA cast expression Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/84305] ICE inlining a VLA cast expression

2018-02-09 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84305 --- Comment #1 from rsandifo at gcc dot gnu.org --- This testcase: -- int res, a, b; void *foo; static void f2 (int arg) { res = ((int (*)[arg][b]) foo)[0][0][0]; } void f1 (void) {

[Bug target/84251] [8 Regression] Performance regression in gcc 8 when comparing floating point numbers

2018-02-09 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84251 --- Comment #5 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #2) > This changed with r254167. Please see PR 82692, comment #4. We need UNSPECs as an alternative to CCFPUmode to prevent combine from changing CCFPUmode to CCFPmode.

[Bug c/84304] tree check fail in to_wide, at tree.h:5527

2018-02-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84304 --- Comment #3 from Richard Biener --- Seems to be fixed already? The backtrace is too short to make me remember the issue.

[Bug c++/84306] New: Wrong overload selected with -std=c++17, explicit and {}

2018-02-09 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84306 Bug ID: 84306 Summary: Wrong overload selected with -std=c++17, explicit and {} Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug c/84304] tree check fail in to_wide, at tree.h:5527

2018-02-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84304 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/83008] [performance] Is it better to avoid extra instructions in data passing between loops?

2018-02-09 Thread sergey.shalnov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83008 sergey.shalnov at intel dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/84310] -falign-{labels,loops,jumps} with value >= 32768+1 cause a segfault

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84310 --- Comment #1 from Jakub Jelinek --- It should also be a power of 2, shouldn't it? Aligning anything to 4097 bytes is just weird.

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #13 from Peter Bergner --- Author: bergner Date: Fri Feb 9 16:32:37 2018 New Revision: 257531 URL: https://gcc.gnu.org/viewcvs?rev=257531=gcc=rev Log: gcc/ PR target/83926 * config/rs6000/vsx.md (vsx_mul_v2di):

[Bug tree-optimization/84312] New: Variadic function without named argument not inlined

2018-02-09 Thread denis.campredon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84312 Bug ID: 84312 Summary: Variadic function without named argument not inlined Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/84311] New: compiler accepts invalid multiple type-specifiers in a decl-specifier-seq for an enum

2018-02-09 Thread smw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84311 Bug ID: 84311 Summary: compiler accepts invalid multiple type-specifiers in a decl-specifier-seq for an enum Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED Target Milestone|---

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3 from Andreas

[Bug tree-optimization/84315] New: missing -Wnonnull for trivial null pointer dereference

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315 Bug ID: 84315 Summary: missing -Wnonnull for trivial null pointer dereference Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/84212] -Wno-* does not disable warnings from -flto link stage

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84212 --- Comment #7 from Martin Sebor --- Author: msebor Date: Fri Feb 9 17:58:54 2018 New Revision: 257534 URL: https://gcc.gnu.org/viewcvs?rev=257534=gcc=rev Log: PR lto/84212 - -Wno-* does not disable warnings from -flto link stage

[Bug lto/84316] New: -Wnull-dereference doesn't work with LTO

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84316 Bug ID: 84316 Summary: -Wnull-dereference doesn't work with LTO Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference

2018-02-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Aww rats, I forgot about -Wnull-dereference. > > It's really unfortunate that -Wnull-dereference is disabled by default. Maybe that's a decision worth

[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309 --- Comment #5 from Jakub Jelinek --- (In reply to Eric Gallager from comment #4) > (In reply to Jakub Jelinek from comment #2) > > Isn't this just an invalid test? I mean, when working with floating point, > > especially when using

[Bug target/84266] mmintrin.h intrinsic headers for PowerPC code fails on power9

2018-02-09 Thread munroesj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84266 --- Comment #7 from Steven Munroe --- Created attachment 43388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43388=edit correct mmintrin.h for power9 2018-02-09 Steven Munroe * config/rs6000/mmintrin.h

[Bug debug/84317] New: [8 regression] SEGV in dwarf2out.c (dwarf2out_source_line)

2018-02-09 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84317 Bug ID: 84317 Summary: [8 regression] SEGV in dwarf2out.c (dwarf2out_source_line) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/84296] [8 Regression] ICE in finish_member_declaration

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84296 --- Comment #2 from Jason Merrill --- *** Bug 84314 has been marked as a duplicate of this bug. ***

[Bug c++/84314] [8 Regression] Another ICE in finish_member_declaration

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/81917] [6/7/8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug lto/84212] -Wno-* does not disable warnings from -flto link stage

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

[Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference

2018-02-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/84226] [8 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1974 on ppc64le

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84226 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Feb 9 18:19:08 2018 New Revision: 257536 URL: https://gcc.gnu.org/viewcvs?rev=257536=gcc=rev Log: PR target/84226 * config/rs6000/vsx.md (p9_xxbrq_v16qi): Change

[Bug lto/84316] missing -Wnull-dereference on a variable null array reference with LTO

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84316 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug c++/84296] [8 Regression] ICE in finish_member_declaration

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84296 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315 Martin Sebor changed: What|Removed |Added Keywords||diagnostic See Also|

[Bug target/84226] [8 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1974 on ppc64le

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

[Bug debug/84317] [8 regression] SEGV in dwarf2out.c (dwarf2out_source_line)

2018-02-09 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84317 Rainer Orth changed: What|Removed |Added Target Milestone|--- |8.0

[Bug rtl-optimization/57193] [6/7/8 Regression] suboptimal register allocation for SSE registers

2018-02-09 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57193 --- Comment #16 from Vladimir Makarov --- Author: vmakarov Date: Fri Feb 9 18:23:58 2018 New Revision: 257537 URL: https://gcc.gnu.org/viewcvs?rev=257537=gcc=rev Log: 2018-02-09 Vladimir Makarov PR

[Bug c++/83714] [8 Regression] ICE in build_address, at cp/typeck.c:5733

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83714 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Feb 9 19:10:42 2018 New Revision: 257538 URL: https://gcc.gnu.org/viewcvs?rev=257538=gcc=rev Log: PR c++/84296 - ICE with qualified-id in template. PR c++/83714

[Bug c++/84296] [8 Regression] ICE in finish_member_declaration

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84296 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Feb 9 19:10:42 2018 New Revision: 257538 URL: https://gcc.gnu.org/viewcvs?rev=257538=gcc=rev Log: PR c++/84296 - ICE with qualified-id in template. PR c++/83714

[Bug c++/84296] [8 Regression] ICE in finish_member_declaration

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84296 Jason Merrill changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #5

[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math

2018-02-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c/84293] system-header macro expansion location gives unexpected warning

2018-02-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84293 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Fri Feb 9 19:31:10 2018 New Revision: 257539 URL: https://gcc.gnu.org/viewcvs?rev=257539=gcc=rev Log: [PR c/84293] Unexpected strict-alias warning

[Bug c++/84283] [8 Regression] std::map::insert(const_iterator, P&&) now ambiguous with std::map::insert(InputIterator, InputIterator)

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84283 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/84293] system-header macro expansion location gives unexpected warning

2018-02-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84293 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/84266] mmintrin.h intrinsic headers for PowerPC code fails on power9

2018-02-09 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84266 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug sanitizer/83987] [6/7/8 Regression] ICE with OpenMP, sanitizer and virtual bases

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83987 --- Comment #7 from Jakub Jelinek --- Created attachment 43386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43386=edit gcc8-pr83987.patch Untested fix.

[Bug target/83307] Miscompilation of range_for with initializer_list in constructors on MacOS (works on Linux)

2018-02-09 Thread greenc at fnal dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83307 --- Comment #1 from Chris Green --- Verified as continuing to fail on MacOS High Sierra (XCode 9.2 / 9C40b) with GCC 7.3.0 from homebrew with -DTRY=0 and -DTRY=1.

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84314] [8 Regression] Another ICE in finish_member_declaration

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug fortran/84313] New: [F08] reject procedure pointers in COMMON blocks

2018-02-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84313 Bug ID: 84313 Summary: [F08] reject procedure pointers in COMMON blocks Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/84314] New: [8 Regression] Another ICE in finish_member_declaration

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314 Bug ID: 84314 Summary: [8 Regression] Another ICE in finish_member_declaration Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/84298] Shared TYPE_SIZE_UNIT ends up with freed SSA names

2018-02-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84298 --- Comment #4 from joseph at codesourcery dot com --- On Fri, 9 Feb 2018, rguenth at gcc dot gnu.org wrote: > The fix is to place a DECL_EXPR somewhere by the FE. We have some duplicates > with similar issues. Should c_fully_fold_internal

[Bug fortran/84276] Invalid error for valid statement function

2018-02-09 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84276 --- Comment #9 from Steve Kargl --- On Fri, Feb 09, 2018 at 01:52:03PM +, mecej4 at outlook dot com wrote: > (In reply to Steve Kargl from comment #7) > > Ugh. Statement functions should be removed from the Standard. > > The simply fix, of

[Bug c++/84311] compiler accepts invalid multiple type-specifiers in a decl-specifier-seq for an enum

2018-02-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84311 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 David Malcolm changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug target/84301] [6/7/8 Regression] ICE in create_pre_exit, at mode-switching.c:451

2018-02-09 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84301 --- Comment #4 from Alexander Monakov --- Moreover, without --param selsched-max-lookahead=2 sel-sched moves both the assignment and use into middle of BB 2, breaking the assumption in mode-switching that retval use is the last insn: 249

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #11 from David Malcolm --- Looks like a GC issue; I was able to reproduce it, albeit *very* slowly, via: --param ggc-min-expand=0 --param ggc-min-heapsize=0 on a slightly hacked up version of attachment 42843.

[Bug lto/84213] [8 Regression] 521.wrf_r from SPEC 2017 fails to build (link) with LTO

2018-02-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84213 --- Comment #17 from Martin Jambor --- Yes, 521.wrf_r indeed now builds fine with LTO. Thanks everyone for a quick fix.

[Bug lto/84213] [8 Regression] 521.wrf_r from SPEC 2017 fails to build (link) with LTO

2018-02-09 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84213 --- Comment #18 from Pierre-Marie de Rodat --- Excellent, thank you for the feedback!

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/84276] Invalid error for valid statement function

2018-02-09 Thread mecej4 at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84276 --- Comment #10 from mecej4 --- (In reply to Steve Kargl from comment #9) > On Fri, Feb 09, 2018 at 01:52:03PM +, mecej4 at outlook dot com wrote: > > (In reply to Steve Kargl from comment #7) > > > ... > > > w = qofs(i = i, s = hh) >

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #12 from Jakub Jelinek --- The problem goes away even in the original unmodified dcp.ii with -msse2 -mfpmath=sse or with -ffloat-store, which means most likely the source just relies on excess precision not happening. If so, this is

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #18 from Peter Bergner --- (In reply to seurer from comment #16) > gimple folding of rs6000 builtins has been disabled. > FAIL: gcc.target/powerpc/pr83926.c (test for excess errors) > > This happens on all the testers both BE and

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #13 from David Malcolm --- (In reply to David Malcolm from comment #12) > Turning the cgraphunit.c:493 > gcc_collect (); > into > selftest::forcibly_ggc_collect (); > and removing the: > --param ggc-min-expand=0 --param

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #7 from Jakub Jelinek --- Removing the 4 __builtin_expect uses doesn't help either though. --- dcp.ii 2018-02-09 21:21:16.675015748 +0100 +++ dcp.ii 2018-02-09 21:38:18.795348083 +0100 @@ -284532,7 +284532,7 @@ void

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #8 from Jakub Jelinek --- Commenting out the OpenMP pragmas and/or leaving out -fopenmp for dcp.ii doesn't help either.

[Bug sanitizer/83987] [6/7/8 Regression] ICE with OpenMP, sanitizer and virtual bases

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83987 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Feb 9 23:22:43 2018 New Revision: 257545 URL: https://gcc.gnu.org/viewcvs?rev=257545=gcc=rev Log: PR sanitizer/83987 * omp-low.c

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread floessie.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #10 from Flössie --- > Have you tried -fsanitize=address -fsanitize=undefined on the code? Not yet on i686 with 7.3. We run RT occasionally with sanitizers when there are hard to debug problems, but I must admit, not yet on this

[Bug c++/81917] [6/7/8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2018-02-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Feb 9 21:01:49 2018 New Revision: 257542 URL: https://gcc.gnu.org/viewcvs?rev=257542=gcc=rev Log: PR c++/81917 - ICE with void_t and partial specialization. * pt.c

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #11 from Jakub Jelinek --- Adding __attribute__((optimize (0))) to DCPProfile::apply also does help, which means the problem is likely in that method or something that is inline into it.

[Bug c++/83372] Compiler segfaults building Mir

2018-02-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83372 --- Comment #14 from David Malcolm --- Created attachment 43389 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43389=edit The slightly tweaked version of the source with which I can reproduce this I was able to reliably reproduce with

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84279 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2018-02-08

[Bug rtl-optimization/84308] [7/8 Regression] Memory leak in spread_components

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84308 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Feb 9 23:21:35 2018 New Revision: 257544 URL: https://gcc.gnu.org/viewcvs?rev=257544=gcc=rev Log: PR rtl-optimization/84308 * shrink-wrap.c (spread_components):

[Bug c++/84318] [6/7/8 Regression] attribute deprecated on function templates different than class templates

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Component|debug

[Bug fortran/54223] Statement function statement with dummy arguments that are also OPTIONAL may crash in wrong calls

2018-02-09 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54223 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #9 from Jakub Jelinek --- Leaving -ftree-vectorize out doesn't help either, -fno-inline helps though.

[Bug fortran/84276] Invalid error for valid statement function

2018-02-09 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84276 --- Comment #11 from Steve Kargl --- On Fri, Feb 09, 2018 at 09:15:00PM +, mecej4 at outlook dot com wrote: > --- Comment #10 from mecej4 --- > (In reply to Steve Kargl from comment #9) > > On Fri, Feb 09, 2018 at 01:52:03PM +, mecej4

[Bug middle-end/70831] [6/7/8 Regression] FTBFS: Build fails with bootstrap-lto and profiledbootstrap

2018-02-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70831 Jeffrey A. Law changed: What|Removed |Added Priority|P2 |P4 --- Comment #15 from Jeffrey A. Law

[Bug debug/84318] New: attribute deprecated on function templates different than class templates

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318 Bug ID: 84318 Summary: attribute deprecated on function templates different than class templates Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/84276] Invalid error for valid statement function

2018-02-09 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84276 --- Comment #12 from Steve Kargl --- On Fri, Feb 09, 2018 at 09:15:00PM +, mecej4 at outlook dot com wrote: > > > > I cannot find a prohibition in F2018 standard. > > AFAICT, gfortran always supported keywords, and > > I've developed a

[Bug fortran/84276] Invalid error for valid statement function

2018-02-09 Thread mecej4 at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84276 --- Comment #13 from mecej4 --- Thanks for locating the relevant clauses. With your extracts serving as a roadmap, I can find essentially the same wording in F2003, but with different numbers for rules and constraints, in section 12.4. R1217

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84279 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/84240] Error in extract_constrain_insn, at recog.c:2246

2018-02-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84240 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug debug/84300] ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

2018-02-09 Thread amodra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84300 --- Comment #3 from Alan Modra --- Author: amodra Date: Sat Feb 10 04:49:15 2018 New Revision: 257549 URL: https://gcc.gnu.org/viewcvs?rev=257549=gcc=rev Log: PR84300, ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

[Bug debug/84300] ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

2018-02-09 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84300 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #17 from Peter Bergner --- Author: bergner Date: Fri Feb 9 22:03:43 2018 New Revision: 257543 URL: https://gcc.gnu.org/viewcvs?rev=257543=gcc=rev Log: PR target/83926 * gcc.target/powerpc/pr83926.c: Filter out

[Bug target/84272] [8 Regression] AddressSanitizer: heap-use-after-free ../../gcc/config/aarch64/cortex-a57-fma-steering.c:519 in fma_node::get_parity()

2018-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84272 --- Comment #8 from Jakub Jelinek --- (In reply to Thomas Preud'homme from comment #7) > Hi Jakub, > > First of all, thanks for beating me to it. Wanted to look at it but am > fighting strong headache since Wednesday. > > Regarding the second

[Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)

2018-02-09 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641 --- Comment #29 from Tamar Christina --- Author: tnfchris Date: Fri Feb 9 12:23:46 2018 New Revision: 257524 URL: https://gcc.gnu.org/viewcvs?rev=257524=gcc=rev Log: 2018-02-09 Tamar Christina PR

[Bug c++/77522] [6/7/8 Regression] ICE on invalid code C++14 code: in tsubst_decl, at cp/pt.c:12447

2018-02-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77522 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Fri Feb 9 11:37:14 2018 New Revision: 257521 URL: https://gcc.gnu.org/viewcvs?rev=257521=gcc=rev Log: 2018-02-09 Paolo Carlini PR

[Bug c++/77522] [6/7 Regression] ICE on invalid code C++14 code: in tsubst_decl, at cp/pt.c:12447

2018-02-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77522 Paolo Carlini changed: What|Removed |Added CC|paolo.carlini at oracle dot com| Summary|[6/7/8

[Bug sanitizer/84208] fsanitize-address-use-after-scope Not working for ARM

2018-02-09 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84208 Richard Earnshaw changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

  1   2   >