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 } */ +/* {

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 ja...@redhat.com: 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    

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 ktiet...@googlemail.com: 2012/2/23 Jakub Jelinek ja...@redhat.com: 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

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.

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 ja...@redhat.com: 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__

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.