[Bug c++/88664] False positive -Waddress-of-packed-member

2019-01-11 Thread proski at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88664 Pavel Roskin changed: What|Removed |Added CC||proski at gnu dot org --- Comment #2 from

[Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500 --- Comment #6 from Dominique d'Humieres --- Related to/duplicate of pr61765. Note that with the patch at https://gcc.gnu.org/ml/fortran/2019-01/msg00085.html, the spurious error pr34500.f90:4:43: 4 | character(len=1,kind=c_char) :: test

[Bug fortran/61765] [7/8/9 Regression] [F03] Rejects valid BIND(C) ENTRY

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765 --- Comment #6 from Dominique d'Humieres --- Related to/duplicate of pr34500.

[Bug middle-end/64101] GCC considers that the erf math function does not set errno

2019-01-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64101 --- Comment #3 from Eric Gallager --- possibly related to some of the other -fmath-errno bugs that have been under discussion lately?

[Bug target/37073] -fno-math-errno should be the default on FreeBSD

2019-01-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37073 --- Comment #3 from Eric Gallager --- (In reply to Gerald Pfeifer from comment #2) > I'll see what I can do about this. Did you mean to put yourself as the assignee for this, instead of just on cc? I mean, since you changed the status to ASSIGNE

[Bug fortran/61765] [7/8/9 Regression] [F03] Rejects valid BIND(C) ENTRY

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug c++/88816] New: Constructor calls itself recursively

2019-01-11 Thread isj-bugzilla at i1 dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88816 Bug ID: 88816 Summary: Constructor calls itself recursively Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/88738] treat shared_ptr and unique_ptr more like plain old pointers

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug libfortran/88807] misleading indentation warnings building libgfortran

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c++/88762] C++17 Deduction guide and operator expression produces missing template argument error

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88762 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/35031] ELEMENTAL procedure with BIND(C)

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35031 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug fortran/32630] [meta-bug] ISO C binding

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 35031, which changed state. Bug 35031 Summary: ELEMENTAL procedure with BIND(C) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35031 What|Removed |Added ---

[Bug fortran/35031] ELEMENTAL procedure with BIND(C)

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35031 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 12 00:33:01 2019 New Revision: 267874 URL: https://gcc.gnu.org/viewcvs?rev=267874&root=gcc&view=rev Log: 2019-01-11 Steven G. Kargl PR fortran/35031

[Bug libfortran/88807] misleading indentation warnings building libgfortran

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/88779] No fix-it hints for misspelled member initializers

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88779 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/88322] Implement C++20 library features.

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 --- Comment #1 from Jonathan Wakely --- C+2a status is now documented at https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2020

[Bug fortran/35031] ELEMENTAL procedure with BIND(C)

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35031 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Jan 12 00:14:55 2019 New Revision: 267869 URL: https://gcc.gnu.org/viewcvs?rev=267869&root=gcc&view=rev Log: 2019-01-11 Steven G. Kargl PR fortran/35031

[Bug libstdc++/88811] libstdc++-v3/src/filesystem/path.cc:503: possible cut'n'paste error ?

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88811 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/88811] libstdc++-v3/src/filesystem/path.cc:503: possible cut'n'paste error ?

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88811 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Sat Jan 12 00:12:20 2019 New Revision: 267868 URL: https://gcc.gnu.org/viewcvs?rev=267868&root=gcc&view=rev Log: PR libstdc++/88811 fix typo introduced in r266569 PR libstdc++/8

[Bug libstdc++/83306] filesystem_error is not nothrow copyable

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83306 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Sat Jan 12 00:12:20 2019 New Revision: 267868 URL: https://gcc.gnu.org/viewcvs?rev=267868&root=gcc&view=rev Log: PR libstdc++/88811 fix typo introduced in r266569 PR libstdc++/8

[Bug c++/88815] New: [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken

2019-01-11 Thread programmer at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88815 Bug ID: 88815 Summary: [9 Regression] is_constexpr (based on narrowing conversion and expression SFINAE) broken Product: gcc Version: 9.0 Status: UNCONFIRMED Se

[Bug libstdc++/88811] libstdc++-v3/src/filesystem/path.cc:503: possible cut'n'paste error ?

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88811 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/88814] New: transform snprintf into memccpy

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88814 Bug ID: 88814 Summary: transform snprintf into memccpy Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimizat

[Bug libstdc++/88812] Implement C++20 LWG 2499/P0487R1 - Fixing operator>>(basic_istream&, CharT*)

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88812 Jonathan Wakely changed: What|Removed |Added Severity|enhancement |normal

[Bug libstdc++/88812] Implement C++20 LWG 2499/P0487R1 - Fixing operator>>(basic_istream&, CharT*)

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88812 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/35031] ELEMENTAL procedure with BIND(C)

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35031 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Jan 11 23:41:04 2019 New Revision: 267864 URL: https://gcc.gnu.org/viewcvs?rev=267864&root=gcc&view=rev Log: 2019-01-11 Steven G. Kargl PR fortran/35031

[Bug c++/87882] -Wredundant-move false positive

2019-01-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87882 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88692] [9 Regression] Spurious "redundant move in return statement"

2019-01-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88692 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88692] [9 Regression] Spurious "redundant move in return statement"

2019-01-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88692 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Jan 11 23:21:40 2019 New Revision: 267862 URL: https://gcc.gnu.org/viewcvs?rev=267862&root=gcc&view=rev Log: PR c++/88692, c++/87882 - -Wredundant-move false positive with

[Bug tree-optimization/88813] New: snprintf less optimal than sprintf for %s with big enough destination

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88813 Bug ID: 88813 Summary: snprintf less optimal than sprintf for %s with big enough destination Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug libfortran/88807] misleading indentation warnings building libgfortran

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/88810] gcc/fortran/dependency.c:2200: possible cut'n'paste error ?

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88810 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391

2019-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88294 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/88312] [9 regression] Mishandled explicitly provided parameter pack

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88312 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jan 11 22:37:01 2019 New Revision: 267860 URL: https://gcc.gnu.org/viewcvs?rev=267860&root=gcc&view=rev Log: PR c++/88312 - pack expansion of decltype. The standard doesn't r

[Bug c++/88613] [9 Regression] ICE in size_binop_loc at fold-const.c:1900 since r267272

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88613 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jan 11 22:36:20 2019 New Revision: 267859 URL: https://gcc.gnu.org/viewcvs?rev=267859&root=gcc&view=rev Log: PR c++/88613 - ICE with use of const var in lambda. The issue her

[Bug libstdc++/88812] New: Implement C++20 LWG 2499/P0487R1 - Fixing operator>>(basic_istream&, CharT*)

2019-01-11 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88812 Bug ID: 88812 Summary: Implement C++20 LWG 2499/P0487R1 - Fixing operator>>(basic_istream&, CharT*) Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug fortran/88803] gfortran documentation warning: '.' or ',' must follow @xref

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88803 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug rtl-optimization/88423] [9 Regression] ICE in begin_move_insn, at sched-ebb.c:175

2019-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88423 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/88804] Inconsistently diagnosed unused but set static variable in lambda

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88804 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/86740] [8/9 Regression] ICE with hana and nested lambdas (likely a regression, tsubst_copy, at cp/pt.c:15325)

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86740 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 --- Comment #6 from David Malcolm --- (In reply to David Malcolm from comment #5) [...] > This patch stops the crash for comment #4 (though maybe it's papering over > the problem): [...] It also fixes the ICE from the original reproducer.

[Bug c++/88312] [9 regression] Mishandled explicitly provided parameter pack

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88312 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/88312] [9 regression] Mishandled explicitly provided parameter pack

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88312 Jason Merrill changed: What|Removed |Added CC||eric at efcs dot ca --- Comment #2 from

[Bug c++/88555] [9 Regression] Pack expansion fails

2019-01-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88555 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137

2019-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88699 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug fortran/88810] gcc/fortran/dependency.c:2200: possible cut'n'paste error ?

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88810 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org,

[Bug c++/88806] extern "C" variables declared in different namespaces are considered different

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88806 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/88811] New: libstdc++-v3/src/filesystem/path.cc:503: possible cut'n'paste error ?

2019-01-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88811 Bug ID: 88811 Summary: libstdc++-v3/src/filesystem/path.cc:503: possible cut'n'paste error ? Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

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

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

[Bug lto/88733] [9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561

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

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

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jan 11 21:03:53 2019 New Revision: 267858 URL: https://gcc.gnu.org/viewcvs?rev=267858&root=gcc&view=rev Log: PR middle-end/85956 PR lto/88733 * tree-inline.h (

[Bug lto/88733] [9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88733 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Jan 11 21:03:53 2019 New Revision: 267858 URL: https://gcc.gnu.org/viewcvs?rev=267858&root=gcc&view=rev Log: PR middle-end/85956 PR lto/88733 * tree-inline.h (

[Bug fortran/88810] New: gcc/fortran/dependency.c:2200: possible cut'n'paste error ?

2019-01-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88810 Bug ID: 88810 Summary: gcc/fortran/dependency.c:2200: possible cut'n'paste error ? Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-01-11 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #4 from emsr at gcc dot gnu.org --- Created attachment 45414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45414&action=edit This is a patch on both std and tr1, both sph_legendre and assoc_legendre. 2018-01-11 Edward Smith-Ro

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-01-11 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 Janne Blomqvist changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #3 f

[Bug tree-optimization/87214] [9 Regression] r263772 miscompiled 520.omnetpp_r in SPEC CPU 2017

2019-01-11 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87214 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug c/88718] Strange inconsistency between old style and new style definitions of inline functions.

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88718 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug c++/88114] "virtual ~destructor() = default": Destructor not created

2019-01-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88114 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/8811] Internal compiler error in extract_constrain_insn_cached

2019-01-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8811 --- Comment #2 from Tobias Burnus --- Author: burnus Date: Fri Jan 11 19:40:13 2019 New Revision: 267855 URL: https://gcc.gnu.org/viewcvs?rev=267855&root=gcc&view=rev Log: PR C++/88114 Gen destructor of an abstract class PR C++/8811

[Bug c++/88114] "virtual ~destructor() = default": Destructor not created

2019-01-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88114 --- Comment #6 from Tobias Burnus --- Author: burnus Date: Fri Jan 11 19:40:13 2019 New Revision: 267855 URL: https://gcc.gnu.org/viewcvs?rev=267855&root=gcc&view=rev Log: PR C++/88114 Gen destructor of an abstract class PR C++/8811

[Bug rtl-optimization/87305] [9 Regression] Segfault in end_hard_regno in setup_live_pseudos_and_spill_after_risky_transforms on aarch64 big-endian

2019-01-11 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87305 --- Comment #6 from Vladimir Makarov --- Author: vmakarov Date: Fri Jan 11 19:25:31 2019 New Revision: 267854 URL: https://gcc.gnu.org/viewcvs?rev=267854&root=gcc&view=rev Log: 2019-01-11 Vladimir Makarov PR rtl-optimization/87305

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 --- Comment #11 from Jakub Jelinek --- Look e.g. at -O2: void bar (int); void foo (int x) { int i = 0; if (x == 8) { x = 16; goto lab; } for (; i < 100; i++) { lab: bar (x); } } but pretty much any ti

[Bug tree-optimization/88693] [9 Regression] Wrong code since r263018

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

[Bug tree-optimization/88693] [9 Regression] Wrong code since r263018

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88693 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Jan 11 19:04:32 2019 New Revision: 267852 URL: https://gcc.gnu.org/viewcvs?rev=267852&root=gcc&view=rev Log: PR tree-optimization/88693 * tree-ssa-strlen.c (get_min_st

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044 --- Comment #12 from seurer at gcc dot gnu.org --- None of those hang, either. I also experimented with the options a bit. The as-is options affecting optimization are: -O3 -funroll-loops -fpeel-loops -finline-functions Change to -O1 and no

[Bug target/88777] [9 Regression] Out-of-range offsets building glibc test-tgmath2.c for hppa-linux-gnu

2019-01-11 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88777 --- Comment #5 from Jeffrey A. Law --- Author: law Date: Fri Jan 11 18:44:00 2019 New Revision: 267851 URL: https://gcc.gnu.org/viewcvs?rev=267851&root=gcc&view=rev Log: PR 88777 PR 88614 * genattrtab.c (min_fn): Don't tr

[Bug target/88614] ICE: output_operand: invalid %z value

2019-01-11 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88614 --- Comment #2 from Jeffrey A. Law --- Author: law Date: Fri Jan 11 18:44:00 2019 New Revision: 267851 URL: https://gcc.gnu.org/viewcvs?rev=267851&root=gcc&view=rev Log: PR 88777 PR 88614 * genattrtab.c (min_fn): Don't tr

[Bug c/64862] printf attribute should accept other string types

2019-01-11 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64862 --- Comment #10 from Tom Tromey --- Also I think all the test suite changes never really worked.

[Bug target/88798] AVX512BW code does not use bit-operations that work on mask registers

2019-01-11 Thread wojciech_mula at poczta dot onet.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88798 --- Comment #3 from Wojciech Mula --- Sorry, I didn't find that bug; I think you may close this one. BTW, I had checked the code on godbolt.org before submitting. I tested also with their "GCC (trunk)", but the generated code is the same as for

[Bug c/64862] printf attribute should accept other string types

2019-01-11 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64862 --- Comment #9 from Tom Tromey --- Created attachment 45413 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45413&action=edit ancient patch

[Bug c/64862] printf attribute should accept other string types

2019-01-11 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64862 --- Comment #8 from Tom Tromey --- Sorry about the extreme delay on this. I think my patch has long since bit-rotted, but I can attach it for reference. I believe my assignment situation got sorted out so this should be fine to read and/or copy

[Bug c++/88114] "virtual ~destructor() = default": Destructor not created

2019-01-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88114 --- Comment #5 from Tobias Burnus --- Updated patch: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00646.html

[Bug target/88696] Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int);

2019-01-11 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88696 --- Comment #1 from Lauri Kasanen --- Actually, seems this is only a documentation bug. vec_mul for the int vectors is not listed on any of the "PowerPC AltiVec/VSX Built-in Functions" pages, even though it works. It emulates the multiplication o

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 --- Comment #6 from Andrew Pinski --- (In reply to Florian Weimer from comment #5) > (In reply to Alexander Monakov from comment #3) > > (-Os is not "minimize size at all costs"). > > Bug 88809 comment 1 says the exact opposite. 8-/ And the man

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044 --- Comment #11 from Dominique d'Humieres --- > I tried both (1) and (2) and the test case does not hang. Could you please try '0, 1', '1, 2', and '0, 2'?

[Bug fortran/88803] gfortran documentation warning: '.' or ',' must follow @xref

2019-01-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88803 Eric Gallager changed: What|Removed |Added Keywords||documentation CC|

[Bug target/88778] Odd Complex value load

2019-01-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88778 --- Comment #4 from 刘袋鼠 --- Currently _Complex is classified as SSE_REG_CLASS, and need two 2 hardreg to handle it. We may need to handle things like TARGET_HARD_REGNO_MODE_OK in backend. So that ira can work suitable for our complex operation.

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-11 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 Florian Weimer changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/88809] do not use rep-scasb for inline strlen/memchr

2019-01-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88809 --- Comment #2 from Andrew Pinski --- >(although to be fair, a call to strlen prevents use of redzone and clobbers >more registers) And causes more register pressure ...

[Bug target/88809] do not use rep-scasb for inline strlen/memchr

2019-01-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88809 --- Comment #1 from Andrew Pinski --- (In reply to Alexander Monakov from comment #0) > Therefore I suggest we don't use rep-scasb for inline strlen anymore by > default (we currently do at -Os). This is in part motivated by PR 88793 and > the Re

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-11 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 --- Comment #4 from Alexander Monakov --- (In reply to Alexander Monakov from comment #3) > I think it's fair to raise the question if gcc should not use scasb/cmpsb by > default (I thought there was a bug for that but apparently there isn't?).

[Bug target/88809] New: do not use rep-scasb for inline strlen/memchr

2019-01-11 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88809 Bug ID: 88809 Summary: do not use rep-scasb for inline strlen/memchr Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-01-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 --- Comment #2 from Andrew Pinski --- >/usr/bin/ld: a.out: hidden symbol `__cpu_model' in >/tmp/gcc9/bin/../lib/gcc/x86_64-pc-linux-gnu/9.0.0/libgcc.a(cpuinfo.o) is >referenced by DSO Could you figure out which shared library references __cpu

[Bug target/88808] bitwise operators on AVX512 masks fail to use the new mask instructions

2019-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88808 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/88806] extern "C" variables declared in different namespaces are considered different

2019-01-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88806 --- Comment #1 from Andrew Pinski --- Related to the old bug 27227.

[Bug c++/88800] Spurious -Werror=array-bounds for non-taken branch

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88800 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 --- Comment #1 from kargl at gcc dot gnu.org --- This appears to be either a problem with your binutils or pilot error. It is not a problem with libgfortran.

[Bug libfortran/88807] misleading indentation warnings building libgfortran

2019-01-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 Severity|normal

[Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error

2019-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771 --- Comment #11 from Martin Sebor --- I understand what jump threading does but I don't know enough about how it works to have a clear idea how viable marking up the created statements would be. To avoid false negatives it would need to make it

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

2019-01-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 --- Comment #6 from Marc Glisse --- (In reply to Matthias Kretz from comment #4) > A similar test case showing that something is still missing You don't seem to be passing constants here, so this is unrelated to this PR. If you file a new one, p

[Bug target/88808] New: bitwise operators on AVX512 masks fail to use the new mask instructions

2019-01-11 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88808 Bug ID: 88808 Summary: bitwise operators on AVX512 masks fail to use the new mask instructions Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-op

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

2019-01-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 --- Comment #5 from Marc Glisse --- (In reply to Matthias Kretz from comment #3) > GCC 9 almost resolves this. However, for some reason this extended test case > is not fully optimized: https://gcc.godbolt.org/z/jRrHth > i.e. the call to dont_cal

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

2019-01-11 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 --- Comment #4 from Matthias Kretz --- A similar test case showing that something is still missing (https://gcc.godbolt.org/z/t1DT7E): #include inline __m128i cmp(__m128i x, __m128i y) { return _mm_cmpeq_epi16(x, y); } inline unsigned to_b

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

2019-01-11 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 Matthias Kretz changed: What|Removed |Added Version|8.0 |9.0 --- Comment #3 from Matthias Kretz

[Bug libstdc++/88802] std::hash not implemented

2019-01-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88802 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/88797] Unneeded branch added when function is inlined (function runs faster if not inlined)

2019-01-11 Thread cassio.neri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88797 --- Comment #5 from Cassio Neri --- There's a (fragile) workaround: void use(unsigned); #define VERSION 0 bool f(unsigned x, unsigned y) { #if VERSION == 0 return x < + (y <= ); #else bool b = y <= ; return x < + b;

[Bug libfortran/88807] New: misleading indentation warnings building libgfortran

2019-01-11 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88807 Bug ID: 88807 Summary: misleading indentation warnings building libgfortran Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/88806] New: extern "C" variables declared in different namespaces are considered different

2019-01-11 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88806 Bug ID: 88806 Summary: extern "C" variables declared in different namespaces are considered different Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity:

[Bug libfortran/88805] New: hidden symbol `__cpu_model' is referenced by DSO

2019-01-11 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 Bug ID: 88805 Summary: hidden symbol `__cpu_model' is referenced by DSO Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171

2019-01-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044 --- Comment #10 from seurer at gcc dot gnu.org --- I tried both (1) and (2) and the test case does not hang.

  1   2   >