* [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c
@ 2008-04-30 20:12 Kai Tietz
2008-04-30 20:20 ` H.J. Lu
0 siblings, 1 reply; 3+ messages in thread
From: Kai Tietz @ 2008-04-30 20:12 UTC (permalink / raw)
To: H.J. Lu; +Cc: GCC Patches
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 :)
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.
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c
2008-04-30 20:12 [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c Kai Tietz
@ 2008-04-30 20:20 ` H.J. Lu
2008-04-30 21:26 ` Kai Tietz
0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2008-04-30 20:20 UTC (permalink / raw)
To: Kai Tietz; +Cc: GCC Patches
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c
2008-04-30 20:20 ` H.J. Lu
@ 2008-04-30 21:26 ` Kai Tietz
0 siblings, 0 replies; 3+ messages in thread
From: Kai Tietz @ 2008-04-30 21:26 UTC (permalink / raw)
To: H.J. Lu; +Cc: GCC Patches
2008/4/30 H.J. Lu <hjl.tools@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 &&.
Exactly, this is the point. There is no warning for x86_64-*-mingw*
>
> >
> > 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.
>
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-30 19:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 20:12 [patch testsuite]: gcc.dg/large-size-array-2.c and larget-array-4.c Kai Tietz
2008-04-30 20:20 ` H.J. Lu
2008-04-30 21:26 ` Kai Tietz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).