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.