diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-18 13:51:50 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-18 13:51:50 +0000 |
commit | 897f9d25c9514d0a9eb4f9af7cce1a59b0645f13 (patch) | |
tree | f488491cc0db975c3f22826f01c0278277d1185d /gcc/lto-streamer-out.c | |
parent | 4b32df91bf8d12694af2ca0ea4ea43cbf3f43f90 (diff) | |
download | gcc-897f9d25c9514d0a9eb4f9af7cce1a59b0645f13.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159531 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index b90c9daa1ee..4d598320046 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -1702,6 +1702,7 @@ output_gimple_stmt (struct output_block *ob, gimple stmt) lto_output_uleb128_stream (ob->main_stream, gimple_asm_ninputs (stmt)); lto_output_uleb128_stream (ob->main_stream, gimple_asm_noutputs (stmt)); lto_output_uleb128_stream (ob->main_stream, gimple_asm_nclobbers (stmt)); + lto_output_uleb128_stream (ob->main_stream, gimple_asm_nlabels (stmt)); output_string (ob, ob->main_stream, gimple_asm_string (stmt)); /* Fallthru */ |