This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]