aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-12-18 17:27:03 +0000
committerPhilip Herron <herron.philip@googlemail.com>2020-12-19 19:33:03 +0000
commit671cefe61254bedd4a9f526f8912fe68368cbe72 (patch)
tree305dcbbfb8e5e8336dafd02699f8a4f87c19df27 /gcc/loop-init.c
parent3a10d1f15969f94c3d3bc836db1d75dd0f914aa9 (diff)
downloadgcc-671cefe61254bedd4a9f526f8912fe68368cbe72.zip
gcc-671cefe61254bedd4a9f526f8912fe68368cbe72.tar.gz
gcc-671cefe61254bedd4a9f526f8912fe68368cbe72.tar.bz2
When compiling a block it might reference a GIMPLE node that is not
resolved yet. Such as: fn main() -> i32 { call() } fn call() -> i32 { return 1; } The compilation pass acts on the first function main and detects the other node call is not compiled yet we can go resolve it. This is a toplevel item since it has a local_def_id and therefore it has a NULL enclosing scope for the block. Fixes #72
Diffstat (limited to 'gcc/loop-init.c')
0 files changed, 0 insertions, 0 deletions