[Bug tree-optimization/50029] nowrap_type_p encounters void TREE_TYPE

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 9 16:14:00 GMT 2011


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-09 16:13:53 UTC ---
>if TREE_CODE (base) == SSA_NAME, the TREE_TYPE (base) is void, which can
introduce segfault.

No, the TREE_TYPE of a SSA_NAME should be correct.  I think you need to debug
why you have a NULL TREE_TYPE here.



More information about the Gcc-bugs mailing list