* gcc-interface/targtyps.c (get_target_double_scalar_alignment): Guard
use of TARGET_64BIT macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167205
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/40777
+ * gcc-interface/targtyps.c (get_target_double_scalar_alignment): Guard
+ use of TARGET_64BIT macro.
+
2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
* s-osinte-linux.ads (sigset_t): Use unsigned_char subtype directly.
get_target_double_scalar_alignment (void)
{
#ifdef TARGET_ALIGN_DOUBLE
- /* This macro is only defined by the i386 port. */
- if (!TARGET_ALIGN_DOUBLE && !TARGET_64BIT)
+ /* This macro is only defined by the i386 and sh ports. */
+ if (!TARGET_ALIGN_DOUBLE
+#ifdef TARGET_64BIT
+ && !TARGET_64BIT
+#endif
+ )
return 32 / BITS_PER_UNIT;
#endif
return 0;