aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-02-27 06:34:23 -0800
committerNathan Sidwell <nathan@acm.org>2020-02-27 06:34:23 -0800
commitda5f369df6dc500183737e251eb19d91f899b92d (patch)
tree8a092dec50f1b1a78e0ef7516058c9e0d8a1b0b0 /gcc/tree-ssa-alias.c
parente94f2542305ccb5c4a3c4e5e8212713747623417 (diff)
downloadgcc-da5f369df6dc500183737e251eb19d91f899b92d.zip
gcc-da5f369df6dc500183737e251eb19d91f899b92d.tar.gz
gcc-da5f369df6dc500183737e251eb19d91f899b92d.tar.bz2
Fix broken type comparison assert
In implementing Jason's suggested direction for 93933, the compiler exploded in a surprising way. Turns out an assert had been passing NULLS to comptypes, and therefore not checking what it intended. Further comptypes, could silently accept such nulls under most circumstances. * class.c (adjust_clone_args): Correct arg-checking assert. * typeck.c (comptypes): Assert not nulls.
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions