[PATCH 1/9, revised] PowerPC: Map long double built-in functions if IEEE 128-bit long double.

2020-10-08 Thread Michael Meissner via Gcc-patches
PowerPC: Map long double built-in functions if IEEE 128-bit long double. This patch is revised from the first version of the patch posted. It uses the names that are not in the user's namespace (i.e. __sinieee128 instead of sinf128) that Joseph Myers suggested. This patch goes through the

[Bug libstdc++/95788] std::ranges::construct_at's placement new not intercepted

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95788 --- Comment #4 from Patrick Palka --- (In reply to Johel Ernesto Guerrero Peña from comment #3) > Thank you. Sorry for my laziness, but did you confirm this from the OP? > > Other stuff in `bits/ranges_uninitialized.h` may be similarly affected.

[Bug middle-end/95189] [9/10 Regression] memcmp being wrongly stripped like strcmp

2020-10-08 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #26 from Rich Felker --- Is that complete, or is it unclear whether there are code paths other than builtin memcmp by which this is hit? Am I correct in assuming that with builtin memcmp expansion returning NULL_RTX, GCC always

[Bug debug/97344] aarch64 tls debuginfo missing location info

2020-10-08 Thread scox at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344 --- Comment #2 from Stan Cox --- tls variables on aarch64 lack location info: [6e]variable abbrev: 5 name (strp) "rage" decl_file(data1) tlsdwarf.c (1)

[Bug debug/97344] aarch64 tls debuginfo missing location info

2020-10-08 Thread scox at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344 --- Comment #1 from Stan Cox --- Created attachment 49335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49335=edit tls test program

[Bug debug/97344] New: aarch64 tls debuginfo missing location info

2020-10-08 Thread scox at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344 Bug ID: 97344 Summary: aarch64 tls debuginfo missing location info Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/85576] A template union containing a friend function causes non-template type used as a template error

2020-10-08 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85576 --- Comment #1 from Luke Dalessandro --- Just ran into this today while testing 11. https://godbolt.org/z/37G7P5 Any possibility we'll see a fix soon?

[Bug middle-end/95189] [9/10 Regression] memcmp being wrongly stripped like strcmp

2020-10-08 Thread luke-jr+gccbugs at utopios dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #25 from Luke Dashjr --- Created attachment 49334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49334=edit Hacky patch to workaround the bug by disabling builtin memcmp always I wrote and am rebuilding my own systems with a

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
automatically: $ gcc -dumpmachine powerpc64le-unknown-linux-gnu I built it from trunk last night on a power9 machine. I've attached my config.log. $ gcc --version gcc (GCC) 11.0.0 20201008 (experimental) (...)

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #6 from Kip Warner --- Created attachment 49333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49333=edit Autoconf configuration log on POWER9.

[Bug libstdc++/95788] std::ranges::construct_at's placement new not intercepted

2020-10-08 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95788 --- Comment #3 from Johel Ernesto Guerrero Peña --- Thank you. Sorry for my laziness, but did you confirm this from the OP? > Other stuff in `bits/ranges_uninitialized.h` may be similarly affected.

[Bug libstdc++/97273] [8/9 Regression] Strange behaviour of unordered_set when vector is included (i686)

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97273 Patrick Palka changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9 Regression] Strange

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

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:aeb69dda51e93379fce10fb03ec57650fbf73f31 commit r10-8872-gaeb69dda51e93379fce10fb03ec57650fbf73f31 Author: Patrick Palka

[Bug libstdc++/97273] [8/9/10/11 Regression] Strange behaviour of unordered_set when vector is included (i686)

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97273 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:aeb69dda51e93379fce10fb03ec57650fbf73f31 commit r10-8872-gaeb69dda51e93379fce10fb03ec57650fbf73f31 Author: Patrick Palka

[Bug libstdc++/95788] std::ranges::construct_at's placement new not intercepted

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95788 --- Comment #2 from Patrick Palka --- Fixed for GCC 11 so far.

[Bug libstdc++/95788] std::ranges::construct_at's placement new not intercepted

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95788 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9158a4d2a6cd58d6bb591d5ce64e766b399e4aef commit r11-3739-g9158a4d2a6cd58d6bb591d5ce64e766b399e4aef Author: Patrick Palka Date:

[Bug tree-optimization/97317] [11 Regression] ICE in verify_range, at value-range.cc:369

2020-10-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97317 --- Comment #6 from Andrew Macleod --- Thanks, yeah this is the same issue and the patch should fix it..? the precision difference of one this time is 1 bit (bool) and a 2 bit object... _5; bool _6; <..> _6 = (bool) _5;

[Bug target/97343] New: AVX2 vectorizer generates extremely strange and slow code for AoSoA complex dot product

2020-10-08 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97343 Bug ID: 97343 Summary: AVX2 vectorizer generates extremely strange and slow code for AoSoA complex dot product Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug middle-end/95189] [9/10 Regression] memcmp being wrongly stripped like strcmp

2020-10-08 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #24 from Rich Felker --- The fixes do not seem trivial to backport; lots of conflicts. It would be really helpful to have versions of the patch that are minified and applicable to all affected versions that might be shipping in

gcc-8-20201008 is now available

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

[Bug tree-optimization/97317] [11 Regression] ICE in verify_range, at value-range.cc:369

2020-10-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97317 --- Comment #5 from David Binderman --- Reduced C++ source code is class a { public: struct b { int *c; }; enum { j = 1 } e : 2; struct { b c; } d; bool f() const { return e & j; } int *g() const; }; int *a::g() const {

[Bug c++/97328] [10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:3995 since r10-7313-gb599bf9d6d1e180d

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97328 --- Comment #5 from Patrick Palka --- https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555850.html

Re: [ Preprocessor ] [ Common ] Feature: Macros for identifying the wide and narrow execution string literal encoding

2020-10-08 Thread JeanHeyd Meneide via Gcc-patches
Dear Joseph, On Thu, Oct 8, 2020 at 1:36 PM Joseph Myers wrote: > > This documentation doesn't seem sufficient to use the macros. Do they > expand to (narrow) string literals? To an unquoted sequence of > characters? I think from the implementation that the answer is strings > (so, in

[r11-3717 Regression] FAIL: gcc.dg/pr97315-1.c (test for excess errors) on Linux/x86_64

2020-10-08 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 214d514fafcd78cd54e4a4aa9ae08c89abf9cc57 is the first bad commit commit 214d514fafcd78cd54e4a4aa9ae08c89abf9cc57 Author: Aldy Hernandez Date: Thu Oct 8 11:15:23 2020 +0200 Fix PR97315 (part 1 of 2) caused FAIL: gcc.dg/pr97315-1.c (test for excess errors) with GCC

[Bug middle-end/97342] New: bogus -Wstringop-overflow with nonzero signed and unsigned offsets

2020-10-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97342 Bug ID: 97342 Summary: bogus -Wstringop-overflow with nonzero signed and unsigned offsets Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/97272] Wrong answer from MAXLOC with character arg

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

[Bug c++/96805] [10/11 Regression] ICE: Segmentation fault in instantiate_template / pop_nested_class()

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96805 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1c56c143b2011080d8a4516f37f78f647b0ee258 commit r11-3738-g1c56c143b2011080d8a4516f37f78f647b0ee258 Author: Jason Merrill Date:

[pushed] c++: Fix member alias template in C++17 and up. [PR96805]

2020-10-08 Thread Jason Merrill via Gcc-patches
Here we're trying to push into a::c in order to instantiate t, but were building a TYPENAME_TYPE for it because a isn't open yet. Don't do that when we know we're trying to enter the scope. Tested x86_64-pc-linux-gnu, applying to trunk and 10. gcc/cp/ChangeLog: PR c++/96805 PR

Re: [PATCH] libstdc++: Make ranges::construct_at constexpr-friendly [PR95788]

2020-10-08 Thread Jonathan Wakely via Gcc-patches
On 07/10/20 12:10 -0400, Patrick Palka via Libstdc++ wrote: On Wed, 30 Sep 2020, Patrick Palka wrote: This rewrites ranges::construct_at in terms of std::construct_at so that we can piggy back on the compiler's existing support for recognizing placement new within std::construct_at during

[Bug c++/96199] [10/11 Regression] internal compiler error: in tsubst_copy with CTAD for alias templates

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96199 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1c56c143b2011080d8a4516f37f78f647b0ee258 commit r11-3738-g1c56c143b2011080d8a4516f37f78f647b0ee258 Author: Jason Merrill Date:

[PATCH] c++: Handle RANGE_EXPR indexes in init_subob_ctx [PR97328]

2020-10-08 Thread Patrick Palka via Gcc-patches
In the testcase below, we're ICEing during constexpr evaluation of the CONSTRUCTOR {.data={{}, [1 ... 7]={}}} of type 'vector'. The apparently unique thing about this CONSTRUCTOR is that it has a RANGE_EXPR index whose corresponding sub-aggregate initializer doesn't satisfy

[Bug fortran/97272] Wrong answer from MAXLOC with character arg

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97272 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:83967508034454425dfce7fe0ea33a153c34e7cb commit r9-8985-g83967508034454425dfce7fe0ea33a153c34e7cb Author: Harald Anlauf

Re: [PING][PATCH v2] combine: Don't turn (mult (extend x) 2^n) into extract [PR96998]

2020-10-08 Thread Segher Boessenkool
On Thu, Oct 08, 2020 at 11:21:26AM +0100, Alex Coplan wrote: > Ping. The kernel is still broken on AArch64. You *cannot* fix a correctness bug with a combine addition. So please fix the target bug first. I haven't had time to look at your patch yet, sorry. Segher

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #5 from Segher Boessenkool --- So both the cache line size and the cache size are wrong for GCC 10 and before, but okay on trunk, on all compiler I tested (I tested on Linux only so far).

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #4 from Kip Warner --- I'm going to do some more testing tonight and report back after.

Re: make sincos take type from intrinsic formal, not from result assignment

2020-10-08 Thread Alexandre Oliva
On Oct 8, 2020, Richard Biener wrote: > OK with a minor nit, see below >> I'm a little unhappy with the duplication of the CASE_MATHFN* sequence, >> that ought to be kept in sync, , and considered turning that whole >> sequence into a #define used in both places, but that would bloat the >>

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2020-10-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2020-10-08 Ever confirmed|0

Re: [PING][PATCH] correct handling of indices into arrays with elements larger than 1 (PR c++/96511)

2020-10-08 Thread Jason Merrill via Gcc-patches
On 10/8/20 3:18 PM, Martin Sebor wrote: On 10/7/20 3:01 PM, Jason Merrill wrote: On 10/7/20 4:11 PM, Martin Sebor wrote: ... For the various member functions, please include the comments with the definition as well as the in-class declaration. Only one access_ref member function is defined

Re: [PATCH] adjust BB vectorization dump scanning

2020-10-08 Thread Thomas Schwinge
Hi Richard! On 2020-10-08T13:34:02+0200, Richard Biener wrote: > It might be interesting to work on adding sth like > dg-warning to look for -fopt-info-{optimized,missing} so > we could directly annotate (not) vectorized loops instead of > relying on fragile counts. I'm maybe (likely?)

Re: libbacktrace integration for _GLIBCXX_DEBUG mode

2020-10-08 Thread François Dumont via Gcc-patches
I eventually consider your last remark about using weak symbols to inject libbacktrace calls when _GLIBCXX_DEBUG_BACKTRACE is defined.     libstdc++: [_GLIBCXX_DEBUG] Integrate libbacktrace   Add _GLIBCXX_DEBUG_BACKTRACE macro to ask for a backtrace on _GLIBCXX_DEBUG     assertions using

[r11-3729 Regression] FAIL: gcc.c-torture/execute/loop-13.c -O3 -g (test for excess errors) on Linux/x86_64

2020-10-08 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 181702ef8ab76afbf5d2cd4d7bc0cef613397d6e is the first bad commit commit 181702ef8ab76afbf5d2cd4d7bc0cef613397d6e Author: Richard Biener Date: Tue Oct 6 15:47:15 2020 +0200 SLP vectorize multiple BBs at once caused FAIL: gcc.c-torture/execute/loop-13.c -O3

[Bug c++/97328] [10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:3995 since r10-7313-gb599bf9d6d1e180d

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97328 --- Comment #4 from Patrick Palka --- (In reply to Marek Polacek from comment #3) > (In reply to Patrick Palka from comment #2) > > When 'storage' is a struct instead of a union, i.e. for the testcase > > > > template > > struct vector { > >

Re: [PING][PATCH] correct handling of indices into arrays with elements larger than 1 (PR c++/96511)

2020-10-08 Thread Martin Sebor via Gcc-patches
On 10/7/20 3:01 PM, Jason Merrill wrote: On 10/7/20 4:11 PM, Martin Sebor wrote: ... For the various member functions, please include the comments with the definition as well as the in-class declaration. Only one access_ref member function is defined out-of-line: offset_bounded().  I've

libcpp: Directly peek for initial line marker

2020-10-08 Thread Nathan Sidwell
Using the tokenizer to sniff for an initial line marker for preprocessed input is a little brittle, particularly with -fdirectives-only. If there is no marker we'll happily munch initial comments. This patch directly sniffs the buffer. This is safe because the initial line marker was machine

Re: [RS6000] rotate and mask constants

2020-10-08 Thread will schmidt via Gcc-patches
On Thu, 2020-10-08 at 09:36 +1030, Alan Modra via Gcc-patches wrote: > Implement more two insn constants. rotate_and_mask_constant covers > 64-bit constants that can be formed by rotating a 16-bit signed > constant, rotating a 16-bit signed constant masked on left or right > (rldicl and rldicr),

[Bug c++/97341] New: Implicit casting from char** to const char* const* in template argument failing

2020-10-08 Thread reikdas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97341 Bug ID: 97341 Summary: Implicit casting from char** to const char* const* in template argument failing Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c++/97341] Implicit casting from char** to const char* const* in template argument failing

2020-10-08 Thread reikdas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97341 --- Comment #1 from Pratyush Das --- I should add, that this works in Clang.

[Bug rtl-optimization/97313] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-937-g5261cf8ce824bfc7

2020-10-08 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97313 --- Comment #1 from Vladimir Makarov --- Thank you for reporting this. I am trying to find the best place to fix this: either in memory subreg elimination or in match_reload itself. I hope the fix will be ready tomorrow.

[Bug c++/97328] [10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:3995 since r10-7313-gb599bf9d6d1e180d

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

[Bug c++/97328] [10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:3995 since r10-7313-gb599bf9d6d1e180d

2020-10-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97328 --- Comment #2 from Patrick Palka --- When 'storage' is a struct instead of a union, i.e. for the testcase template struct vector { struct storage { T t; constexpr storage() {} } data[N]; }; constexpr auto foo() {

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

2020-10-08 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 Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

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

2020-10-08 Thread Harald Anlauf
Dear all, the present PR turned out to be fixable rather easily, once Paul had the idea to add another attempt of simplification of elemental intrinsics for array-valued arguments. There was some fallout which required only small adjustments, see commit message below. Regtested cleanly on

[Bug libgomp/97212] [OpenMP] 'depend' clause with 'target nowait' (!) + 'task' does not work

2020-10-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97212 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/95189] [9/10 Regression] memcmp being wrongly stripped like strcmp

2020-10-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Martin Sebor changed: What|Removed |Added Known to fail|10.1.0 | --- Comment #23 from Martin Sebor ---

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:e4c9aac98611f63847ef6c57916808d9a2d7abcb commit r10-8871-ge4c9aac98611f63847ef6c57916808d9a2d7abcb Author: Martin Sebor

[Bug middle-end/95189] [9/10 Regression] memcmp being wrongly stripped like strcmp

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #22 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:e4c9aac98611f63847ef6c57916808d9a2d7abcb commit r10-8871-ge4c9aac98611f63847ef6c57916808d9a2d7abcb Author: Martin Sebor

Re: [PATCH 7/8] [RS6000] rs6000_rtx_costs reduce cost for SETs

2020-10-08 Thread will schmidt via Gcc-patches
On Thu, 2020-10-08 at 09:27 +1030, Alan Modra via Gcc-patches wrote: > The aim of this patch is to make rtx_costs for SETs closer to > insn_cost for SETs. One visible effect on powerpc code is increased > if-conversion. > > * config/rs6000/rs6000.c (rs6000_rtx_costs): Reduce cost of SET >

[r11-3723 Regression] FAIL: gcc.dg/vect/bb-slp-subgroups-3.c scan-tree-dump-times slp2 "optimized: basic block" 2 on Linux/x86_64

2020-10-08 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 532e882f8872b1b4437e3a0fa8c61d2af2d999d4 is the first bad commit commit 532e882f8872b1b4437e3a0fa8c61d2af2d999d4 Author: Richard Biener Date: Thu Oct 8 11:53:51 2020 +0200 adjust BB vectorization dump scanning caused FAIL: gcc.dg/vect/bb-slp-pr78205.c -flto

[r11-3705 Regression] FAIL: gcc.dg/vect/pr65947-3.c scan-tree-dump-times vect "LOOP VECTORIZED" 1 on Linux/x86_64

2020-10-08 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, dae673abd37d400408959497e50fe1f3fbef5533 is the first bad commit commit dae673abd37d400408959497e50fe1f3fbef5533 Author: Richard Biener Date: Wed Oct 7 10:42:12 2020 +0200 tree-optimization/97307 - improve sinking of loads caused FAIL: gcc.dg/vect/pr65947-3.c -flto

[Bug c++/96805] [10/11 Regression] ICE: Segmentation fault in instantiate_template / pop_nested_class()

2020-10-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96805 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug libgomp/97212] [OpenMP] 'depend' clause with 'target nowait' (!) + 'task' does not work

2020-10-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97212 --- Comment #2 from Jakub Jelinek --- I believe the testcase is invalid. As the explicit task doesn't have if(false) clause, the task isn't undeferred, so it is up to the implementation whether it waits for its completion or just continues

[Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054

2020-10-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97292 --- Comment #15 from Jan Hubicka --- So it seems that problem is that store in operator++ is TriaObjectAcessor while read is DoFCellAccessor. I am however not sure where the type puning happens :(

Re: [ Preprocessor ] [ Common ] Feature: Macros for identifying the wide and narrow execution string literal encoding

2020-10-08 Thread Joseph Myers
On Thu, 8 Oct 2020, JeanHeyd Meneide via Gcc-patches wrote: > * gcc/doc/cpp.texi: Document new predefined macro. This documentation doesn't seem sufficient to use the macros. Do they expand to (narrow) string literals? To an unquoted sequence of characters? I think from the

[Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054

2020-10-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97292 --- Comment #14 from Jan Hubicka --- So this really seems that the alias set 6 is not conflicting with alias sets 11 or 13. active_cell is struct active_cell_iterator active_cell; and the code around seems SRA injected MEM[(struct

[Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054

2020-10-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97292 --- Comment #13 from Jan Hubicka --- OK, I can reproduce it even though the propagation happens in different function in dom rather than pre. The callee is again the operator++ so I start to suspect aliasing violation there. I get: ipa-modref:

[PATCH][GCC 9][AArch64] Implement ACLE intrinsics for FRINT[32,64][Z,X]

2020-10-08 Thread Kyrylo Tkachov via Gcc-patches
Hi all, I'd like to backport this patch to the GCC 9 branch to implement these Armv8.5-a intrinsics that should have been there. The backport is fairly simple. Bootstrapped and tested on aarch64-none-linux-gnu. Pushing to GCC 9 branch. This patch implements the ACLE intrinsics to access the

[Bug middle-end/97336] False positive -Wstring-compare warning for strncmp()

2020-10-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97336 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

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

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

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

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #7 from CVS Commits --- The releases/gcc-8 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:311183d74e4f3fd5a37749cfbb0960e655e715fb commit r8-10576-g311183d74e4f3fd5a37749cfbb0960e655e715fb Author: Kyrylo Tkachov

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96313 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:7f8115b305f1a1a2ddec4f59bc08a3415359dda6 commit r8-10575-g7f8115b305f1a1a2ddec4f59bc08a3415359dda6 Author: Kyrylo Tkachov

[Bug c++/97340] Spurious rejection of member variable template of reference type

2020-10-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97340 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #9 from Kip Warner --- Yup. Agreed.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #8 from Jakub Jelinek --- Except for native supported on a subset of the architectures, no values are the same, so this is highly target specific anyway. And yes, were it designed all now, we'd use the same options, but some of

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #7 from Kip Warner --- I understand what you mean from a maintainer's standpoint. But from a user's standpoint, that's an inconsistency.

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #6 from Jakub Jelinek --- There is no consistency. Targets that have all of -march=, -mcpu= and -mtune=: aarch64, arm, cris, i386 (-mcpu= deprecated and treated as -mtune=), m68k Targets that have just -march= and -mtune=: gcn, mips,

[Bug fortran/97272] Wrong answer from MAXLOC with character arg

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97272 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d4ec0a15afb7538247206aa9936071544fd860f8 commit r10-8870-gd4ec0a15afb7538247206aa9936071544fd860f8 Author: Harald Anlauf

Re: libstdc++: std::iterator is deprecated since C++17

2020-10-08 Thread Andreas Schwab
On Okt 08 2020, korel ka via Gcc-patches wrote: > diff --git a/libstdc++-v3/include/bits/stl_iterator.h > b/libstdc++-v3/include/bits/stl_iterator.h > index 2259f7c..13d5dbb 100644 > --- a/libstdc++-v3/include/bits/stl_iterator.h > +++ b/libstdc++-v3/include/bits/stl_iterator.h > @@ -625,8

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #5 from Kip Warner --- The reason I asked is because of that inconsistency in the -mcpu usage on targets. Thanks for clarifying.

[Bug c++/97340] New: Spurious rejection of member variable template of reference type

2020-10-08 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97340 Bug ID: 97340 Summary: Spurious rejection of member variable template of reference type Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/97324] -mcpu= isn't validated on x86

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

[Bug target/97324] -mcpu= isn't validated on x86

2020-10-08 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97324 --- Comment #3 from Kip Warner --- Martin, is -mcpu deprecated for all architectures or just x86?

Re: [PATCH] libstdc++: Implement C++20 features for

2020-10-08 Thread Jonathan Wakely via Gcc-patches
On 07/10/20 18:15 -0700, Thomas Rodgers wrote: @@ -500,6 +576,40 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 } #endif +#if __cplusplus > 201703L && _GLIBCXX_USE_CXX11_ABI + basic_istringstream(ios_base::openmode __mode, const allocator_type& __a) + : __istream_type(), _M_stringbuf(__mode

[Bug libstdc++/97339] New: std::async sometimes prevents std::current_exception from working properly in the terminate handler

2020-10-08 Thread m101010a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97339 Bug ID: 97339 Summary: std::async sometimes prevents std::current_exception from working properly in the terminate handler Product: gcc Version: 10.2.0 Status:

[Bug tree-optimization/97317] [11 Regression] ICE in verify_range, at value-range.cc:369

2020-10-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97317 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug target/97338] New: [nvptx] Convergence checking

2020-10-08 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97338 Bug ID: 97338 Summary: [nvptx] Convergence checking Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug target/97150] [AArch64] 2nd parameter of unsigned Neon scalar shift intrinsics should be signed

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97150 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:d5c6ea22fe6db1ee19a178941a8c7f8ff5d0538c commit r9-8983-gd5c6ea22fe6db1ee19a178941a8c7f8ff5d0538c Author: Kyrylo Tkachov

[Bug target/96313] [AArch64] vqmovun* return types should be unsigned

2020-10-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96313 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:18d980d94f8d7187ce30bf23ddd365fa54189c36 commit r9-8982-g18d980d94f8d7187ce30bf23ddd365fa54189c36 Author: Kyrylo Tkachov

libstdc++: std::iterator is deprecated since C++17

2020-10-08 Thread korel ka via Gcc-patches
std::iterator considered as deprecated since C++17 and shouldn't be in use. This patch marks std::iterator as deprecated using deprecated attribute, and replace its usages with the required member types inside each class. libstdc++-v3/include/bits/ChangeLog: stl_iterator_base_types.h: Add

[Bug testsuite/97337] New: new test case gcc.dg/pr97315-1.c fails with excess errors

2020-10-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97337 Bug ID: 97337 Summary: new test case gcc.dg/pr97315-1.c fails with excess errors Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

Re: libstdc++: Attempt to resolve PR83562

2020-10-08 Thread Liu Hao via Gcc-patches
在 2020/10/8 22:56, Jason Merrill 写道: > On 10/7/20 10:52 PM, Liu Hao via Gcc-patches wrote: >> [Please CC me as I am not subscribed to this list.] > > Hmm, why isn't the mingw implementation used for all programs?  That would > avoid the bug. > I am afraid the libstdc++ implementation has to be

[Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054

2020-10-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97292 --- Comment #12 from Tamar Christina --- (In reply to Martin Liška from comment #11) > (In reply to Tamar Christina from comment #0) > > With just -Ofast the benchmark doesn't seem to ever terminate until it is > > eventually killed. > > > >

Re: [PATCH 5/5] Conversions between 128-bit integer and floating point values.

2020-10-08 Thread will schmidt via Gcc-patches
On Mon, 2020-10-05 at 11:52 -0700, Carl Love wrote: > Will, Segher: > > This patch adds support for converting to/from 128-bit integers and > 128-bit decimal floating point formats using the new P10 instructions > dcffixqq and dctfixqq. The new instructions are only used on P10 HW, > otherwise

[Bug target/97203] [nvptx] 'illegal memory access was encountered' with 'omp simd'/SIMT and cexpf call

2020-10-08 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97203 --- Comment #5 from Tom de Vries --- FWIW, another aspect here is convergence (as usual). Looking at the SASS code for main$_omp_fn$0$impl, I don't find evidence for the usual divergence/convergence ops (SSY/SYNC), which might mean that the

[Bug tree-optimization/97317] [11 Regression] ICE in verify_range, at value-range.cc:369

2020-10-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97317 --- Comment #3 from Andrew Macleod --- Created attachment 49331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49331=edit patch to calculate negative side properly This is actually due to not handling a cast very well when the precision

[Bug ipa/97335] [11 Regression] 525.x264_r fails with -Ofast -g -march=znver2 -flto=16 since r11-3641-gc34db4b6f8a5d803

2020-10-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97335 --- Comment #3 from Martin Liška --- One needs -flto here.

[Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054

2020-10-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97292 --- Comment #11 from Martin Liška --- (In reply to Tamar Christina from comment #0) > With just -Ofast the benchmark doesn't seem to ever terminate until it is > eventually killed. > Can't reproduce the stuck without -flto.

[Bug ipa/97335] [11 Regression] 525.x264_r fails with -Ofast -g -march=znver2 -flto=16 since r11-3641-gc34db4b6f8a5d803

2020-10-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97335 --- Comment #2 from Martin Liška --- With the current master (g:3e1123e52f8eca2650efa0bc81768792d328961f) one needs only one IPA modref transform to trigger the wrong code: -fdbg-cnt=ipa_mod_ref:778-778 where one needs to copy the input file

[Bug target/97203] [nvptx] 'illegal memory access was encountered' with 'omp simd'/SIMT and cexpf call

2020-10-08 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97203 --- Comment #4 from Tom de Vries --- So, I think calling functions from simd code is atm not supported for nvptx. Stack variables in simd code are mapped on a per-thread stack rather than on the usual per-warp stack. The functions are compiled

Re: [PATCH] vrp: Fix up gcc.target/aarch64/pr90838.c [PR97312, PR94801]

2020-10-08 Thread Aldy Hernandez via Gcc-patches
On 10/8/20 5:08 PM, Jakub Jelinek wrote: On Thu, Oct 08, 2020 at 04:55:07PM +0200, Aldy Hernandez via Gcc-patches wrote: Yes, for max == 0 aka [0, 0] I wanted: 1) if mini == -1, i.e. the DEFINED_VALUE_AT_ZERO == 2 VALUE is -1, return [-1, -1] 2) if maxi == prec, i.e. DEFINED_VALUE_AT_ZERO

  1   2   3   >