aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2016-02-23 11:47:19 +0000
committerMark Wielaard <mark@gcc.gnu.org>2016-02-23 11:47:19 +0000
commit261e741f643fd6626cb9161e472628f300fd76ac (patch)
tree7bef3c40118e7118a920fbe40b6b0f6bfca1a63f /gcc/common.opt
parent20c5e09e3f0d681a4f82acd01fd4c91816f7d21e (diff)
downloadgcc-261e741f643fd6626cb9161e472628f300fd76ac.zip
gcc-261e741f643fd6626cb9161e472628f300fd76ac.tar.gz
gcc-261e741f643fd6626cb9161e472628f300fd76ac.tar.bz2
PR c/69911 Check main_input_filename and DECL_SOURCE_FILE are not NULL.
DECL_SOURCE_FILE can be NULL (for example when DECL_ARTIFICIAL). So make sure to check before comparing against main_input_filename. gcc/ChangeLog PR c/69911 * cgraphunit.c (check_global_declaration): Check main_input_filename and DECL_SOURCE_FILE are not NULL. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r233627
Diffstat (limited to 'gcc/common.opt')
0 files changed, 0 insertions, 0 deletions