Re: Usage of sizeof in testsuite/g++.dg/cpp0x/rv[1..8]p.C

2010-08-12 Thread Ian Lance Taylor
Uros Bizjak writes: > A problem arises with the code in testsuite/g++.dg/cpp0x/rv[1..8]p.C. > These tests use "sizeof(..character array...) == ", but sizeof char > array depends heavily on the value of #define STRUCTURE_SIZE_BOUNDARY. > Targets that define this value to i.e. 32 (for performance r

Usage of sizeof in testsuite/g++.dg/cpp0x/rv[1..8]p.C

2010-08-10 Thread Uros Bizjak
Hello! A problem arises with the code in testsuite/g++.dg/cpp0x/rv[1..8]p.C. These tests use "sizeof(..character array...) == ", but sizeof char array depends heavily on the value of #define STRUCTURE_SIZE_BOUNDARY. Targets that define this value to i.e. 32 (for performance reasons, instead of def