mirror of git://gcc.gnu.org/git/gcc.git
re PR middle-end/25930 (seg fault in GC with toplevel asm and -fno-toplevel-reorder)
PR middle-end/25930 * cgraphunit.c (cgraph_output_in_order): Don't clear cgraph_asm_nodes until after asm strings have been output. From-SVN: r110163
This commit is contained in:
parent
d1c2b2a461
commit
e7b9eb2cc3
|
@ -1,3 +1,9 @@
|
|||
2006-01-24 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
PR middle-end/25930
|
||||
* cgraphunit.c (cgraph_output_in_order): Don't clear
|
||||
cgraph_asm_nodes until after asm strings have been output.
|
||||
|
||||
2006-01-23 Adam Nemet <anemet@caviumnetworks.com>
|
||||
|
||||
* fix-header.c (read_scan_file): Add new parameter imultilib when
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue