[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #8 from Jakub Jelinek --- Oh, and need to look also at CALL_EXPR.

[Bug debug/90441] [9/10 Regression] corrupt debug info with LTO

2019-08-12 Thread trass3r at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90441 --- Comment #27 from Trass3r --- (In reply to rguent...@suse.de from comment #25) > I fear this is the libbfd dwarf reader simply not coping with > DW_AT_abstract_origin in other CUs, being confused as to which > abbrev section it needs to look

[Bug c++/91423] address-of-packed-member when taking packed struct member by value

2019-08-12 Thread anders at knatten dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91423 --- Comment #3 from Anders Schau Knatten --- (In reply to Richard Biener from comment #1) > I think GCC tells you that deriving from std::array from a packed struct is > going to cause trouble because std::array expects to be naturally aligned?

[Bug driver/91130] [9 Regression] -MF clashes with -flto on aarch64

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130 --- Comment #44 from Richard Biener --- Author: rguenth Date: Mon Aug 12 12:59:08 2019 New Revision: 274311 URL: https://gcc.gnu.org/viewcvs?rev=274311=gcc=rev Log: 2019-08-12 Richard Biener Backport from mainline 2019-08-12

[Bug lto/91375] [8/9 Regression] ICE on valid code in subbinfo_with_vtable_at_offset at ipa-devirt.c:2760 since r256685

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91375 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Aug 12 12:59:08 2019 New Revision: 274311 URL: https://gcc.gnu.org/viewcvs?rev=274311=gcc=rev Log: 2019-08-12 Richard Biener Backport from mainline 2019-08-12

[Bug target/83250] _mm256_zextsi128_si256 missing for AVX2 zero extension

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83250 --- Comment #6 from Jakub Jelinek --- That said, I think we should eventually try to add some define_insn_and_split that would help with generating better code e.g. on #include __m256d foo1 (__m128d __A) { return _mm256_insertf128_pd

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #7 from Jakub Jelinek --- On top of the above, I've tried: --- gcc/c-family/c-common.c.jj 2019-08-12 09:45:54.463491950 +0200 +++ gcc/c-family/c-common.c 2019-08-12 12:01:32.783135654 +0200 @@ -1933,16 +1934,19 @@ verify_tree

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #2 from Marc Glisse --- I think part of the problem with the current or_comparison optimization is that it relies on invert_tree_comparison in many cases, and that doesn't really work for floating point (and we handle the unsafe

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #18 from Iain Sandoe --- FWIW: this was my clang-bootstrapped test of the release candidate: https://gcc.gnu.org/ml/gcc-testresults/2019-08/msg00645.html --prefix=/opt/iains/x86_64-apple-darwin18/gcc-9-wip

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #19 from Iain Sandoe --- (In reply to Matt Thompson from comment #17) > > b) (remind me) what is the "--with-native-system-header-dir=/usr/include" > > meant to provide? It seems like you are maybe mixing cross-configuration > >

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #20 from Iain Sandoe --- (In reply to Iain Sandoe from comment #19) > (In reply to Matt Thompson from comment #17) > > > Now, I'm not sure that gcc itself needs /usr/include, but many of the > > libraries and more I compile with

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #23 from Iain Sandoe --- (In reply to Matt Thompson from comment #22) > (In reply to Iain Sandoe from comment #19) > > (In reply to Matt Thompson from comment #17) > > > > I have tried the same configure line with gcc 8.2.0 loaded,

[Bug tree-optimization/91419] [10 Regression]: gcc.dg/tree-ssa/pr91091-2.c, ssa-fre-61.c, ssa-fre-61.c with r273232

2019-08-12 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91419 --- Comment #2 from Hans-Peter Nilsson --- (In reply to Richard Biener from comment #1) > Jeff also noticed this. The issue should happen on targets where > alignof(int) != sizeof(int) since there we cannot conclude that with int *p, > *q; the

[Bug c++/91423] address-of-packed-member when taking packed struct member by value

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91423 --- Comment #2 from Richard Biener --- Other than that, when GCC elides a copy from by value passing it would need to create a temporary that is appropriately aligned. IIRC packed is outside of the C++ standard and using packed objects with C++

[Bug c++/91423] address-of-packed-member when taking packed struct member by value

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91423 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Richard

[Bug target/91386] [9 regression] open-iscsi iscsiadm miscompiled by LTO on aarch64

2019-08-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 --- Comment #22 from Wilco --- (In reply to Richard Earnshaw from comment #21) > Fixed on trunk. I ran an AArch64 bootstrap on GCC9 branch and that is fine.

[Bug fortran/91424] Extend warnings about DO loops

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91424 --- Comment #1 from Thomas Koenig --- A third problem: Zero-trip do loops are warned about. program main implicit none integer :: i real :: a(2) do i=1,3,-1 a(i) = 2. end do print *,a end program main gets

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #22 from Matt Thompson --- (In reply to Iain Sandoe from comment #19) > (In reply to Matt Thompson from comment #17) > > > > b) (remind me) what is the "--with-native-system-header-dir=/usr/include" > > > meant to provide? It seems

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #25 from Iain Sandoe --- (In reply to Matt Thompson from comment #24) > (In reply to Iain Sandoe from comment #23) > > --with-sysroot=/opt/iains/SDKs/darwin18-2 > > this is the sysroot that will be built into the compiler and

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #26 from Matt Thompson --- (In reply to Iain Sandoe from comment #25) > > > Thanks for the explanations. I'm trying a new build now with gcc-8.2.0 as > > the compiler passed to configure. > > > > Here's a(nother dumb) question:

[Bug testsuite/91422] Illegal Fortran in testsuite/libgomp.oacc-fortran/routine-7.f90

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91422 Thomas Koenig changed: What|Removed |Added Blocks||91424 --- Comment #2 from Thomas Koenig

[Bug lto/91375] [8/9/10 Regression] ICE on valid code in subbinfo_with_vtable_at_offset at ipa-devirt.c:2760 since r256685

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91375 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Aug 12 11:02:21 2019 New Revision: 274310 URL: https://gcc.gnu.org/viewcvs?rev=274310=gcc=rev Log: 2019-08-12 Richard Biener PR lto/91375 * tree.c

[Bug fortran/91300] Wrong runtime error message with allocate and errmsg=

2019-08-12 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91300 Janne Blomqvist changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/91422] New: Illegal Fortran in testsuite/libgomp.oacc-fortran/routine-7.f90

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91422 Bug ID: 91422 Summary: Illegal Fortran in testsuite/libgomp.oacc-fortran/routine-7.f90 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/91423] New: address-of-packed-member when taking packed struct member by value

2019-08-12 Thread anders at knatten dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91423 Bug ID: 91423 Summary: address-of-packed-member when taking packed struct member by value Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/91424] New: Extend warnings about DO loops

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91424 Bug ID: 91424 Summary: Extend warnings about DO loops Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #3 from Segher Boessenkool --- There are quite many different cases to test, and many *more* do not currently generate the wanted code because it isn't optimised properly on gimple level, and that makes it hard to test the RTL /

[Bug driver/91130] [9 Regression] -MF clashes with -flto on aarch64

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #5 from Richard Biener --- (In reply to Segher Boessenkool from comment #4) > (In reply to Richard Biener from comment #1) > > where we end up with > > > >[local count: 1073741824]: > > if (a_3(D) < b_4(D)) > > goto ;

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #16 from Iain Sandoe --- Hi Matt, (In reply to Matt Thompson from comment #15) > I seem to still have issues. I downloaded 9.2.0 this morning and built it > with: > > $ ../gcc-9.2.0/configure >

[Bug target/83250] _mm256_zextsi128_si256 missing for AVX2 zero extension

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83250 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #7 from Marc Glisse --- (In reply to Segher Boessenkool from comment #6) > Maybe we should make "is this an ordered comparison" separate from the > actual comparison code. I was considering having a single .IFN_FENV_CMP (a, b, opts)

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-08-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #12 from Christophe Lyon --- Indeed, although r274163 fixes the problem I reported, it also introduces a regression when compiling the very same testcase but adding -mthumb: FAIL: gcc.c-torture/execute/20040709-1.c -O2 (internal

[Bug testsuite/91422] Illegal Fortran in testsuite/libgomp.oacc-fortran/routine-7.f90

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91422 --- Comment #1 from Thomas Koenig --- (In reply to Thomas Koenig from comment #0) > Hi, > > I get the error with gfortran -g -cpp -fcheck=all routine-7.f90

[Bug driver/91130] [9 Regression] -MF clashes with -flto on aarch64

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130 --- Comment #43 from Richard Biener --- Author: rguenth Date: Mon Aug 12 10:59:58 2019 New Revision: 274309 URL: https://gcc.gnu.org/viewcvs?rev=274309=gcc=rev Log: 2019-08-12 Richard Biener PR driver/91130 * lto-wrapper.c

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #17 from Matt Thompson --- Iain, The (In reply to Iain Sandoe from comment #16) > Hi Matt, > > (In reply to Matt Thompson from comment #15) > > > I seem to still have issues. I downloaded 9.2.0 this morning and built it > > with:

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #6 from Segher Boessenkool --- Maybe we should make "is this an ordered comparison" separate from the actual comparison code. That would make things quite a bit simpler as well. Maybe we can pull that through to RTL, as well?

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #24 from Matt Thompson --- (In reply to Iain Sandoe from comment #23) > --with-sysroot=/opt/iains/SDKs/darwin18-2 > this is the sysroot that will be built into the compiler and used > automatically when it's invoked (in this

[Bug c++/91415] Invalid warning for C++17 sequencing of shift operator E1<

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91415 --- Comment #6 from Jakub Jelinek --- Created attachment 46702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46702=edit gcc10-pr91415-1.patch Let's handle this incrementally, from the easiest cases to the hardest.

[Bug middle-end/91425] New: Ordered compares aren't optimised properly

2019-08-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 Bug ID: 91425 Summary: Ordered compares aren't optimised properly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/91425] Ordered compares aren't optimised

2019-08-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91425 --- Comment #4 from Segher Boessenkool --- (In reply to Richard Biener from comment #1) > where we end up with > >[local count: 1073741824]: > if (a_3(D) < b_4(D)) > goto ; [50.00%] > else > goto ; [50.00%] > >[local count:

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #15 from Matt Thompson --- Iain, I seem to still have issues. I downloaded 9.2.0 this morning and built it with: $ ../gcc-9.2.0/configure --prefix=/Users/mathomp4/installed/Core/gcc-gfortran/9.2.0 --enable-languages=c,c++,fortran

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #21 from Matt Thompson --- (In reply to Iain Sandoe from comment #20) > (In reply to Iain Sandoe from comment #19) > > (In reply to Matt Thompson from comment #17) > > > > > > Now, I'm not sure that gcc itself needs /usr/include,

[Bug target/91323] LTGT rtx produces UCOMISS instead of COMISS

2019-08-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323 Christophe Lyon changed: What|Removed |Added Target|x86_64-*-*, i?86-*-*|x86_64-*-*, i?86-*-*,

[Bug c++/91133] [7/8/9/10 Regression] Wrong "partial specialization is not more specialized than" error

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91133 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/60679] class specialization not instantiated even though it is a better match than the primary template

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60679 --- Comment #1 from Jonathan Wakely --- I think this is core issue 1647.

[Bug c++/87108] Template partial specialization is ignored

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87108 --- Comment #5 from Jonathan Wakely --- Reduced: template struct array { }; template struct A; // incomplete template struct A> { }; A> a; 91271.cc:10:13: error: aggregate ‘A > a’ has incomplete type and cannot be defined A> a;

[Bug c++/77711] Add fix-it hints for missing parentheses in member function call

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77711 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.3 |10.0

[Bug fortran/91424] Extend warnings about DO loops

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91424 --- Comment #4 from Thomas Koenig --- (In reply to Eric Gallager from comment #2) > - the "2" location marker is a different color from the "1" location marker, > if you have colorized output That is now PR 91426.

[Bug fortran/91426] New: Different colors for errors with multiple locations

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91426 Bug ID: 91426 Summary: Different colors for errors with multiple locations Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/91418] Nested class of templated class cannot declare parent class friend

2019-08-12 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418 --- Comment #5 from Harald van Dijk --- (In reply to Darrell Wright from comment #4) > The weird part is, other than compilers don't agree, but the lookup finds it > if you put the template argument in The idea there seems to be that `class A;`

[Bug c++/87150] [8 Regression] move ctor wrongly chosen in return stmt (derived vs. base)

2019-08-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150 --- Comment #19 from Jason Merrill --- And now P1155/P1825 removes that text, so in C++20 mode the original testcase needs to call the move constructor again. Marek, I don't see P1825R0 in cxx-status.html, was there a reason not to add it?

[Bug c++/49129] confusing diagnostic for missing semi-colon after member template

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49129 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #27 from Iain Sandoe --- (In reply to Matt Thompson from comment #26) > (In reply to Iain Sandoe from comment #25) > > > > > Oh, yes. I was thinking of things we'll be building with this new GCC. I > > > just wish I could figure

[Bug target/83250] _mm256_zextsi128_si256 missing for AVX2 zero extension

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83250 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Aug 12 15:55:56 2019 New Revision: 274313 URL: https://gcc.gnu.org/viewcvs?rev=274313=gcc=rev Log: PR target/83250 PR target/91340 * config/i386/avxintrin.h

[Bug target/91340] Missing AVX and AVX512 Intrinsics: Zero-Extension

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91340 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Aug 12 15:55:56 2019 New Revision: 274313 URL: https://gcc.gnu.org/viewcvs?rev=274313=gcc=rev Log: PR target/83250 PR target/91340 * config/i386/avxintrin.h

[Bug fortran/91424] Extend warnings about DO loops

2019-08-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91424 --- Comment #3 from Thomas Koenig --- (In reply to Eric Gallager from comment #2) > Also: > - there's no option flag controlling the warning That one is by design. There is no way that this can even be valid code. > - the "2" location marker

[Bug c++/87150] [8 Regression] move ctor wrongly chosen in return stmt (derived vs. base)

2019-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150 --- Comment #20 from Marek Polacek --- (In reply to Jason Merrill from comment #19) > And now P1155/P1825 removes that text, so in C++20 mode the original > testcase needs to call the move constructor again. Marek, I don't see > P1825R0 in

[Bug c++/91427] Implement P1825R0, Merged wording for P0527R1 and P1155R3

2019-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91427 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91427] New: Implement P1825R0, Merged wording for P0527R1 and P1155R3

2019-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91427 Bug ID: 91427 Summary: Implement P1825R0, Merged wording for P0527R1 and P1155R3 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/91407] Wnon-virtual-dtor should't fire for classes with operator delete=delete

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91407 --- Comment #3 from Jonathan Wakely --- But it's not enabled by -Wall7 Maybe QtCreator should be fixed instead.

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #29 from Matt Thompson --- Also, this did seem to build GCC: CC="/Users/mathomp4/installed/Core/gcc-gfortran/8.2.0/bin/gcc --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"

[Bug preprocessor/77672] wrong rich location in warning: writing a terminating nul past the end

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77672 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|WAITING CC|

[Bug c++/91407] Wnon-virtual-dtor should't fire for classes with operator delete=delete

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91407 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from

[Bug c++/77781] [DR 1315] Some valid cases of partial specialization not accepted

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77781 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/81043] [concepts] partially specializing on differing constraints gives cryptic error

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81043 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/90361] [9/10 Regression] Undefined symbols in libstdc++ when building with --with-default-libstdcxx-abi=gcc4-compatible

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90361 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Mon Aug 12 16:41:27 2019 New Revision: 274314 URL: https://gcc.gnu.org/viewcvs?rev=274314=gcc=rev Log: PR libstdc++/90361 add missing macro definition The src/c++17/string-inst.cc file

[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 Eric Gallager changed: What|Removed |Added Target Milestone|9.3 |8.5 --- Comment #30 from Eric Gallager

[Bug target/83250] _mm256_zextsi128_si256 missing for AVX2 zero extension

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83250 --- Comment #8 from Jakub Jelinek --- Intrinsics now implemented for GCC 10+, keeping open for some optimizations.

[Bug c++/90538] [9/10 Regression] Redeclaration error when expanding parameter pack multiple times in a lambda

2019-08-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90538 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Aug 12 17:46:25 2019 New Revision: 274315 URL: https://gcc.gnu.org/viewcvs?rev=274315=gcc=rev Log: PR c++/90538 - multiple expansions of capture packs Previously, with

[Bug c++/91378] [9 regression] [C++17] ICE in type_dependent_expression_p with noexcept and deduced return type

2019-08-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91378 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Aug 12 17:46:32 2019 New Revision: 274316 URL: https://gcc.gnu.org/viewcvs?rev=274316=gcc=rev Log: PR c++/91378 - ICE with noexcept and auto return type. Here, since the

[Bug target/91420] relocation truncated to fit: R_RISCV_HI20 against `.LC0' with GCC 8.2/8.3 with "-O2" on RISC-V

2019-08-12 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91420 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91133] [7/8/9/10 Regression] Wrong "partial specialization is not more specialized than" error

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91133 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #28 from Matt Thompson --- (In reply to Iain Sandoe from comment #27) > That's fine - essentially, you're building them from source and therefore > don't need to worry about --with-gmp= configure options etc. > > For the record, I'm

[Bug c++/91407] Wnon-virtual-dtor should't fire for classes with operator delete=delete

2019-08-12 Thread asorenji at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91407 --- Comment #2 from Aso Renji --- (In reply to Jonathan Wakely from comment #1) > Is there a reason you need to use -Wnon-virtual-dtor ? QtCreator with -Wall as default compile option. Yes, I can set custom compile options, or use #pragma GCC

[Bug other/61257] configure should check if sys/sdt.h is usable, not just checking the existance of the header

2019-08-12 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61257 --- Comment #6 from Tom Tromey --- (In reply to Eric Gallager from comment #4) > (In reply to Sergei Trofimovich from comment #3) > > (In reply to Sergei Trofimovich from comment #2) > > > Having explicit flags like --enable-systemtap /

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-08-12 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #30 from Matt Thompson --- (In reply to Matt Thompson from comment #28) > (In reply to Iain Sandoe from comment #27) > > That's fine - essentially, you're building them from source and therefore > > don't need to worry about

[Bug c++/85004] ambiguous diagnostic: passing ‘const S’ as ‘this’ argument discards qualifiers

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85004 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/91423] address-of-packed-member when taking packed struct member by value

2019-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91423 --- Comment #4 from Andrew Pinski --- Vec size = s.size; you are invoking the copy constructor here ... Which means you are taking the address (implicitly).

[Bug c++/88095] class nontype template parameter UDL string literals doesn't accepts deduction placeholder

2019-08-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88095 --- Comment #6 from Jason Merrill --- Author: jason Date: Mon Aug 12 17:46:37 2019 New Revision: 274317 URL: https://gcc.gnu.org/viewcvs?rev=274317=gcc=rev Log: PR c++/88095, CTAD for literal operator templates per P0732 This patch fixes PR

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/87108] Template partial specialization is ignored

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87108 Jonathan Wakely changed: What|Removed |Added CC||zhangbonian17 at 163 dot com ---

[Bug c++/91271] class template specialization on std::array failed

2019-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91271 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/91424] Extend warnings about DO loops

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91424 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug debug/91411] Extraneous size & location attributes for members in DWARF

2019-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91411 Richard Biener changed: What|Removed |Added Keywords||wrong-debug

[Bug c++/71965] [7/8/9/10 Regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #12 from Jakub Jelinek

[Bug c++/90393] [9/10 Regression] ICE in return statement with a conditional operator, one of the second and third arguments is throw, and the other is a const variable of a class with a nontrivial co

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90393 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #8 from Jakub Jelinek

[Bug target/91408] [10 Regression] ICE in extract_insn, at recog.c:2310 since r273981

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91408 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/26061] error and warning count

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #24 from Jakub Jelinek

[Bug tree-optimization/39612] [7/8/9/10 Regression] LIM inserts loads from uninitialized local memory

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #33 from Jakub Jelinek

[Bug c++/90432] [9/10 Regression] Internal compiler error with no_unique_address empty type with constructor call followed by value initialized to non-zero

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90432 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #3 from Jakub Jelinek

[Bug d/89254] std.net.curl and std.parallelism unittests hang

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89254 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #4 from Jakub Jelinek

[Bug c++/90947] [9 Regression] Simple lookup table of array of strings is miscompiled

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #9 from Jakub Jelinek

[Bug target/54063] [7/8/9/10 regression] on powerpc64 gcc 4.9/7/8 generates larger code for global variable accesses than gcc 4.7

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54063 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #19 from Jakub Jelinek

[Bug gcov-profile/85377] [GCOV] Wrong coverage with label and if(cond) break in while(1)

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85377 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #3 from Jakub Jelinek

[Bug libstdc++/88999] [9/10 Regression] testcases using in_avail() fail on nios2-elf

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88999 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #3 from Jakub Jelinek

[Bug rtl-optimization/87763] [9/10 Regression] aarch64 target testcases fail after r265398

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #57 from Jakub Jelinek

[Bug d/90136] [d] Merge UDAs between function prototype and definitions

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90136 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #2 from Jakub Jelinek

[Bug c++/90938] [9/10 Regression] Initializing array with {1} works, but not {0}

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938 Jakub Jelinek changed: What|Removed |Added Target Milestone|9.2 |9.3 --- Comment #7 from Jakub Jelinek

  1   2   3   4   >