[Bug c++/98899] ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98899 --- Comment #2 from Akim Demaille --- Created attachment 50094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50094=edit simple.ii simple.cc preprocessed

[Bug c++/98899] ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98899 --- Comment #1 from Akim Demaille --- Created attachment 50093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50093=edit simple.cc The source that causes the crash.

[Bug c++/98899] New: ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98899 Bug ID: 98899 Summary: ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug libfortran/98825] Unexpected behavior of FORTRAN FORMAT expressions when suppressing new line with '$'

2021-01-30 Thread jvdelisle at charter dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98825 --- Comment #8 from Jerry DeLisle --- I agree with your comment #7

[Bug libfortran/98825] Unexpected behavior of FORTRAN FORMAT expressions when suppressing new line with '$'

2021-01-30 Thread max.pd at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98825 --- Comment #7 from max.pd at gmx dot de --- This DEC-F77 specification seems to be very adequate for the -fdec compiler flag. For general use of the '$' in format expressions (even without the compiler flag), it would not make much sense. Here

[Bug target/70053] Returning a struct of _Decimal128 values generates extraneous stores and loads

2021-01-30 Thread michaeljclark at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70053 Michael Clark changed: What|Removed |Added CC||michaeljclark at mac dot com ---

[Bug web/98898] New: [wwwdocs] typo in gcc-10 announcements page

2021-01-30 Thread icalder.76d8f at torfree dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98898 Bug ID: 98898 Summary: [wwwdocs] typo in gcc-10 announcements page Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web

[Bug tree-optimization/98499] [11 Regression] Possibly bad std::string initialization in constructors

2021-01-30 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98499 --- Comment #10 from Sergei Trofimovich --- (In reply to Jan Hubicka from comment #9) > Thanks for all the detailed analysis and sorry for getting into this late. > > > Oh, thank you! Only after many printf() attempts it sunk in that > >

[Bug middle-end/98896] local label displaced with -O2

2021-01-30 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #9 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #7) > you need to tell the compiler > the asm can goto to that label. Of course the one would wonder what else could be done to the passed label. :) Maybe some

[Bug c++/82640] gcc doesn't show errors on anonymous local variables

2021-01-30 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82640 Ivan Sorokin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/55120] Inaccessible virtual base constructor does not prevent generation of default constructor

2021-01-30 Thread anthonysharp15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 --- Comment #12 from Anthony Sharp --- Okay, so it actually turns out public virtual bases CAN be derived from, since the C++ spec literally gives an example of just that (e.g. see

[Bug c++/33661] template methods forget explicit local register asm vars

2021-01-30 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661 Florian Weimer changed: What|Removed |Added CC||nate at verse dot com --- Comment #20

[Bug c++/58118] Local variables specified with asm("reg") may not work

2021-01-30 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58118 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/29305] local label-as-value being placed before function prolog

2021-01-30 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29305 Stas Sergeev changed: What|Removed |Added CC||stsp at users dot sourceforge.net ---

[Bug middle-end/98896] local label displaced with -O2

2021-01-30 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #8 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #7) > It doesn't mean you can't use "r" (&), Well, if not for Andrew telling exactly that you can't, both here and in

[Bug middle-end/98896] local label displaced with -O2

2021-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #7 from Jakub Jelinek --- It doesn't mean you can't use "r" (&), but you need to tell the compiler the asm can goto to that label. Or of course can just use the rip based addressing yourself in the inline asm, the label's %X stands

[Bug middle-end/98896] local label displaced with -O2

2021-01-30 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #6 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #5) > I think Andrew meant asm goto, which you haven't tried. You are right. Thanks for mentioning that. But it doesn't work as well: --- int main(void) {

[Bug middle-end/98896] local label displaced with -O2

2021-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug testsuite/98243] gcc.dg/gomp/simd-2.c etc. FAIL

2021-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98243 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:25f303e9a27a0d799f9979446d9f11ed62b8d648 commit r11-6993-g25f303e9a27a0d799f9979446d9f11ed62b8d648 Author: Jakub Jelinek Date:

[Bug c++/98895] C++ module generates too many dead code

2021-01-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98895 --- Comment #2 from Pilar Latiesa --- (In reply to cqwrteur from comment #0) > If those issues cannot be solved, I am sorry, I would only say C++20 modules > failed completely. What do you expect from being so offensive? Is this comment

[Bug c++/98885] [modules] forward declaration of classes prevent them from being exported at the point of actual declaration

2021-01-30 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #8 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #7) That works. Thanks so much. When there are several partitions involved it is not entirely clear to me what declarations are first seen by the compiler compared