c-family:
commit1a0876242db3bd2c349405b4a9f9cc47f36bc7d1
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2013 13:28:44 +0000 (29 13:28 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2013 13:28:44 +0000 (29 13:28 +0000)
tree6f10c3c3ec79525fd9ad74cd6fef47fbc8e48317
parente2bc4ec8d5c6cfcf1caacbfab229a22728a11d75
c-family:
2013-04-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* c-common.c (check_user_alignment): Emit error for negative values.

testsuite:
2013-04-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/c1x-align-3.c: Add test for negative power of 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198417 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c1x-align-3.c