aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-11-30 22:59:20 +0000
committerPhilip Herron <herron.philip@googlemail.com>2020-12-01 17:50:50 +0000
commit886b230d42e4a326e24f029e673ad1591159f7ad (patch)
tree323140e2d4794300b65c7a09eed2e63d35d36cbc /gcc/gimplify.c
parent37560f930d8068c1241fa1d5db9030b4287c3e66 (diff)
downloadgcc-886b230d42e4a326e24f029e673ad1591159f7ad.zip
gcc-886b230d42e4a326e24f029e673ad1591159f7ad.tar.gz
gcc-886b230d42e4a326e24f029e673ad1591159f7ad.tar.bz2
Add Type resolution to Array expressions
This adds type inferencing and validation for arrays such as: let x: [i32, 5] = [1,2,3,4,5] ley y = [1,2,3]; It checks that each element is of a valid type and they line up correctly. There needs to be some refactoring of the type resolution to handle the array index expressions so this is a good save point for now. Addresses: #27 #55
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions