[Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences

2018-05-30 Thread andrew at sifive dot com
dia0,a0,0xff > lw ra,12(sp) > lw s0,8(sp) > addisp,sp,16 > jr ra > .size atomic, .-atomic > .ident "GCC: (GNU) 9.0.0 20180530 (experimental)"

Re: [Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences

2018-05-30 Thread Andrew Waterman
h_add_1 > addia0,a0,1 > andia0,a0,0xff > fence iorw,iorw > lbu a5,0(s0) > fence iorw,iorw > add a0,a0,a5 > andia0,a0,0xff > lw ra,12(sp) > lw s0,8(sp) > addisp,sp,16 > jr ra > .size atomic, .-atomic > .ident "GCC: (GNU) 9.0.0 20180530 (experimental)"

[Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences

2018-05-30 Thread asb at lowrisc dot org
add a0,a0,a5 andia0,a0,0xff lw ra,12(sp) lw s0,8(sp) addisp,sp,16 jr ra .size atomic, .-atomic .ident "GCC: (GNU) 9.0.0 20180530 (experimental)"

[Bug other/86011] New: Inefficient code generated for ldivmod with constant value

2018-05-30 Thread patrick at motec dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86011 Bug ID: 86011 Summary: Inefficient code generated for ldivmod with constant value Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/86010] [7/8 Regression] redundant memset with smaller size not eliminated

2018-05-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86010 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug tree-optimization/86010] New: [7/8 Regression] redundant memset with smaller size not eliminated

2018-05-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86010 Bug ID: 86010 Summary: [7/8 Regression] redundant memset with smaller size not eliminated Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86009] New: [Concepts] Placeholder as argument to partial-concept-id forms extra constrained parameters

2018-05-30 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86009 Bug ID: 86009 Summary: [Concepts] Placeholder as argument to partial-concept-id forms extra constrained parameters Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug c++/79751] Concept placeholder on another concept does not work

2018-05-30 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79751 Hubert Tong changed: What|Removed |Added CC||hstong at ca dot ibm.com --- Comment #1

[Bug libstdc++/86008] New: std::quoted(std::basic_string_view) is missing

2018-05-30 Thread gcc at mattwhitlock dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86008 Bug ID: 86008 Summary: std::quoted(std::basic_string_view) is missing Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/85662] [8/9 Regression] "error: non-constant condition for static assertion" from __builtin_offsetof in C++

2018-05-30 Thread roland at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85662 roland at gnu dot org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance

2018-05-30 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995 --- Comment #2 from Vincent Lefèvre --- I don't see the point of defining both __STDC__ and __STDC_VERSION__ if GCC cannot guarantee anything about standard conformance. With the current state, it is not possible to test these macros in order to

[Bug c++/77777] Use rich location to mark correct expression for "invalid use of non-static member function"

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77777] Use rich location to mark correct expression for "invalid use of non-static member function"

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Wed May 30 23:13:48 2018 New Revision: 260979 URL: https://gcc.gnu.org/viewcvs?rev=260979=gcc=rev Log: PR c++/7 improve location for diagnostic Pass in the location of the invalid

[Bug c/55976] -Werror=return-type should error on returning a value from a void function

2018-05-30 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976 --- Comment #11 from Jeffrey A. Law --- Author: law Date: Wed May 30 22:55:38 2018 New Revision: 260978 URL: https://gcc.gnu.org/viewcvs?rev=260978=gcc=rev Log: 2018-05-30 David Pagan PR c/55976 * c-decl.c (grokdeclarator):

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-30 Thread stefantalpalaru at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #1 from Ștefan Talpalaru --- I can confirm this on an FX-8320E.

[Bug pch/86007] New: precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently

2018-05-30 Thread stefantalpalaru at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007 Bug ID: 86007 Summary: precompiled header on bdver2 with -march=native triggers a "created and used with differing settings of '-mlwp'" warning, intermittently Product: gcc

[Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963

2018-05-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86004 --- Comment #1 from Jan Hubicka --- Can you please check in g++.log what kind of error you get? Incremental linking now produce LTO objects while previously it did produce final binary. I went through testcases where this makes difference and

[Bug middle-end/85369] no -Wstringop-overflow for a strcpy / stpcpy call with a nonstring pointer when providing movstr pattern

2018-05-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85369 --- Comment #4 from Martin Sebor --- Author: msebor Date: Wed May 30 22:24:43 2018 New Revision: 260976 URL: https://gcc.gnu.org/viewcvs?rev=260976=gcc=rev Log: PR middle-end/85369 - no -Wstringop-overflow for a strcpy / stpcpy call with a

[Bug middle-end/85369] no -Wstringop-overflow for a strcpy / stpcpy call with a nonstring pointer when providing movstr pattern

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

[Bug fortran/86006] New: compile time error generic type bound procedure

2018-05-30 Thread karl.may0 at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006 Bug ID: 86006 Summary: compile time error generic type bound procedure Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405

2018-05-30 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 cesar at gcc dot gnu.org changed: What|Removed |Added Keywords||openacc --- Comment #3 from

[Bug translation/86005] New: [RISCV] Invalid lowering of atomics for -march=rv32i / -march=rv64i

2018-05-30 Thread asb at lowrisc dot org
lw s0,8(sp) addisp,sp,16 jr ra .size atomic, .-atomic .ident "GCC: (GNU) 9.0.0 20180530 (experimental)"

[Bug lto/86004] New: [9 regression] Several lto test cases begin failing with r260963

2018-05-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86004 Bug ID: 86004 Summary: [9 regression] Several lto test cases begin failing with r260963 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/85977] Incorrect handling of array reference size deduction

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

[Bug c++/85977] Incorrect handling of array reference size deduction

2018-05-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85977 --- Comment #3 from Marek Polacek --- // PR c++/85977, Incorrect handling of array reference size deduction // { dg-do compile { target c++11 } } template void fn1 (const char (&)[N]) { static_assert (N == 3, "fn1");} template void fn2

[Bug middle-end/85956] [8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549

2018-05-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug middle-end/85989] [6/7/8/9 Regression] Incorrect result for example involving unary minus in a loop

2018-05-30 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/85976] [8/9 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.

2018-05-30 Thread slayoo at staszic dot waw.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976 --- Comment #6 from Sylwester Arabas --- BTW, according to this gcc www entry, Blitz++ seems to listed as a part of GCC test suite: https://gcc.gnu.org/testing/testing-blitz.html Is this information up to date? Was this issue somehow triggered

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2018-05-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 --- Comment #8 from Ville Voutilainen --- See r260973

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2018-05-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread jeff.science at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 --- Comment #5 from Jeff Hammond --- > Finishing C++17 support in libstdc++ is already one of our top priorities for > GCC 9. There's no need to ask for it, and doing so won't affect priorities. > The missing pieces are documented: >

[Bug target/85920] Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks

2018-05-30 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85920 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2018-05-30 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 85920, which changed state. Bug 85920 Summary: Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85920

[Bug target/85919] New: Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks

2018-05-30 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85919 Bug ID: 85919 Summary: Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks Product: gcc Version: 9.0

[Bug target/86003] [8/9 Regression] GCC fails to build when configured --with-cpu=xscale

2018-05-30 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86003 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85807] [8/9 Regression] ICEs related to noexcept

2018-05-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85807 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed May 30 19:31:11 2018 New Revision: 260972 URL: https://gcc.gnu.org/viewcvs?rev=260972=gcc=rev Log: PR c++/85807 - ICE with call in template NSDMI. * init.c

[Bug tree-optimization/81401] False positive sprintf warning at O2 (-Wformat-overflow)

2018-05-30 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81401 Paul Eggert changed: What|Removed |Added CC||eggert at gnu dot org --- Comment #3 from

[Bug c++/85958] Make const qualifier error clear

2018-05-30 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 Tavian Barnes changed: What|Removed |Added CC||tavianator at gmail dot com --- Comment

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.0 --- Comment #4 from Jonathan

[Bug c++/85977] Incorrect handling of array reference size deduction

2018-05-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85977 --- Comment #2 from Marek Polacek --- Seems like deducing the template parameter N fails because of the type mismatch; parm is long int (element type of the array), while arg is int (element type of {1, 2, 3}): 21789 /* We have already

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread jeff.science at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 --- Comment #3 from Jeff Hammond --- Other projects use the existence of feature requests in their bug tracker for prioritization of development. How does GCC manage this information? How do you track GCC roadmap development if not through

[Bug driver/86003] New: [8 Regression] GCC fails to build when configured --with-cpu=xscale

2018-05-30 Thread stilor at att dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86003 Bug ID: 86003 Summary: [8 Regression] GCC fails to build when configured --with-cpu=xscale Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86002] New: ICE with requires in constexpr if condition

2018-05-30 Thread gcc-bugs at oxyware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86002 Bug ID: 86002 Summary: ICE with requires in constexpr if condition Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/85956] [8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549

2018-05-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/86001] New: explicit default constructor not allowed in anonymous aggregate

2018-05-30 Thread xavierb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86001 Bug ID: 86001 Summary: explicit default constructor not allowed in anonymous aggregate Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/86000] New: ICE with requires statement in a non constexpr if

2018-05-30 Thread gcc-bugs at oxyware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Bug ID: 86000 Summary: ICE with requires statement in a non constexpr if Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.

2018-05-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed May 30 17:33:06 2018 New Revision: 260969 URL: https://gcc.gnu.org/viewcvs?rev=260969=gcc=rev Log: PR c++/85873 - constant initializer_list array not in .rodata. *

[Bug tree-optimization/85999] New: 416.gamess slowed down by BB vectorization

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85999 Bug ID: 85999 Summary: 416.gamess slowed down by BB vectorization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/85956] [8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549

2018-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 Jakub Jelinek changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug rtl-optimization/83962] [6/7 Regression] ICE: verify_flow_info failed (too many outgoing branch edges from bb 8)

2018-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83962 --- Comment #7 from Jakub Jelinek --- It hasn't been backported to 7.x/6.x, so no, unless we decide not to backport it there.

[Bug rtl-optimization/83852] [6/7 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.c:5644 on 32-bit BE powerpc targets

2018-05-30 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83852 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug rtl-optimization/83962] [6/7 Regression] ICE: verify_flow_info failed (too many outgoing branch edges from bb 8)

2018-05-30 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83962 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

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

2018-05-30 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83009 --- Comment #10 from avieira at gcc dot gnu.org --- Author: avieira Date: Wed May 30 15:59:14 2018 New Revision: 260957 URL: https://gcc.gnu.org/viewcvs?rev=260957=gcc=rev Log: Reverting r260635 gcc 2018-05-30 Andre Vieira

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine

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

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/ml/libstdc++/2017-11/msg00112.html

[Bug libstdc++/85998] feature request: support C++17 parallel STL

2018-05-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ Severity|normal

[Bug c++/85998] New: feature request: support C++17 parallel STL

2018-05-30 Thread jeff.science at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85998 Bug ID: 85998 Summary: feature request: support C++17 parallel STL Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libfortran/85975] Incorrect size for spread array

2018-05-30 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85975 --- Comment #2 from Paul Thomas --- (In reply to kargl from comment #1) > Stephan, > > I tried the simply patch suggested in your analysis and > it does fix the problem. I need to extend the patch to > fix the m4 files that utilize the macro

[Bug c++/85976] [8/9 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.

2018-05-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976 Marek Polacek changed: What|Removed |Added Keywords||needs-reduction --- Comment #5 from

[Bug c++/51571] No named return value optimization while adding a dummy scope

2018-05-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2011-12-15 00:00:00 |2018-5-30 --- Comment #5 from

[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405

2018-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 Jakub Jelinek changed: What|Removed |Added CC||cesar at gcc dot gnu.org,

[Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964 --- Comment #11 from Richard Biener --- The CFG cleanup hog is gone on trunk now - an artificial testcase triggering it would need to present us with a large number of independently discoverable branches like maybe if (foo) { tem = 0;

[Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed May 30 14:55:04 2018 New Revision: 260954 URL: https://gcc.gnu.org/viewcvs?rev=260954=gcc=rev Log: 2018-05-30 Richard Biener PR tree-optimization/85964 *

[Bug middle-end/85989] [6/7/8/9 Regression] Incorrect result for example involving unary minus in a loop

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989 --- Comment #2 from Richard Biener --- for (b_P5 = 0; b_P5 < 8; b_P5++) { P26 = P29; P29 = -(int)*P5; } for (b_P5 = 0; b_P5 < 3; b_P5++) { for (P29 = 0; P29 < 9; P29++) { i0 = P26; if (P26 < 0) { i0 = 0;

[Bug middle-end/85989] [6/7/8/9 Regression] Incorrect result for example involving unary minus in a loop

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug middle-end/85989] Incorrect result for example involving unary minus in a loop

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85989 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug c++/70693] valgrind error in get_visual_column

2018-05-30 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70693 --- Comment #6 from David Binderman --- Nearly three weeks later, any progress ?

[Bug target/85984] [8/9 Regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2874

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

[Bug ipa/85960] -fipa-pta and ifunc are incompatible

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960 Richard Biener changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |rguenth at gcc dot gnu.org ---

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread mpeddie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #4 from Matt Peddie --- -fno-builtin-atanf does the trick. Thanks, Marc.

[Bug ipa/85960] -fipa-pta and ifunc are incompatible

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960 Richard Biener changed: What|Removed |Added Keywords||wrong-code CC|

[Bug target/85993] config/sh/sh.c:10878: suspicious if .. else chain

2018-05-30 Thread amylaar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85993 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||olegendo at gcc dot gnu.org

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-05-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Richard Biener --- > (In reply to Rainer Orth from comment #0) >> I see several possible fixes: >> >> * Just compile those files with -g0: there's probably no

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-05-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Alexander Monakov --- > Why does this affect only new files, i.e. how did existing libgcc .S files > avoid running into the same issue? Besides the

[Bug gcov-profile/85871] g++.dg/gcov/gcov-8.C random failures

2018-05-30 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85871 --- Comment #6 from Christophe Lyon --- This is not a typo. A .sum file has a line like this: apm_64.tcwg-apm_64-build/g++.sum.xz:FAIL: g++.dg/gcov/gcov-8.C -std=gnu++11 gcov failed: File

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-05-30 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #3 from Marc Glisse --- (In reply to Matt Peddie from comment #2) > Is there a way to disable this behavior? -fno-builtin (or a more specific -fno-builtin-atanf) tells gcc to handle atanf as a regular function call, not as a

[Bug gcov-profile/85871] g++.dg/gcov/gcov-8.C random failures

2018-05-30 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85871 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org ---

[Bug target/85984] [8/9 Regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2874

2018-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85984 --- Comment #3 from Jakub Jelinek --- Guess easiest fix would be to disable hot/cold partitioning in naked functions.

[Bug target/85984] [8/9 Regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2874

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

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread mpeddie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 --- Comment #2 from Matt Peddie --- Thank you for your quick response. The explanation makes sense, and I agree this is not a bug. I'd like to understand -- this seems to me to imply that GCC will use MPFR to evaluate calls to libm functions

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 --- Comment #1 from Richard Biener --- (In reply to Rainer Orth from comment #0) > I see several possible fixes: > > * Just compile those files with -g0: there's probably no point in gas adding > debug info anyway. > > * Restrict the cpp -P

[Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995 --- Comment #1 from Richard Biener --- I guess that would break way more code than the current state (or force people to use -std=cXX over -std=gnuXX).

[Bug c/85997] New: Bogus -Wvla warning from function array argument with size expression

2018-05-30 Thread kari.nurmela at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997 Bug ID: 85997 Summary: Bogus -Wvla warning from function array argument with size expression Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/85987] cstore does not work with a store in one of the branches

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85987 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/85996] New: f951: internal compiler error: gfc_trans_select(): Bad type for case expr.

2018-05-30 Thread jean-michel.beuken at uclouvain dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 Bug ID: 85996 Summary: f951: internal compiler error: gfc_trans_select(): Bad type for case expr. Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/85992] Invalid optimization with atanf

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85992 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85984] [8/9 Regression] ICE in create_pseudo_cfg, at dwarf2cfi.c:2874

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85984 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug middle-end/85980] suboptimal code for strncmp for powerpc64

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85980 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c++/85976] [8/9 Regression] ICE in cp_tree_equal when building Blitz. May be nested templates.

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85976 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug middle-end/85974] Failure to optimize difference of two pointers into a compile time constant

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85974 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85971] Really Simple "If" with one function call inside is not optimized efficiently

2018-05-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85971 --- Comment #3 from Richard Biener --- (In reply to Andrew Pinski from comment #2) > I think this is actually two different bugs. > One where cstore is not working when there is a function call inbetween. > If I add an argument to CreateChecksum

[Bug c++/85958] Make const qualifier error clear

2018-05-30 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 --- Comment #3 from Jonny Grant --- (In reply to Jonathan Wakely from comment #2) > (In reply to Jonny Grant from comment #1) > > My idea of what would be clearest is :- > > > > Cannot pass ‘const int‘ as ‘int&‘ (non const) > > I don't think

[Bug target/85805] Improper code generation for 64 bit comparisons on avr-gcc

2018-05-30 Thread sandor.zsuga at jubatian dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805 --- Comment #5 from Sandor Zsuga --- I received a test report with avr-gcc 8.1.0 , -O2 optimization level: The behavior is present ( https://www.avrfreaks.net/comment/2477081#comment-2477081 ).

[Bug c/85995] New: GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance

2018-05-30 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995 Bug ID: 85995 Summary: GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug c++/85558] ICE in make_rtl_for_nonlocal_decl when using static member of template class

2018-05-30 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85558 --- Comment #2 from Paolo Carlini --- See PR59480.

[Bug rtl-optimization/84206] ICE in get_all_loop_exits, at sel-sched-ir.h:1138

2018-05-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84206 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85994] New: Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-05-30 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 Bug ID: 85994 Summary: Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

  1   2   >