From: Martin Liska Date: Tue, 29 Aug 2017 08:35:46 +0000 (+0200) Subject: Fix --help=target (Ada) (PR other/39851) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0694da45b3f362bf099d49ad5babff5a04feb047;p=gcc.git Fix --help=target (Ada) (PR other/39851) 2017-08-29 Martin Liska PR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. From-SVN: r251406 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b0b7cf351c3..87091b1c7f5 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2017-08-29 Martin Liska + + PR other/39851 + * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. + 2017-08-08 Martin Liska * gcc-interface/trans.c: Include header files. diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index 67044b7b574..c0c6fb30915 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -1486,7 +1486,7 @@ Pragma_to_gnu (Node_Id gnat_node) else option_index = 0; - set_default_handlers (&handlers); + set_default_handlers (&handlers, NULL); control_warning_option (option_index, (int) kind, arg, imply, location, lang_mask, &handlers, &global_options, &global_options_set, global_dc);