Re: [RS6000] VSX_MM_SUFFIX

2020-10-23 Thread Alan Modra via Gcc-patches
On Fri, Oct 23, 2020 at 04:06:57PM -0500, Segher Boessenkool wrote: > On Fri, Oct 23, 2020 at 09:41:30AM +1030, Alan Modra wrote: > > On Thu, Oct 22, 2020 at 11:03:14AM -0500, Segher Boessenkool wrote: > > > On Thu, Oct 22, 2020 at 08:58:10AM -0700, Carl Love wrote: > > > > OK, looks like

Re: [RS6000] altivec style lvx/stvx addresses vs power10

2020-10-23 Thread Alan Modra via Gcc-patches
Hi Segher, On Fri, Oct 23, 2020 at 11:31:02AM -0500, Segher Boessenkool wrote: > On Fri, Oct 23, 2020 at 05:15:08PM +1030, Alan Modra wrote: > > The problem starts with fwprop creating > > (insn 9 4 0 2 (set (mem:V8HI (and:DI (plus:DI (reg/v/f:DI 121 [ vpp ]) > > (const_int 12

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #6

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 --- Comment #5 from Michael Meissner --- One of my patches for adding IEEE 128-bit long double may help with this situation. The ibm-ldouble.c module was not being compiled with -mno-gnu-attributes would affect things if a different long double

[PATCH] rs6000, Add bcd builtings listed in appendix B of the ABI

2020-10-23 Thread Carl Love via Gcc-patches
Gcc maintainers: The following patch adds support for the built-ins listed in Table B.1, "Binary-Coded Decimal Built-In Functions" of the "64-Bit ELF V2 ABI Specification", July 30, 2019. The built-ins adds support the V16QI type for addition, subtraction and comparison as sepcified in the

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Jason Merrill via Gcc-patches
On 10/23/20 8:03 PM, Ville Voutilainen wrote: On Sat, 24 Oct 2020 at 03:00, Marek Polacek wrote: + tree expr; + expr = is_xible_helper (code, to, from, /*trivial*/false); tree expr = is_xible_helper (code, to, from, /*trivial*/false); would be nicer, otherwise the front-end changes

Re: [PATCH v2] c++: Fix verify_ctor_sanity ICE [PR96241]

2020-10-23 Thread Jason Merrill via Gcc-patches
On 10/23/20 8:06 PM, Marek Polacek wrote: On Thu, Oct 22, 2020 at 05:37:06PM -0400, Jason Merrill via Gcc-patches wrote: On 10/15/20 6:18 PM, Marek Polacek wrote: The code added in r10-6437 caused us to create a CONSTRUCTOR when we're {}-initializing an aggregate. Then we pass this new

Re: [PATCH] c++: Implement -Wvexing-parse [PR25814]

2020-10-23 Thread Jason Merrill via Gcc-patches
On 10/23/20 3:01 PM, Marek Polacek wrote: This patch implements the -Wvexing-parse warning to warn about the sneaky most vexing parse rule in C++: the cases when a declaration looks like a variable definition, but the C++ language requires it to be interpreted as a function declaration. This

Re: [PATCH 2/8] [RS6000] rs6000_rtx_costs for AND

2020-10-23 Thread Alan Modra via Gcc-patches
On Fri, Oct 23, 2020 at 07:18:44PM -0400, Hans-Peter Nilsson wrote: > On Thu, 22 Oct 2020, Alan Modra via Gcc-patches wrote: > > /* (reg) is costed at zero by rtlanal.c:rtx_cost. That sets a > > baseline for rtx costs: If a constant is valid in an insn, > > it is free. */ > >

Re: [RS6000] Adjust testcases for power10 instructions

2020-10-23 Thread Alan Modra via Gcc-patches
On Fri, Oct 23, 2020 at 01:22:31PM -0500, Segher Boessenkool wrote: > On Fri, Oct 23, 2020 at 04:45:29PM +1030, Alan Modra wrote: > > Revised patch, removing changes to > > gcc.target/powerpc/fold-vec-st-double.c, > > gcc.target/powerpc/fold-vec-st-longlong.c, > >

[PATCH] [tree-optimization] Fix for PR97223

2020-10-23 Thread Eugene Rozenfeld via Gcc-patches
This patch adds a pattern for folding x < (short) ((unsigned short)x + const) to x <= SHORT_MAX - const (and similarly for other integral types) if const is not 0. as described in PR97223. For example, without this patch the x86_64-pc-linux code generated for this

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Ville Voutilainen via Gcc-patches
On Sat, 24 Oct 2020 at 03:07, Marek Polacek wrote: > > Ha, we have the same thing in is_trivially_xible, so I'll drive-by > > change that one as well. > > Please. Thanks! The tree is also on a separated line in is_trivially_xible and is_nothrow_xible, but not in is_xible. What do we think about

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Marek Polacek via Gcc-patches
On Sat, Oct 24, 2020 at 03:03:51AM +0300, Ville Voutilainen via Gcc-patches wrote: > On Sat, 24 Oct 2020 at 03:00, Marek Polacek wrote: > > > + tree expr; > > > + expr = is_xible_helper (code, to, from, /*trivial*/false); > > > > tree expr = is_xible_helper (code, to, from,

Re: [PATCH v2] c++: Fix verify_ctor_sanity ICE [PR96241]

2020-10-23 Thread Marek Polacek via Gcc-patches
On Thu, Oct 22, 2020 at 05:37:06PM -0400, Jason Merrill via Gcc-patches wrote: > On 10/15/20 6:18 PM, Marek Polacek wrote: > > The code added in r10-6437 caused us to create a CONSTRUCTOR when we're > > {}-initializing an aggregate. Then we pass this new CONSTRUCTOR down to > >

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Ville Voutilainen via Gcc-patches
On Sat, 24 Oct 2020 at 03:00, Marek Polacek wrote: > > + tree expr; > > + expr = is_xible_helper (code, to, from, /*trivial*/false); > > tree expr = is_xible_helper (code, to, from, /*trivial*/false); > > would be nicer, otherwise the front-end changes look fine, thanks. Ha, we have the same

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Marek Polacek via Gcc-patches
On Sat, Oct 24, 2020 at 02:32:37AM +0300, Ville Voutilainen via Gcc-patches wrote: > Finishing testing on Linux-PPC64. Ok for trunk if tests pass? > > 2020-10-24 Ville Voutilainen > > gcc/c-family/ChangeLog: > > Implement __is_nothrow_{constructible,assignable} > * c-common.c

libgo patch committed: Merge upstream net/http/cgi changes

2020-10-23 Thread Ian Lance Taylor via Gcc-patches
This libgo patch by Nikhil Benesch updates the net/http/cgi package to incorporate upstream modifications to the cgi package's set of rules about which environment variables should be inherited by child processes by default on each platform. In particular this permits tests to pass on NetBSD by

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Ville Voutilainen via Gcc-patches
On Sat, 24 Oct 2020 at 02:32, Ville Voutilainen wrote: > * method.c (__is_nothrow_xible): New. ..and this is is_nothrow_xible, without leading underscores.

[PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-23 Thread Ville Voutilainen via Gcc-patches
Finishing testing on Linux-PPC64. Ok for trunk if tests pass? 2020-10-24 Ville Voutilainen gcc/c-family/ChangeLog: Implement __is_nothrow_{constructible,assignable} * c-common.c (__is_nothrow_assignable): New. (__is_nothrow_constructible): Likewise. * c-common.h

Re: [r11-4328 Regression] FAIL: g++.dg/warn/Wsizeof-array-div2.C -std=gnu++98 (test for warnings, line 11) on Linux/x86_64

2020-10-23 Thread Marek Polacek via Gcc-patches
On Fri, Oct 23, 2020 at 04:14:20PM -0700, sunil.k.pandey via Gcc-patches wrote: > On Linux/x86_64, > > 83f83ddfe0fe41c9b553850d4ababd5089df8332 is the first bad commit > commit 83f83ddfe0fe41c9b553850d4ababd5089df8332 > Author: Marek Polacek > Date: Fri Sep 11 16:19:08 2020 -0400 > > c,

Re: Fortran Shared Coarrays for GCC 11

2020-10-23 Thread David Edelsohn via Gcc
On Fri, Oct 23, 2020 at 12:52 PM Nicolas König wrote: > > Hello everyone, > > I'm hoping to get shared coarrays for fortran (the devel/coarray_native > branch) merged for GCC 11 as an experimental feature, but, since the > library uses a lot of low-level routines, I'm a bit scared of breaking >

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 --- Comment #4 from Peter Bergner --- Created attachment 49436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49436=edit patch file So libgcc compiles are explicitly using -mlong-double-128, which doesn't seem right when GCC is configured

Re: [PATCH 2/8] [RS6000] rs6000_rtx_costs for AND

2020-10-23 Thread Hans-Peter Nilsson
On Thu, 22 Oct 2020, Alan Modra via Gcc-patches wrote: Hi! > On Wed, Oct 21, 2020 at 03:29:11PM -0500, Segher Boessenkool wrote: > > Anyway: > > > > + || (outer_code == AND > > + && rs6000_is_valid_2insn_and (x, mode))) > > { > > *total =

[r11-4328 Regression] FAIL: g++.dg/warn/Wsizeof-array-div2.C -std=gnu++98 (test for warnings, line 11) on Linux/x86_64

2020-10-23 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 83f83ddfe0fe41c9b553850d4ababd5089df8332 is the first bad commit commit 83f83ddfe0fe41c9b553850d4ababd5089df8332 Author: Marek Polacek Date: Fri Sep 11 16:19:08 2020 -0400 c, c++: Implement -Wsizeof-array-div [PR91741] caused FAIL: c-c++-common/Wsizeof-array-div1.c

gcc-9-20201023 is now available

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

What would happen when linking code that compiles with -fexec-charset=IBM-12712 and UTF8?

2020-10-23 Thread sotrdg sotrdg via Gcc
I think that just generates undefined behaviors. Sent from Mail for Windows 10

[PATCH] rs6000, Power 10 testsuite fixes

2020-10-23 Thread Carl Love via Gcc-patches
GCC maintainers: The following patch fixes a few issues with the tests. The DEBUG is defined in each of the files thus the #ifdef DEBUG should just be #if DEBUG. The other issue is a some of the line lengths for the error prints exceed 80 characters. The patch fixes the prints. The patch was

Re: [RS6000] VSX_MM_SUFFIX

2020-10-23 Thread Segher Boessenkool
On Fri, Oct 23, 2020 at 09:41:30AM +1030, Alan Modra wrote: > On Thu, Oct 22, 2020 at 11:03:14AM -0500, Segher Boessenkool wrote: > > On Thu, Oct 22, 2020 at 08:58:10AM -0700, Carl Love wrote: > > > OK, looks like VSX_MM_SUFFIX doesn't exist anymore. Don't know what > > > happed to it. Thanks. >

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-10-23 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 Hana Dusíková changed: What|Removed |Added CC||hanicka at hanicka dot net --- Comment

[Bug fortran/95979] [10/11 Regression] ICE in get_kind, at fortran/simplify.c:129

2020-10-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95979 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

Move thunks out of cgraph_node

2020-10-23 Thread Jan Hubicka
Hi, this patch moves thunk_info out of cgraph_node into a symbol summary. I also moved it to separate hearder file since cgraph.h became really too fat. I plan to contiue with similar breakup in order to cleanup interfaces and reduce WPA memory footprint (symbol table now consumes more memory

[Bug ada/97557] New: [11 regression] several ada test case failures

2020-10-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97557 Bug ID: 97557 Summary: [11 regression] several ada test case failures Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/97556] New: ICE at -O2 and -O3 in 32-bit mode on x86_64-pc-linux-gnu in size_remaining, at builtins.c:235

2020-10-23 Thread su at cs dot ucdavis.edu via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201023 (experimental) [master revision 7991e963239:9cbfe237f74:757ba6653c2699761c2243e0194749a6695112d8] (GCC) [521] % [521] % gcctk -m32 -Os -c small.c [522] % [522] % gcctk -m32 -O2 -c small.c during

Re: Materialize clones on demand

2020-10-23 Thread Jan Hubicka
> Hi, > > On Thu, Oct 22 2020, Jan Hubicka wrote: > > Hi, > > this patch removes the pass to materialize all clones and instead this > > is now done on demand. The motivation is to reduce lifetime of function > > bodies in ltrans that should noticeably reduce memory use for highly > > parallel

[Bug tree-optimization/97555] New: wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-23 Thread su at cs dot ucdavis.edu via Gcc-bugs
version 11.0.0 20201023 (experimental) [master revision 7991e963239:9cbfe237f74:757ba6653c2699761c2243e0194749a6695112d8] (GCC) [537] % [537] % gcctk -O1 small.c; ./a.out [538] % [538] % gcctk -Os small.c [539] % ./a.out Floating point exception [540] % [540] % cat small.c struct { int a:1; } b

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 91741, which changed state. Bug 91741 Summary: Implement new warning -Wsizeof-array-div https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 What|Removed |Added

[Bug c++/91741] Implement new warning -Wsizeof-array-div

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 --- Comment #3 from Segher Boessenkool --- This part of the attribute (all but the low 2 bits) is not documented in the as manual, btw.

Greetings my dear

2020-10-23 Thread kevinwat001--- via Gcc
I've invited you to fill out the following form: Untitled form To fill it out, visit: https://docs.google.com/forms/d/e/1FAIpQLSf7X7bcfxZWQkzCKrKVtwJfE03rP10UpN9QLlI85wJHnmgfkQ/viewform?vc=0c=0w=1flr=0usp=mail_form_link Greetings my dear I am Kevin Watson, i have an important project to discuss

[PATCH] c++: Implement -Wvexing-parse [PR25814]

2020-10-23 Thread Marek Polacek via Gcc-patches
This patch implements the -Wvexing-parse warning to warn about the sneaky most vexing parse rule in C++: the cases when a declaration looks like a variable definition, but the C++ language requires it to be interpreted as a function declaration. This warning is on by default (like clang++). From

[Bug middle-end/97552] missing waning passing null to a VLA argument declared [static]

2020-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97552 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c/97463] [11 Regression] ICE in warn_parm_ptrarray_mismatch on an incompatible function redeclaration

2020-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97463 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[committed] handle [static] VLAs (PR 97552)

2020-10-23 Thread Martin Sebor via Gcc-patches
The attached tweak enables the -Wvla-parameter warning to also recognize the [static] notation for VLAs, the same way it does ordinary arrays. Tested on x86_64-linux and pushed as obvious. Martin commit 757ba6653c2699761c2243e0194749a6695112d8 Author: Martin Sebor Date: Fri Oct 23 12:37:38

[committed] handle invalid input even earlier (PR 97463)

2020-10-23 Thread Martin Sebor via Gcc-patches
To avoid yet another ICE caused by dereferencing a null tree due to invalid input, the attached change moves the handling even earlier in the affected function. Tested on x86_64-linux and pushed as obvious (at least until the next ICE shows up that necessitates to move the test earlier still).

[Bug middle-end/97552] missing waning passing null to a VLA argument declared [static]

2020-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97552 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:757ba6653c2699761c2243e0194749a6695112d8 commit r11-4327-g757ba6653c2699761c2243e0194749a6695112d8 Author: Martin Sebor Date: Fri

[Bug c/97463] [11 Regression] ICE in warn_parm_ptrarray_mismatch on an incompatible function redeclaration

2020-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97463 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:7991e963239160624b22a12caaacce95d3667e49 commit r11-4326-g7991e963239160624b22a12caaacce95d3667e49 Author: Martin Sebor Date: Fri

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 Peter Bergner changed: What|Removed |Added CC||amodra at gcc dot gnu.org,

Re: [RS6000] Adjust testcases for power10 instructions

2020-10-23 Thread Segher Boessenkool
On Fri, Oct 23, 2020 at 04:45:29PM +1030, Alan Modra wrote: > Revised patch, removing changes to > gcc.target/powerpc/fold-vec-st-double.c, > gcc.target/powerpc/fold-vec-st-longlong.c, > gcc.target/powerpc/fold-vec-st-pixel.c. Fixing fails on those three > tests will be the subject of another

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread gustavowalbon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 Gustavo Walbon changed: What|Removed |Added CC||gustavowalbon at gmail dot com ---

Re: [PATCH, OpenMP 5.0] Implement structure element mapping changes in 5.0

2020-10-23 Thread Chung-Lin Tang
Hi Jakub, thanks for the prompt review. On 2020/10/23 8:13 PM, Jakub Jelinek wrote: In general, upon encountering a construct, we can't statically determine and insert alloc/release maps for each element of a structure variable, since we don't really know which region of the structure is

Re: Fortran Shared Coarrays for GCC 11

2020-10-23 Thread Richard Biener via Gcc
On October 23, 2020 7:49:04 PM GMT+02:00, "Nicolas König" wrote: >Hello everyone, > >I'm hoping to get shared coarrays for fortran (the devel/coarray_native >branch) merged for GCC 11 as an experimental feature, but, since the >library uses a lot of low-level routines, I'm a bit scared of

Re: [PATCH] arm: Implement vceqq_p64, vceqz_p64 and vceqzq_p64 intrinsics

2020-10-23 Thread Christophe Lyon via Gcc-patches
ping? On Fri, 16 Oct 2020 at 10:41, Christophe Lyon wrote: > > On Thu, 15 Oct 2020 at 20:10, Andrea Corallo wrote: > > > > Hi Christophe, > > > > I've spotted two very minors. > > > > Christophe Lyon via Gcc-patches writes: > > > > [...] > > > > > +/* For vceqq_p64, we rely on vceq_p64 for

Re: [Ada] Build support units for 128-bit integer types on 64-bit platforms

2020-10-23 Thread Eric Botcazou
> That variable doesn't exist. Bummer. Attached patch installed. -- Eric Botcazoudiff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 39b458781a8..7b5b3344af7 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -2543,7 +2543,7 @@ ifeq ($(strip $(filter-out %ia64

Re: [Ada] Build support units for 128-bit integer types on 64-bit platforms

2020-10-23 Thread Andreas Schwab
On Okt 23 2020, Eric Botcazou wrote: > diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl > index 7a0c05b423d..f91085dd404 100644 > --- a/gcc/ada/Makefile.rtl > +++ b/gcc/ada/Makefile.rtl > @@ -2533,7 +2533,7 @@ ifeq ($(strip $(filter-out %ia64 linux%,$(target_cpu) > $(target_os))),) >

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #10 from Thomas Koenig --- There are a couple of more constants for this could be tried. Base 7: static unsigned rem_7_v2 (mytype n) { unsigned long a, b, c, d; a = n & MASK_48; b = (n >> 48) & MASK_48; c = n >> 96;

Fortran Shared Coarrays for GCC 11

2020-10-23 Thread Nicolas König
Hello everyone, I'm hoping to get shared coarrays for fortran (the devel/coarray_native branch) merged for GCC 11 as an experimental feature, but, since the library uses a lot of low-level routines, I'm a bit scared of breaking bootstrap. It would be great if some people with more unusual

[Bug bootstrap/97550] libgcc ICE on x86_64-linux-gnu compiler hosted on msys2

2020-10-23 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97550 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #1

[Bug c++/97553] [missed optimization] constexprness not noticed when UBsan enabled

2020-10-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug rtl-optimization/97554] New: ICE: during RTL pass: cprop /segfault in sbitmap

2020-10-23 Thread rimvydas.jas at gmail dot com via Gcc-bugs
ted verifier of observations, that is now failing to compile after including newest meteorological data. gcc version 11.0.0 20201023 (experimental) linux x86_64 $ gcc -Wall -Wextra -O2 -c nwp_test.c during RTL pass: cprop nwp_test.c: In function 'obs_verif_body_entry': nwp_test.c:14043:13: inter

Re: [RS6000] altivec style lvx/stvx addresses vs power10

2020-10-23 Thread Segher Boessenkool
Hi! On Fri, Oct 23, 2020 at 05:15:08PM +1030, Alan Modra wrote: > The problem starts with fwprop creating > (insn 9 4 0 2 (set (mem:V8HI (and:DI (plus:DI (reg/v/f:DI 121 [ vpp ]) > (const_int 12 [0xc])) > (const_int -16 [0xfff0])) [0 MEM int>

[Bug c++/97553] New: [missed optimization] constexprness not noticed when UBsan enabled

2020-10-23 Thread eyalroz at technion dot ac.il via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97553 Bug ID: 97553 Summary: [missed optimization] constexprness not noticed when UBsan enabled Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

Re: [Ada] Build support units for 128-bit integer types on 64-bit platforms

2020-10-23 Thread Eric Botcazou
> /usr/local/gcc/gcc-20201023/gcc/ada/Makefile.rtl:2834: *** unterminated > variable reference. Stop. Sorry about that, tentatively fixed by the attached patch, installed. -- Eric Botcazoudiff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 7a0c05b423d..f91085dd404 100644 ---

Re: VLA warning on recent git

2020-10-23 Thread Martin Sebor via Gcc
On 10/23/20 7:41 AM, Uecker, Martin wrote: I tested a recent GCC from git and noticed a couple of new warnings for VLA parameters. (Martin, I assume this is your work. First, let me say: thank you! I think this is really important.) Here is some feedback from running this on an existing code

[Bug middle-end/97552] New: missing waning passing null to a VLA argument declared [static]

2020-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97552 Bug ID: 97552 Summary: missing waning passing null to a VLA argument declared [static] Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[patch] vxworks: Link with the configured net lib on vxworks7

2020-10-23 Thread Olivier Hainque
The net library is configurable on vxworks7. Pick the library to include in link closures in accordance with the availability of a revealing header file, using the recently introduced if-exist-then-else spec builtin function. Tested on a mix of gcc-9 and gcc-10 based builds for Vxworks7r2, and

[Bug c/97551] New: ICE: verify_cgraph_node failed with "-O2 -fno-toplevel-reorder -fno-tree-dce -fno-tree-forwprop -fno-tree-fre -fipa-cp-clone"

2020-10-23 Thread suochenyao at 163 dot com via Gcc-bugs
model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201023 (experimental) (GCC) git version: 43868df37b0e1fa19c32175b41dd7dc1e7c515fd *** Command Lines: $ gcc -Wall -Wextra -fno-strict-aliasing -fwrapv

[Bug c++/97550] New: libgcc ICE on x86_64-linux-gnu compiler hosted on msys2

2020-10-23 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97550 Bug ID: 97550 Summary: libgcc ICE on x86_64-linux-gnu compiler hosted on msys2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

Re: [RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c

2020-10-23 Thread Segher Boessenkool
On Sat, Oct 24, 2020 at 12:32:40AM +1030, Alan Modra wrote: > rs6000_emit_int_cmove generates isel so the condition below needs > fixing for power10. Bootstrapped and regression tested > powerpc64le-linux power10 and power8. OK? > > * config/rs6000/rs6000.md (cstore4): Don't call >

[PATCH] analyzer: remove dead code

2020-10-23 Thread Martin Liška
Hey. I've noticed that when building GCC with Clang. David what do you think about it? Thanks, Martin gcc/analyzer/ChangeLog: * constraint-manager.cc (constraint_manager::merge): Remove unused code. * constraint-manager.h: Likewise. * program-state.cc

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-10-23 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 --- Comment #9 from Vladimir Makarov --- (In reply to Hongtao.liu from comment #6) > > > Shouldn't memory_operand (XEXP (op, 0), GET_MODE (XEXP (op, 0))) imply > legitimate_address_p? memory_operand does not imply legitimate_address_p. When

Grow your Clients

2020-10-23 Thread Wendy Williams
Hi, Are you keen on obtaining the Decision Makers contacts of the companies who want to migrate their CAD software or hoping to get another CAD software? This is an extraordinary chance to build your deals. It would be ideal if you let me know whether you are intrigued and I will furnish

[Bug libstdc++/97549] New: include/pstl rebase breaking

2020-10-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97549 Bug ID: 97549 Summary: include/pstl rebase breaking Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[patch] vxworks: Fix overzealous gthread support inhibition for vxworks

2020-10-23 Thread Olivier Hainque
The tests for macros possibly defined in gthr.h needs to be performed after the corresponding #include. This was tested together with the previous updates to gthr-vxworks-thread.c and gthr-vxworks-cond.c and was meant to be squashed with them. Olivier 2010-10-23 Olivier Hainque

[Bug c/97548] New: bogus -Wvla-parameter on a bound expression involving a parameter

2020-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548 Bug ID: 97548 Summary: bogus -Wvla-parameter on a bound expression involving a parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH] rs6000: Fix extraneous characters in the documentation

2020-10-23 Thread Segher Boessenkool
On Wed, Aug 19, 2020 at 04:03:31PM -0300, Tulio Magno Quites Machado Filho via Gcc-patches wrote: > Replace them with a whitespace in order to avoid artifacts in the HTML > document. Pushed to trunk now. Thanks! Segher

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 Marek Polacek changed: What|Removed |Added CC||erenon2 at gmail dot com --- Comment #6

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread erenon2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 --- Comment #4 from Benedek Thaler --- FTR, Using (N != 0 && i < N) does not silence the warning. https://gcc.godbolt.org/z/WqaT3G

Re: move sincos after pre (was: Re: [Ada, FYI] revamp ada.numerics.aux)

2020-10-23 Thread Richard Biener via Gcc-patches
On October 23, 2020 4:23:35 PM GMT+02:00, Alexandre Oliva wrote: >On Oct 22, 2020, Alexandre Oliva wrote: > >> On Oct 18, 2020, Alexandre Oliva wrote: >>> The option is provided by default, but there is an alternate version >>> that doesn't, that is used for vxworks targets. > >> vxworks float

[PATCH] libcpp: Update cpp_wcwidth() to Unicode 13.0.0

2020-10-23 Thread Lewis Hyatt via Gcc-patches
Hello- The attached patch updates cpp_wcwidth() (for computation of display widths needed to calculate column numbers in diagnostics) from Unicode 12 to Unicode 13. The patch was purely mechanical, following the directions in contrib/unicode/README without any unexpected hiccups. A couple

[Bug fortran/97547] New: How to fix problem causing warning?

2020-10-23 Thread cesces1 at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97547 Bug ID: 97547 Summary: How to fix problem causing warning? Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/97546] [11 Regression][SVE] ICE with -fenable-tree-bswap

2020-10-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-10-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 --- Comment #5 from Jonathan Wakely --- Oh and since C++17 you can do: if constexpr (N != 0) for (size_t i = 0; i < N; ++i) { ret += i * x[i]; } but it still shouldn't be necessary :-)

[Bug target/97546] [11 Regression][SVE] ICE with -fenable-tree-bswap

2020-10-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 --- Comment #2 from ktkachov at gcc dot gnu.org --- Likely find_bswap_or_nop just needs to bail out if !cst_and_fits_in_hwi (TYPE_SIZE_UNIT (gimple_expr_type (stmt)))

[Bug c++/96742] [10/11 Regression] "warning: comparison of unsigned expression in ‘< 0’ is always false" with dependent values

2020-10-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742 --- Comment #4 from Jonathan Wakely --- (In reply to William Throwe from comment #2) > This warns if passed an array of length 0 because the for-loop condition is > always false. Any change I can make to fix it seems to make the code worse. > I

Re: [patch] Add an if-exists-then-else spec function

2020-10-23 Thread Olivier Hainque
> On 22 Oct 2020, at 22:52, Joseph Myers wrote: > > This is OK. Great, thanks Joseph!

move sincos after pre (was: Re: [Ada,FYI] revamp ada.numerics.aux)

2020-10-23 Thread Alexandre Oliva
On Oct 22, 2020, Alexandre Oliva wrote: > On Oct 18, 2020, Alexandre Oliva wrote: >> The option is provided by default, but there is an alternate version >> that doesn't, that is used for vxworks targets. > vxworks float EFs not precise enough -> use long float > From: Alexandre Oliva >

[Bug target/97546] [11 Regression][SVE] ICE with -fenable-tree-bswap

2020-10-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 ktkachov at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 CC|

[PATCH][pushed] gcov: fix reading of zero sections.

2020-10-23 Thread Martin Liška
I noticed that during coverage build of binutils. gcc/ChangeLog: * gcov.c (read_count_file): Never call gcov_sync with a negative value. Patch survives gcov.exp tests and I'm going to install it. Martin --- gcc/gcov.c | 8 1 file changed, 4 insertions(+), 4

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 --- Comment #2 from Jonathan Wakely --- It's right, but it's not helpful. There are other instantiations of the template where the condition isn't always true, and users shouldn't have to write the condition as (N != 0 && i < N) just to silence

[Bug target/97546] New: [SVE] ICE with -fenable-tree-bswap

2020-10-23 Thread adhemerval.zanella at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97546 Bug ID: 97546 Summary: [SVE] ICE with -fenable-tree-bswap Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/97538] [11 Regression] ICE in during GIMPLE pass: wrestrict since r11-4135-ge864d395b4e862ce

2020-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97538 --- Comment #3 from Aldy Hernandez --- Created attachment 49434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49434=edit proposed patch in testing Ranger was returning undefined, which caused get_size_range() to use an uninitialized

[Bug tree-optimization/97545] New: ICE since commit 90e88fd376b and using selective-scheduling2

2020-10-23 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97545 Bug ID: 97545 Summary: ICE since commit 90e88fd376b and using selective-scheduling2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97544] -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/97544] New: -Wtype-limits triggered for comparison to template argument

2020-10-23 Thread erenon2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97544 Bug ID: 97544 Summary: -Wtype-limits triggered for comparison to template argument Product: gcc Version: 10.2.0 Status: UNCONFIRMED Keywords: diagnostic

[PATCH]AArch64 Fix overflow in memcopy expansion on aarch64.

2020-10-23 Thread Tamar Christina via Gcc-patches
Hi All, Currently the inline memcpy expansion code for AArch64 is using a signed int to hold the number of elements to copy. When you giver give it a value larger than INT_MAX it will overflow. The overflow causes the maximum number of instructions we want to expand to check to fail since this

[RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c

2020-10-23 Thread Alan Modra via Gcc-patches
rs6000_emit_int_cmove generates isel so the condition below needs fixing for power10. Bootstrapped and regression tested powerpc64le-linux power10 and power8. OK? * config/rs6000/rs6000.md (cstore4): Don't call rs6000_emit_int_cmove for power10 when -mno-isel. diff --git

[Bug rtl-optimization/97540] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-4202-g4de7b010038933dd

2020-10-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540 --- Comment #2 from Hongtao.liu --- 2588 /* For special_memory_operand, there could be a memory operand inside, 2589 and it would cause a mismatch for constraint_satisfied_p. */ 2590 if (UNARY_P (op) && op ==

[Bug ada/97541] Ada failed to bootstrap: Error: file table slot 1 is already occupied by a different file

2020-10-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97541 H.J. Lu changed: What|Removed |Added Host||https://sourceware.org/bugz

  1   2   3   >