On Wed, Mar 27, 2013 at 03:13:13PM +, Joseph S. Myers wrote:
On Wed, 27 Mar 2013, Senthil Kumar Selvaraj wrote:
Hi,
I was looking at why gcc.dg/c1x-align-3.c (test for errors, line 15) is
failing for the AVR target, and I found that the test expects _Alignas
with -__INT_MAX__ - 1
On Thu, 28 Mar 2013, Senthil Kumar Selvaraj wrote:
tree_log2 appears to be a general function, so I suppose the check for
negative integers must be made in check_user_alignment. Will the
following patch work? (Bootstrapped x86_64, all alignment tests pass).
This patch is OK, subject to full
Hi,
I was looking at why gcc.dg/c1x-align-3.c (test for errors, line 15) is
failing for the AVR target, and I found that the test expects _Alignas
with -__INT_MAX__ - 1 to fail with a too large error.
I looked at the code responsible for generating the error (c-common.c,
check_user_alignment)
On Wed, 27 Mar 2013, Senthil Kumar Selvaraj wrote:
Hi,
I was looking at why gcc.dg/c1x-align-3.c (test for errors, line 15) is
failing for the AVR target, and I found that the test expects _Alignas
with -__INT_MAX__ - 1 to fail with a too large error.
It expects either an error either