[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > It should be supported. There might be a dup copying the alignment though > for the coroutines. Bug not dup. Autocorrect got to me.

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #4 from Luke Dalessandro --- Oh, that would be great. I tried relatively hard to find a bug like that, but I have previously shown a surprising level of incompetence with bugzilla search.

[Bug tree-optimization/104156] [12 Regression] -fcompare-debug failure with -O2 -funswitch-loops since r12-4526-gd8edfadfc7a9795b

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104156 --- Comment #7 from Chengnian Sun --- A quick question. Besides the flags `-fcompare-debug -g3 -O3`, are there any other flags I should enable to better/faster find such -fcompare-debug failures? Thanks.

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #5 from Andrew Pinski --- What I am trying to say is there is a bug in gcc when dealing with alignas with coroutines. I don't think there is a dup of this bug in the database. I am also saying is this should work. When I get in front

[Bug target/104136] Gcc cannot compile wrf_r for power10 using -Ofast

2022-01-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104136 --- Comment #5 from Michael Meissner --- Fixed in commit f9063d12633c62a089115df032a19295854d8b06 on January 21, 2022.

[Bug target/104136] Gcc cannot compile wrf_r for power10 using -Ofast

2022-01-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104136 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/103763] [12 regression] gcc.target/powerpc/fold-vec-splat-floatdouble.c fails after r12-5988

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103763 --- Comment #2 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:abe3a4f0e9c461789b689e78d6116b1efffc1b5b commit r12-6814-gabe3a4f0e9c461789b689e78d6116b1efffc1b5b Author: Michael Meissner Dat

[Bug testsuite/103763] [12 regression] gcc.target/powerpc/fold-vec-splat-floatdouble.c fails after r12-5988

2022-01-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103763 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #6 from Andrew Pinski --- So this works for me on the trunk.

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 Andrew Pinski changed: What|Removed |Added Version|12.0|11.1.1 --- Comment #7 from Andrew Pinsk

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 Andrew Pinski changed: What|Removed |Added Summary|[diagnostic] basic.align#9 |coroutine frame is not

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #9 from Andrew Pinski --- so I think you might have found a defect in the C++ standard dealing with coroutines. I looked and there is no mention of alignment when it comes to the state of the coroutine at all even.

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #10 from Andrew Pinski --- Note LLVM/clang has the same issue and there was a patch for the issue here: https://reviews.llvm.org/D106248 I don't see the followup patch though.

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #11 from Andrew Pinski --- Oh: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2014r0.pdf

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #12 from Andrew Pinski --- See the discussion at https://www.mail-archive.com/cfe-commits@lists.llvm.org/msg222834.html I wonder what this means for GCC here.

[Bug c/104178] New: -fcompare-debug failure at -O3 -m32

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
able-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220121 (experimental) [master -gcaca8eddd] (GCC) $

[Bug c/104178] -fcompare-debug failure at -O3 -m32

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104178 --- Comment #1 from Chengnian Sun --- Sorry for the long test case. I tried my best to reduce it. The reported test program is the best I could get.

[Bug c++/104179] New: Truncated representation of character arrays as non-type template parameters

2022-01-21 Thread stinkingmadgod at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104179 Bug ID: 104179 Summary: Truncated representation of character arrays as non-type template parameters Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

<    1   2   3