aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/targtyps.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-11-16 10:05:22 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-11-16 10:05:22 +0000
commite66e5d9e4079b7a44fcdd963838218812cfb534e (patch)
treed8c96659ac7d261f1e86e0fb1811560ece332a9e /gcc/ada/gcc-interface/targtyps.c
parent4c533e5afee14d141caa6da2774857d6a65177c2 (diff)
downloadgcc-e66e5d9e4079b7a44fcdd963838218812cfb534e.zip
gcc-e66e5d9e4079b7a44fcdd963838218812cfb534e.tar.gz
gcc-e66e5d9e4079b7a44fcdd963838218812cfb534e.tar.bz2
re PR ada/38127 (ACATS cd1c04e fails on sparc, hppa)
PR ada/38127 * gcc-interface/decl.c (make_type_from_size): Do not special-case boolean types. * gcc-interface/targtyps.c: Tweak comment. From-SVN: r141913
Diffstat (limited to 'gcc/ada/gcc-interface/targtyps.c')
-rw-r--r--gcc/ada/gcc-interface/targtyps.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/gcc-interface/targtyps.c b/gcc/ada/gcc-interface/targtyps.c
index c4e3299..91572be 100644
--- a/gcc/ada/gcc-interface/targtyps.c
+++ b/gcc/ada/gcc-interface/targtyps.c
@@ -6,7 +6,7 @@
* *
* Body *
* *
- * Copyright (C) 1992-2007, Free Software Foundation, Inc. *
+ * Copyright (C) 1992-2008, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -164,12 +164,13 @@ get_target_maximum_default_alignment (void)
Stricter alignment requests trigger gigi's aligning_type circuitry for
objects allocated by the default allocator. */
+/* ??? Need a way to get info about __gnat_malloc from here (whether it is
+ handy and what alignment it honors). In the meantime, resort to malloc
+ considerations only. */
+
Pos
get_target_default_allocator_alignment (void)
{
- /* ??? Need a way to get info about __gnat_malloc from here (whether
- it is handy and what alignment it honors). */
-
return MALLOC_ABI_ALIGNMENT / BITS_PER_UNIT;
}