[Bug rtl-optimization/83886] [8 Regression] ICE in cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4433

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83886 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/82229] GCC7's LTO underperforms compared to GCC6

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 Martin Liška changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #21 from Martin Liška

[Bug rtl-optimization/85409] New: ICE in alloc_succs_info, at sel-sched-ir.c:4730

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Bug ID: 85409 Summary: ICE in alloc_succs_info, at sel-sched-ir.c:4730 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug rtl-optimization/85408] New: ICE in patch_jump_insn, at cfgrtl.c:1271

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Bug ID: 85408 Summary: ICE in patch_jump_insn, at cfgrtl.c:1271 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal P

[Bug c++/76995] type-id/expression in cstyle-cast are disambiguated incorrectly

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76995 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|RESOL

[Bug rtl-optimization/85410] New: ICE in create_block_for_bookkeeping, at sel-sched.c:4563

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85410 Bug ID: 85410 Summary: ICE in create_block_for_bookkeeping, at sel-sched.c:4563 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug c++/85112] [8 Regression] ICE with invalid constexpr

2018-04-16 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85112 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Apr 16 08:31:23 2018 New Revision: 259397 URL: https://gcc.gnu.org/viewcvs?rev=259397&root=gcc&view=rev Log: 2018-04-16 Paolo Carlini Jason Merrill

[Bug rtl-optimization/85408] ICE in patch_jump_insn, at cfgrtl.c:1271

2018-04-16 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Andrey Belevantsev changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Version|unknown

[Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #2 from Arseny Solokha --- (In reply to Jakub Jelinek from comment #1) > I've bisected it to r259231. Interesting. I reduced it from a file I have since 8.0.0-alpha20180121 snapshot timeframe, and the backtrace was the same back then

[Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2018-04-16 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #3 from Andrey Belevantsev --- This one is cool. We hit an assert saying we cannot hold of successor info anymore. The succs vector size is of max_ws (maximum lookahead) + 1, but guess what, there's a lot of debug insns and these ar

[Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #4 from Jakub Jelinek --- The general rule is that DEBUG_INSN_P should not affect code-gen related decisions and the compiler needs to cope with them as best as it can when the decisions have been made. sel-sched already violates tha

[Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc

2018-04-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/85112] [8 Regression] ICE with invalid constexpr

2018-04-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85112 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgomp/85411] New: [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 Bug ID: 85411 Summary: [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: trivial Pri

[Bug libgomp/85129] [openacc] Document GOMP_OPENACC_DIM

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85129 --- Comment #4 from Tom de Vries --- (In reply to Thomas Schwinge from comment #3) > (In reply to Tom de Vries from comment #2) > > GOMP_OPENACC_DIM seems to be the odd one here, and we should document > > the non-standard behaviour that it suppo

[Bug rtl-optimization/85412] New: [8 Regression] ICE in put_TImodes, at sel-sched.c:7191

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Bug ID: 85412 Summary: [8 Regression] ICE in put_TImodes, at sel-sched.c:7191 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug bootstrap/85413] New: "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto "

2018-04-16 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85413 Bug ID: 85413 Summary: "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: norm

[Bug target/83009] gcc.target/aarch64/store_v2vec_lanes.c fails with -mabi=ilp32

2018-04-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83009 --- Comment #7 from avieira at gcc dot gnu.org --- Bootstrap and regression testing looks good. Ill put the patch up on the ML when we enter stage 1 again.

[Bug rtl-optimization/85408] ICE in patch_jump_insn, at cfgrtl.c:1271

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug libgomp/85411] [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #1 from Tom de Vries -

[Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2018-04-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #10 from Paolo Carlini --- In fact, if I slightly tweak the testcase to avoid the error by defining 'e' we would ICE again, because binding->type is found null without a preceding diagnostic. Thus I wonder if my patchlet in Comment 7

[Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow())

2018-04-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #11 from Paolo Carlini --- Nope. Something deeper. The new testcase would be accepted but the declaration of the int variable 'e' would not be usable, would be ignored.

[Bug rtl-optimization/85412] [8 Regression] ICE in put_TImodes, at sel-sched.c:7191

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Jakub Jelinek changed: What|Removed |Added CC||abel at gcc dot gnu.org,

[Bug libgomp/85129] [openacc] Document GOMP_OPENACC_DIM

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85129 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > I. trunk > > The GOMP_OPENACC_DIM environment variable is not documented (it should have > an entry in libgomp.texi at 'OpenACC Environment Variables'). Atm, in t

[Bug target/85414] New: [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

2018-04-16 Thread zsojka at seznam dot cz
-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259397-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 8.0.1 20180416 (experimental) (GCC)

[Bug target/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

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

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Apr 16 11:22:40 2018 New Revision: 259398 URL: https://gcc.gnu.org/viewcvs?rev=259398&root=gcc&view=rev Log: PR target/84945 * config/i386/cpuinfo.c (set_feature): Wr

[Bug target/84331] Execution failures on Skylake server with -march=native

2018-04-16 Thread jkoval at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84331 --- Comment #1 from Julia Koval --- Author: jkoval Date: Mon Apr 16 11:23:55 2018 New Revision: 259399 URL: https://gcc.gnu.org/viewcvs?rev=259399&root=gcc&view=rev Log: Fixed g++.dg/ext/mv16.C with -march=native. gcc/ PR target/84331

[Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8)

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/85415] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984

2018-04-16 Thread frederik.engels24 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85415 Bug ID: 85415 Summary: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: n

[Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 11:31:22 2018 New Revision: 259400 URL: https://gcc.gnu.org/viewcvs?rev=259400&root=gcc&view=rev Log: i386: Check error_mark_node in multiversioning Since CET is applie

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug tree-optimization/85416] New: Massive performance regression when switching on "-march=native"

2018-04-16 Thread mar...@mpa-garching.mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Bug ID: 85416 Summary: Massive performance regression when switching on "-march=native" Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581

2018-04-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|2018-04-15 00

[Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 --- Comment #2 from Jakub Jelinek --- The problem is likely with the caching of ix86_compute_frame_layout results, at least if I call this function at the beginning of ix86_expand_prologue, it doesn't ICE anymore. What changes in particular is i

[Bug testsuite/85417] New: Extra test failures with -fcf-protection -mcet

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 Bug ID: 85417 Summary: Extra test failures with -fcf-protection -mcet Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: te

[Bug demangler/85304] Segmentation fault

2018-04-16 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85304 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #1 fr

[Bug tree-optimization/85416] Massive performance regression when switching on "-march=native"

2018-04-16 Thread mar...@mpa-garching.mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #1 from Martin Reinecke --- Just re-tested on an Intel Core i5-4570; on this CPU, there is no performance degradation.

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #7 from Alexander Monakov --- The testcase is not easily reproducible because the rs6000 backend has some implicit dependencies on capabilities of configure-time binutils, and they are not visible as 'gcc -v' flags. So, to reproduce

[Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #8 from Alexander Monakov --- Or as Jakub (thanks!) noted on IRC, gcc/auto-host.h from the build tree may be also helpful and simpler for us to work with.

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #14 from Jan Hubicka --- Created attachment 43947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43947&action=edit Proposed fix We looked into this with Maritn todday. There are two bugs: one is the fact that lto.c forgets to r

[Bug target/85417] Extra test failures with -fcf-protection -mcet

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #14 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Apr 16 14:50:06 2018 New Revision: 259403 URL: https://gcc.gnu.org/viewcvs?rev=259403&root=gcc&view=rev Log: 2018-04-16 Aaron Sawdey PR target/83660

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug c/85418] New: -Wformat-truncation on inlinned function

2018-04-16 Thread Azim.Khan at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Bug ID: 85418 Summary: -Wformat-truncation on inlinned function Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c/85419] New: Incorrect determination of null pointer constant

2018-04-16 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85419 Bug ID: 85419 Summary: Incorrect determination of null pointer constant Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/85420] New: More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Bug ID: 85420 Summary: More -Wrestrict false positives with -fsanitize=undefined Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #1 from Franz Sirl --- Created attachment 43951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43951&action=edit C++ testcase

[Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression"

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

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

[Bug c++/85421] New: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Bug ID: 85421 Summary: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug rtl-optimization/84842] [7/8 Regression] ICE in verify_target_availability, at sel-sched.c:1569

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug lto/85422] New: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Bug ID: 85422 Summary: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Keywords||openacc --- Comment #1 from Tom de Vries

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #7 from Tom de Vries --- (In reply to cesar from comment #6) > It should be noted that GCC also chokes with any empty OpenACC loop in > general. Filed as PR85422 - [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-16 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #3 from Franz Sirl --- Hmm, this maybe creduce'd too much, the original source reads more like strcpy(b, b + a + 10); which would be only UB for sure if strlen(b + a + 10) >= 9, or?

[Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #4 from Jakub Jelinek --- (In reply to Franz Sirl from comment #3) > Hmm, this maybe creduce'd too much, the original source reads more like > >strcpy(b, b + a + 10); > > which would be only UB for sure if strlen(b + a + 10) >=

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Target Milestone|--- |8.0 Summary|Extra test failures wit

[Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc

2018-04-16 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #13 from Dennis Clarke --- Finally managed to get a decent looking three stage bootstrap to complete without bizarre errors. Thanks to Matthias Klose for the suggestion to get away from that gc issue entirely. Testsuite is running h

[Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/85423] New: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-16 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Bug ID: 85423 Summary: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #6 from Jakub Jelinek --- (In reply to Martin Sebor from comment #5) > The warning for attachment 43950 [details] is intended and the bug is > actually in failing to issue it without -fsanitize=undefined. Unlike for > raw memory func

[Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #

[Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

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

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #7 from Martin Sebor --- Whether that's a good or bad decision is a matter of opinion. Most coding guidelines advise against using strcpy even between distinct objects. I happen to think that's unnecessarily restrictive when the siz

[Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion

2018-04-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #8 from Tom de Vries --- Author: vries Date: Mon Apr 16 18:01:09 2018 New Revision: 259406 URL: https://gcc.gnu.org/viewcvs?rev=259406&root=gcc&view=rev Log: [openacc] Fix ICE when compiling tile loop containing infinite loop 2018-0

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 16 18:18:42 2018 New Revision: 259407 URL: https://gcc.gnu.org/viewcvs?rev=259407&root=gcc&view=rev Log: [gcc/testsuite] 2018-04-16 Bill Schmidt PR target/85080

[Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678

2018-04-16 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887

2018-04-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #15 from Eric Botcazou --- > We looked into this with Martin todday. There are two bugs: one is the fact > that lto.c forgets to register the type in case it was within strongly > connected component after its outer type. The order de

[Bug target/82499] x86: small stack initial adjustments could use push

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:42:57 2018 New Revision: 259408 URL: https://gcc.gnu.org/viewcvs?rev=259408&root=gcc&view=rev Log: i386: Move struct ix86_frame to machine_function Make ix86_frame a

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:44:43 2018 New Revision: 259411 URL: https://gcc.gnu.org/viewcvs?rev=259411&root=gcc&view=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We ca

[Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc

2018-04-16 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #14 from Dennis Clarke --- Since this bug was a "bootstrap" issue I think I should close it as simply an issue related to the garbage collector libs needed.

[Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 18:55:04 2018 New Revision: 259414 URL: https://gcc.gnu.org/viewcvs?rev=259414&root=gcc&view=rev Log: x86: Add -mfunction-return= Add -mfunction-return= option to conv

[Bug target/85424] New: The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-04-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Bug ID: 85424 Summary: The __builtin_packlongdouble function might have issues with the output overlapping the inputs Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-04-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/85425] New: gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread gerhard.heinzel at aei dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Bug ID: 85425 Summary: gcc 6.2.1 fails to catch error in function calling arguments Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal P

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:06:32 2018 New Revision: 259420 URL: https://gcc.gnu.org/viewcvs?rev=259420&root=gcc&view=rev Log: i386: Update -mfunction-return= for return with pop When -mfunctio

[Bug target/84039] x86 retpolines and CFI

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:08:14 2018 New Revision: 259421 URL: https://gcc.gnu.org/viewcvs?rev=259421&root=gcc&view=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { vi

[Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks

2018-04-16 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 16 19:11:13 2018 New Revision: 259422 URL: https://gcc.gnu.org/viewcvs?rev=259422&root=gcc&view=rev Log: i386: Don't generate alias for function return thunk Function retu

[Bug c/85419] Incorrect determination of null pointer constant

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

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread sasha2048 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Sasha Unknown changed: What|Removed |Added CC||sasha2048 at gmail dot com --- Comment #

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #1 from Jonathan Wakely --- The example can be reduced to: void ghhrobust_search (double ay, int type) { } void f(int i, double d) { ghhrobust_search(i, d); } This must not produce an error, because it is 100% valid according to th

[Bug c/85418] -Wformat-truncation on inlinned function

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/59960] accepts ill-formed 'auto a1 = t1, a2 = t2;' where t1 and t2 have different template types

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59960 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely changed: What|Removed |Added CC||gcc at abeckmann dot de --- Comment #4

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread gerhard.heinzel at aei dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #2 from Gerhard Heinzel --- (In reply to Jonathan Wakely from comment #1) Many thanks for your quick response. I normally don't use -Wconversion because it floods me with uninteresting errors about size_t, floor(), and code from bis

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc

2018-04-16 Thread phantall at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 --- Comment #2 from Brian Vandenberg --- Sorry, I was hand-typing from an air-gapped network. I left the type name out; line 5 should read: > thread_local int mything = 3; -brian On Mon, Apr 16, 2018 at 2:52 AM, ebotcazou at gcc dot gnu.org

[Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness

2018-04-16 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 --- Comment #8 from Jim Wilson --- I copied the design of the patch from the i386 backend, so in theory it should work. The layout of the stack is completely at the control of the target backend, so uses of STACK_BOUNDARY outside the backend sho

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #3 from H.J. Lu --- Created attachment 43954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43954&action=edit A patch I am testing this patch.

[Bug c++/85039] [6/7/8 Regression] internal compiler error: in nested_anon_class_index, at cp/mangle.c:1626

2018-04-16 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85039 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Mon Apr 16 21:35:34 2018 New Revision: 259423 URL: https://gcc.gnu.org/viewcvs?rev=259423&root=gcc&view=rev Log: [PR c++/85039] no type definitions in builtin offsetof Types defined w

[Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED CC|

  1   2   >