[PATCH v5 02/12] LoongArch Port: gcc build

2022-01-21 Thread Chenghua Xu
From: chenglulu gcc/ * common/config/loongarch/loongarch-common.cc: New file. * config/loongarch/genopts/genstr.sh: New file. * config/loongarch/genopts/loongarch-strings: New file. * config/loongarch/genopts/loongarch.opt.in: New file. *

[PATCH v5 10/12] LoongArch Port: libgomp

2022-01-21 Thread Chenghua Xu
From: chenglulu libgomp/ * configure.tgt: Add LoongArch triplet. --- libgomp/configure.tgt | 4 1 file changed, 4 insertions(+) diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index d4f1e741b5a..2cd7272fcd8 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt

[PATCH v5 09/12] LoongArch Port: Regenerate libgcc/configure.

2022-01-21 Thread Chenghua Xu
From: chenglulu --- libgcc/configure | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libgcc/configure b/libgcc/configure index 4919a56f518..ce04c4f529f 100755 --- a/libgcc/configure +++ b/libgcc/configure @@ -2412,6 +2412,9 @@ case "${host}" in # sets the default

[PATCH v5 07/12] LoongArch Port: Builtin macros.

2022-01-21 Thread Chenghua Xu
From: chenglulu gcc/ *config/loongarch/loongarch-c.cc --- gcc/config/loongarch/loongarch-c.cc | 109 1 file changed, 109 insertions(+) create mode 100644 gcc/config/loongarch/loongarch-c.cc diff --git a/gcc/config/loongarch/loongarch-c.cc

[PATCH v5 03/12] LoongArch Port: Regenerate gcc/configure.

2022-01-21 Thread Chenghua Xu
From: chenglulu --- gcc/configure | 66 ++- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/gcc/configure b/gcc/configure index bd4d4721868..3823bc4e783 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5442,6 +5442,9 @@ case

[PATCH v5 01/12] LoongArch Port: Regenerate configure

2022-01-21 Thread Chenghua Xu
From: chenglulu * config/picflag.m4: Default add build option '-fpic' for LoongArch. * configure: Add LoongArch tuples. * configure.ac: Like wise. --- config/picflag.m4 | 3 +++ configure | 10 +- configure.ac | 10 +- 3 files changed, 21

[PATCH v5 00/12] Add LoongArch support

2022-01-21 Thread Chenghua Xu
The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a Reduced Instruction Set Computer (RISC) style. The documents are on https://loongson.github.io/LoongArch-Documentation/README-EN.html The ELF ABI Documents are on:

[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

[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/104178] New: -fcompare-debug failure at -O3 -m32

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
o --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++/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++/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 #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 #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 Andrew Pinski changed: What|Removed |Added Summary|[diagnostic] basic.align#9 |coroutine frame is not

[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

[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 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 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

[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 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 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

[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 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 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++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[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 #2 from Andrew Pinski --- It should be supported. There might be a dup copying the alignment though for the coroutines.

[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 #1 from Luke Dalessandro --- Also described in https://stackoverflow.com/questions/66546906/is-it-defined-behavior-to-place-exotically-aligned-objects-in-the-coroutine-stat.

[Bug c++/104177] New: [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 Bug ID: 104177 Summary: [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug other/104176] [12 Regression] opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug other/104176] opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-01-22

[Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization

2022-01-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug other/104176] New: opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Bug ID: 104176 Summary: opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug modula2/104065] [12 Regression] trunk 20220117 fails to build modula2

2022-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104065 --- Comment #7 from Gaius Mulley --- All fixed now (I think), see mailing list entry https://gcc.gnu.org/pipermail/gcc-cvs/2022-January/359679.html In summary $(CC) is only used to compile flex generated source. $(CXX) is used instead. The

[Bug c++/104175] Enum Class Bit Fields Brace-enclosed Initializer List fails to compile

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104175 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[PATCH] fortran: Extend -fconvert= option for ppc64le r16_ieee and r16_ibm

2022-01-21 Thread Jakub Jelinek via Gcc-patches
Hi! This patch on top of the previously posted option handling changes patch allows specifying -fconvert=swap,r16_ieee etc. (but will error on it when not on powerpc64le because in the library such swapping is only implemented for HAVE_REAL_17). Bootstrapped/regtested on x86_64-linux and

[Bug c++/104175] New: Enum Class Bit Fields Brace-enclosed Initializer List fails to compile

2022-01-21 Thread bieri.hp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104175 Bug ID: 104175 Summary: Enum Class Bit Fields Brace-enclosed Initializer List fails to compile Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[PATCH] options: Fix up -fsanitize-coverage= [PR104158]

2022-01-21 Thread Jakub Jelinek via Gcc-patches
Hi! This is incremental patch to fix up -fsanitize-coverage= option handling, allow -fno-sanitize-coverage= again, allow both options together in one option or make -fsanitize-coverage=trace-pc -fsanitize-coverage=trace-cmp actually enable both suboptions rather than the last one.

[Bug libstdc++/104174] [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Jonathan Wakely changed: What|Removed |Added Summary|[12 Regression] |[12 Regression]

[PATCH] options: Add EnumSet and Set property support [PR104158]

2022-01-21 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch is infrastructure support for at least 3 different options that need changes: 1) PR104158 talks about a regression with the -fsanitizer-coverage= option; in GCC 11 and older and on trunk prior to r12-1177, this option behaved similarly to

[Bug libstdc++/104174] [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Jonathan Wakely changed: What|Removed |Added Known to work||11.2.1

[Bug libstdc++/104174] New: [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Bug ID: 104174 Summary: [12 Regression] unordered_map fails Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority:

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-21 Thread Antoni Boucher via Gcc-patches
Hi. Here's the updated patch. See comments below. Le mardi 18 janvier 2022 à 18:06 -0500, David Malcolm a écrit : > On Mon, 2022-01-17 at 19:30 -0500, Antoni Boucher via Gcc-patches > wrote: > > I was missing the define, so I added it. > > Here's the new patch with it. > > Thanks for the patch.

Re: Ping: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.

2022-01-21 Thread David Edelsohn via Gcc-patches
On Fri, Jan 21, 2022 at 2:56 PM Michael Meissner wrote: > > Ping patch > https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587924.html > > | Date: Fri, 7 Jan 2022 16:05:53 -0500 > | From: Michael Meissner > | Subject: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10. > |

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

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104136 --- Comment #4 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:f9063d12633c62a089115df032a19295854d8b06 commit r12-6812-gf9063d12633c62a089115df032a19295854d8b06 Author: Michael Meissner

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:48ef652689b96f4305d5a9c30c4c9f2008cbd4d8 commit r10-10412-g48ef652689b96f4305d5a9c30c4c9f2008cbd4d8 Author: Harald Anlauf

gcc-10-20220121 is now available

2022-01-21 Thread GCC Administrator via Gcc
Snapshot gcc-10-20220121 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20220121/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:60953a23d57b13a672f751bec0c6eefc059eb1ab commit r12-6811-g60953a23d57b13a672f751bec0c6eefc059eb1ab Author: H.J. Lu Date: Fri Jan 21

Re: [PATCH v3 07/15] arm: Implement MVE predicates as vectors of booleans

2022-01-21 Thread Christophe Lyon via Gcc-patches
Hi Andre, On Fri, Jan 21, 2022 at 12:23 PM Andre Vieira (lists) via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > Hi Christophe, > > On 13/01/2022 14:56, Christophe Lyon via Gcc-patches wrote: > > diff --git a/gcc/config/arm/arm-simd-builtin-types.def >

Re: [PATCH v2] x86: Properly disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread Jakub Jelinek via Gcc-patches
On Fri, Jan 21, 2022 at 01:57:57PM -0800, H.J. Lu wrote: > Revert x86 changes in > > commit c163647ffbc9a20c8feb6e079dbecccfe016c82e > Author: Soren Tempel > Date: Fri Jan 21 19:22:46 2022 + > > Disable -fsplit-stack support on non-glibc targets > > and change

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 --- Comment #5 from anlauf at gcc dot gnu.org --- The issue in comment#3 is likely unrelated to TRANSFER: program p implicit none ! integer, parameter :: k = 1 integer, parameter :: k = 4 character(kind=k,len=2), parameter :: z = k_"FG"

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug c++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Jonathan Wakely changed: What|Removed |Added Priority|P3 |P1

[PATCH v2] x86: Properly disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread H.J. Lu via Gcc-patches
On Fri, Jan 21, 2022 at 10:42:03PM +0100, Jakub Jelinek wrote: > On Fri, Jan 21, 2022 at 01:31:32PM -0800, H.J. Lu wrote: > > On Fri, Jan 21, 2022 at 09:18:41PM +0100, Jakub Jelinek via Gcc-patches > > wrote: > > > On Fri, Jan 21, 2022 at 08:16:11PM +0100, soeren--- via Gcc-patches wrote: > > > >

[Bug c++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/104173] New: [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Bug ID: 104173 Summary: [12 Regression] wrong overload resolution for ref-qualifiers Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

Re: [libc-coord] Add new ABIs '__strcmpeq', '__strncmpeq', '__wcscmpeq' and '__wcsncmpeq' to libc

2022-01-21 Thread Noah Goldstein via Gcc
On Fri, Jan 21, 2022 at 12:51 PM Joerg Sonnenberger wrote: > > On Thu, Jan 20, 2022 at 04:56:59PM -0600, Noah Goldstein wrote: > > The goal is that the new interfaces will be usable as an optimization > > by compilers if a program uses the return value of the non "eq" > > variant as a boolean. >

[Bug c++/104148] [11 Regression] -Wformat warning no longer warns about () wrapped args since r11-2457

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104148 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.3

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/104148] [11/12 Regression] -Wformat warning no longer warns about () wrapped args since r11-2457

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104148 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f36efe71bef8ddf72306aca313d28759434cf97a commit r12-6810-gf36efe71bef8ddf72306aca313d28759434cf97a Author: Jakub Jelinek Date:

Re: [PATCH] x86: Properly disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread Jakub Jelinek via Gcc-patches
On Fri, Jan 21, 2022 at 01:31:32PM -0800, H.J. Lu wrote: > On Fri, Jan 21, 2022 at 09:18:41PM +0100, Jakub Jelinek via Gcc-patches wrote: > > On Fri, Jan 21, 2022 at 08:16:11PM +0100, soeren--- via Gcc-patches wrote: > > > gcc/ChangeLog: > > > > > > * common/config/s390/s390-common.c

Re: [PATCH] c-family: Fix up a -Wformat regression [PR104148]

2022-01-21 Thread Joseph Myers
On Fri, 21 Jan 2022, Jakub Jelinek via Gcc-patches wrote: > 2022-01-21 Jakub Jelinek > > PR c++/104148 > * c-common.h (check_function_arguments_recurse): Add for_format > arg. > * c-common.cc (check_function_nonnull): Pass false to >

Re: [PATCH] Mark XXSPLTIW/XXSPLTIDP as prefixed -- PR 104136

2022-01-21 Thread Segher Boessenkool
Hi! On Fri, Jan 21, 2022 at 02:49:26PM -0500, Michael Meissner wrote: > If you compile module_advect_em.F90 with -Ofast -mcpu=power10, one module > is large enough that we can't use a single conditional jump to span the > function. Instead, GCC has to reverse the condition, and do a conditional

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #3 from Jakub Jelinek --- E.g. I think all the libstdc++ work is only in GCC 11, so yes, one could use C++, but couldn't use the standard C++ library in GCC 8.

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #1 from H.J. Lu --- A

[Bug tree-optimization/101831] Spurious maybe-uninitialized warning on std::array::size

2022-01-21 Thread kim.walisch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 kim.walisch at gmail dot com changed: What|Removed |Added CC||kim.walisch at gmail dot

[PATCH] x86: Properly disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread H.J. Lu via Gcc-patches
On Fri, Jan 21, 2022 at 09:18:41PM +0100, Jakub Jelinek via Gcc-patches wrote: > On Fri, Jan 21, 2022 at 08:16:11PM +0100, soeren--- via Gcc-patches wrote: > > gcc/ChangeLog: > > > > * common/config/s390/s390-common.c (s390_supports_split_stack): > > Only support split-stack on glibc

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #2 from Jakub Jelinek --- Was -mabi=ieeelongdouble support even remotely usable in GCC 8 (do we really need to care about compatibility with it)?

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Jakub Jelinek changed: What|Removed |Added CC||dje at gcc dot gnu.org,

[Bug target/104172] New: [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Bug ID: 104172 Summary: [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug middle-end/104171] ICE: 'verify_gimple' failed. verify_gimple_in_seq; gimplify_body

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104171 Andrew Pinski changed: What|Removed |Added Component|c |middle-end

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #4 from Andrew Pinski --- The error message from clang is: :28:19: note: function parameter 'JSONValue' with unknown value cannot be used in a constant expression if constexpr (JSONValue.isArray()) { ^

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #3 from Andrew Pinski --- Hmm, MSVC accepts this code just like GCC. ICC does too. Only clang rejects it. If Value was not marked as a constexpr, then GCC rejects it too. I do have wonder if clang is right to reject this or not.

[Bug c/104171] New: ICE: 'verify_gimple' failed. verify_gimple_in_seq; gimplify_body

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: /tmp/tmp.OLkXuGPSxC-gcc-builder/gcc/configure --enable-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++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #1 from Andrew Pinski --- Reduced testcase: struct Array { static constexpr bool isArray() noexcept { return true; } }; template constexpr void buggyImpl(const JSONVariant& JSONValue) noexcept { constexpr bool t =

[Bug rtl-optimization/104153] [12 Regression] ICE due to recent ifcvt changes

2022-01-21 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104153 --- Comment #3 from rdapp at linux dot ibm.com --- Both of your guesses are correct :) or1k_expand_compare () indeed modifies the condition/comparison in-place. As I use cc_cmp directly from the condition of the jump it is changed but never

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #3) > with TRANSFER between different integer kinds. E.g. oops, that should read: character kinds

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Keywords|

Re: [PATCH v2] Disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread Sören Tempel via Gcc-patches
"H.J. Lu" wrote: > OPTION_GLIBC can't be used here since OPTION_GLIBC is > evaluated at run-time: > > https://gcc.gnu.org/pipermail/gcc-regression/2022-January/076271.html Oops, my bad, sorry! This accidentally broke in one of the two cleanup commits. Originally I justed use TARGET_GLIBC_MAJOR

[Bug libgomp/66005] libgomp make check time is excessive

2022-01-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 Serge Belyshev changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

2022-01-21 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169 --- Comment #2 from Luís Ferreira --- Thanks for the information. Just cross-referencing here: https://sourceware.org/bugzilla/show_bug.cgi?id=28803 .

[Bug c++/104139] [12 Regression] g++.dg/abi/no_unique_address2.C at r12-6028 (a37e8ce3b663)

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

Re: [PATCH v3] Disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread Jakub Jelinek via Gcc-patches
On Fri, Jan 21, 2022 at 08:16:11PM +0100, soeren--- via Gcc-patches wrote: > gcc/ChangeLog: > > * common/config/s390/s390-common.c (s390_supports_split_stack): > Only support split-stack on glibc targets. > * config/i386/gnu-user-common.h (STACK_CHECK_STATIC_BUILTIN): Ditto. >

[Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52

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

[Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104084 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:847a8301add0a316767878342c1367948835c181 commit r12-6808-g847a8301add0a316767878342c1367948835c181 Author: Jason Merrill Date:

[Bug c++/20040] A new expression must check the access level of delete operator

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20040 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:847a8301add0a316767878342c1367948835c181 commit r12-6808-g847a8301add0a316767878342c1367948835c181 Author: Jason Merrill Date:

[pushed] c++: explain failing static_assert

2022-01-21 Thread Jason Merrill via Gcc-patches
While looking at another bug I wanted the compiler to tell me what the two unequal values were. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * semantics.cc (find_failing_clause): Return expr if not decomposable. (finish_static_assert): Show constant

[Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

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

Re: [PATCH v3] Disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread H.J. Lu via Gcc-patches
On Fri, Jan 21, 2022 at 11:47 AM H.J. Lu wrote: > > On Fri, Jan 21, 2022 at 11:23 AM Richard Sandiford via Gcc-patches > wrote: > > > > soe...@soeren-tempel.net writes: > > > From: Sören Tempel > > > > > > The -fsplit-stack option requires the pthread_t TCB definition in the > > > libc to

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/104170] New: [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 Bug ID: 104170 Summary: [12 Regression] Failed to bootstrap by r12-6807 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

2022-01-21 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169 Bug ID: 104169 Summary: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines Product: gcc Version: unknown Status: UNCONFIRMED

Ping, important: [PATCH] Use system default for long double if not specified on PowerPC.

2022-01-21 Thread Michael Meissner via Gcc-patches
Ping patch. https://gcc.gnu.org/pipermail/gcc-patches/2022-January/588292.html | Date: Wed, 12 Jan 2022 13:04:19 -0500 | From: Michael Meissner | Subject: [PATCH] Use system default for long double if not specified on PowerPC. | Message-ID: I believe this patch will be very important when

Ping: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10.

2022-01-21 Thread Michael Meissner via Gcc-patches
Ping patch https://gcc.gnu.org/pipermail/gcc-patches/2022-January/587924.html | Date: Fri, 7 Jan 2022 16:05:53 -0500 | From: Michael Meissner | Subject: [PATCH] PR 103763, Fix fold-vec-splat-floatdouble on power10. | Message-ID: -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA,

Re: [PATCH v2] Disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread H.J. Lu via Gcc-patches
On Sat, Dec 18, 2021 at 4:20 AM soeren--- via Gcc-patches wrote: > > From: Sören Tempel > > The -fsplit-stack option requires the pthread_t TCB definition in the > libc to provide certain struct fields at specific hardcoded offsets. As > far as I know, only glibc provides these fields at the

[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 Attachment #52246|0 |1 is obsolete|

[PATCH] Mark XXSPLTIW/XXSPLTIDP as prefixed -- PR 104136

2022-01-21 Thread Michael Meissner via Gcc-patches
Mark XXSPLTIW/XXSPLTIDP as prefixed -- PR 104136 If you compile module_advect_em.F90 with -Ofast -mcpu=power10, one module is large enough that we can't use a single conditional jump to span the function. Instead, GCC has to reverse the condition, and do a conditional jump around an

Re: [PATCH v3] Disable -fsplit-stack support on non-glibc targets

2022-01-21 Thread H.J. Lu via Gcc-patches
On Fri, Jan 21, 2022 at 11:23 AM Richard Sandiford via Gcc-patches wrote: > > soe...@soeren-tempel.net writes: > > From: Sören Tempel > > > > The -fsplit-stack option requires the pthread_t TCB definition in the > > libc to provide certain struct fields at specific hardcoded offsets. As > > far

  1   2   3   4   >