Re: [PATCH 3/4 v3] ivopts: Consider cost_step on different forms during unrolling

2020-09-05 Thread Hans-Peter Nilsson
On Tue, 1 Sep 2020, Bin.Cheng via Gcc-patches wrote: > > Great idea! With explicitly specified -funroll-loops, it's bootstrapped > > but the regression testing did show one failure (the only one): > > > > PASS->FAIL: gcc.dg/sms-4.c scan-rtl-dump-times sms "SMS succeeded" 1 > > > > It exposes

A couple GIMPLE questions

2020-09-05 Thread Gary Oblock via Gcc
First off one of the questions just me being curious but second is quite serious. Note, this is GIMPLE coming into my optimization and not something I've modified. Here's the C code: type_t * do_comp( type_t *data, size_t len) { type_t *res; type_t *x = min_of_x( data, len); type_t *y =

gcc-10-20200905 is now available

2020-09-05 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200905 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200905/ 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 libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-05 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #10 from Dimitrij Mijoski --- I was wrong in comment #9. The bug and the proposed fix are ok in comment #7. While writing some tests for error I discovered yet another bug in UTF-8 decoding. See the example: // 2 code points, both

[Bug c++/96242] ICE conditionally noexcept defaulted comparison

2020-09-05 Thread johelegp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96242 --- Comment #2 from Johel Ernesto Guerrero Peña --- Thank you, but am I not exempt? > The only excuses to not send us the preprocessed sources are [...] if you've > reduced the testcase to a small file that doesn't include any other file [...]

[Bug target/96941] Initial PPC64LE transcendental auto-vectorization functionality

2020-09-05 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96941 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/96946] New: std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96946 Bug ID: 96946 Summary: std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash Product: gcc Version: unknown Status:

[Bug c++/96945] optimizations regression when defaulting copy constructor

2020-09-05 Thread federico.kircheis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96945 --- Comment #1 from Federico Kircheis --- I've made a copy-paste error (I cant change the submitted bug), after B) it should come C): Adding and defaulting the constructors, except the move constructor produces the same code as A):

[Bug c++/96945] New: optimizations regression when defaulting copy constructor

2020-09-05 Thread federico.kircheis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96945 Bug ID: 96945 Summary: optimizations regression when defaulting copy constructor Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH 0/3] Power10 PCREL_OPT support (September 5th 2020)

2020-09-05 Thread Michael Meissner via Gcc-patches
I forgot to add Bill Schmidt's name to the ChangeLog entry. He helped with the initial conversion to use the DF framework. I will add his name in my copy of the patch. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.ibm.com, phone:

[Bug c++/96944] New: call of overloaded is ambiguous

2020-09-05 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96944 Bug ID: 96944 Summary: call of overloaded is ambiguous Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/96943] New: incomplete type used in nested name specifier

2020-09-05 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96943 Bug ID: 96943 Summary: incomplete type used in nested name specifier Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #32 from Jonathan Wakely --- Nice analysis. Personally I dislike when you get different results from separate preprocessing, but I don't know if it should be considered a bug.

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-05 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #31 from Harald van Dijk --- (In reply to Jonathan Wakely from comment #30) > I'm curious why the preprocessed code in comment 28 doesn't warn, This was still bugging me, so I looked into it a little bit, and since I had trouble

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-05 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #2 from Dmitriy Ovdienko --- Created attachment 49185 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49185=edit Modified solution with custom allocator based on malloc

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-05 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #1 from Dmitriy Ovdienko --- Created attachment 49184 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49184=edit Original implementation with preallocated buffer

[Bug libstdc++/96942] New: std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-05 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 Bug ID: 96942 Summary: std::pmr::monotonic_buffer_resource causes CPU cache misses Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[PATCH] lto: Stream edge goto_locus [PR94235]

2020-09-05 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch adds streaming of edge goto_locus (both LOCATION_LOCUS and LOCATION_BLOCK from it), the PR shows a testcase (inappropriate for gcc testsuite) where the lack of streaming of goto_locus results in worse debug info. Earlier version of the patch (without the output_function

[Bug target/53929] Bug in the use of Intel asm syntax when a global is named "and"

2020-09-05 Thread u1049321969 at caramail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929 tk changed: What|Removed |Added CC||u1049321969 at caramail dot com --- Comment #1