Re: reorg.c (fill_slots_from_thread): Reinstate code typoed out in "Remove CC0".

2021-05-15 Thread Segher Boessenkool
Hi! On Sat, May 15, 2021 at 08:41:32PM +0200, Hans-Peter Nilsson wrote: > The typo here, is obviously mistaken removal of lines next > to a line that was validly removed. Targets affected are > those with a delay-slot *and* defining TARGET_FLAGS_REGNUM. > In-tree, a git-grep says the only ones

[PATCH v3] bpf.2: Use standard types and attributes

2021-05-15 Thread Alejandro Colomar via Gcc-patches
Some manual pages are already using C99 syntax for integral types 'uint32_t', but some aren't. There are some using kernel syntax '__u32'. Fix those. Both the kernel and the standard types are 100% binary compatible, and the source code differences between them are very small, and not important

Re: [PATCH 1/4] rs6000: Add -mrop-protect and -mprivileged flags

2021-05-15 Thread Bill Schmidt via Gcc-patches
Series pushed with recommended changes.  Thank you! Bill On 5/14/21 10:55 AM, Segher Boessenkool wrote: On Thu, May 13, 2021 at 10:34:54PM -0500, Bill Schmidt via Gcc-patches wrote: +mprivileged +Target Var(rs6000_privileged) Init(0) +Enable generation of instructions that require privileged

doc/tm.texi.in (Condition Code): Tweak post-cc0 wording.

2021-05-15 Thread Hans-Peter Nilsson via Gcc-patches
Ok to commit? When eyeballing the r12-440 / bd1cd0d0e0fe / "Remove CC0" commit, I noticed parts that could be improved. Regarding the first change: at first I thought that just removing the word "better" was the best choice, as the compared part (cc0) was apparently removed, but the paragraph

reorg.c (fill_slots_from_thread): Reinstate code typoed out in "Remove CC0".

2021-05-15 Thread Hans-Peter Nilsson via Gcc-patches
Committed as obvious. The typo here, is obviously mistaken removal of lines next to a line that was validly removed. Targets affected are those with a delay-slot *and* defining TARGET_FLAGS_REGNUM. In-tree, a git-grep says the only ones matching are CRIS, h8300 and visium. The code removal has

Re: [PATCH] phiopt: Optimize (x <=> y) cmp z [PR94589]

2021-05-15 Thread Marc Glisse
On Fri, 14 May 2021, Jakub Jelinek via Gcc-patches wrote: On Thu, May 06, 2021 at 09:42:41PM +0200, Marc Glisse wrote: We can probably do it in 2 steps, first something like (for cmp (eq ne) (simplify (cmp (bit_and:c @0 @1) @0) (cmp (@0 (bit_not! @1)) { build_zero_cst (TREE_TYPE (@0));

Re: [PATCH] tree-sra: Avoid refreshing into const base decls (PR 100453)

2021-05-15 Thread Martin Jambor
Hi, On Fri, May 14 2021, Eric Botcazou wrote: >> Looks like this caused: >> >> === acats tests === >> FAIL: c41325a >> FAIL: c45347d >> FAIL: c74402a >> FAIL: c95085m >> FAIL: cc3601a >> >> === gnat tests === >> >> FAIL: gnat.dg/addr12.adb (test for