[Bug c++/84075] New: Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-01-27 Thread matteo-ml at member dot fsf.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Bug ID: 84075 Summary: Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’ Product: gcc Version: 7.3.0

[Bug c/84046] [6/7/8 Regression] global zero-sized objects may have same address

2018-01-27 Thread uecker at eecs dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84046 --- Comment #5 from Martin Uecker --- (In reply to Jakub Jelinek from comment #4) > If you want aggregate with size 1 and isn't used to store information, use > typedef struct { char : 1; } zero; > instead. Yes, thank you. But for my understand

[Bug c/84046] [6/7/8 Regression] global zero-sized objects may have same address

2018-01-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84046 --- Comment #6 from Jakub Jelinek --- Zero sized object occupies zero bytes, if you have an array of them, necessarily all the elements of the array need to have the same address. While individual variables could be in theory padded, it would be

[Bug fortran/41137] inefficient zeroing of an array

2018-01-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #20 from Domi

[Bug fortran/84065] [8 regression] string_1.f90 fails since r256944

2018-01-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84065 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Jan 27 10:28:20 2018 New Revision: 257121 URL: https://gcc.gnu.org/viewcvs?rev=257121&root=gcc&view=rev Log: PR fortran/84065 * decl.c (add_init_expr_to_sym): Ignore i

[Bug middle-end/67220] GCC fails to properly handle libcall symbol visibility of builtin functions

2018-01-27 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67220 --- Comment #5 from Bernd Edlinger --- FYI the C++ FE behaves differently: cat x.cc typedef __SIZE_TYPE__ size_t; extern "C" void *memset(void *s, int c, size_t n) __attribute__ ((visibility ("hidden"))); void foo1 (void *s, size_t n) { mem

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-27 Thread koh...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #13 from Heinz Kohl --- O.k., but following your arguments I'd expect 0xb as result for my second example 0xb.3590da0e2a06736p-3 (attachment 41578), but it's giving 0, also stopping at 'x' and not at '.', just as in the first case. I

[Bug plugins/83442] FAIL: gcc.dg/plugin/expensive-selftests-1.c -- timeout

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

[Bug c++/84076] New: [5/6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer

2018-01-27 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84076 Bug ID: 84076 Summary: [5/6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer Product: gcc Version: 7.3.0 Status: UNCONFIRMED

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

2018-01-27 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Jan 27 13:10:24 2018 New Revision: 257123 URL: https://gcc.gnu.org/viewcvs?rev=257123&root=gcc&view=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We ca

[Bug bootstrap/43301] top-level configure script ignores ---with-build-time-tools

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43301 --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #2) > (In reply to Ryan Johnson from comment #0) > > ./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though > > it correctly warns when $MY_TOOLS i

[Bug bootstrap/38743] libgcc multilib fails if not able to exec "non" native programs

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38743 --- Comment #8 from Eric Gallager --- (In reply to Eric Gallager from comment #7) > (In reply to Andrew Pinski from comment #6) > > a patch like http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00474.html is > > needed for libgcc. > > Confirming tha

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2018-01-27 Thread wbx at openadk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #21 from Waldemar Brodkorb --- I can confirm that this fixes the problem even for gcc 7.x. Any chance to get it included into gcc 7 branch? No regression found while running the uClibc-ng testsuite inside qemu-system-m68k. Thanks a

[Bug plugins/83442] FAIL: gcc.dg/plugin/expensive-selftests-1.c -- timeout

2018-01-27 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83442 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug objc++/49070] [6/7/8 regression] ObjC++ compiler fails to compile ObjC method invocations without keyword arguments

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49070 Eric Gallager changed: What|Removed |Added Keywords||needs-bisection Priority|P3

[Bug objc++/66504] ICE using C++ exceptions in Objective-C++

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66504 Eric Gallager changed: What|Removed |Added Known to work||4.7.4, 4.8.5, 5.5.0, 6.4.0,

[Bug other/35511] release scripts added release note to zlib/ChangeLog, not zlib/ChangeLog.gcj

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35511 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/51088] undefined label with statement expression and cond expression

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51088 --- Comment #6 from Eric Gallager --- (In reply to Marek Polacek from comment #5) > Patch to give an error if taking an address of a label defined in ({}): > http://gcc.gnu.org/ml/gcc-patches/2014-04/msg00381.html Does this patch still apply aga

[Bug objc/77428] incorrect 'set but not used' warning with @throw

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77428 --- Comment #3 from Eric Gallager --- (In reply to Tom de Vries from comment #1) > Created attachment 39528 [details] > tentative patch Have you sent this patch to the gcc-patches mailing list yet?

[Bug middle-end/84071] [7/8 regression] nonzero_bits1 of subreg incorrect

2018-01-27 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84071 Wilco changed: What|Removed |Added CC||wdijkstr at arm dot com --- Comment #2 from Wilc

[Bug rtl-optimization/81443] [8 regression] build/genrecog.o: virtual memory exhausted: Cannot allocate memory

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

[Bug fortran/84074] Incorrect indexing of array when actual argument is an array expression and dummy is polymorphic

2018-01-27 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84074 --- Comment #3 from Vladimir Fuka --- The bug has been around for so long that I already forgot I saw these problems before.

[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.

2018-01-27 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073 --- Comment #3 from emsr at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > Withe the following change > > --- pr84073.f90 2018-01-26 22:48:32.0 +0100 > +++ pr84073_db.f902018-01-27 00:03:06.0 +0

[Bug libstdc++/83906] [8 Regression] Random FAIL: libstdc++-prettyprinters/80276.cc whatis p4

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

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

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

[Bug target/83828] FAIL: gcc.target/i386/avx512vpopcntdqvl-vpopcntq-1.c execution test

2018-01-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83828 --- Comment #3 from H.J. Lu --- On AVX512 machine, r257121 gave: FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c (test for excess errors) FAIL: gcc.target/i386/avx512bitalgvl-vpopcntb-1.c (test for excess errors) FAIL: gcc.target/i386/avx512bi

[Bug c/53129] Wself-assign

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53129 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug c/71176] trunk/fixincludes/fixincl.c:162: bad % specifier

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71176 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug preprocessor/49973] Column numbers count special characters as multiple columns

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug c/23087] Misleading warning, "... differ in signedness"

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23087 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.

2018-01-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073 --- Comment #4 from Thomas Koenig --- The real error is that lengths unequal to one are not C interoperable, and should be rejected. From the F2003 standard, 15.2.1: "if the type is character, inter- operability also requires that the length ty

[Bug preprocessor/66505] -Wno-error=pedantic does not reverse -Werror -Wpedantic

2018-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66505 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.

2018-01-27 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073 --- Comment #5 from emsr at gcc dot gnu.org --- In a way, I *am* treating this as a char array n the C side and it would probably be most correct to have character(kind=c_char) thing(42). and get char thing[42]; honestly. Is there a

[Bug target/84077] New: Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-01-27 Thread floessie.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 Bug ID: 84077 Summary: Likely wrong code with `__builtin_expect()` on i686-linux-gnu Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/84077] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-01-27 Thread floessie.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #1 from Flössie --- Created attachment 43264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43264&action=edit Preprocessed file

[Bug middle-end/84078] New: false positive for -Wmaybe-uninitialized

2018-01-27 Thread samuel.thiba...@ens-lyon.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84078 Bug ID: 84078 Summary: false positive for -Wmaybe-uninitialized Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-e

[Bug libstdc++/83906] [8 Regression] Random FAIL: libstdc++-prettyprinters/80276.cc whatis p4

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

[Bug fortran/83152] Possible run time error in derived type i/o

2018-01-27 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83152 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/55422] gcc does not diagnose change of linkage for a function.

2018-01-27 Thread cookevillain at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55422 cookevillain at yahoo dot com changed: What|Removed |Added Version|4.4.3 |5.4.0 --- Comment #6 from

[Bug tree-optimization/84079] New: missing -Warray-bounds taking the address of a multidimensional array element

2018-01-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84079 Bug ID: 84079 Summary: missing -Warray-bounds taking the address of a multidimensional array element Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: nor

[Bug c++/83924] ICE: Error reporting routines re-entered with -Wduplicated-branches

2018-01-27 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83924 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Sun Jan 28 01:28:05 2018 New Revision: 257131 URL: https://gcc.gnu.org/viewcvs?rev=257131&root=gcc&view=rev Log: 2018-01-27 Paolo Carlini PR c++/83924 * g++

[Bug c++/83924] ICE: Error reporting routines re-entered with -Wduplicated-branches

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

[Bug c/55422] gcc does not diagnose change of linkage for a function.

2018-01-27 Thread cookevillain at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55422 --- Comment #7 from cookevillain at yahoo dot com --- (In reply to Andrew Pinski from comment #5) > The first example is invalid C90 anyways: > t4.c:10:3: error: ISO C90 forbids mixed declarations and code [-Wpedantic] I forgot to mention it in m

[Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element

2018-01-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84079 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug c++/82541] Wduplicated-branches triggers in template context

2018-01-27 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82541 Paolo Carlini changed: What|Removed |Added Target Milestone|--- |8.0

[Bug fortran/82086] namelist read with repeat count fails when item is member of array of structures

2018-01-27 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82086 --- Comment #3 from Jerry DeLisle --- I think this bug is invalid and gfortran is correct. If you do this: &n ta(1:8)%c = 'bogus' / You get what you expect. The way you have it, you can not put 8 strings called 'bogus' into one strng element

[Bug c++/84080] New: the compiler crashes when compiling the following sample file

2018-01-27 Thread fabio at cannizzo dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080 Bug ID: 84080 Summary: the compiler crashes when compiling the following sample file Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal