aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-11 10:39:24 +0000
committerGitHub <noreply@github.com>2022-03-11 10:39:24 +0000
commit6e64e6636ef823ac97ad889b71bb792fbe510580 (patch)
treedb037a7c8b9ae6870c6b7582bdddf022615d1921
parentdbe59a3198495c760c019369c9a272fb63059e51 (diff)
parenta1b065050ba0e19f42d11046e70b1edae33f71e8 (diff)
parent894e9d29adadc13e9841f43df32a07939480846d (diff)
downloadgcc-6e64e6636ef823ac97ad889b71bb792fbe510580.zip
gcc-6e64e6636ef823ac97ad889b71bb792fbe510580.tar.gz
gcc-6e64e6636ef823ac97ad889b71bb792fbe510580.tar.bz2
Merge #1008 #1009
1008: Add const_ptr lang item mappings r=philberty a=philberty In order to support slices, we need to be able to parse and contain mappings for the const_ptr lang item. We do not need to do any special handling of this lang item yet but this adds the mappings so when we hit it we do not output an unknown lang item error. Addresses #849 1009: Add missing type resolution to slices and arrays r=philberty a=philberty This adds in the missing type resolution for slices and generic slices and arrays. Since Arrays and Slices are both covariant types just like references and pointers for example they need to handle recursive substitutions where their element type might be a generic type that can bind substitution parameters such as functions and ADT's. Addresses #849 Co-authored-by: Philip Herron <philip.herron@embecosm.com>