diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 08:52:44 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 08:52:44 +0000 |
commit | 4b4ea2db59016e3119f9feb6125d19ace89de331 (patch) | |
tree | 78b9f80e07f517087304c479cc0872d5b9c767d3 /gcc/cgraphunit.c | |
parent | f12e6a3f37a4c8dac1aa4a2df8d42ba407449f01 (diff) | |
download | gcc-4b4ea2db59016e3119f9feb6125d19ace89de331.tar.gz |
PR middle-end/25930
* cgraphunit.c (cgraph_output_in_order): Don't clear
cgraph_asm_nodes until after asm strings have been output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 2b7942970bf..57fc2eaa405 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1244,7 +1244,6 @@ cgraph_output_in_order (void) nodes[i].kind = ORDER_ASM; nodes[i].u.a = pa; } - cgraph_asm_nodes = NULL; for (i = 0; i < max; ++i) { @@ -1270,6 +1269,8 @@ cgraph_output_in_order (void) gcc_unreachable (); } } + + cgraph_asm_nodes = NULL; } /* Mark visibility of all functions. |