[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Jul 18 06:54:23 2018 New Revision: 262849 URL: https://gcc.gnu.org/viewcvs?rev=262849&root=gcc&view=rev Log: 2018-07-18 Richard Biener PR debug/86523 cp/

[Bug tree-optimization/86557] missed vectorization with std::vector compared to icc 18

2018-07-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86557 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86565] New: failing to instantiate all of a local class

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86565 Bug ID: 86565 Summary: failing to instantiate all of a local class Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86564] New: Declaration containing qualified-id interpreted as function-style cast

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86564 Bug ID: 86564 Summary: Declaration containing qualified-id interpreted as function-style cast Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86563] New: catch reference to incomplete type

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86563 Bug ID: 86563 Summary: catch reference to incomplete type Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c++/86562] New: Missing warning (error in C++11) for passing nontrivial object to varargs function via function pointer

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86562 Bug ID: 86562 Summary: Missing warning (error in C++11) for passing nontrivial object to varargs function via function pointer Product: gcc Version: 9.0

[Bug c++/86561] New: a function definition must occur in a standalone declaration

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86561 Bug ID: 86561 Summary: a function definition must occur in a standalone declaration Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/67153] [6/7/8/9 Regression] integer optimizations 53% slower than std::bitset<>

2018-07-17 Thread ncm at cantrip dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67153 --- Comment #26 from ncm at cantrip dot org --- Still fails on Skylake (i7-6700HQ) and gcc 8.1.0. The good news is that clang++-7.0.0 code is slow on all four versions.

[Bug bootstrap/81963] ICE in stage 2 compiler while configuring libgcc in stage2, during GIMPLE pass: cfg

2018-07-17 Thread ray_linn at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81963 ray linn changed: What|Removed |Added CC||ray_linn at hotmail dot com --- Comment #1 fr

[Bug target/86560] FAIL: c-c++-common/asan/swapcontext-test-1.c

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

[Bug target/86560] New: FAIL: c-c++-common/asan/swapcontext-test-1.c

2018-07-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86560 Bug ID: 86560 Summary: FAIL: c-c++-common/asan/swapcontext-test-1.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #23 from Bernd Edlinger --- Aehm, and won't this kind of folding make it impossible for asan/ubsan to spot the bug? I mean why not make that dependent on the sanitizer?

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #22 from Bernd Edlinger --- (In reply to Martin Sebor from comment #21) > Thanks for testing the patch! I've tweaked it to avoid the ICE. I'm not > sure what masked the ICE in my testing but mixing signed and unsigned types > in the

[Bug middle-end/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays

2018-07-17 Thread mattreecebentley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471 --- Comment #20 from Matt Bentley --- (In reply to Matt Bentley from comment #19) > (In reply to Jonathan Wakely from comment #18) > > (In reply to Matt Bentley from comment #13) > > > Well it's more that you're doing- at any rate, the issue you'

[Bug middle-end/86471] GCC/libstdc++ outputs inferior code for std::fill and std::fill_n vs std::memset on c-style arrays

2018-07-17 Thread mattreecebentley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471 --- Comment #19 from Matt Bentley --- (In reply to Jonathan Wakely from comment #18) > (In reply to Matt Bentley from comment #13) > > Well it's more that you're doing- at any rate, the issue you've noted is > > easily bypassed by changing the "r

[Bug c/86559] Build failure on AIX 5.3

2018-07-17 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86559 --- Comment #1 from The Written Word --- Might be a duplicate of PR64081.

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #21 from Martin Sebor --- Thanks for testing the patch! I've tweaked it to avoid the ICE. I'm not sure what masked the ICE in my testing but mixing signed and unsigned types in the same expression without conversion was the cause.

[Bug c/86559] New: Build failure on AIX 5.3

2018-07-17 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86559 Bug ID: 86559 Summary: Build failure on AIX 5.3 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: un

[Bug tree-optimization/86544] Popcount detection generates different code on C and C++

2018-07-17 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86544 --- Comment #2 from kugan at gcc dot gnu.org --- Patch posted at https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00975.html

[Bug c++/86558] New: ICE on template code

2018-07-17 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86558 Bug ID: 86558 Summary: ICE on template code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassi

[Bug libstdc++/86553] libstdc++-v3 build failure on AIX 5.3

2018-07-17 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553 --- Comment #1 from The Written Word --- I get a similar failure on AIX 5.2 with gcc-7.2.0 and gcc-8.1.0.

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #7 from Ian Lance Taylor --- Thanks. There seems to be something with -fgo-dump-spec on your system, such that it fails if an incomplete typedef is seen before a complete typedef. I'm not sure why that would be. I haven't been able

[Bug tree-optimization/86010] [7/8/9 Regression] redundant memset with smaller size not eliminated

2018-07-17 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86010 --- Comment #6 from Jeffrey A. Law --- Author: law Date: Tue Jul 17 23:54:10 2018 New Revision: 262841 URL: https://gcc.gnu.org/viewcvs?rev=262841&root=gcc&view=rev Log: PR tree-optimization/86010 * tree-ssa-dse.c (compute_trims)

[Bug c++/86557] New: missed vectorization with std::vector compared to icc 18

2018-07-17 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86557 Bug ID: 86557 Summary: missed vectorization with std::vector compared to icc 18 Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/86556] New: , most vexing parse, and diagnostic output

2018-07-17 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86556 Bug ID: 86556 Summary: , most vexing parse, and diagnostic output Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/86552] missing warning for reading past the end of non-string arrays

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86552 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2018-07-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85334, which changed state. Bug 85334 Summary: Shadow stack isn't unwound properly through signal handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 What|Removed |Added -

[Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler

2018-07-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #20 from Bernd Edlinger --- part.c.004t.original looks funny: ;; Function main (null) ;; enabled by -tree-original { volatile int i = 4; int n = 4; volatile int i = 4; int n = 4; SAVE_EXPR <= 4 ? 4 - (ssizetype) SAV

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #19 from Bernd Edlinger --- sorry wrong test case: $ cat part.c cat part.c #define a "121\01" int main () { volatile int i=4; int n = __builtin_strlen (&a[0]); n += __builtin_strlen (&a[i]); if (n != 4) __builtin_abor

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #18 from Bernd Edlinger --- (In reply to Martin Sebor from comment #12) > Patch: https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00936.html Sorry, Martin, with your patch I have an ICE in the following test: $ cat part.c const char a[

[Bug middle-end/86554] Incorrect code generation with signed/unsigned comparison

2018-07-17 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86554 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug c/86555] New: unaligned address for ldrd/strd on armv5e

2018-07-17 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86555 Bug ID: 86555 Summary: unaligned address for ldrd/strd on armv5e Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/86554] Incorrect code generation with signed/unsigned comparison

2018-07-17 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86554 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/86554] New: Incorrect code generation with signed/unsigned comparison

2018-07-17 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86554 Bug ID: 86554 Summary: Incorrect code generation with signed/unsigned comparison Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug libstdc++/86450] Bootstrap failure due to -Wabi

2018-07-17 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86450 --- Comment #25 from Steve Kargl --- On Tue, Jul 17, 2018 at 01:24:00PM +, redi at gcc dot gnu.org wrote: > > --- Comment #23 from Jonathan Wakely --- > This should be fixed now, please confirm (I can't even get a > build to complete with -

[Bug middle-end/85602] -Wsizeof-pointer-memaccess for strncat with size of source

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/86551] [ICE] bare class and select type

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

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #6 from Curtis Hamilton --- Adding before solves the issue with "cmsghdr" but not the other entries. /usr/local/bin/gmkdir -p .; files=`echo /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/go/runtime/alg.go /usr/ports/lang/gcc7/work/gcc-

[Bug libstdc++/86553] New: libstdc++-v3 build failure on AIX 5.3

2018-07-17 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553 Bug ID: 86553 Summary: libstdc++-v3 build failure on AIX 5.3 Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #17 from Bernd Edlinger --- Martin, in expr.c at string_constant() there is an impossible check: if (TREE_CODE (init) == CONSTRUCTOR) { if (TREE_CODE (arg) != ARRAY_REF && TREE_CODE (arg) == COMPONENT_REF

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #16 from Martin Sebor --- I would prefer to avoid discussing the array size rule and optimization in too many places, and especially in bugs that aren't directly related to it. There are other bugs where it is being discussed (mainly

[Bug tree-optimization/86552] New: missing warning for reading past the end of non-string arrays

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86552 Bug ID: 86552 Summary: missing warning for reading past the end of non-string arrays Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 Franz Sirl changed: What|Removed |Added CC||sirl at gcc dot gnu.org --- Comment #15 fro

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #5 from Ian Lance Taylor --- Thanks. Unfortunately I don't know why this is failing. Does it help if you edit the file libgo/sysinfo.c to move #include ahead of #include ?

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #12 from Jonny Grant --- Created attachment 44404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44404&action=edit Invalid DIE testcase

[Bug fortran/86543] [9 Regression] FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 16)

2018-07-17 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86543 Fritz Reese changed: What|Removed |Added Status|ASSIGNED|RESOLVED See Also|

[Bug fortran/83184] Out of memory or ICE with option -fdec

2018-07-17 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83184 --- Comment #8 from Fritz Reese --- Author: foreese Date: Tue Jul 17 16:02:03 2018 New Revision: 262828 URL: https://gcc.gnu.org/viewcvs?rev=262828&root=gcc&view=rev Log: 2018-07-17 Fritz Reese gcc/testsuite/ChangeLog: PR fortra

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #14 from Bernd Edlinger --- (In reply to Martin Sebor from comment #13) > (In reply to Richard Biener from comment #9) > > > > I bet Martin would argue it's invalid ... > > That's right, the example in comment 8 is undefined because

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #11 from Jonny Grant --- Hi Richard I have a smaller test case which. It shows only part of the error. "Dwarf Error: Invalid abstract instance DIE ref" Richard, would this be useful? g++-8 -std=c++11 -g -ggdb -pthread -O0 -Wnonnu

[Bug tree-optimization/86520] AArch64: Two 8-bit accesses coalesced into a single 16-bit access

2018-07-17 Thread swarren at nvidia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86520 --- Comment #8 from Stephen Warren --- Great, thanks for all the explanations. Makes perfect sense.

[Bug libstdc++/86450] Bootstrap failure due to -Wabi

2018-07-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86450 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #13 from Martin Sebor --- (In reply to Richard Biener from comment #9) > > I bet Martin would argue it's invalid ... That's right, the example in comment 8 is undefined because strlen() requires a nul-terminated string argument and

[Bug c++/86480] [8/9 Regression] error: parameter packs not expanded with '...' in a recursive variadic lambda

2018-07-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86480 --- Comment #5 from Jason Merrill --- Author: jason Date: Tue Jul 17 15:39:46 2018 New Revision: 262825 URL: https://gcc.gnu.org/viewcvs?rev=262825&root=gcc&view=rev Log: PR c++/86480 - nested variadic lambda and constexpr if. *

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #4 from Curtis Hamilton --- Here's the definition in sys/socket.h: /* * Header for ancillary data objects in msg_control buffer. * Used for additional information with/about a datagram * not expressible by flags. The format is a

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #12 from Martin Sebor

[Bug target/82418] Division on a constant is suboptimal because of not using imul instruction

2018-07-17 Thread plasmahh at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82418 Dennis Lubert changed: What|Removed |Added CC||plasmahh at gmx dot net --- Comment #5 f

[Bug fortran/86551] New: [ICE] bare class and select type

2018-07-17 Thread daanvanvugt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86551 Bug ID: 86551 Summary: [ICE] bare class and select type Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/86541] Use SSE to emulate __attribute__((vector_size(8)))

2018-07-17 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86541 --- Comment #2 from Richard Henderson --- (In reply to Richard Biener from comment #1) > Given that we have a target pass that makes use of SSE regs for scalar > operations I wonder if it would make more sense to attack this at the > target level

[Bug c++/86550] Lambda parsing allows arbitrary types in decl-specifier-seq

2018-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86550 --- Comment #1 from Jakub Jelinek --- Created attachment 44403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44403&action=edit gcc9-pr86550.patch Untested fix.

[Bug c++/86550] New: Lambda parsing allows arbitrary types in decl-specifier-seq

2018-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86550 Bug ID: 86550 Summary: Lambda parsing allows arbitrary types in decl-specifier-seq Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/86550] Lambda parsing allows arbitrary types in decl-specifier-seq

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

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #10 from Jonny Grant --- [copy from other ticket] (In reply to Richard Biener from comment #3) > (In reply to Jonny Grant from comment #0) > > It's pretty hard to work out which file this o file comes from. Could it > > include the f

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 --- Comment #6 from Jonny Grant --- (In reply to Richard Biener from comment #3) > (In reply to Jonny Grant from comment #0) > > It's pretty hard to work out which file this o file comes from. Could it > > include the first file name in the tmp p

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 --- Comment #5 from Richard Biener --- (In reply to Richard Biener from comment #3) > (In reply to Jonny Grant from comment #0) > > It's pretty hard to work out which file this o file comes from. Could it > > include the first file name in the tm

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 --- Comment #4 from Jonny Grant --- (In reply to Martin Liška from comment #2) > I can implement that. Great! Happy to pay bounty of $100 to you or GNU. Could I ask for as short as possible tmp file name so output not too long. eg could abrevi

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 --- Comment #3 from Richard Biener --- (In reply to Jonny Grant from comment #0) > It's pretty hard to work out which file this o file comes from. Could it > include the first file name in the tmp path to make it clearer where it came > from? >

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug lto/86548] GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED

[Bug debug/86549] [8/9 Regression] -flto -g0 vs. -g issues

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

[Bug fortran/86543] [9 Regression] FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 16)

2018-07-17 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86543 Fritz Reese changed: What|Removed |Added CC||foreese at gcc dot gnu.org --- Comment #2

[Bug libstdc++/86450] Bootstrap failure due to -Wabi

2018-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86450 --- Comment #23 from Jonathan Wakely --- This should be fixed now, please confirm (I can't even get a build to complete with --enable-maintainer-mode, I continue to be amazed you rely on something so fragile). --enable-maintainer-mode no longer

[Bug libstdc++/86450] Bootstrap failure due to -Wabi

2018-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86450 --- Comment #22 from Jonathan Wakely --- Author: redi Date: Tue Jul 17 13:18:47 2018 New Revision: 262824 URL: https://gcc.gnu.org/viewcvs?rev=262824&root=gcc&view=rev Log: PR libstdc++/86450 use -Wabi=2 and simplify -Werror use Use -Wabi=2 to

[Bug target/83562] broken destructors of thread_local objects on i686 mingw targets

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

[Bug target/83562] broken destructors of thread_local objects on i686 mingw targets

2018-07-17 Thread tino.lange at factset dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562 tino.lange at factset dot com changed: What|Removed |Added CC||tino.lange at factset dot

[Bug debug/86549] [8/9 Regression] -flto -g0 vs. -g issues

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86549 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug target/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-07-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug debug/86549] New: [8/9 Regression] -flto -g0 vs. -g issues

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86549 Bug ID: 86549 Summary: [8/9 Regression] -flto -g0 vs. -g issues Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, lto Severity: normal

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #3 from Ian Lance Taylor --- Thanks for providing the gen-sysinfo.go file. I see that cmsghdr is defined in that file. Several function declarations use it. It even has a size of 12 bytes. It's just missing a definition. So I'm c

[Bug target/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-07-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Jul 17 12:53:42 2018 New Revision: 262822 URL: https://gcc.gnu.org/viewcvs?rev=262822&root=gcc&view=rev Log: Avoid assembler warnings from AArch64 constructor/destruct

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #8 from Richard Biener --- Note while the patch fixes the reported issue it still ICEs the same way when compiling with -g0 and linking with -g (as I would have expected). That would be fixed by sth like the following but that then h

[Bug debug/86456] [8 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 Richard Biener changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression]

[Bug target/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-07-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 --- Comment #5 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Jul 17 12:43:43 2018 New Revision: 262821 URL: https://gcc.gnu.org/viewcvs?rev=262821&root=gcc&view=rev Log: Avoid assembler warnings from AArch64 constructor/destruct

[Bug target/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-07-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 ktkachov at gcc dot gnu.org changed: What|Removed |Added Component|c |target --- Comment #4 from

[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456 --- Comment #7 from Richard Biener --- Author: rguenth Date: Tue Jul 17 12:26:21 2018 New Revision: 262819 URL: https://gcc.gnu.org/viewcvs?rev=262819&root=gcc&view=rev Log: 2018-07-17 Richard Biener PR lto/86456 * dwarf2out.

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #7 from Richard Biener --- So there was no early debug info generated for the decl in fact there's no early debug for anything besides the globals c,d,f and g and artifical infrastructure. Which is likely because everything is op

[Bug c++/86548] New: GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86548 Bug ID: 86548 Summary: GCC could tmp file /tmp/ccDxn2Yd.ltrans0.ltrans.o could be based on the compiled file name Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug fortran/84848] [8/9 Regression] FAIL: gfortran.dg/coarray/event_3.f08/9 -fcoarray=single -O2 -latomic execution test

2018-07-17 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84848 Uroš Bizjak changed: What|Removed |Added Target|hppa64-hp-hpux11.11 |hppa64-hp-hpux11.11, |

[Bug c/86547] New: s390x: Maximum number of LRA assignment passes is achieved (30) when compiling a small inline assembler snippet

2018-07-17 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86547 Bug ID: 86547 Summary: s390x: Maximum number of LRA assignment passes is achieved (30) when compiling a small inline assembler snippet Product: gcc Version: 9.0

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug libstdc++/86513] ostringstream default constructor missing from libstdc++

2018-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513 --- Comment #6 from Jonathan Wakely --- OK, I was just going by what you said: (In reply to Csaba Ráduly from comment #3) > [...] my usual "svn up && make bootstrap && make install" [...]

[Bug bootstrap/86162] [6 Regression] ppc64le bootstrap fails with GCC 8

2018-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162 --- Comment #2 from Jonathan Wakely --- For the record, looks like it was fixed by r261621

[Bug debug/86523] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933 starting from r262560

2018-07-17 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86523 --- Comment #5 from Dmitry G. Dyachenko --- r262559 PASS r262747 FAIL $ cat x.ii class a { int b; }; int const c = 0, d = 1, f = 2, g = 3; struct B { typedef a h; h i; }; template B j(); template struct k { static B const e; }; template

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #11 from Bernd Edlinger --- But seriously: /* Avoid returning a string that doesn't fit in the array it is stored in, like const char a[4] = "abcde"; but do handle those that fit even if they have excess initial

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #10 from Bernd Edlinger --- (In reply to Richard Biener from comment #9) > > I bet Martin would argue it's invalid ... > > The standard specifies initializing char[3] with "121" is valid. 7.24.1/1 > specifies "if an array is access

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #9 from Richard Biener --- (In reply to Bernd Edlinger from comment #8) > $ cat part.c > > const char a[2][3] = { "121", "1" }; > > int main () > { > int n = __builtin_strlen (&a[0][0]); > n += __builtin_strlen (a[0]); > > if

[Bug tree-optimization/86532] [9 Regression] Wrong code due to a wrong strlen folding starting with r262522

2018-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532 --- Comment #8 from Bernd Edlinger --- $ cat part.c const char a[2][3] = { "121", "1" }; int main () { int n = __builtin_strlen (&a[0][0]); n += __builtin_strlen (a[0]); if (n != 8) __builtin_abort (); } I think I find no way to st

[Bug libstdc++/86513] ostringstream default constructor missing from libstdc++

2018-07-17 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513 --- Comment #5 from Csaba Ráduly --- BTW, I wasn't building in the source directory.

[Bug middle-end/86542] wrong-code for collapsed taskloop which needs omp_cpyfn

2018-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86542 --- Comment #1 from Jakub Jelinek --- Author: jakub Date: Tue Jul 17 10:54:52 2018 New Revision: 262815 URL: https://gcc.gnu.org/viewcvs?rev=262815&root=gcc&view=rev Log: PR middle-end/86542 * omp-low.c (create_task_copyfn): Copy

  1   2   >