[Bug c++/94490] New: Ternary expression with 3 consts is “not” a constant expression

2020-04-04 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94490 Bug ID: 94490 Summary: Ternary expression with 3 consts is “not” a constant expression Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94489] New: ICE: unexpected expression ‘std::min’ of kind overload

2020-04-04 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94489 Bug ID: 94489 Summary: ICE: unexpected expression ‘std::min’ of kind overload Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/94415] Implement DR 2237: Can a template-id name a constructor?

2020-04-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94415 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #1 from Marek Polacek

[PATCH] c++: C++20 DR 2237, disallow simple-template-id in cdtor.

2020-04-04 Thread Marek Polacek via Gcc-patches
This patch implements DR 2237 which says that a simple-template-id is no longer valid as the declarator-id of a constructor or destructor; see . It is not explicitly stated but out-of-line destructors with a simple-template-id are also meant to be

[Bug c++/67825] [concepts] expression constraint bug when taking address of a member function

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67825 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67825, which changed state. Bug 67825 Summary: [concepts] expression constraint bug when taking address of a member function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67825 What|Removed

[Bug c++/91966] [8 Regression] pack expansion for Cartesian product breaks if certain indirections are involved since r6-1487-g1a4cd2cd7e7266b0

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91966 --- Comment #6 from CVS Commits --- The releases/gcc-8 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c4f6911d39089c5f500977d9fc0e36c72f2018a7 commit r8-10165-gc4f6911d39089c5f500977d9fc0e36c72f2018a7 Author: Jason Merrill

[Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e42d142f421c132c3aca3a5b3f0176bd363d commit r8-10166-ge42d142f421c132c3aca3a5b3f0176bd363d Author: Jason Merrill

[Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ab525ec30f0a80e7a4b5e4d00010d83145b87e8c commit r9-8453-gab525ec30f0a80e7a4b5e4d00010d83145b87e8c Author: Jason Merrill

[Bug c++/94453] [10 Regression] ICE in make_decl_rtl since r10-3591

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94453 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5ed8c71b53a5ac93c68179770cb047227b587bcb commit r9-8452-g5ed8c71b53a5ac93c68179770cb047227b587bcb Author: Jason Merrill

gcc-9-20200404 is now available

2020-04-04 Thread GCC Administrator via Gcc
Snapshot gcc-9-20200404 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20200404/ 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

[Bug debug/94459] Missing c++ debug information for 'auto&' return type

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94459 --- Comment #7 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug debug/94459] Missing c++ debug information for 'auto&' return type

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94459 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0be9efad938726721fd8c8c35609b1e1d7d30035 commit r10-7560-g0be9efad938726721fd8c8c35609b1e1d7d30035 Author: Jakub Jelinek Date:

Re: [PATCH] i386: Simplify {, v}ph{add, sub{, s}{w, d} insn patterns [PR94460]

2020-04-04 Thread Uros Bizjak via Gcc-patches
On Sat, Apr 4, 2020 at 12:41 AM Jakub Jelinek wrote: > > Hi! > > As mentioned in the previous PR94460 patch, the RTL patterns look too > large/complicated, we can simplify them by just performing two 2 arg > permutations to move the arguments into the right spots and then just > doing the

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Uroš Bizjak changed: What|Removed |Added Known to work||10.0 Known to fail|

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Uroš Bizjak changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Uroš Bizjak ---

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread Eric Botcazou
> I committed this patch. Works for me, thanks for the quick fix! -- Eric Botcazou

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread Ian Lance Taylor via Gcc-patches
On Sat, Apr 4, 2020 at 1:35 PM H.J. Lu wrote: > > On Sat, Apr 4, 2020 at 1:28 PM Eric Botcazou wrote: > > > > > Hmmm, sorry about that. Which target? x86_64? It does seem that > > > glibc consolidated mmap implementations in 2.26, but even in 2.22 I > > > see definitions for __mmap. > > > >

[Bug translation/90528] ICE caused b bad format string in gimple-ssa-warn-restrict.c:1803 for 'es' locale

2020-04-04 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90528 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread H.J. Lu via Gcc-patches
On Sat, Apr 4, 2020 at 1:28 PM Eric Botcazou wrote: > > > Hmmm, sorry about that. Which target? x86_64? It does seem that > > glibc consolidated mmap implementations in 2.26, but even in 2.22 I > > see definitions for __mmap. > commit fa872e1b6210e81e60d6029429f0a083b8eab26e Author:

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread Eric Botcazou
> Hmmm, sorry about that. Which target? x86_64? It does seem that > glibc consolidated mmap implementations in 2.26, but even in 2.22 I > see definitions for __mmap. GNU C Library (GNU libc) stable release version 2.22 (git bbab82c25da9), by Roland McGrath et al. Copyright (C) 2015 Free

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread Ian Lance Taylor via Gcc-patches
On Sat, Apr 4, 2020 at 10:10 AM Eric Botcazou wrote: > > > 2020-04-03 Ian Lance Taylor > > > > * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather > > than mmap/munmap, to avoid hooks. > > This breaks the build of gotools for me with undefined references to __mmap > and __munmap

[Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:75c8d6e54a14d090853b998cfd335511b1d8ae5f commit r10-7558-g75c8d6e54a14d090853b998cfd335511b1d8ae5f Author: Jason Merrill Date:

[pushed] c++: Mangling of dependent conversions [PR91377]

2020-04-04 Thread Jason Merrill via Gcc-patches
We skip over other conversion codes when mangling expressions, we should do the same with IMPLICIT_CONV_EXPR. Tested x86_64-pc-linux-gnu, applying to trunk/9/8. gcc/cp/ChangeLog 2020-04-04 Jason Merrill PR c++/91377 * mangle.c (write_expression): Skip IMPLICIT_CONV_EXPR. ---

Re: [Bug tree-optimization/91322] [10 regression] alias-4 test failure

2020-04-04 Thread Jan Hubicka
> Which ARM target has 16-bit int? > I don't see INT_TYPE_SIZE nor SHORT_TYPE_SIZE defined in config/arm/*, neither > BITS_PER_WORD, so all depends on UNITS_PER_WORD, which is 4 and thus short is > 16-bit and int is 32-bit. Hmm, you are right - I messed up target triplets. With arm-linux-gnueabi

[Bug tree-optimization/91322] [10 regression] alias-4 test failure

2020-04-04 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91322 --- Comment #13 from Jan Hubicka --- > Which ARM target has 16-bit int? > I don't see INT_TYPE_SIZE nor SHORT_TYPE_SIZE defined in config/arm/*, neither > BITS_PER_WORD, so all depends on UNITS_PER_WORD, which is 4 and thus short is > 16-bit and

[Bug tree-optimization/94488] [AArch64] ICE from OpenMP SIMD right shift of uint64_t

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94488 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug ipa/94486] [10 regression] bootstrap build failure after r10-7552

2020-04-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94486 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/94488] [AArch64] ICE from OpenMP SIMD right shift of uint64_t

2020-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94488 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|rtl-optimization

Re: [PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt.

2020-04-04 Thread Michael Eager
OK to apply. On 4/4/20 2:18 AM, Nagaraju Mekala wrote: Hello All, Fixed missing save of r18 in fast_interrupt. Register 18 is used as a clobber register, and must be stored when entering a fast_interrupt. Before this fix, register 18 was only saved if it was used directly in the interrupt

Re: [PATCH]Microblaze: Modified trap instruction

2020-04-04 Thread Michael Eager
OK to apply. On 4/4/20 1:59 AM, Nagaraju Mekala wrote: Hello All, There is a bug in trap instruction generation. Instead of "bri 0" instruction "brki r0, -1" was used, corrected it now. ChangeLog: 2020-04-04 Nagaraju Mekala *

Re: [PATCH v2] c++: Fix crash in gimplifier with paren init of aggregates [PR94155]

2020-04-04 Thread Marek Polacek via Gcc-patches
On Fri, Apr 03, 2020 at 10:39:49PM -0400, Jason Merrill via Gcc-patches wrote: > On 4/3/20 9:08 PM, Marek Polacek wrote: > > On Fri, Apr 03, 2020 at 03:01:37PM -0400, Jason Merrill via Gcc-patches > > wrote: > > > On 3/30/20 4:28 PM, Marek Polacek wrote: > > > > Here we crash in the gimplifier

[Bug rtl-optimization/94488] New: [AArch64] ICE from OpenMP SIMD right shift of uint64_t

2020-04-04 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94488 Bug ID: 94488 Summary: [AArch64] ICE from OpenMP SIMD right shift of uint64_t Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-04 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #2 from Evan Nemerson --- Created attachment 48195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48195=edit Output from cc -v Sure. It's just -O2, and of course if you're on x86_64 you'll need to pass -m32. For example:

[Bug rtl-optimization/87763] [9/10 Regression] aarch64 target testcases fail after r265398

2020-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763 --- Comment #68 from Andrew Pinski --- (In reply to rsand...@gcc.gnu.org from comment #62) > For the two bfi ones: are we really sure that the old code is better? > It's a difference between a MOV and a BFI or an AND and an ORR. > The BFI wins

Re: libgcc patch committed: Avoid hooks in split-stack code

2020-04-04 Thread Eric Botcazou
> 2020-04-03 Ian Lance Taylor > > * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather > than mmap/munmap, to avoid hooks. This breaks the build of gotools for me with undefined references to __mmap and __munmap from libgcc/generic-morestack.c (it is with glibc 2.22). -- Eric

[Bug ipa/94486] New: [10 regression] bootstrap build failure after r10-7552

2020-04-04 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94486 Bug ID: 94486 Summary: [10 regression] bootstrap build failure after r10-7552 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940]

2020-04-04 Thread Eric Botcazou
> sorry for that. Git is still not my friend. I managed to stash and > unstash multiple changes and mix them up. Git was clearly designed *not* to have friends if you ask me, so I cannot really blame you here. > I comitted the following fix. Thanks! -- Eric Botcazou

[Bug c++/94205] [8/9 Regression] ICE in cxx_eval_constant_expression with 'this'-capturing lambda inside an NSDMI since r8-1251

2020-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94205 Patrick Palka changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug c++/94219] ICE in cxx_eval_bare_aggregate, at cp/constexpr.c:3790

2020-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94219 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94205] [8/9/10 Regression] ICE in cxx_eval_constant_expression with 'this'-capturing lambda inside an NSDMI since r8-1251

2020-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94205 Bug 94205 depends on bug 94219, which changed state. Bug 94219 Summary: ICE in cxx_eval_bare_aggregate, at cp/constexpr.c:3790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94219 What|Removed |Added

Re: [PATCH] c++: Refrain from using replace_placeholders in constexpr evaluation [PR94205]

2020-04-04 Thread Patrick Palka via Gcc-patches
On Sat, 4 Apr 2020, Jason Merrill wrote: > On 4/3/20 4:07 PM, Patrick Palka wrote: > > On Fri, 3 Apr 2020, Jason Merrill wrote: > > > > > On 4/2/20 7:40 PM, Patrick Palka wrote: > > > > + /* Prefer the outermost matching object, but don't cross > > > > + CONSTRUCTOR_PLACEHOLDER_BOUNDARY

[Bug c++/94205] [8/9/10 Regression] ICE in cxx_eval_constant_expression with 'this'-capturing lambda inside an NSDMI since r8-1251

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94205 --- Comment #6 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:49a86fce1a879a206fb4b27f097910005d968fda commit r10-7557-g49a86fce1a879a206fb4b27f097910005d968fda Author: Patrick Palka Date:

[Bug c++/94205] [8/9/10 Regression] ICE in cxx_eval_constant_expression with 'this'-capturing lambda inside an NSDMI since r8-1251

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94205 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:37244b217a7329792f4ec48027f63cf5010b0ea8 commit r10-7556-g37244b217a7329792f4ec48027f63cf5010b0ea8 Author: Patrick Palka Date:

[Bug c++/94219] ICE in cxx_eval_bare_aggregate, at cp/constexpr.c:3790

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94219 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:37244b217a7329792f4ec48027f63cf5010b0ea8 commit r10-7556-g37244b217a7329792f4ec48027f63cf5010b0ea8 Author: Patrick Palka Date:

[Bug c++/79937] [7 Regression] ICE in replace_placeholders_r

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 --- Comment #26 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:49a86fce1a879a206fb4b27f097910005d968fda commit r10-7557-g49a86fce1a879a206fb4b27f097910005d968fda Author: Patrick Palka Date:

[Bug c++/94205] [8/9/10 Regression] ICE in cxx_eval_constant_expression with 'this'-capturing lambda inside an NSDMI since r8-1251

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94205 Jason Merrill changed: What|Removed |Added Assignee|jason at gcc dot gnu.org |unassigned at gcc dot gnu.org

Re: [PATCH v2] debug: Improve debug info of c++14 deduced return type [PR94459]

2020-04-04 Thread Jason Merrill via Gcc-patches
On 4/4/20 3:54 AM, Jakub Jelinek wrote: On Sat, Apr 04, 2020 at 12:08:38AM -0400, Jason Merrill wrote: http://eel.is/c++draft/dcl.spec.auto#3 says it has to appear as a decl-specifier. http://eel.is/c++draft/temp.deduct.type#8 lists the forms where a template argument can be deduced. Looks

[Bug ipa/93940] [8/9 Regression] crazy codegen bug on Og with builtin_constant_p, coverage, and pthread

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93940 --- Comment #10 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:21e28527130a89491f848dfb5019afa01b252479 commit r10-7555-g21e28527130a89491f848dfb5019afa01b252479 Author: Jan Hubicka Date: Sat

[Bug c++/94485] [10.0.1, c++2a] g++ optimizes away necessary code, accepts arbitrary inline asm

2020-04-04 Thread dimitri.gorokhovik at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #4 from Dimitri Gorokhovik --- To be clear, the braces here: outer_ = { tess_.begin () }; are the leftover of the simplification. Plain assignment also gets removed, only it is slightly harder to reproduce (-O3 only).

[Bug c++/94485] [10.0.1, c++2a] g++ optimizes away necessary code, accepts arbitrary inline asm

2020-04-04 Thread dimitri.gorokhovik at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #3 from Dimitri Gorokhovik --- (In reply to Andrew Pinski from comment #2) > Also c++20 changes constexpr is handled which is why inline asm is accepted > now IIRC. This code: constexpr auto f() { asm("before:"); constexpr auto

[Bug c++/94485] [10.0.1, c++2a] g++ optimizes away necessary code, accepts arbitrary inline asm

2020-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #2 from Andrew Pinski --- Also c++20 changes constexpr is handled which is why inline asm is accepted now IIRC.

[Bug c++/94485] [10.0.1, c++2a] g++ optimizes away necessary code, accepts arbitrary inline asm

2020-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #1 from Andrew Pinski --- Without looking fully into this, it seems to me a variable is being used after it goes out of scope.

[Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/94485] New: [10.0.1, c++2a] g++ optimizes away the code, accepts arbitrary inline asm

2020-04-04 Thread dimitri.gorokhovik at free dot fr
ing the sighting. Version: gcc (GCC) 10.0.1 20200404 (experimental) command line: ~/gcc-trunk/dist/bin/g++ -std=c++2a -O3 -Wall -Wextra -W bug-202004041709.cpp -o bug-1 && ./bug-1 The attached file (apologies, still big) contains the following code (line 425): constexpr iterator (tessel

[Bug c++/94453] [10 Regression] ICE in make_decl_rtl since r10-3591

2020-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94453 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94453] [10 Regression] ICE in make_decl_rtl since r10-3591

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94453 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9f143008c73c60e02634d6b433139a035ef7bb65 commit r10-7553-g9f143008c73c60e02634d6b433139a035ef7bb65 Author: Jason Merrill Date:

[Bug c++/67825] [concepts] expression constraint bug when taking address of a member function

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67825 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f1ad7bac76b662577e3bde78c530954099361a66 commit r10-7554-gf1ad7bac76b662577e3bde78c530954099361a66 Author: Jason Merrill Date:

[pushed] c++: Fix invalid pointer-to-member in requires [PR67825]

2020-04-04 Thread Jason Merrill via Gcc-patches
A recent change to cmcstl2 led to two tests failing due to this bug: our valid expression checking in the context of a requires-expression wasn't catching that an expression of member function type can only appear as the function operand of a call expression. Fixed by using convert_to_void to do

[pushed] c++: Fix reuse of class constants [PR94453]

2020-04-04 Thread Jason Merrill via Gcc-patches
The testcase hit an ICE trying to expand a TARGET_EXPR temporary cached from the other lambda-expression. This patch fixes this in two ways: 1) Avoid reusing a TARGET_EXPR from another function. 2) Avoid ending up with a TARGET_EXPR at all; the use of 'p' had become >>, which doesn't make any

Re: ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940]

2020-04-04 Thread Jan Hubicka
> > The change 1) breaks bootstrap and 2) fails to update the ChangeLog files. Hi, sorry for that. Git is still not my friend. I managed to stash and unstash multiple changes and mix them up. I comitted the following fix. Honza diff --git a/gcc/ChangeLog b/gcc/ChangeLog index

[Bug c++/94480] [10 Regression] ICE in cp_parser_abort_tentative_parse, at cp/parser.c:31858

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94480 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target

[Bug c++/94481] [10 Regression] ICE: Segmentation fault (in cp_parser_placeholder_type_specifier)

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94481 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |10.0 CC|

Re: ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940]

2020-04-04 Thread H.J. Lu via Gcc-patches
On Sat, Apr 4, 2020 at 5:40 AM Eric Botcazou wrote: > > > gcc/ChangeLog: > > > > 2020-04-04 Jan Hubicka > > > > PR ipa/93940 > > * ipa-fnsummary.c (vrp_will_run_p): New function. > > (fre_will_run_p): New function. > > (evaluate_properties_for_edge): Use it. > > *

Contents of PO file 'cpplib-10.1-b20200209.eo.po'

2020-04-04 Thread Translation Project Robot
cpplib-10.1-b20200209.eo.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New Esperanto PO file for 'cpplib' (version 10.1-b20200209)

2020-04-04 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Esperanto team of translators. The file is available at: https://translationproject.org/latest/cpplib/eo.po (This file,

[Bug tree-optimization/91322] [10 regression] alias-4 test failure

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91322 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

Re: ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940]

2020-04-04 Thread Eric Botcazou
> gcc/ChangeLog: > > 2020-04-04 Jan Hubicka > > PR ipa/93940 > * ipa-fnsummary.c (vrp_will_run_p): New function. > (fre_will_run_p): New function. > (evaluate_properties_for_edge): Use it. > * ipa-inline.c (can_inline_edge_by_limits_p): Do not inline >

[Bug debug/94459] Missing c++ debug information for 'auto&' return type

2020-04-04 Thread ssbssa at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94459 --- Comment #5 from Hannes Domani --- I also should mention that this is a precursor to fix gdb_bug 24154: https://sourceware.org/bugzilla/show_bug.cgi?id=24154

Re: [PATCH] Check DECL_CONTEXT of new/delete operators.

2020-04-04 Thread Jan Hubicka
Hi, thinking a bit of the problem, I guess we could match in addition to DECL_CONTEXT the whole inline stack of both statements and see if there are inlined new/delete operators and if so if they are always in matching pairs. The inline stack is available as for (tree block = gimple_block (call);

[Bug tree-optimization/91322] [10 regression] alias-4 test failure

2020-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91322 --- Comment #11 from Jan Hubicka --- The problem is that on ARM sizeof (short) == sizeof (int) and LTO will glob all short and int pointers together. So this is missed optimization only. We do this globing sort of by design. For GCC11 I plan

[PATCH] libiberty: Update D symbol demangling for latest ABI spec.

2020-04-04 Thread Iain Buclaw via Gcc-patches
Hi, Some small improvements and clarifications have been done in the D ABI specification to remove all ambiguities found in the current grammar, this implementation now more closely resembles the spec, whilst maintaining compatibility with the old ABI. Three new rules have been added to the ABI.

[Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails

2020-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93369 --- Comment #17 from Jan Hubicka --- Note that to fully fix the problem we need to resolve the way aliases works. In this case ODR violation makes one COMDAT section to contain only ctor, while other contains ctor and its thunk. The first

Disable aggregate walking in ipa code for optimize_debug

2020-04-04 Thread Jan Hubicka
Martin, with optimize_debug or when FRE is disabled propagating aggregates is useless since we are not going to use them. I think we should also avoid working hard on the jump functions. This patch disables it in ipa_load_from_param_agg, but I am not sure if there are other ways ipa-prop can do

[Bug c++/94481] [10 Regression] ICE: Segmentation fault (in cp_parser_placeholder_type_specifier)

2020-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94481 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/94480] [10 Regression] ICE in cp_parser_abort_tentative_parse, at cp/parser.c:31858

2020-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94480 Martin Liška changed: What|Removed |Added Summary|ICE in |[10 Regression] ICE in

[Bug ipa/93940] [8/9/10 Regression] crazy codegen bug on Og with builtin_constant_p, coverage, and pthread

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93940 --- Comment #9 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:2523d721cfc861a3abea6e97736446c99ba8b52d commit r10-7552-g2523d721cfc861a3abea6e97736446c99ba8b52d Author: Jan Hubicka Date: Sat

ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940]

2020-04-04 Thread Jan Hubicka
Hi, this patch fixes wrong code on a testcase where inline predicts builtin_constant_p to be true but we fail to optimize its parameter to constant becuase FRE is not run and the value is passed by an aggregate. This patch makes the inline predicates to disable aggregate tracking when FRE is not

[Bug c++/94483] [9/10 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2020-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/94484] ICE in cp_finish_decl, at cp/decl.c:7447

2020-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94484 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever

[Bug c++/94484] ICE in cp_finish_decl, at cp/decl.c:7447

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94484 Arseny Solokha changed: What|Removed |Added Summary|[10 Regression] ICE in |ICE in cp_finish_decl, at

[Bug c++/94484] [10 Regression] ICE in cp_finish_decl, at cp/decl.c:7447

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94484 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt.

2020-04-04 Thread Nagaraju Mekala
Hello All, Fixed missing save of r18 in fast_interrupt. Register 18 is used as a clobber register, and must be stored when entering a fast_interrupt. Before this fix, register 18 was only saved if it was used directly in the interrupt function. However, if the fast_interrupt function

[Bug ada/94419] accepting wrong programs because compiler error

2020-04-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94419 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

[PATCH]Microblaze: Modified trap instruction

2020-04-04 Thread Nagaraju Mekala
Hello All, There is a bug in trap instruction generation. Instead of "bri 0" instruction "brki r0, -1" was used, corrected it now. ChangeLog: 2020-04-04 Nagaraju Mekala * gcc/config/microblaze/microblaze.md (trap): update in the pattern *

[Bug rtl-optimization/94468] [10 Regression] ICE in remove_useless_values, at cselib.c:735 since r10-7515-g2c0fa3ecf70d199a

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94468 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/94468] [10 Regression] ICE in remove_useless_values, at cselib.c:735 since r10-7515-g2c0fa3ecf70d199a

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94468 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bab8d9625f4cdeaf9bb45e28ab62abe47c3827f9 commit r10-7551-gbab8d9625f4cdeaf9bb45e28ab62abe47c3827f9 Author: Jakub Jelinek Date:

Re: [PATCH] cselib: Don't consider SP_DERIVED_VALUE_P values as useless [PR94468]

2020-04-04 Thread Richard Biener
On April 4, 2020 12:42:33 AM GMT+02:00, Jakub Jelinek wrote: >On Fri, Apr 03, 2020 at 07:42:10PM +0200, Jakub Jelinek via Gcc-patches >wrote: >> Or, to avoid the repetitive code, should I introduce >> static bool >> cselib_useless_value_p (cselib_val *v) >> { >> return (v->locs == 0 >>

[Bug debug/94441] [10 Regression] g++: error: gcc/gcc/testsuite/g++.dg/cpp1z/constexpr-if2.C: ‘-fcompare-debug’ failure (length) since r10-7397-gda920d0c46c38fe2

2020-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94441 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[PATCH v2] debug: Improve debug info of c++14 deduced return type [PR94459]

2020-04-04 Thread Jakub Jelinek via Gcc-patches
On Sat, Apr 04, 2020 at 12:08:38AM -0400, Jason Merrill wrote: > http://eel.is/c++draft/dcl.spec.auto#3 says it has to appear as a > decl-specifier. > > http://eel.is/c++draft/temp.deduct.type#8 lists the forms where a template > argument can be deduced. > > Looks like you are missing arrays,

[Bug c/92086] Provide way to avoid saving callee-saved registers in functions without callers

2020-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086 --- Comment #9 from Andrew Pinski --- (In reply to Segher Boessenkool from comment #7) > This is related to the compiler saving the return address for noreturn > sibcalls, like in > > void g(void) __attribute__((noreturn)); > void f(void) {

[Bug c/92086] Provide way to avoid saving callee-saved registers in functions without callers

2020-04-04 Thread gdisirio at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086 Giovanni Di Sirio changed: What|Removed |Added CC||gdisirio at gmail dot com ---

[Bug c++/44613] Declaring an array with non-constant length inside a switch corrupts stack pointer.

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment

[Bug debug/94441] [10 Regression] g++: error: gcc/gcc/testsuite/g++.dg/cpp1z/constexpr-if2.C: ‘-fcompare-debug’ failure (length) since r10-7397-gda920d0c46c38fe2

2020-04-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94441 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:aae5d08a8d4dcee576a85ea76febe56c53675ef2 commit r10-7550-gaae5d08a8d4dcee576a85ea76febe56c53675ef2 Author: Jakub Jelinek Date:

[Bug c++/94484] New: [10 Regression] ICE in cp_finish_decl, at cp/decl.c:7447

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94484 Bug ID: 94484 Summary: [10 Regression] ICE in cp_finish_decl, at cp/decl.c:7447 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: error-recovery,

[Bug c++/94483] New: [10 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94483 Bug ID: 94483 Summary: [10 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607 Product: gcc Version:

[Bug c++/86594] Crash on trying to capture 'this' in instantiation of generic lambda

2020-04-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86594 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

Re: subversion status on gcc.gnu.org

2020-04-04 Thread Martin Liška
On 4/3/20 10:19 PM, Frank Ch. Eigler wrote: Hi - https://gcc.gnu.org/r2000 maps to a search and you get thousands of hits for SVN: r2000** The gcc git svn-rev alias handles that (and also handles release and other branches) using approx. git log --all --grep="From-SVN: r$rev\b" | head -n 1 |

  1   2   >