[Bug c++/87671] Incorrect debugging information for unique_ptr passed to a constructor

2018-10-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87671 --- Comment #10 from Tom de Vries --- (In reply to Richard Biener from comment #9) > (In reply to Jonathan Wakely from comment #8) > > There's no such thing as 8.2.2, the next release will be 8.3.0, see > > https://gcc.gnu.org/develop.html#num_sc

[Bug target/87690] New: [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI

2018-10-22 Thread asb at lowrisc dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690 Bug ID: 87690 Summary: [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI

2018-10-22 Thread asb at lowrisc dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690 --- Comment #1 from Alex Bradbury --- It's clear from the example but I made a typo in the explanation due to a last minute change in my example. char is unsigned, so the value in char_struct is zero-extended as we expect.

[Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI

2018-10-22 Thread asb at lowrisc dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690 --- Comment #2 from Alex Bradbury --- Better example demonstrating the problem exists for returns too: $ cat foo.c struct float_struct { float v; }; struct char_struct { char v; }; struct float_struct callee(float, char); float caller(struct

[Bug c/87038] diagnostics: Please add warning for jumping over initializers with switch/case in C mode

2018-10-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87038 --- Comment #20 from Segher Boessenkool --- That is still not what I said, so don't pretend I did please. Those are also not false positives: in all these cases, the program does in fact skip some initialisation. But, it seems -Wjump-misses-ini

[Bug c/87691] New: transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 Bug ID: 87691 Summary: transparent_union attribute does not work with MODE_PARTIAL_INT Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 --- Comment #1 from Jozef Lawrynowicz --- The issue is that the union is considered to have size of 32 bits (the in-memory size of __int20), so unless mode_for_size as called by compute_record_mode (both in stor-layout.c) is explicitly told to lo

[Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 --- Comment #2 from Jozef Lawrynowicz --- Created attachment 44880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44880&action=edit transparent_union.patch

[Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 --- Comment #3 from Jozef Lawrynowicz --- Perhaps it is sufficient to check targetm.pass_by_reference, i.e. if the struct/union with the given mode would be passed by reference, then it is ok to give the struct/union a mode outside the MODE_INT c

[Bug c++/87680] Small program produces 160 meg .o file

2018-10-22 Thread gnu at kosak dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87680 --- Comment #4 from Corey Kosak --- To my eye it doesn't seem to be related to exceptions or initializer lists, so I don't think it's the same bug, but you all would know better than me. When I look at the .s file I see a giant sequence of the f

[Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 --- Comment #4 from Richard Biener --- What happens if you make the attribute work for a MODE_INT union with a MODE_PARTIAL_INT first field that has MODE_SIZE of the union mode? Is there a generic way to query SImode for PSImode as defined in P

[Bug c++/87680] Small program produces 160 meg .o file

2018-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87680 --- Comment #5 from Richard Biener --- I believe this bug (and other existing dups) are about the C++ FE for array initializers not emitting a loop for initialization but an initializer for each element. It does that via ;; Function constexpr B

[Bug c++/85552] Adding curly braces to the declaration of a std::unique_ptr to a forward declared class breaks compilation

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85552 Jonathan Wakely changed: What|Removed |Added CC||tiagomacarios at gmail dot com --- Com

[Bug c++/87660] Fail to compile unique_ptr of incomplete tyoe

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87660 Jonathan Wakely changed: What|Removed |Added Keywords|rejects-valid | Status|UNCONFIRMED

[Bug c++/87665] [8/9 Regression] gcc HEAD (svn: 265340) breaks elements on resize

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665 --- Comment #6 from Jonathan Wakely --- Since r254694 only changed all -std modes to match -std=c++17 I bisected again using -std=c++17 to find the change that really caused it, and it was indeed r246301 which first removed that null check. Howe

[Bug middle-end/87692] New: Reuse guard variable for multiple initializations

2018-10-22 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87692 Bug ID: 87692 Summary: Reuse guard variable for multiple initializations Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug fortran/50974] ICE on invalid on function used as variable

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

[Bug fortran/53653] [IR Tracking] Disallow abstract/unlimited-polymorphic types in array constructors

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

[Bug c/87693] New: ICE in thread_around_empty_blocks, at tree-ssa-threadedge.c:984

2018-10-22 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87693 Bug ID: 87693 Summary: ICE in thread_around_empty_blocks, at tree-ssa-threadedge.c:984 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/87627] GCC generates rube-goldberg machine for trivial tail call on 32-bit x86

2018-10-22 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87627 --- Comment #5 from Alexander Monakov --- I've spent some time looking at this again, and I couldn't find a way to preserve REG_EQUIV notes (it's actually unclear what REG_EQUIV means precisely). What I think could help in simple cases like this

[Bug target/86383] [9 Regression] arm-netbsdelf cross compiler fails in selftests

2018-10-22 Thread coypu at sdf dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86383 --- Comment #14 from coypu --- Also, after these two patches, my own build of arm--netbsdelf is failing from this: configure: error: Pthreads are required to build libgomp Looking at config.log, the error is actually: configure:15118: /tmp/build

[Bug testsuite/87694] New: [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343

2018-10-22 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87694 Bug ID: 87694 Summary: [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: norm

[Bug testsuite/87694] [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343

2018-10-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87694 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT

2018-10-22 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691 --- Comment #5 from Jozef Lawrynowicz --- (In reply to Richard Biener from comment #4) Thanks for the pointers. > What happens if you make the attribute work for a MODE_INT union with a > MODE_PARTIAL_INT first field that has MODE_SIZE of the u

[Bug c/60440] Bogus -Wreturn-type warning after error

2018-10-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60440 --- Comment #11 from Eric Gallager --- (In reply to Martin Liška from comment #10) > Agree with Joseph, but it's a low priority on my list. It's kind of error > recovery and as soon you fix the first warning you should not see the second > one.

[Bug c++/49574] Give a warning for insane overloading

2018-10-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574 Eric Gallager changed: What|Removed |Added Blocks||87403 --- Comment #4 from Eric Gallager

[Bug c++/55254] Warn for implicit conversion from int to char

2018-10-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55254 --- Comment #3 from Eric Gallager --- Should this go under the existing -Wconversion or a new flag? If the latter, I'll make this block the new-warning meta-bug.

[Bug testsuite/87694] [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343

2018-10-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87694 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Mon Oct 22 20:01:56 2018 New Revision: 265397 URL: https://gcc.gnu.org/viewcvs?rev=265397&root=gcc&view=rev Log: PR testsuite/87694 * g++.dg/concepts/memfun-err.C: Make

[Bug testsuite/87694] [9 regression] problem in g++.dg/concepts/memfun-err.C starting with r263343

2018-10-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87694 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/87695] New: Fehler beim Kompilieren für das Board Arduino/Genuino Mega or Mega 2560.

2018-10-22 Thread mgruehs at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87695 Bug ID: 87695 Summary: Fehler beim Kompilieren für das Board Arduino/Genuino Mega or Mega 2560. Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/87600] Fix for PRs 86939 and 87479 causes build issues for several targets

2018-10-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87600 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Mon Oct 22 20:23:39 2018 New Revision: 265398 URL: https://gcc.gnu.org/viewcvs?rev=265398&root=gcc&view=rev Log: combine: Do not combine moves from hard registers On most targets e

[Bug c++/49574] Give a warning for insane overloading

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574 Jonathan Wakely changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from Jonathan W

[Bug tree-optimization/87633] [9 Regression] ice in compare_range_wit h_value, at vr-values.c:1702

2018-10-22 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87633 --- Comment #9 from Yury Gribov --- Author: ygribov Date: Mon Oct 22 20:26:32 2018 New Revision: 265399 URL: https://gcc.gnu.org/viewcvs?rev=265399&root=gcc&view=rev Log: 2018-10-22 Yury Gribov gcc/ PR tree-optimization/87633

[Bug tree-optimization/87633] [9 Regression] ice in compare_range_wit h_value, at vr-values.c:1702

2018-10-22 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87633 --- Comment #10 from Yury Gribov --- Let me know if issue persists, otherwise I'll close in couple of days.

[Bug c++/85552] Adding curly braces to the declaration of a std::unique_ptr to a forward declared class breaks compilation

2018-10-22 Thread tiagomacarios at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85552 --- Comment #4 from Tiago Macarios --- Related clang bug: https://bugs.llvm.org/show_bug.cgi?id=39363

[Bug web/87696] New: gcc-patches mail archive does not show attachments clearly

2018-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87696 Bug ID: 87696 Summary: gcc-patches mail archive does not show attachments clearly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug web/87696] gcc-patches mail archive does not show attachments clearly

2018-10-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87696 --- Comment #1 from Andrew Pinski --- Raw format still has that information. I think this is just an artifact of how to display attachments and nothing is lost really.

[Bug c++/87697] New: Casting a base class to derived gives no warning

2018-10-22 Thread jynelson at email dot sc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87697 Bug ID: 87697 Summary: Casting a base class to derived gives no warning Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/87698] New: [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations

2018-10-22 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87698 Bug ID: 87698 Summary: [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations Product: gcc Version: 8.2.1 Status: UNCONFIRME

[Bug lto/87698] [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations

2018-10-22 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87698 --- Comment #1 from Romain Geissler --- Note: this is the source of the following error when linking with ld.lld 7.0: ld.lld: error: corrupt input file: version definition index 0 for symbol _libssh2_ntohu32 is out of bounds >>> defined in >>>

[Bug c/87038] diagnostics: Please add warning for jumping over initializers with switch/case in C mode

2018-10-22 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87038 --- Comment #21 from Harald van Dijk --- (In reply to Segher Boessenkool from comment #20) > That is still not what I said, so don't pretend I did please. > > Those are also not false positives: in all these cases, the program does > in fact ski

[Bug c++/49574] Give a warning for insane overloading

2018-10-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574 --- Comment #6 from Eric Gallager --- (In reply to Jonathan Wakely from comment #5) > The description of what the warning is supposed to do is still incredibly > vague and unspecified. It's whatever you agreed to here: (In reply to Jonathan Wa

[Bug c++/87699] New: Implement CWG 1512

2018-10-22 Thread tiagomacarios at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Bug ID: 87699 Summary: Implement CWG 1512 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassign

[Bug c++/87667] -Wformat + typed enum class - difference with clang

2018-10-22 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87667 Roman Lebedev changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug tree-optimization/87700] New: [9 Regression] Compile time hog w/ -O1

2018-10-22 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87700 Bug ID: 87700 Summary: [9 Regression] Compile time hog w/ -O1 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority

[Bug c++/87692] Reuse guard variable for multiple initializations

2018-10-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87692 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

<    1   2