[Bug rtl-optimization/96475] direct threaded interpreter with computed gotos generates suboptimal dispatch loop

2020-09-12 Thread dinuxbg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96475 Dimitar Dimitrov changed: What|Removed |Added CC||dinuxbg at gmail dot com --- Comment

[Bug fortran/97037] New: ICE on user-defined derived-type output of an intermediate ancestor type

2020-09-12 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97037 Bug ID: 97037 Summary: ICE on user-defined derived-type output of an intermediate ancestor type Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

Enquiry

2020-09-12 Thread Paul via Gcc
Hello, We are interested in importing your products to Costa Rica. Please send your product catalog to (epicr...@protonmail.com) for further information. Awaiting... Regards, Paul

[PATCH] libstdc++: only pull in bits/align.h if C++11 or later

2020-09-12 Thread Thomas Rodgers
From: Thomas Rodgers libstdc++-v3/ChangeLog: * include/std/memory: Move #include inside C++11 conditional includes. Tested x86_64-pc-linux-gnu, committed to master. --- libstdc++-v3/include/std/memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

gcc-10-20200912 is now available

2020-09-12 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200912 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200912/ 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 fortran/97036] New: [F2018] ELEMENTAL RECURSIVE subprogram prefix combination rejected

2020-09-12 Thread ian_harvey at bigpond dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97036 Bug ID: 97036 Summary: [F2018] ELEMENTAL RECURSIVE subprogram prefix combination rejected Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Patch] Fortran: Avoid double-free with parse error (PR96041, PR93423)

2020-09-12 Thread Tobias Burnus
The testcase for PR93423 did a double free, which caused an ICE. That's reported in PR96041. Slightly frustrated by the FAIL in the testsuite, I decided to debug and, hopefully, fix this. The problem is related to putting the symtree into a sub namespace of the symbol's ns. That's fixed up by

[Bug analyzer/97029] [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1612

2020-09-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97029 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug d/97002] d: Promote types in d_type_promotes_to when linkage is not D

2020-09-12 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97002 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[committed] d: Return promoted types in d_type_promotes_to when linkage is not D

2020-09-12 Thread Iain Buclaw via Gcc-patches
Hi, This enables warnings to be shown when a wrong type is passed to va_arg inside an extern(C) or extern(C++) function. Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32. Committed to mainline. Regards Iain --- gcc/d/ChangeLog: PR d/97002 * d-codegen.cc

[committed] d: Build TYPE_DECLs for non-numeric enum types.

2020-09-12 Thread Iain Buclaw via Gcc-patches
Hi, This patch alters TYPE_DECL generation to also build one for enums whose member type is non-numeric. This is done so that the DWARF pass will emit a DW_TAG_typedef where the member type of an enum can't be represented in an ENUMERAL_TYPE. Bootstrapped and regression tested on

[Bug d/97002] d: Promote types in d_type_promotes_to when linkage is not D

2020-09-12 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97002 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:707e9159ed25d19c174e4da18b194e530878d450 commit r11-3178-g707e9159ed25d19c174e4da18b194e530878d450 Author: Iain Buclaw Date: Sat

[Bug fortran/97021] [OpenMP] copy out of allocatable scalars does not work.

2020-09-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97021 Tobias Burnus changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Florian Weimer
* Jakub Jelinek: > On Sat, Sep 12, 2020 at 07:37:36PM +0200, Florian Weimer wrote: >> * H. J. Lu via Gcc-patches: >> >> > +inform (input_location, "the value of the stack pointer after" >> > +" an % statement must be the same as it was" >> > +" before the statement");

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Jakub Jelinek via Gcc-patches
On Sat, Sep 12, 2020 at 07:37:36PM +0200, Florian Weimer wrote: > * H. J. Lu via Gcc-patches: > > > + inform (input_location, "the value of the stack pointer after" > > + " an % statement must be the same as it was" > > + " before the statement"); > > Would it make

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread H.J. Lu via Gcc-patches
On Sat, Sep 12, 2020 at 10:37 AM Florian Weimer wrote: > > * H. J. Lu via Gcc-patches: > > > + inform (input_location, "the value of the stack pointer after" > > + " an % statement must be the same as it was" > > + " before the statement"); > > Would it make

Re: [PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread Florian Weimer
* H. J. Lu via Gcc-patches: > + inform (input_location, "the value of the stack pointer after" > + " an % statement must be the same as it was" > + " before the statement"); Would it make sense to generate a stronger worded warning when generating asynchronous

[Bug c++/97033] g++ hangs on valid code

2020-09-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97033 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/97032] [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911

2020-09-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97032 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[PATCH] Ignore the clobbered stack pointer in asm statment

2020-09-12 Thread H.J. Lu via Gcc-patches
Clobbering the stack pointer in asm statment has been deprecated. Adding the stack pointer register to the clobber list has traditionally had some undocumented and somewhat obscure side-effects, including ICE. Issue a warning and ignore the clobbered stack pointer in asm statment. gcc/

[Bug fortran/97031] the content of a comment line breaks compilation

2020-09-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97031 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2020-09-12 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 --- Comment #2 from Patrick Palka --- I wonder if it would be worthwhile to fold calls to std::move and std::forward altogether in the frontend.

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2020-09-12 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug target/97035] New: csky-linux-gnuabiv2 won't build with binutils master branch

2020-09-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97035 Bug ID: 97035 Summary: csky-linux-gnuabiv2 won't build with binutils master branch Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

Re: [PATCH] hppa: Improve expansion of ashldi3 when !TARGET_64BIT

2020-09-12 Thread John David Anglin
Committed. Regards, Dave On 2020-08-22 7:24 p.m., Roger Sayle wrote: > Hi Dave, > I actually think using plus_xor_ior operator is useful. It means that if > combine, > inlining or some other RTL simplification generates these variants, these > forms > will still be recognized by the backend.

Re: Lowest i386 CPU Model with proper C++ atomics

2020-09-12 Thread Joel Sherrill
On Fri, Sep 11, 2020, 5:02 PM Joel Sherrill wrote: > > > On Fri, Sep 11, 2020 at 4:36 PM Janne Blomqvist > wrote: > >> On Fri, Sep 11, 2020 at 6:52 PM Joel Sherrill wrote: >> > >> > Hi >> > >> > Over at RTEMS, we ran into a case where the C++ atomics may not be right >> > for one of the lower

[Bug c++/97034] New: ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*))

2020-09-12 Thread dimitri.gorokhovik at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034 Bug ID: 97034 Summary: ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*)) Product: gcc

[Bug c++/97033] New: g++ hangs on valid code

2020-09-12 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97033 Bug ID: 97033 Summary: g++ hangs on valid code Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug target/97032] [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911

2020-09-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97032 --- Comment #2 from H.J. Lu --- Created attachment 49212 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49212=edit A patch I am testing this.

[Bug target/97032] [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911

2020-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97032 --- Comment #1 from Jakub Jelinek --- Note, eliminating the bogus deprecated "esp" clobber makes it compile correctly.

[Bug target/97032] [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911

2020-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97032 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |8.5 Priority|P3

[Bug target/97032] New: [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911

2020-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97032 Bug ID: 97032 Summary: [8/9/10/11 Regression] ICE output_operand: invalid use of register 'frame' since r8-1911 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Ada] Accept absolute address clause for array of UNC nominal subtype

2020-09-12 Thread Eric Botcazou
This changes the compiler to accept again absolute address clause for aliased array of unconstrained nominal subtype, instead of erroring out in this case. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) :

[Ada] Fix small inconsistency in new predicate

2020-09-12 Thread Eric Botcazou
This can result on the mainline in a segfault when an object declared at library level is used in the declaration of another, local object. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/trans.c (lvalue_for_aggr_p) : Return

[Ada] Minor tweak to line debug info

2020-09-12 Thread Eric Botcazou
This prevents the SLOC of the expression for a tag from being present in the line debug info every time it is referenced for coverage purposes. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/trans.c (gnat_to_gnu) : Clear the

[Ada] Add preliminary support for 128-bit integer types

2020-09-12 Thread Eric Botcazou
This is only the gigi part, in preparation for the bulk of the implementation. Tested on x86_64-suse-linux, applied on the mainline. 2020-09-12 Eric Botcazou * gcc-interface/gigi.h (standard_datatypes): Add ADT_mulv128_decl. (mulv128_decl): New macro.

[Bug target/97030] [nvptx] Need strategy for nvidia JIT bug workarounds

2020-09-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97030 --- Comment #1 from Tom de Vries --- (In reply to Tom de Vries from comment #0) > ATM, we have the following in the nvptx.c source code: > ... > #define WORKAROUND_PTXJIT_BUG 1 > #define WORKAROUND_PTXJIT_BUG_2 1 > #define

Re: [RFC] Aarch64: Replace nested FP min/max with conditionals for TX2

2020-09-12 Thread Anton Youdkevitch
On Fri, Sep 11, 2020 at 8:43 AM Richard Biener wrote: > On Fri, Sep 11, 2020 at 8:27 AM Anton Youdkevitch > wrote: > > > > Richard, > > > > On Thu, Sep 10, 2020 at 12:03 PM Richard Biener < > richard.guent...@gmail.com> wrote: > >> > >> On Wed, Sep 9, 2020 at 5:51 PM Anton Youdkevitch > >>

[Bug fortran/97031] New: the content of a comment line breaks compilation

2020-09-12 Thread jean-pierre.flam...@univ-lille.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97031 Bug ID: 97031 Summary: the content of a comment line breaks compilation Product: gcc Version: 4.4.7 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/97030] New: [nvptx] Need strategy for nvidia JIT bug workarounds

2020-09-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97030 Bug ID: 97030 Summary: [nvptx] Need strategy for nvidia JIT bug workarounds Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

Dominance information problem

2020-09-12 Thread Gary Oblock via Gcc
I'm trying to do performance qualification for my structure reorganization optimization. I'm doing pretty straightforward stuff and I haven't at this point in time (qualifying the optimization,) modified the program. So I'm a little surprised this is failing. Here is the code that's failing on

[Bug target/96932] [nvptx] atomic_exchange missing barrier

2020-09-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96932 Tom de Vries changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug analyzer/97029] New: [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1612

2020-09-12 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97029 Bug ID: 97029 Summary: [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1612 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal