[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 13 08:43:48 GMT 2020


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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, either we can set the alignment to (unsigned) INT_MAX + 1 in that case, or
throw the info away.  Doesn't seem to be useful to enlarge ptr_info_def because
of this.  Perhaps the set_ptr_info_alignment could take unsigned HOST_WIDE_INT
argument and do this saturation inside of it.


More information about the Gcc-bugs mailing list