https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124401

--- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> ---
Comparing the dumps for pointer-counted-by-bounds-124230.c, I find an
unexpected difference between the i386 and sparc versions:

   setup (10);
   p_array_annotated.12_2 = p_array_annotated;
   _3 = p_array_annotated.12_2->c;
   p_array_annotated.13_4 = p_array_annotated;
   _5 = &p_array_annotated.13_4->b;
-  _1 = .ACCESS_WITH_SIZE (_3, _5, 0B, 1);
+  _1 = .ACCESS_WITH_SIZE (_3, _5, 0B, 4);

Shouldn't the TYPE_SIZE_UNIT arg to ACCESS_WITH_SIZE be 4 (sizeof (int))
in both cases?

Reply via email to