[Bug c/88886] [9 Regression] ice in get_constant, at c-family/c-format.c:292

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/89043] strcat (strcpy (d, a), b) not folded to stpcpy (strcpy (d, a), b)

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89043 --- Comment #5 from Martin Sebor --- Ah, makes sense. I briefly wondered how stpcpy could have been "updated for alignment with the ISO/IEC 9899:1999 standard." That's the trade-off of a 4k monitor: it fits tons of stuff on the screen but every

[Bug c++/89036] ICE if destructor has a requires

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

[Bug c++/88995] [8/9 Regression] internal compiler error: in lookup_template_class_1, at cp/pt.c:9471

2019-01-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88995 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument

2019-01-24 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85868 --- Comment #5 from Harald Anlauf --- Better testcase for debugging: program pr85858 implicit none integer, pointer :: t(:) integer :: i, lb lb = -1 allocate (t(lb:5)) do i = lb, 5 t(i) = i end do call te (t( :))

[Bug c/86125] missing -Wbuiltin-declaration-mismatch on a mismatched return type

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86125 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/89036] [8/9 Regression] ICE if destructor has a requires

2019-01-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036 David Malcolm changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNC

[Bug c++/89001] g++ uses wrong mangling for lifetime-extended temporaries

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

[Bug fortran/88821] Inline packing of non-contiguous arguments

2019-01-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88821 Thomas Koenig changed: What|Removed |Added Attachment #45514|0 |1 is obsolete|

[Bug c/88956] [9 Regression] ICE: Floating point exception on a memcpy from an zero-length constant array

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

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-24 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment

[Bug c++/88995] [8/9 Regression] internal compiler error: in lookup_template_class_1, at cp/pt.c:9471

2019-01-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88995 --- Comment #3 from Nathan Sidwell --- template struct dn { static void execute (long *ary) { constexpr int index = 0; [&] { auto &elt = ary [index]; }; } }; void foo () { dn::execute; }

[Bug c++/88995] [8/9 Regression] internal compiler error: in lookup_template_class_1, at cp/pt.c:9471

2019-01-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88995 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/89051] New: -Wno-error= does not work for warning groups

2019-01-24 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051 Bug ID: 89051 Summary: -Wno-error= does not work for warning groups Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/80916] [7/8/9 Regression] Spurious "declared 'static' but never defined" warning

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

[Bug debug/87295] [early debug] ICE with -ffat-lto-objects -fdebug-types-section -g

2019-01-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug middle-end/89052] New: excessive data segment size causes a hang

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89052 Bug ID: 89052 Summary: excessive data segment size causes a hang Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-en

[Bug middle-end/89052] excessive data segment size causes a hang

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89052 --- Comment #1 from Martin Sebor --- Clang seems to use SIZE_MAX / 8 as the maximum object size and gives an error for any object whose size exceeds that. But it doesn't seem to doesn't track total object sizes and crashes in LLVM as it runs out

[Bug c++/89053] New: initializer-string too long for a large char array initialized with empty string

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89053 Bug ID: 89053 Summary: initializer-string too long for a large char array initialized with empty string Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug libgomp/87834] nvptx offloading: "WARNING: program timed out" for libgomp.fortran/target2.f90 execution test at -O0, -O1

2019-01-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87834 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/81691] libgomp.fortran/target2.f90 fails for nvptx at -O0 and -O1

2019-01-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81691 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/89054] New: libphobos/src/std/math.d:5279:18: error: undefined iden tifier 'ControlState'

2019-01-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89054 Bug ID: 89054 Summary: libphobos/src/std/math.d:5279:18: error: undefined iden tifier 'ControlState' Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: nor

[Bug c++/89055] New: wrong location with predefined macros

2019-01-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89055 Bug ID: 89055 Summary: wrong location with predefined macros Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c++

[Bug c++/89056] New: Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread darryl_okahata at keysight dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 Bug ID: 89056 Summary: Optimizer generates bad code for non-void function that fails to return a value Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity:

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86761] Code corruption with missing pointer return

2019-01-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86761 Andrew Pinski changed: What|Removed |Added CC||darryl_okahata at keysight dot com ---

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 --- Comment #2 from Andrew Pinski --- You can use -fsanatizer=undefined to find this behavior at runtime.

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 --- Comment #3 from Andrew Pinski --- See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86761#c4 on the differences between C and C++.

[Bug middle-end/89052] excessive data segment size causes a hang

2019-01-24 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89052 --- Comment #2 from joseph at codesourcery dot com --- I'd say it's a bug for GCC to need to allocate memory for the trailing zero-initialized part of such an object at all; it should only need to allocate memory for the initial part and rememb

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread darryl_okahata at keysight dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 --- Comment #4 from Darryl Okahata --- This seems rather draconian but, if the standard allows for that, so be it. Thanks.

[Bug fortran/85780] ICE in resolve_fl_procedure, at fortran/resolve.c:12504

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

[Bug c++/89036] [8/9 Regression] ICE if destructor has a requires

2019-01-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c/89045] [9 Regression] ICE in get_parm_info, at c/c-decl.c:7518

2019-01-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89045 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/85780] ICE in resolve_fl_procedure, at fortran/resolve.c:12504

2019-01-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85780 --- Comment #9 from kargl at gcc dot gnu.org --- Patch submitted. https://gcc.gnu.org/ml/fortran/2019-01/msg00236.html

[Bug c/33719] "#pragma omp for firstprivate(shared_var)" in function labelled 'shared_var' as private

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33719 Eric Gallager changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug demangler/54254] libiberty: demangling for global constructor is broken since r167781

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54254 Eric Gallager changed: What|Removed |Added CC||ian at airs dot com --- Comment #2 from

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 Eric Gallager changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment #

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 --- Comment #5 from Eric Gallager --- (In reply to Eric Gallager from comment #4) > (In reply to Martin Sebor from comment #3) > > It should be easy to white-list the main function in the > > -Wsuggest-attribute= checker. At the same time, I'm n

[Bug other/58312] libssp configure check for "usable vsnprintf" is broken on cross-compilers.

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58312 --- Comment #5 from Eric Gallager --- (In reply to Brooks Moses from comment #4) > It turns out that we do need these symbols in libssp despite having a nice > plain x86-Linux environment. We've got some precompiled blobs from > who-knows-where

[Bug c/33719] "#pragma omp for firstprivate(shared_var)" in function labelled 'shared_var' as private

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

[Bug debug/87295] [early debug] ICE with -ffat-lto-objects -fdebug-types-section -g

2019-01-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295 Richard Biener changed: What|Removed |Added Assignee|nathan at gcc dot gnu.org |rguenth at gcc dot gnu.org ---

[Bug tree-optimization/88739] [7/8/9 Regression] Big-endian union bug

2019-01-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 --- Comment #46 from Richard Biener --- (In reply to Richard Biener from comment #44) > Created attachment 45523 [details] > workaround > > So I am testing the following workaround, at least "most suitable" for > branches. > It avoids generating

<    1   2   3