aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-09-14 15:36:44 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-09-14 15:36:44 +0100
commit9b95c508298a1deac86f7994366b68833655c70f (patch)
treec2c1ce6197d89beb2eda7a8def421611cf79a639 /gcc/rust/backend
parentc644ee4c4351e3590f5396e94ec24ad7b828a954 (diff)
downloadgcc-9b95c508298a1deac86f7994366b68833655c70f.zip
gcc-9b95c508298a1deac86f7994366b68833655c70f.tar.gz
gcc-9b95c508298a1deac86f7994366b68833655c70f.tar.bz2
Allow GCC to decide and perofmr inline optimizations
The GCC wrapper here was forked from the go front-end and by default all functions are marked as DECL_UNINLINABLE such that the stack frame info is preserved for panic recovery. This is not the case for Rust and by default allows for inline optimizations here. This patch changes the flag to be that if you wish to ensure a function is uninlineable you msut specify that specific flag for that function and by default GCC what optimisations to perform.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions