[Committed] New testcase

2023-05-09 Thread Andrew Pinski via Gcc-patches
While I was writting a match.pd patch, I can across GCC was being miscompiled but no testcase was failing. So this adds that testcase. Committed after testing on x86_64 with make check-gcc RUNTESTFLAGS="execute.exp=20230509-1.c" gcc/testsuite/ChangeLog: * gcc.c-torture/execute/20230509-1

[PATCH] [Committed] New testcase for C++/71792, bitfields and auto

2021-12-03 Thread apinski--- via Gcc-patches
From: Andrew Pinski This testcase used to fail before GCC 6.4.0 due to the wrong type being used for auto when used with bitfields, the C++ front-end was using the "bitfield" type rather than the underlaying type. Committed the testcase after a quick check. PR c++/71792 gcc/testsuite/C

Re: [Committed] New testcase for conditional move with conditional compares

2014-06-24 Thread pinskia
> On Jun 24, 2014, at 2:08 AM, Kyrill Tkachov wrote: > > >> On 23/06/14 22:12, Andrew Pinski wrote: >> Hi, >> When looking at the current conditional compare patch, I find that >> we don't have a testcase to test that we don't ICE for the case where >> we have conditional compares and condit

Re: [Committed] New testcase for conditional move with conditional compares

2014-06-24 Thread Kyrill Tkachov
On 23/06/14 22:12, Andrew Pinski wrote: Hi, When looking at the current conditional compare patch, I find that we don't have a testcase to test that we don't ICE for the case where we have conditional compares and conditional moves where the moves are of floating point types. This patch adds

[Committed] New testcase for conditional move with conditional compares

2014-06-23 Thread Andrew Pinski
Hi, When looking at the current conditional compare patch, I find that we don't have a testcase to test that we don't ICE for the case where we have conditional compares and conditional moves where the moves are of floating point types. This patch adds that testcase to the C torture compile test