This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50029] nowrap_type_p encounters void TREE_TYPE
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 9 Aug 2011 16:14:09 +0000
- Subject: [Bug tree-optimization/50029] nowrap_type_p encounters void TREE_TYPE
- Auto-submitted: auto-generated
- References: <bug-50029-4@http.gcc.gnu.org/bugzilla/>
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.