diff options
Diffstat (limited to 'gcc/ada/trans.c')
-rw-r--r-- | gcc/ada/trans.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c index 20d1fdc5a54..fb1b766da77 100644 --- a/gcc/ada/trans.c +++ b/gcc/ada/trans.c @@ -1695,9 +1695,7 @@ tree_transform (Node_Id gnat_node) { unsigned int align = known_alignment (gnu_result); tree gnu_obj_type = TREE_TYPE (gnu_result_type); - unsigned int oalign - = TREE_CODE (gnu_obj_type) == FUNCTION_TYPE - ? FUNCTION_BOUNDARY : TYPE_ALIGN (gnu_obj_type); + unsigned int oalign = TYPE_ALIGN (gnu_obj_type); if (align != 0 && align < oalign && ! TYPE_ALIGN_OK (gnu_obj_type)) post_error_ne_tree_2 |