Commit ec1bff50 by Hans-Peter Nilsson Committed by Jeff Law

* varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)

        && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
        ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
        lack of implemented alignment.

From-SVN: r35277
parent bae122a6
Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
* varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
&& ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
lack of implemented alignment.
2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
* emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
......
......@@ -1499,7 +1499,8 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT)
* (BIGGEST_ALIGNMENT / BITS_PER_UNIT));
#if !defined(ASM_OUTPUT_ALIGNED_COMMON) && !defined(ASM_OUTPUT_ALIGNED_BSS)
/* Don't continue this line--convex cc version 4.1 would lose. */
#if !defined(ASM_OUTPUT_ALIGNED_COMMON) && !defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) && !defined(ASM_OUTPUT_ALIGNED_BSS)
if ((unsigned HOST_WIDE_INT) DECL_ALIGN (decl) / BITS_PER_UNIT > rounded)
warning_with_decl
(decl, "requested alignment for %s is greater than implemented alignment of %d.",rounded);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment