This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Kai Tietz" <ktietz70 at googlemail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Apr 2008 11:05:52 -0700
- Subject: Re: [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c
- References: <90baa01f0804301055y49d9449aufcb7125a69cff275@mail.gmail.com>
On Wed, Apr 30, 2008 at 10:55 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hi HJ,
>
> it seems that you fix inverted the intention of my initial patch.
> The check for this warning should be done for target x86_64-*-mingw*,
^^^^^^^^^^^^^^^^
> but as you wrote
> ...
> /* { dg-error "too large" "" { target { { ! lp64 } || x86_64-*-mingw*
> } } 6 } */
> ...
> it checks it always for this target :)
My patch expects an error for x86_64-*-mingw*. Did you mean that
there this warning should NOT be done for target x86_64-*-mingw*?
If it is true, you should replace || with &&.
>
> Something like
> /* { dg-error "too large" "" { target { { ! lp64 } { !
> x86_64-*-mingw* } } } 6 } */
>
> would be more correct. I am uncertain if the shoud be a && between,
> but as far as I remember it is not necessary.
I think that is the exact bug my patch fixed.
H.J.
> Cheers,
> Kai
> --
> | (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>