[PATCH] PR c++/39751: ICE-on-invalid parsing regression.

2022-02-26 Thread Roger Sayle
This is a fix for PR c++/39751 which is an ICE-on-invalid regression in the C++ parser after encountering the end of file. The one line change is to check that the tokens cached in DECL_PENDING_INLINE_INFO haven't been purged before processing them in cp_parser_late_parsing_for_member. Alas in a

New French PO file for 'gcc' (version 12.1-b20220213)

2022-02-26 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the French team of translators. The file is available at: https://translationproject.org/latest/gcc/fr.po (This file, 'gcc-12.1-b20220213.fr.po',

[PATCH] PR middle-end/95126: Expand small const structs as immediate constants.

2022-02-26 Thread Roger Sayle
This patch resolves PR middle-end/95126 which is a code quality regression, by teaching the RTL expander to emit small const structs/unions as integer immediate constants. The motivating example from the bugzilla PR is: struct small{ short a,b; signed char c; }; extern int func(struct small X);

Re: [pushed] LRA, rs6000, Darwin: Amend lo_sum use for forced constants [PR104117].

2022-02-26 Thread Segher Boessenkool
Hi Iain, On Thu, Feb 24, 2022 at 04:02:30PM +, Iain Sandoe wrote: > > On 22 Feb 2022, at 14:44, Vladimir Makarov wrote: > > On 2022-02-20 12:34, Iain Sandoe wrote: > >> > >> ^^^ this is mostly for my education - the stuff below is a potential > >> solution to leaving lra-constraints unchang