[testsuite]: Skip tests for targets with int < 32 bits

Georg-Johann Lay avr@gjlay.de
Mon Jun 13 18:40:00 GMT 2011


Mike Stump schrieb:
> On Jun 9, 2011, at 9:27 AM, Georg-Johann Lay wrote:
> 
>>This patch fixes testsuite failures because the testcases assume
>>sizeof(int) >= 4.
>>
>>	* gcc.c-torture/compile/pr49029.c: Add dg-require-effective-target
>>	int32plus
>>	* gcc.c-torture/compile/pr49163.c: Ditto.
> 
> 
> Well, since no one objected to it, I'll approve it.  I was hoping that a specific maintainer would approve or reject it.  :-(

Who is a "specific maintainer" here?
I found you (and Rainer Orth) as "testsuite" maintainers.
Or does that just refer to the test harness and not to specific test cases?

I CCed Kaz and Jakub because they added respective test cases.

Then I observed that
/* { dg-require-effective-target int32plus } */
does not work as intended for all test cases.

For exammple, I added this line to, e.g.
* gcc.c-torture/execute/cmpsi-2.c
* gcc.c-torture/execute/pr45262.c
in trunk r172757
http://gcc.gnu.org/viewcvs?view=revision&revision=172757

However, these tests are still executed as you can see in 
gcc-testresults for trunk r174959:
http://gcc.gnu.org/ml/gcc-testresults/2011-06/msg01429.html

Is this a bug resp. worth a bug report?

Johann



More information about the Gcc-patches mailing list