On 27/06/2013 16:02, Mikael Pettersson wrote:
Paulo Matos writes:
That explains why GCC removes the condition but the main issue of the memset
recursion still stands.
Known problem. See GCC PR56888.
Thanks for the reference Mikael, that's exactly it.
--
Paulo Matos
Paulo Matos writes:
> That explains why GCC removes the condition but the main issue of the memset
> recursion still stands.
Known problem. See GCC PR56888.
> -Original Message-
> From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Paulo
> Matos
> Sent: 27 June 2013 15:02
> To: gcc@gcc.gnu.org
> Subject: RE: Infinite recursion due to builtin pattern detection
>
>
> Let me add that one of the
> -Original Message-
> From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Paulo
> Matos
> Sent: 27 June 2013 14:52
> To: gcc@gcc.gnu.org
> Subject: Infinite recursion due to builtin pattern detection
>
> Another thing I cannot grasp is that
Hi,
I have noticed an interesting behaviour based on the memset builtin test on
4.8.1. If you compile memset-lib.i with -O3 you get an infinite recursion.
$ cat memset-lib.i
# 1
"/home/pmatos/work/fp_gcc-25x/gcc/testsuite/gcc.c-torture/execute/builtins/memset-lib.c"
# 1 ""
# 1
"/home/pmatos/wor