diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9364d01..1037348 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2011-04-17 Jan Hubicka <jh@suse.cz> + + * semantics.c (finish_goto_stmt): Do set UNINLINABLE flag on computed + gotos. + 2011-04-17 Jason Merrill <jason@redhat.com> PR c++/48531 diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 793883e..e9b1907 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -569,11 +569,6 @@ finish_goto_stmt (tree destination) if (error_operand_p (destination)) return NULL_TREE; } - /* We don't inline calls to functions with computed gotos. - Those functions are typically up to some funny business, - and may be depending on the labels being at particular - addresses, or some such. */ - DECL_UNINLINABLE (current_function_decl) = 1; } check_goto (destination); |