[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

Re: Kewen Lin as PowerPC port co-maintainer

2022-05-04 Thread Kewen.Lin via Gcc
on 2022/5/5 03:20, David Edelsohn wrote: > I am pleased to announce that the GCC Steering Committee has > appointed Kewen Lin as GCC PowerPC port Co-Maintainer. > Thanks a lot! It's a great honor for me! > Please join me in congratulating Kewen on his new role. > Kewen, please

[committed] MAINTAINERS: Add myself as PowerPC port co-maintainer

2022-05-04 Thread Kewen.Lin via Gcc-patches
Hi, Add myself as PowerPC port co-maintainer and to DCO section. Pushed below as r13-127. ChangeLog: * MAINTAINERS: Add myself as PowerPC port co-maintainer and to DCO section. --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS

[Bug target/105484] [11/12/13 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop since r11

2022-05-04 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105484 --- Comment #2 from Hongtao.liu --- I'll take a look.

[PATCH] Strip of a vector load which is only used partially.

2022-05-04 Thread liuhongt via Gcc-patches
Optimize _1 = *srcp_3(D); _4 = VEC_PERM_EXPR <_1, _1, { 4, 5, 6, 7, 4, 5, 6, 7 }>; _5 = BIT_FIELD_REF <_4, 128, 0>; to _1 = *srcp_3(D); _5 = BIT_FIELD_REF <_1, 128, 128>; the upper will finally be optimized to _5 = BIT_FIELD_REF <*srcp_3(D), 128, 128>; Bootstrapped and regtested on

[Bug middle-end/105469] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e

2022-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2022-05-04 Thread harper at msor dot vuw.ac.nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 --- Comment #3 from harper at msor dot vuw.ac.nz --- Thank you. Of course the program did not compile with -std=f95 because there was no decimal='point' option then. But with -std=f2003 or f2008 or f2018, and with or without n = 999 before the

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2022-05-04 Thread jvdelisle2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 --- Comment #2 from Jerry DeLisle --- I should add, I am not saying this is right or wrong. The error message refers to F2003. $ gfortran -std=f2003 pr105473.f90 [jerry@amdr pr105473]$ ./a.out testinput = ";" n= 999 ios=

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2022-05-04 Thread jvdelisle2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle2 at gmail dot com ---

Re: [PATCH] c++: wrong error with MVP and pushdecl [PR64679]

2022-05-04 Thread Jason Merrill via Gcc-patches
On 5/4/22 19:20, Marek Polacek wrote: On Wed, May 04, 2022 at 05:44:45PM -0400, Jason Merrill wrote: On 5/4/22 16:03, Marek Polacek wrote: This patch fixes the second half of 64679. Here we issue a wrong "redefinition of 'int x'" for the following: struct Bar { Bar(int, int, int);

Re: [PATCH] c++: wrong error with MVP and pushdecl [PR64679]

2022-05-04 Thread Marek Polacek via Gcc-patches
On Wed, May 04, 2022 at 05:44:45PM -0400, Jason Merrill wrote: > On 5/4/22 16:03, Marek Polacek wrote: > > This patch fixes the second half of 64679. Here we issue a wrong > > "redefinition of 'int x'" for the following: > > > >struct Bar { > > Bar(int, int, int); > >}; > > > >

[PATCH] libsanitizer: cherry-pick commit f52e365092aa from upstream

2022-05-04 Thread H.J. Lu via Gcc-patches
On Wed, May 4, 2022 at 1:59 AM Martin Liška wrote: > > Hello. > > I'm going to do merge from upstream. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. I've > also tested > on ppc64le-linux-gnu and verified the ABI. > > The only real change is a small change in >

[Bug bootstrap/105487] Sysroots without 32bit components cause mysterious errors

2022-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105487 --- Comment #4 from Andrew Pinski --- It is incorrect as that is required. Simple as that.

[Bug bootstrap/105487] Sysroots without 32bit components cause mysterious errors

2022-05-04 Thread psmith at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105487 --- Comment #3 from Paul Smith --- There's nothing "incorrect" about a sysroot that doesn't have /usr/lib in it. If you have a 64bit system and you don't need to run 32bit binaries, then /usr/lib will be empty and everything will be in

[Bug c/105488] Function definition is not generated OR function is not inlined

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105488 --- Comment #2 from Jonathan Wakely --- See https://gcc.gnu.org/gcc-5/porting_to.html#inline

Re: [PATCH] libstdc++: fix pointer type exception catch [PR105387]

2022-05-04 Thread Jonathan Wakely via Gcc-patches
On Wed, 4 May 2022 at 12:14, Jonathan Wakely wrote: > > On Tue, 3 May 2022 at 11:57, Jakob Hasse via Libstdc++ > wrote: > > > > This is a patch for the bug 105387 reported in bugzilla: 105387 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105387. This report should > > contain all the

gcc-9-20220504 is now available

2022-05-04 Thread GCC Administrator via Gcc
Snapshot gcc-9-20220504 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20220504/ 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 c/105488] Function definition is not generated OR function is not inlined

2022-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105488 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/105488] New: Function definition is not generated OR function is not inlined

2022-05-04 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105488 Bug ID: 105488 Summary: Function definition is not generated OR function is not inlined Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/105387] libstdc++: with -fno-rtti, pointer type info class incorrectly matches non-pointer type info classes

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105387 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/104470] [10/11/12/13 Regression] internal compiler error: Segmentation fault compiling std::variant with -std=c++20

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104470 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a47ab705c2c9f07f08fde499d6be4682efe4b626 commit r13-124-ga47ab705c2c9f07f08fde499d6be4682efe4b626 Author: Jason Merrill Date:

[pushed] c++: alias CTAD refactoring [PR104470]

2022-05-04 Thread Jason Merrill via Gcc-patches
In my previous PR104470 patch I added yet another place that needs to handle dependent member rewriting for deduction guides; this patches centralizes rewriting into maybe_dependent_member_ref. tsubst_baselink still has its own handling because that's simpler than teaching

Re: [PATCH] c++: wrong error with MVP and pushdecl [PR64679]

2022-05-04 Thread Jason Merrill via Gcc-patches
On 5/4/22 16:03, Marek Polacek wrote: This patch fixes the second half of 64679. Here we issue a wrong "redefinition of 'int x'" for the following: struct Bar { Bar(int, int, int); }; int x = 1; Bar bar(int(x), int(x), int{x}); // #1 cp_parser_parameter_declaration_list does

[Bug bootstrap/105487] Sysroots without 32bit components cause mysterious errors

2022-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105487 --- Comment #2 from Andrew Pinski --- I don't think there is anything GCC can do here really. If you don't have a correct sysroot, it is not a GCC bug. Requring usr/lib is because all directories are relative to that directory.

[Bug bootstrap/105487] Sysroots without 32bit components cause mysterious errors

2022-05-04 Thread psmith at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105487 --- Comment #1 from Paul Smith --- Ugh, when I wrote "doesn't contain any 32bit values" I meant "doesn't contain any 32bit files".

[Bug bootstrap/105487] New: Sysroots without 32bit components cause mysterious errors

2022-05-04 Thread psmith at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105487 Bug ID: 105487 Summary: Sysroots without 32bit components cause mysterious errors Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105476] ICE in build_deduction_guide since r10-4719-g9b41ebbcdf9e3328

2022-05-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105476 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.2 --- Comment #8 from Patrick Palka

[Bug c++/105476] ICE in build_deduction_guide since r10-4719-g9b41ebbcdf9e3328

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105476 --- Comment #7 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8a98e3ff7e80bf2936f163d50309fd88d72564a0 commit r13-123-g8a98e3ff7e80bf2936f163d50309fd88d72564a0 Author: Patrick Palka Date:

[Bug testsuite/105486] New: new test case gcc.dg/vect/bb-slp-pr104240.c from r13-89-gb3e98eb3396e16 fails

2022-05-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105486 Bug ID: 105486 Summary: new test case gcc.dg/vect/bb-slp-pr104240.c from r13-89-gb3e98eb3396e16 fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

Re: [PATCH v2] cpp: new built-in __EXP_COUNTER__

2022-05-04 Thread Kaz Kylheku via Gcc-patches
On 2022-04-21 09:11, Kaz Kylheku wrote: > libcpp/ChangeLog > 2022-04-21 Kaz Kylheku > > This change introduces a pair of related macros > __EXP_COUNTER__ and __UEXP_COUNTER__. These macros access > integer values which enumerate macro expansions. > They can be used for

[Bug c++/100825] function signature constraints are not a part of mangled name

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #12 from Jonathan Wakely --- At the very least, GCC should give better errors instead of just letting the assembler complain. Clang tells you where the conflicting definitions come from, e.g. for the code in comment 1: 1.C:7:23:

[Bug c++/64679] Spurious redefinition error when parsing not-quite-most-vexing-parse declarations

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64679 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a733dea9e7c39352ce9f72059938833eaa819467 commit r13-121-ga733dea9e7c39352ce9f72059938833eaa819467 Author: Marek Polacek Date: Fri

[PATCH] c++: wrong error with MVP and pushdecl [PR64679]

2022-05-04 Thread Marek Polacek via Gcc-patches
This patch fixes the second half of 64679. Here we issue a wrong "redefinition of 'int x'" for the following: struct Bar { Bar(int, int, int); }; int x = 1; Bar bar(int(x), int(x), int{x}); // #1 cp_parser_parameter_declaration_list does pushdecl every time it sees a named

Re: [PATCH] c++: wrong parse with functors [PR64679]

2022-05-04 Thread Marek Polacek via Gcc-patches
On Tue, May 03, 2022 at 04:43:05PM -0400, Jason Merrill via Gcc-patches wrote: > On 5/2/22 12:18, Marek Polacek wrote: > > Consider > > > >struct F { > > F(int) {} > > F operator()(int) const { return *this; } > >}; > > > > and > > > >F(i)(0)(0); > > > > where we're

[Bug target/105485] New: ICE: Segmentation fault in pcrel-opt.md:get_insn_name()

2022-05-04 Thread pthaugen at gcc dot gnu.org via Gcc-bugs
isable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220504 (experimental) [master r13-118-g4a206161072] (GCC)

[pushed] c++: optimize reshape_init

2022-05-04 Thread Jason Merrill via Gcc-patches
If the index of a constructor_elt is a FIELD_DECL, the CONSTRUCTOR is already reshaped, so we can save time and memory by returning immediately. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * decl.cc (reshape_init): Shortcut already-reshaped init.

Re: [PATCH] c++: ICE during aggr CTAD for member tmpl [PR105476]

2022-05-04 Thread Jason Merrill via Gcc-patches
On 5/4/22 10:09, Patrick Palka wrote: Here we're crashing from maybe_aggr_guide ultimately because processing_template_decl isn't set when partially instantiating the guide's parameter list. This causes us to prematurely force completion of the dependent type Visitor_functior, which fails and

Re: [PATCH] gengtype: do not skip char after escape sequnce

2022-05-04 Thread Iain Sandoe
> On 4 May 2022, at 20:14, Martin Liška wrote: > > Right now, when a \$x escape sequence occures, the > next character after $x is skipped, which is bogus. > > The code has very low coverage right now. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to

[Bug tree-optimization/105484] [11/12/13 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwpro

2022-05-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105484 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[12/13

Kewen Lin as PowerPC port co-maintainer

2022-05-04 Thread David Edelsohn via Gcc
I am pleased to announce that the GCC Steering Committee has appointed Kewen Lin as GCC PowerPC port Co-Maintainer. Please join me in congratulating Kewen on his new role. Kewen, please update your listing in the MAINTAINERS file. Happy hacking! David

[PATCH] gengtype: do not skip char after escape sequnce

2022-05-04 Thread Martin Liška
Right now, when a \$x escape sequence occures, the next character after $x is skipped, which is bogus. The code has very low coverage right now. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: *

Re: [PATCH v4] c++: add color to function decl printing

2022-05-04 Thread Jason Merrill via Gcc-patches
On 1/14/22 22:56, Jason Merrill wrote: On 1/14/22 16:49, David Malcolm wrote: On Mon, 2021-12-13 at 09:58 -0500, Jason Merrill via Gcc-patches wrote: On 12/13/21 06:02, Jonathan Wakely wrote: On Sun, 12 Dec 2021 at 05:39, Jason Merrill mailto:ja...@redhat.com>> wrote:   >   > In reading C++

[pushed] c++: use %D more

2022-05-04 Thread Jason Merrill via Gcc-patches
There's no reason to call cxx_printable_name_translate here instead of using %D in the format string. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * error.c (cp_print_error_function): Use %qD. (function_category): Use %qD. --- gcc/cp/error.cc | 29

[Bug tree-optimization/105484] New: [12/13 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwp

2022-05-04 Thread zsojka at seznam dot cz via Gcc-bugs
-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220504 (experimental) (GCC)

Re: [ping2][PATCH 0/8][RFC] Support BTF decl_tag and type_tag annotations

2022-05-04 Thread David Faust via Gcc-patches
On 5/3/22 15:32, Joseph Myers wrote: On Mon, 2 May 2022, David Faust via Gcc-patches wrote: Consider the following example: #define __typetag1 __attribute__((btf_type_tag("tag1"))) #define __typetag2 __attribute__((btf_type_tag("tag2"))) #define __typetag3

Re: [PATCH] Add a restriction on allocate clause (OpenMP 5.0)

2022-05-04 Thread Jakub Jelinek via Gcc-patches
On Fri, Feb 18, 2022 at 11:13:16PM +, Hafiz Abid Qadeer wrote: > An allocate clause in target region must specify an allocator > unless the compilation unit has requires construct with > dynamic_allocators clause. Current implementation of the allocate > clause did not check for this

Re: [Patch] OpenMP: Fix use_device_{addr,ptr} with in-data-sharing arg

2022-05-04 Thread Tobias Burnus
Hi Jakub, On 04.05.22 14:03, Jakub Jelinek wrote: On Wed, Apr 20, 2022 at 03:19:38PM +0200, Tobias Burnus wrote: --- a/gcc/omp-low.cc +++ b/gcc/omp-low.cc @@ -13656,26 +13656,30 @@ lower_omp_target (gimple_stmt_iterator *gsi_p, omp_context *ctx) new_var = lookup_decl (var, ctx);

Re: libgomp/plugin/plugin-gcn.c: Use -foffload-options= in err msg

2022-05-04 Thread Jakub Jelinek via Gcc-patches
On Wed, May 04, 2022 at 06:16:14PM +0200, Tobias Burnus wrote: > See also https://gcc.gnu.org/gcc-12/changes.html#languages and > https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-foffload > > -foffload= was never officially documented, albeit most users will > have encountered it.

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-05-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 --- Comment #10 from Jakub Jelinek --- Thanks and sorry.

[Bug c++/105476] ICE in build_deduction_guide since r10-4719-g9b41ebbcdf9e3328

2022-05-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105476 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #6 from

[Bug c++/105483] New: injected-class-name and constructors diagnostic

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483 Bug ID: 105483 Summary: injected-class-name and constructors diagnostic Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/105440] c++20: std::string's destructor not a constant expression when it should

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

libgomp/plugin/plugin-gcn.c: Use -foffload-options= in err msg

2022-05-04 Thread Tobias Burnus
See also https://gcc.gnu.org/gcc-12/changes.html#languages and https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-foffload -foffload= was never officially documented, albeit most users will have encountered it. Since GCC 12 it is - but the -foffload=- part is officially only handled

[Bug c++/96765] Base class constructor cast to derived should cause a warning

2022-05-04 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96765 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

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

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:79a1a01cbd0e4a491d7078783131e3f88ca7158d commit r13-115-g79a1a01cbd0e4a491d7078783131e3f88ca7158d Author: Marek Polacek Date:

[Bug libstdc++/104719] Use of `std::move` in libstdc++ leads to worsened debug performance

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104719 --- Comment #18 from Jonathan Wakely --- No.

Re: [PATCH] c++: parse error with >= in template argument list [PR105436]

2022-05-04 Thread Jason Merrill via Gcc-patches
On 5/4/22 11:15, Marek Polacek wrote: On Tue, May 03, 2022 at 04:46:11PM -0400, Jason Merrill wrote: On 5/3/22 16:43, Jakub Jelinek wrote: On Tue, May 03, 2022 at 04:26:51PM -0400, Jason Merrill wrote: On 5/2/22 12:19, Marek Polacek wrote: This patch fixes an oversight whereby we treated >=

Re: [PATCH] OpenMP, libgomp: Environment variable syntax extension.

2022-05-04 Thread Tobias Burnus
On 04.05.22 17:12, Jakub Jelinek via Gcc-patches wrote: Though, there is one gotcha, if we had code where we parsed some var first and another one later and there was interdependence between the two, in environ they can appear in any order. I think for interdependence it depends whether in a

[Bug libstdc++/104719] Use of `std::move` in libstdc++ leads to worsened debug performance

2022-05-04 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104719 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #17

[Bug libstdc++/104719] Use of `std::move` in libstdc++ leads to worsened debug performance

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104719 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:22399ad6edcd4a2903b05196b59eec3159ceaa38 commit r13-114-g22399ad6edcd4a2903b05196b59eec3159ceaa38 Author: Jonathan Wakely

[Bug libstdc++/104719] Use of `std::move` in libstdc++ leads to worsened debug performance

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104719 --- Comment #15 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ef8d5ac08b5e60f35c52087d88c0235c8ce6b65b commit r13-113-gef8d5ac08b5e60f35c52087d88c0235c8ce6b65b Author: Jonathan Wakely

[Bug c++/105470] ranged for loop whitespace parsing

2022-05-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #12 from Jonathan Wakely --- (In reply to Roland Hughes from comment #10) > There is no definition of that map anywhere in the codebase where > KeyModifiers is declared const. That's just how std::map works. std::map::value_type

Re: [PATCH] c++: parse error with >= in template argument list [PR105436]

2022-05-04 Thread Marek Polacek via Gcc-patches
On Tue, May 03, 2022 at 04:46:11PM -0400, Jason Merrill wrote: > On 5/3/22 16:43, Jakub Jelinek wrote: > > On Tue, May 03, 2022 at 04:26:51PM -0400, Jason Merrill wrote: > > > On 5/2/22 12:19, Marek Polacek wrote: > > > > This patch fixes an oversight whereby we treated >= as the end of > > > > a

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 Marek Polacek changed: What|Removed |Added CC||pdimov at gmail dot com --- Comment #7

[Bug c++/105482] Regression with `>=` in a template argument

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105482 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH] OpenMP, libgomp: Environment variable syntax extension.

2022-05-04 Thread Jakub Jelinek via Gcc-patches
On Tue, Jan 18, 2022 at 05:10:47PM +0100, Marcel Vollweiler wrote: > Hi, > > This patch considers the environment variable syntax extension for > device-specific variants of environment variables from OpenMP 5.1 (see > OpenMP 5.1 specification, p. 75 and p. 639). An environment variable > (e.g.

[Bug c++/105482] New: Regression with `>=` in a template argument

2022-05-04 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105482 Bug ID: 105482 Summary: Regression with `>=` in a template argument Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug modula2/105410] gm2 doesn't always honor -save-temps

2022-05-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105410 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH] lto-plugin: add support for feature detection

2022-05-04 Thread Bernhard Reutner-Fischer via Gcc-patches
On Wed, 4 May 2022 15:31:32 +0200 Martin Liška wrote: > On 5/4/22 15:10, Alexander Monakov wrote: > > On Wed, 4 May 2022, Martin Liška wrote: > > > >> On 5/4/22 14:32, Alexander Monakov wrote: > >>> On Wed, 4 May 2022, Martin Liška wrote: > >>> > The patch is a follow-up of the

[Bug c++/105481] [9/10/11/12/13 Regression] ICE: unexpected expression of kind template_parm_index

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105481] [9/10/11/12/13 Regression] ICE: unexpected expression of kind template_parm_index

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug c++/105481] New: ICE: unexpected expression of kind template_parm_index

2022-05-04 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 Bug ID: 105481 Summary: ICE: unexpected expression of kind template_parm_index Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

New Spanish PO file for 'cpplib' (version 12.1-b20220213)

2022-05-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 Spanish team of translators. The file is available at: https://translationproject.org/latest/cpplib/es.po (This file,

Contents of PO file 'cpplib-12.1-b20220213.es.po'

2022-05-04 Thread Translation Project Robot
cpplib-12.1-b20220213.es.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

[Bug c++/105470] ranged for loop whitespace parsing

2022-05-04 Thread roland at logikalsolutions dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #11 from Roland Hughes --- (In reply to Marek Polacek from comment #9) > (In reply to Roland Hughes from comment #8) > > (In reply to Marek Polacek from comment #1) > > > Can you please provide a stand-alone test case? > > > > I

New Spanish PO file for 'cpplib' (version 12.1-b20220213)

2022-05-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 Spanish team of translators. The file is available at: https://translationproject.org/latest/cpplib/es.po (This file,

Contents of PO file 'cpplib-12.1-b20220213.es.po'

2022-05-04 Thread Translation Project Robot
cpplib-12.1-b20220213.es.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

[Bug c++/105470] ranged for loop whitespace parsing

2022-05-04 Thread roland at logikalsolutions dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #10 from Roland Hughes --- (In reply to Marek Polacek from comment #1) > > The warning is completely correct, and the code should be fixed. > > for ( const std::pair : someMap ) > > This iterates over a map, with values of type:

[Bug c++/105470] ranged for loop whitespace parsing

2022-05-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #9 from Marek Polacek --- (In reply to Roland Hughes from comment #8) > (In reply to Marek Polacek from comment #1) > > Can you please provide a stand-alone test case? > > I will work on this over the weekend. Looks like that's

[Bug c++/105470] ranged for loop whitespace parsing

2022-05-04 Thread roland at logikalsolutions dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #8 from Roland Hughes --- (In reply to Marek Polacek from comment #1) > Can you please provide a stand-alone test case? I will work on this over the weekend.

Re: [AArch64] PR105162: emit barrier for __sync and __atomic builtins on CPUs without LSE

2022-05-04 Thread Pop, Sebastian via Gcc-patches
> Yes this looks good to me (still needs maintainer approval). Thanks again Wilco for your review. > One minor nitpick, > a few of the tests check for __aarch64_cas2 - this should be > __aarch64_cas2_sync. Fixed in the attached patch. > Note the patch still needs an appropriate commit

[Bug target/105480] Vectorized `isnan` appears to trigger FPE on ppc64le

2022-05-04 Thread sebastian-gcc at sipsolutions dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105480 --- Comment #1 from seberg --- Actually, I think I likely misanalyzed, the actual code in question where I found this was doing something like: while (n--) { if (isnan(*input)) { *out = 1; } else { *out =

Re: [PATCH][pushed] Remove dead code.

2022-05-04 Thread Martin Liška
On 5/4/22 15:20, Andreas Schwab wrote: > On Mai 04 2022, Martin Liška wrote: > >> diff --git a/gcc/gengtype-state.cc b/gcc/gengtype-state.cc >> index ea566af3249..dfd9ea52785 100644 >> --- a/gcc/gengtype-state.cc >> +++ b/gcc/gengtype-state.cc >> @@ -473,43 +473,43 @@ read_a_state_token (void) >>

[PATCH] c++: ICE during aggr CTAD for member tmpl [PR105476]

2022-05-04 Thread Patrick Palka via Gcc-patches
Here we're crashing from maybe_aggr_guide ultimately because processing_template_decl isn't set when partially instantiating the guide's parameter list. This causes us to prematurely force completion of the dependent type Visitor_functior, which fails and results in an unexpected error_mark_node.

[pushed] c++: Remove cdtor_label

2022-05-04 Thread Jason Merrill via Gcc-patches
Jakub pointed out that cdtor_label is unnecessary, we should get all the desired semantics with a normal return. Tested x86_64-pc-linux-gnu and arm-eabi//arm-sim, applying to trunk. gcc/cp/ChangeLog: * cp-tree.h (struct language_function): Remove x_cdtor_label. (cdtor_label,

Re: [PATCH] gimple-isel: handle x CMP y ? z : 0

2022-05-04 Thread Richard Earnshaw via Gcc-patches
On 04/05/2022 12:14, Richard Biener wrote: On Wed, May 4, 2022 at 12:16 PM Richard Earnshaw via Gcc-patches wrote: Gimple isel already handles x CMP y ? -1 : 0 when lowering vector cond operations, but this can be generalized further when the comparison forms a natural mask so that we can

Re: [PATCH] lto-plugin: add support for feature detection

2022-05-04 Thread Martin Liška
On 5/4/22 15:10, Alexander Monakov wrote: > On Wed, 4 May 2022, Martin Liška wrote: > >> On 5/4/22 14:32, Alexander Monakov wrote: >>> On Wed, 4 May 2022, Martin Liška wrote: >>> The patch is a follow-up of the discussion we've got in:

Re: [PATCH][pushed] Remove dead code.

2022-05-04 Thread Andreas Schwab
On Mai 04 2022, Martin Liška wrote: > diff --git a/gcc/gengtype-state.cc b/gcc/gengtype-state.cc > index ea566af3249..dfd9ea52785 100644 > --- a/gcc/gengtype-state.cc > +++ b/gcc/gengtype-state.cc > @@ -473,43 +473,43 @@ read_a_state_token (void) > { > case 'a': >

[Bug modula2/101392] cc1gm2 -fdump-system-exports SEGV on Solaris/SPARC

2022-05-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101392 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Gaius Mulley --- > I've just git pushed a fix to assign main_input_filename before each > compilation. Tested on Debian/amd64 which passed with no regression

[Bug tree-optimization/104658] Inefficient vectorization using mask CTORs

2022-05-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104658 Richard Biener changed: What|Removed |Added Known to work||13.0 Status|ASSIGNED

[Bug target/105480] New: Vectorized `isnan` appears to trigger FPE on ppc64le

2022-05-04 Thread sebastian-gcc at sipsolutions dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105480 Bug ID: 105480 Summary: Vectorized `isnan` appears to trigger FPE on ppc64le Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2022-05-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 Richard Biener changed: What|Removed |Added Known to work||13.0 --- Comment #8 from Richard

[Bug tree-optimization/104658] Inefficient vectorization using mask CTORs

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104658 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:eca04dc8555f5fae462fbd16386da9aaf38a0711 commit r13-111-geca04dc8555f5fae462fbd16386da9aaf38a0711 Author: Richard Biener Date:

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2022-05-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:52b7b86f8c72eb19e637f1e72ffd10f39b8cb829 commit r13-110-g52b7b86f8c72eb19e637f1e72ffd10f39b8cb829 Author: Richard Biener Date:

Re: [PATCH] tree-optimization/103116 - SLP permutes and peeling for gaps

2022-05-04 Thread Richard Biener via Gcc-patches
On Wed, 4 May 2022, Richard Sandiford wrote: > Richard Biener writes: > > The testcase shows that we can end up with a contiguous access across > > loop iterations but by means of permutations the elements accessed > > might only cover parts of a vector. In this case we end up with > >

Re: [PATCH] lto-plugin: add support for feature detection

2022-05-04 Thread Alexander Monakov
On Wed, 4 May 2022, Martin Liška wrote: > On 5/4/22 14:32, Alexander Monakov wrote: > > On Wed, 4 May 2022, Martin Liška wrote: > > > >> The patch is a follow-up of the discussion we've got in: > >> https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593901.html > >> > >> Mold linker would

Re: [PATCH] tree-optimization/103116 - SLP permutes and peeling for gaps

2022-05-04 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The testcase shows that we can end up with a contiguous access across > loop iterations but by means of permutations the elements accessed > might only cover parts of a vector. In this case we end up with > GROUP_GAP == 0 but still need to avoid accessing excess elements

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2022-05-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 --- Comment #6 from rguenther at suse dot de --- On Wed, 4 May 2022, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 > > --- Comment #5 from rsandifo at gcc dot gnu.org > --- > (In reply to Richard

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2022-05-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 --- Comment #5 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > We could make peeling for gaps handle this by making it not a flag but > indicate the number of vector(!?) iterations we need to peel. I think

  1   2   >