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

2021-01-29 Thread jvdelisle at charter dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98825 --- Comment #6 from Jerry DeLisle --- I found the DEC F77 reference. I wanted to capture this somewhere for future reference: o MESSAGE: Extension to FORTRAN-77: nonstandard FORMAT statement item EXPLANATION: The following format

[Bug analyzer/98797] Simpler version of the XFAIL in casts-1.c with proposed solution

2021-01-29 Thread brian.sobulefsky at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98797 --- Comment #1 from Brian Sobulefsky --- I have updated the repository I linked previously so that it has current gcc sources and also includes a solution for the case where struct s2 is not a single field, that is, we have something like: stru

[Bug fortran/98897] New: Erroneous procedure attribute for associate name

2021-01-29 Thread damian at sourceryinstitute dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98897 Bug ID: 98897 Summary: Erroneous procedure attribute for associate name Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: f

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

2021-01-29 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #4 from Stas Sergeev --- I can achieve similar results with this: --- void cont(void) asm("_cont"); asm volatile ( "push %0\n" "ret\n" "_cont:\n" ::"r"(cont)); --- But this doesn't work if the opti

[Bug target/98894] New test case experimental/simd/standard_abi_usable.cc in r11-6935 fails on power 7

2021-01-29 Thread kretz at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98894 --- Comment #1 from Matthias Kretz (Vir) --- I already posted a fix on the gcc-patches and libstdc++ lists: libstdc++-v3/ChangeLog: * include/experimental/bits/simd.h: Remove unnecessary static assertion. Allow sizeof(8) integer

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

2021-01-29 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #3 from Stas Sergeev --- I can't use inline-asm gotos because I can't manipulate such a label in a portable way. For example: --- asm volatile ( "push $1f\n" "ret\n" "1:\n" ); --- This won't work with

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

2021-01-29 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 --- Comment #11 from Richard Smith --- (In reply to Jonathan Wakely from comment #10) > It looks like Clang has a bug with the inaccessible constructor too, and > strangely inconsistent handling of the inaccessible destructor. Access checks are

[Bug testsuite/98870] [11 regression] assembler output count off for gcc.target/powerpc/ppc-fortran/ieee128-math.f90 after r11-6959

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98870 --- Comment #3 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:d761172d9b2feff68d50f38b3c76969532688791 commit r11-6990-gd761172d9b2feff68d50f38b3c76969532688791 Author: Michael Meissner Date

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

2021-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 --- Comment #2 from Andrew Pinski --- See PR 29305 and others too on why this is undefined.

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

2021-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

gcc-bugs@gcc.gnu.org

2021-01-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32643 Martin Sebor changed: What|Removed |Added Last reconfirmed|2012-01-19 00:00:00 |2021-1-29 Known to fail|

[Bug c/98896] New: local label displaced with -O2

2021-01-29 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98896 Bug ID: 98896 Summary: local label displaced with -O2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assigne

[Bug c++/98861] I want deterministic exceptions (Herbception)

2021-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98861 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/98861] I want deterministic exceptions (Herbception)

2021-01-29 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98861 cqwrteur changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug middle-end/98871] Cannot silence -Wmaybe-uninitialized at declaration site

2021-01-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98871 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug middle-end/98871] Cannot silence -Wmaybe-uninitialized at declaration site

2021-01-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98871 --- Comment #4 from Martin Sebor --- Created attachment 50092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50092&action=edit Patch for GCC 12. The attached patch applied on top the one for pr98465 (https://gcc.gnu.org/pipermail/gcc-patch

[Bug target/98210] [11 Regression] SHF_GNU_RETAIN breaks gold linker generated binaries

2021-01-29 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98210 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

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

2021-01-29 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98895 cqwrteur changed: What|Removed |Added Target||All Host|

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

2021-01-29 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98895 Bug ID: 98895 Summary: C++ module generates too many dead code Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #12 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:0202fa3d6359911a9e6d605d33d0ac669e21eaf3 commit r11-6988-g0202fa3d6359911a9e6d605d33d0ac669e21eaf3 Author: Vladimir N. Makarov

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2021-01-29 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #11 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #10) > (In reply to Vladimir Makarov from comment #9) > > I've committed the patch only to the trunk. I believe the bug on the trunk > > is still present but not t

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #10 from Jakub Jelinek --- (In reply to Vladimir Makarov from comment #9) > I've committed the patch only to the trunk. I believe the bug on the trunk > is still present but not triggered by the test. See #c5, by using ? 2 : 1 inste

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2021-01-29 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #9 from Vladimir Makarov --- I've committed the patch only to the trunk. I believe the bug on the trunk is still present but not triggered by the test. I'll commit a bit modified patch to gcc 10 branch after some time if there is no

[Bug target/97701] [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701 --- Comment #8 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:7f9f83ef300e8734dccb90a7c347997b2787e9e9 commit r11-6986-g7f9f83ef300e8734dccb90a7c347997b2787e9e9 Author: Vladimir N. Makarov D

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 --- Comment #1 from Nathan Sidwell --- Reduced testcase: export module Expr; template class TBase {}; template typename TTpl> class TBase> { public: template typename UTpl> void Foo (TBase> &rhs); }; void Frob (TBase&);

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-29 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 --- Comment #22 from Eyal Rozenberg --- Thank you, Jason and others, for your attentiveness to interest in the bug and prioritizing its fix. (Now if you could just fix all the other bugs I'm interested in... :-P)

[Bug debug/98331] [8/9 Regression] ICE in haifa_luid_for_non_insn, at haifa-sched.c:7845 since r8-5479-g67a8d7199fe4e474

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98331 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug target/98853] [9 Regression] wrong use of bfxil at -O1

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 Jakub Jelinek changed: What|Removed |Added Summary|[9/10 Regression] wrong use |[9 Regression] wrong use of

[Bug target/98681] [8/9 Regression] aarch64: Invalid ubfiz instruction rejected by assembler

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98681 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] aarch64:

[Bug testsuite/98771] [10 regression] gcc.dg/strcmpopt_8.c FAILs

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98771 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/95693] [8/9 Regression] Incorrect error from undefined behavior sanitizer

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95693 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] Incorrect

[Bug tree-optimization/98255] [10 Regression] wrong code at -Os and above with -fPIC on x86_64-pc-linux-gnu

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98255 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned a

[Bug middle-end/90248] [8/9 Regression] larger than 0 compare fails with -ffinite-math-only -funsafe-math-optimizations

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90248 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] larger |[8/9 Regression] larger

[Bug target/98894] New: New test case experimental/simd/standard_abi_usable.cc in r11-6935 fails on power 7

2021-01-29 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98894 Bug ID: 98894 Summary: New test case experimental/simd/standard_abi_usable.cc in r11-6935 fails on power 7 Product: gcc Version: 11.0 Status: UNCONFIRMED Severi

[Bug debug/98331] [8/9/10 Regression] ICE in haifa_luid_for_non_insn, at haifa-sched.c:7845 since r8-5479-g67a8d7199fe4e474

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98331 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ea0e1eaa30f42e108f6c716745347cc1dcfdc475 commit r10-9324-gea0e1eaa30f42e108f6c716745347cc1dcfdc475 Author: Jakub Jelinek D

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

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661 --- Comment #19 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cf93f94b3498f3925895fb0bbfd4b64232b9987a commit r10-9323-gcf93f94b3498f3925895fb0bbfd4b64232b9987a Author: Jakub Jelinek

[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cf93f94b3498f3925895fb0bbfd4b64232b9987a commit r10-9323-gcf93f94b3498f3925895fb0bbfd4b64232b9987a Author: Jakub Jelinek D

[Bug target/98853] [9/10 Regression] wrong use of bfxil at -O1

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98853 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2a2c1e22c2501457608f12d5ab560caaca59c425 commit r10-9322-g2a2c1e22c2501457608f12d5ab560caaca59c425 Author: Jakub Jelinek D

[Bug target/98681] [8/9/10 Regression] aarch64: Invalid ubfiz instruction rejected by assembler

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98681 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fb09d7242a25971b275292332337a56b86637f2c commit r10-9321-gfb09d7242a25971b275292332337a56b86637f2c Author: Jakub Jelinek

[Bug testsuite/98771] [10 regression] gcc.dg/strcmpopt_8.c FAILs

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98771 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c20cd1688aed7014b52ed03cde143b6327a89e7a commit r10-9320-gc20cd1688aed7014b52ed03cde143b6327a89e7a Author: Jakub Jelinek D

[Bug testsuite/97301] [11 regression] gcc.target/powerpc/sse-movlps-1.c fails after r11-3434

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97301 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:db9a3ce7b83ce3ed3e0ffe7eb7a918595640e161 commit r10-9319-gdb9a3ce7b83ce3ed3e0ffe7eb7a918595640e161 Author: Jakub Jelinek D

[Bug sanitizer/95693] [8/9/10 Regression] Incorrect error from undefined behavior sanitizer

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95693 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e5750f847158e7f9bdab770fd9c5fff58c5074d3 commit r10-9318-ge5750f847158e7f9bdab770fd9c5fff58c5074d3 Author: Jakub Jelinek D

[Bug middle-end/90248] [8/9/10 Regression] larger than 0 compare fails with -ffinite-math-only -funsafe-math-optimizations

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90248 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:dd92986ea6d2d363146e1726817a84910453fdc8 commit r10-9317-gdd92986ea6d2d363146e1726817a84910453fdc8 Author: Jakub Jelinek

[Bug tree-optimization/98255] [10 Regression] wrong code at -Os and above with -fPIC on x86_64-pc-linux-gnu

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98255 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8e28ebfa5a359942752ca9f5e774cadd1878005a commit r10-9316-g8e28ebfa5a359942752ca9f5e774cadd1878005a Author: Jakub Jelinek

[Bug c++/98672] constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8182cbe3fb2c2d20e8dff9d2476fb94046e560b3 commit r10-9315-g8182cbe3fb2c2d20e8dff9d2476fb94046e560b3 Author: Jakub Jelinek D

[Bug fortran/98883] Module variable not initialized with -finit-real

2021-01-29 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98883 --- Comment #3 from Steve Kargl --- On Fri, Jan 29, 2021 at 06:55:16PM +, kargl at gcc dot gnu.org wrote: > > --- Comment #2 from kargl at gcc dot gnu.org --- > This bug report should be closed. > > Please read the description of option tha

[Bug fortran/98883] Module variable not initialized with -finit-real

2021-01-29 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98883 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P4 |P5 CC|

[Bug c++/98893] start_cleanup_cnt needs modularizing

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-29 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98893] New: start_cleanup_cnt needs modularizing

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98893 Bug ID: 98893 Summary: start_cleanup_cnt needs modularizing Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/88115] Incorrect result from alignof in templates, if also using __alignof__.

2021-01-29 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115 --- Comment #10 from James Y Knight --- Seeing as GCC is now in Stage 4 before the next release, I'd like to ping this bug. Should the priority be upgraded? I think fixing this so that GCC doesn't use 'v111__alignof__' should be considered a rel

[Bug c++/82877] negative array index accepted in a pointer difference expression in constexpr context

2021-01-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82877 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #3

[Bug target/91903] vec_ctf altivec intrinsic can cause ICE on powerpc

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91903 --- Comment #7 from CVS Commits --- The master branch has been updated by Will Schmidt : https://gcc.gnu.org/g:91a95ad2ae0e0f2fa953fafe55ff2ec32c8277d5 commit r11-6984-g91a95ad2ae0e0f2fa953fafe55ff2ec32c8277d5 Author: Will Schmidt Date: Fri

[Bug c++/98843] Building simple c++ modules example fails but successful with -save-temps

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98843 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98843] Building simple c++ modules example fails but successful with -save-temps

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98843 --- Comment #3 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:83bdc9f70347e6438822e719c30c3793c81df18e commit r11-6983-g83bdc9f70347e6438822e719c30c3793c81df18e Author: Nathan Sidwell Date:

[Bug bootstrap/98338] [11 Regression] profiledbootstrap failure on x86_64-linux

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98338 --- Comment #13 from Jakub Jelinek --- (In reply to Martin Liška from comment #5) > Created attachment 49785 [details] > Reduced test-case > > I reduced both the source file and the corresponding GCDA file. How do you reduce a gcda file togethe

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

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98243 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c/98880] [10/11 Regression] assignment unexpectedly optimized away with -O

2021-01-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98880 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

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

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #7 from Nathan Sidwell --- My mistake. interface and implementation partitions do not follow the non-partition behaviour. You have two M:A partitions (one an interface and one an implementation). This is what you want: A.cc: expor

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2021-01-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #15 from Martin Sebor --- The problem in attachment 50081 is different from the one reported in comment #0. The warning there is issued for the call to operator delete in the IL below as a result of the the test in bb 4 not being fol

[Bug tree-optimization/98866] [11 Regresion] Compile time hog in VRP since r11-3685-gfcae5121154d1c33

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98866 --- Comment #2 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:2dd1f944547eb6560c3e15a4b705ae1ac236df75 commit r11-6982-g2dd1f944547eb6560c3e15a4b705ae1ac236df75 Author: Andrew MacLeod Date:

[Bug c/98892] New: FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c

2021-01-29 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98892 Bug ID: 98892 Summary: FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/98355] [9/10/11 Regression] ICE in has_attribute, at c-family/c-attribs.c:5628

2021-01-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98355 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #29 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a7f52181a6a16bb6d216ff41d9c6a9da95c19b5c commit r11-6981-ga7f52181a6a16bb6d216ff41d9c6a9da95c19b5c Author: Richard Biener Date:

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 --- Comment #20 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ca02f0a0eb0fbeb3c1e01c3a55a95b0690ecfabc commit r9-9212-gca02f0a0eb0fbeb3c1e01c3a55a95b0690ecfabc Author: Jason Merrill Da

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

2021-01-29 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98243 John David Anglin changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/98891] [11 regression] Neon logical operations not vectorized in DImode since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64

2021-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98891 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

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

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #6 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #5) > your A-impl.cpp needs `import :B` and vice-versa Yep. Thanks. But that's not enough for it to compile: A-impl.cpp:7:17: error: invalid use of incomplete type ‘

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2021-01-29 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 --- Comment #21 from John David Anglin --- Still present on trunk.

[Bug c++/98463] [11 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:5491 by r11-2720

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2127d2c3ee23bbd03f02d88fd82403408696ee4a commit r10-9314-g2127d2c3ee23bbd03f02d88fd82403408696ee4a Author: Jason Merrill

[Bug c++/97474] [8/9/10/11 Regression] produces wrong code with references to another field

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:85908100051cb63b2fd2c039f3a166d45386b9d9 commit r10-9313-g85908100051cb63b2fd2c039f3a166d45386b9d9 Author: Jason Merrill

[Bug c++/98642] [10 Regression] wrong "use of deleted function" error

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:506fcfdb12562e829448e2b2eff475c65986e26b commit r10-9312-g506fcfdb12562e829448e2b2eff475c65986e26b Author: Jason Merrill D

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 --- Comment #19 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:81fd2df5911c4b2c31960fa5ef1407d20f1ca50c commit r10-9311-g81fd2df5911c4b2c31960fa5ef1407d20f1ca50c Author: Jason Merrill

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

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #5 from Nathan Sidwell --- your A-impl.cpp needs `import :B` and vice-versa

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #28 from H.J. Lu --- (In reply to Richard Biener from comment #27) > HJ, you added remove_partial_avx_dependency - it adds loads of DF problems > but during its execution it does not seem to use anything but doing > df_insn_rescan. I

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 Richard Biener changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug target/98891] New: [11 regression] Neon logical operations not vectorized in DImode since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64

2021-01-29 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98891 Bug ID: 98891 Summary: [11 regression] Neon logical operations not vectorized in DImode since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64 Product: gcc Version: 11.

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #26 from Richard Biener --- (In reply to Richard Biener from comment #24) > Created attachment 50087 [details] > updated time and memory report > > This is updated -f{time,mem}-report (with > --enable-gather-detailed-mem-stats) for l

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

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #4 from Pilar Latiesa --- I tried: $ cat M.cpp export module M; export import :A; export import :B; $ cat A.cpp export module M:A; export class B; export class A { void f(B const &) const; }; $ cat B.cpp export module

[Bug fortran/98858] OpenMP offload target data ICE at use_device_ptr

2021-01-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98858 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug c++/98459] [8/9/10/11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 since r6-6901-g876217ae71cf0b34

2021-01-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98459 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/98088] [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98088 --- Comment #2 from Jakub Jelinek --- Doesn't ICE if the conditions match the iteration direction, the way it is written it will never iterate, and if it would iterate (say int i = 0; i > -3; i++) it would be invalid OpenACC. Doesn't ICE for int

[Bug middle-end/98088] [9/10/11 Regression] ICE in expand_oacc_collapse_init, at omp-expand.c:1533

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98088 Jakub Jelinek changed: What|Removed |Added CC||cltang at gcc dot gnu.org,

[Bug c++/98459] [8/9/10/11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 since r6-6901-g876217ae71cf0b34

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

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

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #3 from Nathan Sidwell --- module partitions are probably what you want for such mutually dependent types.

[Bug analyzer/98447] incorrect -Wanalyzer-shift-count-overflow warning

2021-01-29 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98447 --- Comment #5 from Vincent Lefèvre --- This is still failing (trunk). The test on godbolt: https://godbolt.org/z/Yx7b1d

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

2021-01-29 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 --- Comment #2 from Pilar Latiesa --- (In reply to Nathan Sidwell from comment #1) > This is ill-formed. an exported entity must be so-declared on its first > declaration. > > A diagnostic is missing on the definition of the class. I see. Than

[Bug fortran/98890] ICE on reference to module function

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98890 --- Comment #1 from Jakub Jelinek --- Seems the ICE is quite long, seems before around (+- 25 revisions) r137400 gfortran ICEd in the FE: internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:483 and after that it ICEs in gimple

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 Martin Liška changed: What|Removed |Added Attachment #50072|0 |1 is obsolete|

[Bug rtl-optimization/98782] IRA artificially creating spills due to BB frequencies

2021-01-29 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #2 from Tamar Christina --- Just an update on what I know so far. There seems to be no symmetry between the growth of the memory costs vs that of the caller saved registers. In the case of the memory costs, the actual memory cost in

[Bug fortran/98890] New: ICE on reference to module function

2021-01-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98890 Bug ID: 98890 Summary: ICE on reference to module function Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #24 from Richard Biener --- Created attachment 50087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50087&action=edit updated time and memory report This is updated -f{time,mem}-report (with --enable-gather-detailed-mem-stats)

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

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98885 Nathan Sidwell changed: What|Removed |Added Keywords|rejects-valid |accepts-invalid Status|UNCO

[Bug c++/98881] [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933

2021-01-29 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/17314] Error message wrongly shows declared rather than inherited access

2021-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

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

2021-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #23 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cb52e59e33845152cef6f9042a142a246e9447f6 commit r11-6973-gcb52e59e33845152cef6f9042a142a246e9447f6 Author: Richard Biener Date:

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

2021-01-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 --- Comment #9 from Jonathan Wakely --- (In reply to Nick Krempel from comment #0) > The following code should fail to compile but does not: > > struct V {}; > struct B : private virtual V {}; > struct D : B {}; > > int main() { > D d; >

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #22 from Martin Liška --- There are other smaller spikes I can see: 663s: current pass = cse1 (259) {'ltrans': {'memory': 1.5744667053222656, 'cpu': 6.24375}} {'ltrans': {'memory': 1.5744667053222656, 'cpu': 6.24375}} {'ltrans': {'me

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 Richard Biener changed: What|Removed |Added Keywords|missed-optimization |memory-hog, ra Summary|WRF w

  1   2   >