PR target/71080
* config/i386/i386.c (ix86_in_large_data_p): Guard against NULL exp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236196
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-05-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR target/71080
+ * config/i386/i386.c (ix86_in_large_data_p): Guard against NULL exp.
+
2016-05-13 Eric Botcazou <ebotcazou@adacore.com>
* builtins.c (expand_builtin_memcmp): Do not emit the call here.
if (ix86_cmodel != CM_MEDIUM && ix86_cmodel != CM_MEDIUM_PIC)
return false;
+ if (exp == NULL_TREE)
+ return false;
+
/* Functions are never large data. */
if (TREE_CODE (exp) == FUNCTION_DECL)
return false;