diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-10 21:02:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-10 21:02:20 +0000 |
commit | fc917b42658000f0c4dc87f6602336eef899fadf (patch) | |
tree | a86e9441caa7fe457bf8274f297f2267ad7a5f0a /libgcc | |
parent | d480455f2ddc3b89d8547969be9cda939c41da56 (diff) | |
download | gcc-fc917b42658000f0c4dc87f6602336eef899fadf.zip gcc-fc917b42658000f0c4dc87f6602336eef899fadf.tar.gz gcc-fc917b42658000f0c4dc87f6602336eef899fadf.tar.bz2 |
compiler: permit inlining functions with labels and goto statements
This permits inlining functions with for loops and some switches, as
they are lowered to if and goto statements before exporting them.
This by itself only adds three new inlinable functions in the standard
library: sort.Search, context.(*emptyCtx).String, and
cmd/go/internal/work.(*Builder).disableBuildID.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/181197
From-SVN: r272131
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions