diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-05-19 09:32:50 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-05-19 09:32:50 +0000 |
commit | c80c1ce9510e2840d036d6a5e9b035a659701c41 (patch) | |
tree | 52608a68d00e823d6d2ae72fe69bd81af3a8b1c6 /gcc/ada/gcc-interface/misc.c | |
parent | 2a2aa0391efaad653fba352187d6c51de479f40b (diff) | |
download | gcc-c80c1ce9510e2840d036d6a5e9b035a659701c41.zip gcc-c80c1ce9510e2840d036d6a5e9b035a659701c41.tar.gz gcc-c80c1ce9510e2840d036d6a5e9b035a659701c41.tar.bz2 |
decl.c (Has_Thiscall_Convention): New macro.
* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.
* gcc-interface/misc.c (gnat_handle_option): Fix formatting.
* gcc-interface/Makefile.in: Likewise.
From-SVN: r187676
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
-rw-r--r-- | gcc/ada/gcc-interface/misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index f2002f5..6d77dc8 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -153,10 +153,10 @@ gnat_handle_option (size_t scode, const char *arg ATTRIBUTE_UNUSED, int value, gcc_unreachable (); } - Ada_handle_option_auto (&global_options, &global_options_set, - scode, arg, value, - gnat_option_lang_mask (), kind, - loc, handlers, global_dc); + Ada_handle_option_auto (&global_options, &global_options_set, + scode, arg, value, + gnat_option_lang_mask (), kind, + loc, handlers, global_dc); return true; } |