RFC: May <inttypes.h> be used by testcases of the C-testsuite?
Björn Haase
bjoern.m.haase@web.de
Thu May 5 17:37:00 GMT 2005
Hi,
brief question:
Would it be ok to make use of inttypes.h in testcases of the C-testsuite?
By replacing, e.g., "int" by "int32_t" where necessary, one could compensate
for the implicit assumption of a hand full of testcases that int is 32 bits
so that they work also for targets where int is 16 bits wide.
IMO doing this would be better than totally skipping these test cases for
targets where int is 16 bits. (This way, I , e.g., already have found a bug
in a patch for the avr port that I have committed recently!)
Comments would be appreciated.
Yours,
Björn
More information about the Gcc
mailing list