[Bug libstdc++/68737] FAIL: 22_locale/num_put/put/char/14220.cc execution test

2018-09-03 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68737 --- Comment #5 from dave.anglin at bell dot net --- On 2018-09-03 12:03 PM, dave.anglin at bell dot net wrote: > (gdb) p/x __hi - __lo > $6 = 0x (gdb) frame 3 #3  std::num_put > >::_M_insert_float (this=0x83fffdde37a0, __s=...

[Bug c++/85137] [concepts] ICE with undeclared concept

2018-09-03 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85137 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85065] [concepts] ICE with invalid use of a concept

2018-09-03 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85065 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgcc/87189] libgcc/gthr-posix.h (__gthread_active_p) makes unwarranted assumptions about libpthread.a

2018-09-03 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189 --- Comment #9 from Paul Pluzhnikov --- Thanks, H.J. https://sourceware.org/bugzilla/show_bug.cgi?id=5784 has a few references, and in particular https://sourceware.org/ml/libc-alpha/2012-09/msg00192.html is important to consider.

[Bug c++/87207] New: ODR issue with static functions and lambda templates

2018-09-03 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87207 Bug ID: 87207 Summary: ODR issue with static functions and lambda templates Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/87207] ODR issue with static functions and lambda templates

2018-09-03 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87207 --- Comment #1 from blastrock at free dot fr --- Created attachment 44653 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44653&action=edit output of gcc -v when compiling the test case

[Bug tree-optimization/87188] Function pointer canonicalization optimized away

2018-09-03 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87188 --- Comment #4 from dave.anglin at bell dot net --- Created attachment 44655 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44655&action=edit S.cpp.035t.esra

[Bug tree-optimization/87188] Function pointer canonicalization optimized away

2018-09-03 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87188 --- Comment #3 from dave.anglin at bell dot net --- It looks like the function pointers disappear in the esra pass.

[Bug libbacktrace/87182] libbacktrace does not use GCC own zlib

2018-09-03 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87182 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #4 fr

[Bug c++/87208] New: dependent name resolution selects a function it should have NEVER considered

2018-09-03 Thread SztfG at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87208 Bug ID: 87208 Summary: dependent name resolution selects a function it should have NEVER considered Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug libbacktrace/87182] libbacktrace does not use GCC own zlib

2018-09-03 Thread vigerske at math dot hu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87182 --- Comment #5 from Stefan Vigerske --- The AC_CHECK_LIB([z], [compress], []) adds -lz to the LIBS variable in the Makefile, if successful. This results in calling the libtool that builds libbacktrace.la with -lz, which then results in having dep

[Bug tree-optimization/87177] [9 Regression] wrong code at -O2 and -O3 on x86-64-linux-gnu

2018-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87177 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Sep 3 17:41:05 2018 New Revision: 264069 URL: https://gcc.gnu.org/viewcvs?rev=264069&root=gcc&view=rev Log: 2018-09-03 Richard Biener PR tree-optimization/87177

[Bug tree-optimization/87177] [9 Regression] wrong code at -O2 and -O3 on x86-64-linux-gnu

2018-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87177 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 --- Comment #19 from Jakub Jelinek --- Created attachment 44656 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44656&action=edit gcc9-pr82853-wip.patch Untested WIP patch which does this during expansion if it is cheaper according to targe

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 --- Comment #20 from Jakub Jelinek --- Testcase I've been eyeballing so far: unsigned f1 (unsigned x) { return (x % 679U) == 0; } unsigned f2 (unsigned x, unsigned *y) { *y = x / 679U; return (x % 679U) == 0; } unsigned f3 (unsigned x) { return (

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

2018-09-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #5 from G.

[Bug fortran/47425] Array constructor with type-spec: Fails with more complicated length type expr

2018-09-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47425 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #5 from G.

[Bug c++/87205] Inefficient code generation for switch

2018-09-03 Thread glenjofe at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87205 Glen Joseph Fernandes changed: What|Removed |Added CC||glenjofe at gmail dot com --- Co

[Bug libbacktrace/87182] libbacktrace does not use GCC own zlib

2018-09-03 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87182 --- Comment #6 from Ian Lance Taylor --- In my testing I don't see any reference to -lz in libbacktrace.la. It is not the case that using AC_CHECK_LIB([z], [compress], [AC_DEFINE(HAVE_ZLIB, 1, [Define if -lz is available.])]) in libbacktra

[Bug c++/85065] [concepts] ICE with invalid use of a concept

2018-09-03 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85065 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/87205] Inefficient code generation for switch

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

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 --- Comment #21 from Jakub Jelinek --- Probably should punt early if integer_onep (treeop1), that case should have been optimized earlier, but if it isn't, we shouldn't miscompile. Another thing is if *arg1 is < 0 or >= treeop1, again, I'd hope

[Bug c++/87208] dependent name resolution selects a function it should have NEVER considered

2018-09-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87208 --- Comment #1 from Jonathan Wakely --- Dup of PR 51577 ?

[Bug middle-end/87209] New: Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized

2018-09-03 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87209 Bug ID: 87209 Summary: Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized Product: gcc Version: 9.0

[Bug c/87210] New: [RFE] introduce build time options to zero initialize automatic stack variables

2018-09-03 Thread pjp at fedoraproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87210 Bug ID: 87210 Summary: [RFE] introduce build time options to zero initialize automatic stack variables Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: n

[Bug c/87210] [RFE] introduce build time options to zero initialize automatic stack variables

2018-09-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87210 --- Comment #1 from Andrew Pinski --- http://wiki.c2.com/?TheKenThompsonHack

[Bug c/87210] [RFE] introduce build time options to zero initialize automatic stack variables

2018-09-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87210 --- Comment #2 from joseph at codesourcery dot com --- On Mon, 3 Sep 2018, pjp at fedoraproject dot org wrote: > As from the reply, it would be nice to have four options/features available > from the compiler, from least to most performance impa

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 --- Comment #22 from Jakub Jelinek --- So, while it isn't correct to replace x % 3U == 1 by (x - 1) % 3U == 0, because for x == 0 the test will yield a different value, as 0xU % 3U is 0 and 0 % 3U is also 0, x % 3U == 1 is equivalent to (

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 Wilco changed: What|Removed |Added CC||wdijkstr at arm dot com --- Comment #23 from Wil

[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

2018-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853 --- Comment #24 from Jakub Jelinek --- (In reply to Wilco from comment #23) > (In reply to Jakub Jelinek from comment #22) > > So, while it isn't correct to replace x % 3U == 1 by (x - 1) % 3U == 0, > > because > > for x == 0 the test will yield

[Bug c++/81836] ill-formed qualified name not diagnosed

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

[Bug target/66203] aarch64-none-elf does not automatically find librdimon

2018-09-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66203 --- Comment #3 from Eric Gallager --- (In reply to Andrew Pinski from comment #2) > By the way I will doing some bare metal aarch64 work soon but will be using > a different triplet for this env as it supports a few things the standard > bare met

<    1   2