summaryrefslogtreecommitdiff
path: root/gcc/config/nvptx/nvptx.c
diff options
context:
space:
mode:
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-20 13:47:12 +0000
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-20 13:47:12 +0000
commit2d9babe4893fb59506f7deaad05a8403aee6671f (patch)
tree3813ab7a07201d7f13e1d386274979e1581cf3c2 /gcc/config/nvptx/nvptx.c
parentd208f6e63a7ae80cdaf89b492b1c4f98a996cd4f (diff)
downloadgcc-2d9babe4893fb59506f7deaad05a8403aee6671f.tar.gz
nvptx: do not implicitly enable -ftoplevel-reorder
* config/nvptx/nvptx.c (nvptx_option_override): Do not set flag_toplevel_reorder. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/nvptx/nvptx.c')
-rw-r--r--gcc/config/nvptx/nvptx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c
index 6c78699d75f..4b5b8d5b704 100644
--- a/gcc/config/nvptx/nvptx.c
+++ b/gcc/config/nvptx/nvptx.c
@@ -156,12 +156,6 @@ nvptx_option_override (void)
{
init_machine_status = nvptx_init_machine_status;
- /* Set toplevel_reorder, unless explicitly disabled. We need
- reordering so that we emit necessary assembler decls of
- undeclared variables. */
- if (!global_options_set.x_flag_toplevel_reorder)
- flag_toplevel_reorder = 1;
-
/* Set flag_no_common, unless explicitly disabled. We fake common
using .weak, and that's not entirely accurate, so avoid it
unless forced. */