Re: [PATCH] sh-linux fix target cpu

2022-01-30 Thread Oleg Endo
On Fri, 2022-01-28 at 15:18 -0700, Jeff Law via Gcc-patches wrote: > > On 1/12/2022 2:02 AM, Yoshinori Sato wrote: > > sh-linux not supported any SH1 and SH2a little-endian. > > Add exceptios it. > > > > gcc/ChangeLog: > > > > * config/sh/t-linux (MULTILIB_EXCEPTIONS): Add m1, mb/m1 and

[PATCH] libgccjit: Add support for setting the alignment [PR104293]

2022-01-30 Thread Antoni Boucher via Gcc-patches
Hi. This patch adds support for setting the alignment of variables in libgccjit. I was wondering if I should change it so that it takes/returns bytes instead of bits. What do you think? Thanks for the review. From ebdb6905f23ddef28292a1d71081eebb7a2a9bb9 Mon Sep 17 00:00:00 2001 From: Antoni

[PATCH] fold-const: do not fold 'inf/inf' with -ftrapping-math [PR95115]

2022-01-30 Thread Xi Ruoyao via Gcc-patches
'inf/inf' should raise an invalid operation exception at runtime. So it should not be folded during compilation unless -fno-trapping-math is used. gcc/ PR middle-end/95115 * fold-const.cc (const_binop): Do not fold "inf/inf". gcc/testsuite * gcc.dg/pr95115.c: New test.

Re: [PATCH] libstdc++ testsuite: Don't run lwg3464.cc tests on simulators to 20

2022-01-30 Thread Hans-Peter Nilsson via Gcc-patches
> From: Jonathan Wakely > Date: Sun, 30 Jan 2022 18:06:28 +0100 > On Sun, 30 Jan 2022 at 16:54, Hans-Peter Nilsson wrote: > > > From: Jonathan Wakely > > > But there is nothing target-specific in that code, so it > > > should be fine to disable them for simulators. They're > > > already

Re: [PATCH] libstdc++ testsuite: Don't run lwg3464.cc tests on simulators to 20

2022-01-30 Thread Jonathan Wakely via Gcc-patches
On Sun, 30 Jan 2022 at 16:54, Hans-Peter Nilsson wrote: > > (I had to add separation between your reply and mine in the > quoted parts; you may be aware.) > > > From: Jonathan Wakely > > Date: Sun, 30 Jan 2022 09:32:08 +0100 > > On Sun, 30 Jan 2022, 01:37 Hans-Peter Nilsson via Libstdc++, > >

[PATCH] libstdc++ testsuite: Don't run lwg3464.cc tests on simulators to 20

2022-01-30 Thread Hans-Peter Nilsson via Gcc-patches
(I had to add separation between your reply and mine in the quoted parts; you may be aware.) > From: Jonathan Wakely > Date: Sun, 30 Jan 2022 09:32:08 +0100 > On Sun, 30 Jan 2022, 01:37 Hans-Peter Nilsson via Libstdc++, > mailto:libstdc%2b...@gcc.gnu.org>> wrote: > > These tests have always

Re: [EXTERNAL] [PATCH] testsuite: Fix up tree-ssa/pr103514.c testcase [PR103514]

2022-01-30 Thread Navid Rahimi via Gcc-patches
Thanks Jakob for the correction. Sadly, I didn’t have any access to any non x86 architecture. But x86 was fully tested and there was no regression. In my spare time I will look at implementation of this for short-circuit targets. Best wishes, Navid. From: Jakub

Re: [PATCH] libstdc++ testsuite: Increase lwg3464.cc timeout factors to 20

2022-01-30 Thread Jonathan Wakely via Gcc-patches
On Sun, 30 Jan 2022, 01:37 Hans-Peter Nilsson via Libstdc++, < libstd...@gcc.gnu.org> wrote: > These tests have always been failing for my cris-elf > autotester running a simulator; they take about 20 minutes > each, compared to the timeout of 720 seconds, doubled > because they timed out in