http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009

--- Comment #8 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
(In reply to Kostya Serebryany from comment #7)
> Is this fixed by  http://gcc.gnu.org/viewcvs?rev=204726&root=gcc&view=rev ?

I just tried r204726 on powerpc64-linux and it's failing as follows now.

In file included from
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:17:0:
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:247:72:
error: size of array ‘assertion_failed__869’ is negative
     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                                        ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:241:30:
note: in expansion of macro ‘IMPL_COMPILER_ASSERT’
 #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                              ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:739:3:
note: in expansion of macro ‘COMPILER_CHECK’
   COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
   ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:869:1:
note: in expansion of macro ‘CHECK_TYPE_SIZE’
 CHECK_TYPE_SIZE(__kernel_old_uid_t);
 ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:247:72:
error: size of array ‘assertion_failed__870’ is negative
     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                                        ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:241:30:
note: in expansion of macro ‘IMPL_COMPILER_ASSERT’
 #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                              ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:739:3:
note: in expansion of macro ‘COMPILER_CHECK’
   COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
   ^
/home/pthaugen/src/gcc/trunk/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:870:1:
note: in expansion of macro ‘CHECK_TYPE_SIZE’
 CHECK_TYPE_SIZE(__kernel_old_gid_t);
 ^
make: *** [sanitizer_platform_limits_posix.lo] Error 1

Reply via email to