Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Mike Stump
On Feb 23, 2012, at 9:25 AM, Jakub Jelinek wrote: > Anyway, will defer the rest to the testsuite maintainers. Ok.

Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Kai Tietz
2012/2/23 Jakub Jelinek : > On Thu, Feb 23, 2012 at 06:23:39PM +0100, Kai Tietz wrote: >> And the underlying issue is that __extension__ can't be use before >> __SIZE_TYPE__ here. gcc lacks to parse that proper.  You would get > > Then please use > __extension__ typedef __SIZE_TYPE__ size_t; > and

Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Jakub Jelinek
On Thu, Feb 23, 2012 at 06:23:39PM +0100, Kai Tietz wrote: > And the underlying issue is that __extension__ can't be use before > __SIZE_TYPE__ here. gcc lacks to parse that proper. You would get Then please use __extension__ typedef __SIZE_TYPE__ size_t; and use size_t in the prototype. __exten

Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Kai Tietz
2012/2/23 Kai Tietz : > 2012/2/23 Jakub Jelinek : >> Why?  I don't see extensions anywhere.  Or is __SIZE_TYPE__ on mingw >> long long and requires __extension__?  If yes, it should at least go >> right before the argument, but perhaps then it should be already >> in the __SIZE_TYPE__ macro. > > Th

Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Kai Tietz
2012/2/23 Jakub Jelinek : > On Thu, Feb 23, 2012 at 05:56:11PM +0100, Kai Tietz wrote: >> --- gcc.dg/pack-test-5.c      (revision 184486) >> +++ gcc.dg/pack-test-5.c      (working copy) >> @@ -1,6 +1,7 @@ >>  /* PR c/11446: packed on a struct takes precedence over aligned on the type >>     of a fi

Re: [patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Jakub Jelinek
On Thu, Feb 23, 2012 at 05:56:11PM +0100, Kai Tietz wrote: > --- gcc.dg/pack-test-5.c (revision 184486) > +++ gcc.dg/pack-test-5.c (working copy) > @@ -1,6 +1,7 @@ > /* PR c/11446: packed on a struct takes precedence over aligned on the type > of a field. */ > /* { dg-do run } */ >

[patch testsuite]: Adjust some tests of gcc.dg and gcc.c-torture for mingw targets

2012-02-23 Thread Kai Tietz
Hello, this patch corrects some testcases in gcc.dg and gcc.c-torture for x64 and x86 Windows targets. ChangeLog 2012-02-23 Kai Tietz * gcc.dg/pack-test-5.c: Add -mno-ms-bitfields option for mingw-targets. * gcc.dg/Wpadded.c: Likewise. * gcc.dg/bf-ms-layout-2.