Skip to content

Commit 27c5dc8

Browse files
author
marxin
committed
Fix --help=target (Ada) (PR other/39851)
2017-08-29 Martin Liska <[email protected]> PR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251406 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 989f02d commit 27c5dc8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

gcc/ada/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2017-08-29 Martin Liska <[email protected]>
2+
3+
PR other/39851
4+
* gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL.
5+
16
2017-08-08 Martin Liska <[email protected]>
27

38
* gcc-interface/trans.c: Include header files.

gcc/ada/gcc-interface/trans.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ Pragma_to_gnu (Node_Id gnat_node)
14861486
else
14871487
option_index = 0;
14881488

1489-
set_default_handlers (&handlers);
1489+
set_default_handlers (&handlers, NULL);
14901490
control_warning_option (option_index, (int) kind, arg, imply, location,
14911491
lang_mask, &handlers, &global_options,
14921492
&global_options_set, global_dc);

0 commit comments

Comments
 (0)