[Bug c++/87427] -Wclass-memaccess improvement for POD with convenience initializer

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

[Bug target/87358] [8/9 Regression] ICE when -mtune=thunderx2t99 applied

2018-09-24 Thread Lijian.Zhang at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87358 --- Comment #9 from Lijian Zhang --- Hi Andrew, I only reproduced this issue with gcc-7.3.0, but not able to reproduce the failure with gcc-8.2.0/gcc-8.1.0 But from your description, gcc-8.2.0 still have this issue, and this issue is target to

[Bug target/87391] [RISCV] -march=rv32i -mabi=ilp32e is erroneously accepted

2018-09-24 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87391 --- Comment #3 from Jim Wilson --- Author: wilson Date: Tue Sep 25 01:27:06 2018 New Revision: 264555 URL: https://gcc.gnu.org/viewcvs?rev=264555=gcc=rev Log: RISC-V: Fix problems with ilp32e ABI support. gcc/ PR target/87391

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-24 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #14 from mrs at gcc dot gnu.org --- You can test it if you can dump the ar symbol table, with a assembled .s file. Nothing needs to work except the assembler and ar and the tool to dump the symbol table. In the olden days, there

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-24 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #13 from mrs at gcc dot gnu.org --- Ah, yes, likely it would be ar that has changed. Anyway, the ld version is a cheap indirect proxy for bugs in ar. We're likely to get new ar versions with new ld versions. A real config test is

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-24 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #12 from mrs at gcc dot gnu.org --- I changed the test case around, and the linker seems to be able to resolve from a .a now: $ ar -q liblib.a lib.o $ nm -m liblib.a liblib.a(lib.o): 0020 (__TEXT,__eh_frame) non-external

[Bug target/87358] [8/9 Regression] ICE when -mtune=thunderx2t99 applied

2018-09-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87358 Andrew Pinski changed: What|Removed |Added Version|7.3.0 |8.2.0 Resolution|MOVED

[Bug target/87391] [RISCV] -march=rv32i -mabi=ilp32e is erroneously accepted

2018-09-24 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87391 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #2

[Bug target/87391] [RISCV] -march=rv32i -mabi=ilp32e is erroneously accepted

2018-09-24 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87391 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #11 from Iain Sandoe --- (In reply to m...@gcc.gnu.org from comment #10) > I've related 15428 which has some details for why this is the way it is. > > Unless the underlying bug has been fixed in the linker, changing this will >

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-24 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 mrs at gcc dot gnu.org changed: What|Removed |Added CC||mrs at gcc dot gnu.org

[Bug c++/87427] New: -Wclass-memaccess improvement for POD with convenience initializer

2018-09-24 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87427 Bug ID: 87427 Summary: -Wclass-memaccess improvement for POD with convenience initializer Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/87330] ICE in scan_rtx_reg, at regrename.c:1097

2018-09-24 Thread sameerad at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87330 --- Comment #4 from sameerad at gcc dot gnu.org --- I am having a look at this issue.

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 Gerald Pfeifer changed: What|Removed |Added Target|i386-pc-solaris2.11,|i386-pc-solaris2.11,

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 --- Comment #6 from Ilya Leoshkevich --- Candidate patch here: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01382.html

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 --- Comment #5 from Ilya Leoshkevich --- Ok, makes sense. I've just made a patch that adds the 5th, but it had to be special-cased for GENERATOR_FILE, and thus doesn't look too nice. FORMAT[0] == 'w' looks much cleaner.

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot

[Bug c/87392] UBSAN behavior on left-shifting 1 into the sign bit is dependent on C standard

2018-09-24 Thread roscaeugeniu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87392 --- Comment #5 from Eugeniu Rosca --- Hi Andrew, Thanks for the much more satisfying answer. > In C90, it was implemented defined behavior (while in C99 and above it is > undefined behavior). I trust you, but why not giving a reference to

[Bug c/80868] "Duplicate const" warning emitted in `const typeof(foo) bar;`

2018-09-24 Thread ndesaulniers at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868 --- Comment #5 from Nick Desaulniers --- Oh, note in the typedef case: typedef const int t; const t x; It seems that for -std=c89 (non pedantic, non GNU), GCC does not warn. That seems to violate C90 6.5.3 constraints: "The same type

[Bug c/87426] c_parser_unary_expression ICE

2018-09-24 Thread SztfG at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87426 --- Comment #1 from SztfG at yandex dot ru --- reduced testcase int arr[1] ={ 0 }; int test(int a) { return (arr[abs(a)]); }

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 --- Comment #3 from Ilya Leoshkevich --- Valgrind has found an issue: ==12738== Invalid write of size 4 ==12738==at 0x804CC48: attr_rtx_1 (genattrtab.c:518) ==12738==by 0x804CC48: attr_rtx(rtx_code, ...) (genattrtab.c:588) ==12738==

[Bug c/87426] New: c_parser_unary_expression ICE

2018-09-24 Thread SztfG at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87426 Bug ID: 87426 Summary: c_parser_unary_expression ICE Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/87425] New: [9 Regression] ICE with virtual assignment operator

2018-09-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 Bug ID: 87425 Summary: [9 Regression] ICE with virtual assignment operator Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 --- Comment #2 from Ilya Leoshkevich --- Fails on i686-linux-gnu: *** Error in `build/genattrtab': malloc(): memory corruption: 0x08e56da0 *** === Backtrace: = /lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xf755c38a]

[Bug target/87414] -mindirect-branch=thunk produces thunk with incorrect CFI on x86_64

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

[Bug tree-optimization/87424] New: inlining context absent from missing nul warnings

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87424 Bug ID: 87424 Summary: inlining context absent from missing nul warnings Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 --- Comment #1 from Ilya Leoshkevich --- Ouch! Somehow s2 got corrupted (the 2nd value can be either 0 or 1). I'm looking at this now.

[Bug tree-optimization/87422] duplicate warning for strcpy of an unterminated character array

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87422 Martin Sebor changed: What|Removed |Added CC||law at redhat dot com --- Comment #1

[Bug c++/87406] Implement -Wconstant-conversion and -Wbitfield-constant-conversion

2018-09-24 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87406 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails

2018-09-24 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878 --- Comment #29 from Eric Botcazou --- > gnatlink is _never_ a shell script though but, yes, it's apparently the > usual mess with Unix paths on Windows. It seems that some paths are properly translated though, for example the library paths.

[Bug target/87421] GCC generates unaligned movdqa

2018-09-24 Thread yshuiv7 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87421 Yuxuan Shui changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/87407] Enhance -Wunused-function to handle also inline functions

2018-09-24 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87407 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug tree-optimization/87423] New: missing warning for strcpy of an unterminated member array

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87423 Bug ID: 87423 Summary: missing warning for strcpy of an unterminated member array Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/87422] New: duplicate warning for strcpy of an unterminated character array

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87422 Bug ID: 87422 Summary: duplicate warning for strcpy of an unterminated character array Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/87421] GCC generates unaligned movdqa

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87421 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug testsuite/87339] [9 Regression] gcc.dg/warn-abs-1.c FAILs

2018-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87339 --- Comment #6 from Martin Jambor --- Well, I did not quite manage on Friday, but I have submitted the patch now: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01374.html

[Bug target/87421] GCC generates unaligned movdqa

2018-09-24 Thread yshuiv7 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87421 --- Comment #1 from Yuxuan Shui --- FYI, clang/llvm correctly generates movups instruction for the read.

[Bug c/87347] ICE in warn_for_abs at gcc/c/c-parser.c:9226 since r264368

2018-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87347 --- Comment #2 from Martin Jambor --- So I did not manage to do so last week but I have submitted it today: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01373.html

[Bug target/87421] New: GCC generates unaligned movdqa

2018-09-24 Thread yshuiv7 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87421 Bug ID: 87421 Summary: GCC generates unaligned movdqa Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #36 from Dominique d'Humieres --- > The test succeeds with r264348+patch of r264485, but not with r264349+patch. I make a mistake in my bissection: r264349+patch is OK as well as r264357+patch, but not r264358+patch.

[Bug tree-optimization/87420] New: missing warning for strcpy of an unterminated array with variable offset

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87420 Bug ID: 87420 Summary: missing warning for strcpy of an unterminated array with variable offset Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/87414] -mindirect-branch=thunk produces thunk with incorrect CFI on x86_64

2018-09-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87414 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/85070] [8/9 Regression] ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409

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

[Bug c++/85070] [8/9 Regression] ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409

2018-09-24 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85070 --- Comment #7 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Sep 24 17:44:02 2018 New Revision: 264542 URL: https://gcc.gnu.org/viewcvs?rev=264542=gcc=rev Log: /cp 2018-09-24 Paolo Carlini PR c++/85070 * method.c

[Bug c++/85070] [8/9 Regression] ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409

2018-09-24 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85070 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Sep 24 17:42:45 2018 New Revision: 264541 URL: https://gcc.gnu.org/viewcvs?rev=264541=gcc=rev Log: /cp 2018-09-24 Paolo Carlini PR c++/85070 * method.c

[Bug fortran/87418] [9 Regression] Failure in coarray_lib_alloc_4.f90

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87418 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #8 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Sep 24 17:20:58 2018 New Revision: 264540 URL: https://gcc.gnu.org/viewcvs?rev=264540=gcc=rev Log: i386: Insert ENDBR before the profiling counter call ENDBR must be the

[Bug target/87419] New: -mfentry generates assembly codes as string instead of RTL

2018-09-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87419 Bug ID: 87419 Summary: -mfentry generates assembly codes as string instead of RTL Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87401 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/87397] Clobbering intent(out) variables caused regression in OpenCoarrays testsuite

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87397 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Mon Sep 24 17:12:34 2018 New Revision: 264539 URL: https://gcc.gnu.org/viewcvs?rev=264539=gcc=rev Log: 2018-09-24 Thomas Koenig PR fortran/87397 *

[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87401 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Mon Sep 24 17:12:34 2018 New Revision: 264539 URL: https://gcc.gnu.org/viewcvs?rev=264539=gcc=rev Log: 2018-09-24 Thomas Koenig PR fortran/87397 *

[Bug fortran/87418] [9 Regression] Failure in coarray_lib_alloc_4.f90

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87418 Thomas Koenig changed: What|Removed |Added CC||cesar at gcc dot gnu.org Target

[Bug fortran/87418] New: [9 Regression] Failure in coarray_lib_alloc_4.f90

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87418 Bug ID: 87418 Summary: [9 Regression] Failure in coarray_lib_alloc_4.f90 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

2018-09-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87401 --- Comment #2 from Thomas Koenig --- Quite clear what is going on. The tree dump shows assoc_intent_out () { static void sub (real(kind=4) & restrict); real(kind=4) r; { real(kind=4) * o; o = o = {CLOBBER}; sub (o);

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 Rainer Orth changed: What|Removed |Added Target Milestone|--- |9.0

[Bug bootstrap/87417] New: [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-24 Thread ro at gcc dot gnu.org
Target: i386-pc-solaris2.11, sparc-sun-solaris2.11 Build: i386-pc-solaris2.11, sparc-sun-solaris2.11 Between 20180922 (r264503) and 20180924 (r264537), both Solaris/SPARC and Solaris/x86 bootstrap got broken (already in stage1): genattrtab: Internal error: abort

[Bug c/80868] "Duplicate const" warning emitted in `const typeof(foo) bar;`

2018-09-24 Thread ndesaulniers at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868 --- Comment #4 from Nick Desaulniers --- We can close this bug. LLVM will match GCC here: https://reviews.llvm.org/D52248

[Bug c++/66639] declare __func__ , __FUNCTION__ & __PRETTY_FUNCTION__ as constexpr

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66639 Martin Sebor changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/87399] Inconsistent determination of what is usable in a constant expression with __PRETTY_FUNCTION__

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87399 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid

[Bug tree-optimization/87416] New: [8/9 Regression] switchconv: detect identity lookup arrays

2018-09-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87416 Bug ID: 87416 Summary: [8/9 Regression] switchconv: detect identity lookup arrays Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug c++/87413] strlen accepted in array declaration

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/78986] [7/8/9 Regression] template inner classes are not affected by access specifiers

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78986 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87413] strlen accepted in array declaration

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

[Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk

2018-09-24 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952 --- Comment #1 from Will Schmidt --- Author: willschm Date: Mon Sep 24 15:47:22 2018 New Revision: 264538 URL: https://gcc.gnu.org/viewcvs?rev=264538=gcc=rev Log: [testsuite] 2018-09-24 Will Schmidt PR testsuite/86952 *

[Bug tree-optimization/87415] New: wrong code at -O1 and above on x86_64-linux-gnu

2018-09-24 Thread su at cs dot ucdavis.edu
/x86_64-pc-linux-gnu/9.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 9.0.0 20180924 (experimental) [trunk revision 264537] (GCC

[Bug c++/87399] Inconsistent determination of what is usable in a constant expression with __PRETTY_FUNCTION__

2018-09-24 Thread eric-bugs at omnifarious dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87399 --- Comment #3 from eric-bugs at omnifarious dot org --- *** Bug 87381 has been marked as a duplicate of this bug. ***

[Bug c++/87381] clang 6.0 will compile this constexpr construct, but gcc 8.2.1 will not.

2018-09-24 Thread eric-bugs at omnifarious dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87381 eric-bugs at omnifarious dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/72709] Incorrect assignment of allocatable character array used as component of derived type

2018-09-24 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72709 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/87399] Inconsistent determination of what is usable in a constant expression with __PRETTY_FUNCTION__

2018-09-24 Thread eric-bugs at omnifarious dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87399 eric-bugs at omnifarious dot org changed: What|Removed |Added CC||eric-bugs at

[Bug c++/87413] strlen accepted in array declaration

2018-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413 --- Comment #2 from Jonathan Wakely --- It's a GNU extension in C++, so we can decide whether it's valid or not.

[Bug target/87414] New: -mindirect-branch=thunk produces thunk with incorrect CFI on x86_64

2018-09-24 Thread fw at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org CC: hjl.tools at gmail dot com Target Milestone: --- Target: x86_64 GCC 9.0.0 (20180924) generates

[Bug c++/87407] Enhance -Wunused-function to handle also inline functions

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87407 --- Comment #11 from Richard Biener --- It's probably inconvenient for C indeed (pre-dating C99 inline). Even GCC has too many static inlines in headers. I agree that we can warn for static inline declarations with locations that are not in

[Bug c++/87413] strlen accepted in array declaration

2018-09-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413 --- Comment #1 from Bernd Edlinger --- so current trunk accepts the variant test1.c with __builtin_strlen both C and C++: $ gcc -Wall -S test1.c $ gcc -x c++ -Wall -S test1.c Don't know it that is valid.

[Bug tree-optimization/87402] [9 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87402 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87401 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/87399] Inconsistent determination of what is usable in a constant expression with __PRETTY_FUNCTION__

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87399 --- Comment #1 from Richard Biener --- IIRC there's a duplicate about __PRETTY_FUNCTION__ and constexpr.

[Bug c/82272] RFE: request a warning for ( == ) etc.

2018-09-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82272 --- Comment #7 from Martin Sebor --- (In reply to Eric Gallager from comment #6) The proposal was discussed at the spring 2018 WG14 meeting in Brno. There was strong support for making the change (the details of the discussion and the straw

[Bug c++/87393] [8/9 Regression] gcc/cp/parser.c:13967:37:Unused Entity Issue: expression result unused: -Wunused-value since r251026

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87393 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.3

[Bug c++/87413] New: strlen accepted in array declaration

2018-09-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413 Bug ID: 87413 Summary: strlen accepted in array declaration Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/87386] [8/9 Regression] Error message for static_assert show wrong range

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87386 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.3

[Bug c/67629] bogus -Wreturn-type in a function with tautological if-else

2018-09-24 Thread mwoehlke.floss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629 --- Comment #8 from Matthew Woehlke --- Given what -Wreturn-type is trying to accomplish, I wonder if a "delayed issuance" strategy would be in order? IOW, have the front end "trigger" the warning, as now, but stuff it in a queue or such,

[Bug middle-end/87370] Regression in return struct code

2018-09-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 H.J. Lu changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com ---

[Bug target/87374] [8/9 Regression] ICE in extract_insn, at recog.c:2305

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374 Richard Biener changed: What|Removed |Added Target||arm Target Milestone|---

[Bug c++/87373] Packed structs are not handled properly on ARM architecture even with misaligned access is enabled

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87373 Richard Biener changed: What|Removed |Added Target||arm Status|UNCONFIRMED

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #7 from H.J. Lu --- (In reply to Florian Weimer from comment #6) > What's the status of this bug? My patch is still unreviewed: https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01341.html

[Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64

2018-09-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87412 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/87370] Regression in return struct code

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug target/87369] [9 Regression] Regression on aarch64/copysign-bsl.c since r264264

2018-09-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87369 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0 Summary|Regression on

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2018-09-24 Thread iii at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #15 from iii at gcc dot gnu.org --- Author: iii Date: Mon Sep 24 14:21:03 2018 New Revision: 264535 URL: https://gcc.gnu.org/viewcvs?rev=264535=gcc=rev Log: S/390: Fix conditional returns on z196+ S/390 epilogue ends with (parallel

[Bug target/83970] -mindirect-branch=thunk -fno-plt generates CET-incompatible thunk

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83970 --- Comment #1 from Florian Weimer --- Bug 87412 is a related issue, but without -fno-plt.

[Bug target/87412] New: -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64

2018-09-24 Thread fw at gcc dot gnu.org
. Seen with: xgcc (GCC) 9.0.0 20180924 (experimental) Suggested fix is to error out when both options are specified at the same time.

[Bug target/87411] -fcf-protection -mindirect-branch=thunk incorrectly marked as CET

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87411 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87411] New: -fcf-protection -mindirect-branch=thunk incorrectly

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87411 Bug ID: 87411 Summary: -fcf-protection -mindirect-branch=thunk incorrectly Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 Florian Weimer changed: What|Removed |Added Summary|ENDBR isn't generated at|ENDBR isn't generated at

[Bug c++/87410] New: internal compiler error: in fold_convert_loc, at fold-const.c:2530

2018-09-24 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87410 Bug ID: 87410 Summary: internal compiler error: in fold_convert_loc, at fold-const.c:2530 Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal

[Bug testsuite/70230] 11 test regressions when building GCC 6 with --enable-default-ssp

2018-09-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70230 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/87362] GCC produces with LTO debug info with which gdb is not happy about

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

[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails

2018-09-24 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878 --- Comment #28 from Eric Botcazou --- > Aaahh Yes, and now I understand what the problem is.. as > https://github.com/Alexpux/MINGW-packages/pull/3877#issuecomment-408660810 > points out, gnatlink is a shell script on non-Windows but on Windows

[Bug c++/87406] Implement -Wconstant-conversion and -Wbitfield-constant-conversion

2018-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87406 --- Comment #1 from Jonathan Wakely --- We do warn about this, but only with -Wconversion which is not in -Wall or -Wextra c.cc:1:24: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion] char f(int i) { return i; }

[Bug c++/87406] Implement -Wconstant-conversion and -Wbitfield-constant-conversion

2018-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87406 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >