This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53261] [4.8 Regression] ICE in tree_strip_nop_conversions
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 May 2012 15:11:54 +0000
- Subject: [Bug c++/53261] [4.8 Regression] ICE in tree_strip_nop_conversions
- Auto-submitted: auto-generated
- References: <bug-53261-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53261
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-07 15:11:54 UTC ---
In general, build_range_check can return NULL_TREE. Just matter of doing:
if (tem && integer_zerop (tem))
return;
like a few lines below?