aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-18 13:51:50 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-05-18 13:51:50 +0000
commit174f391c129fd81216a876c26323a8ab0b592285 (patch)
treef488491cc0db975c3f22826f01c0278277d1185d /gcc/lto-streamer-in.c
parent1307793110d6fc2949011a498e289d817d817426 (diff)
downloadgcc-174f391c129fd81216a876c26323a8ab0b592285.zip
gcc-174f391c129fd81216a876c26323a8ab0b592285.tar.gz
gcc-174f391c129fd81216a876c26323a8ab0b592285.tar.bz2
re PR lto/44184 ("asm goto" does not work with LTO)
gcc/ PR lto/44184 * lto-streamer-out.c (output_gimple_stmt): Output number of labels in a GIMPLE_ASM. * lto-streamer-in.c (input_gimple_stmt): Read number of labels in a GIMPLE_ASM. testsuite/ PR lto/44184 * gcc.dg/lto/20100518_0.c: New test. From-SVN: r159531
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r--gcc/lto-streamer-in.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index 5c6658a..123a7a7 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -1044,6 +1044,7 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
stmt->gimple_asm.ni = lto_input_uleb128 (ib);
stmt->gimple_asm.no = lto_input_uleb128 (ib);
stmt->gimple_asm.nc = lto_input_uleb128 (ib);
+ stmt->gimple_asm.nl = lto_input_uleb128 (ib);
str = input_string_cst (data_in, ib);
stmt->gimple_asm.string = TREE_STRING_POINTER (str);
}