aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/decl.c')
-rw-r--r--gcc/ada/decl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c
index c0306bd..f7b51d5 100644
--- a/gcc/ada/decl.c
+++ b/gcc/ada/decl.c
@@ -5529,18 +5529,6 @@ maybe_pad_type (tree type, tree size, unsigned int align,
if (align == 0 && !size)
return type;
- /* If no size is specified and we have an integral type, and changing
- the alignment won't change its size, return a copy of the type
- with the specified alignment. */
- if (!size
- && INTEGRAL_TYPE_P (type)
- && value_factor_p (orig_size, align))
- {
- type = copy_type (type);
- TYPE_ALIGN (type) = align;
- return type;
- }
-
/* We used to modify the record in place in some cases, but that could
generate incorrect debugging information. So make a new record
type and name. */