[Bug middle-end/90597] [9/10 Regression] FAIL: gcc.dg/attr-vector_size.c (internal compiler error)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 19 13:25:00 GMT 2019


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is that bitsizetype is just 64-bit on hppa64, and so when calling
layout_type on VECTOR_TYPE with char element type and 0x2000000000000000
nunits, TYPE_SIZE_UNIT is 0x2000000000000000 bytes, while TYPE_SIZE is 0.

So, either we should reject already vectors with bitsize bigger than half of
the address space, or we need to enforce that bitsizetype is actually wide
enough to handle number of address space bits + number of bits in byte, or
default_vector_alignment should treat TYPE_SIZE 0 with non-zero TYPE_SIZE_UNIT
as indication of a huge vector.

hppa64 is neither primary nor secondary target though, so making this P4.


More information about the Gcc-bugs mailing list