PR c/60226
commit9aa78eb08fb058149e7127b62e96b98420361d63
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2014 05:38:12 +0000 (8 05:38 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2014 05:38:12 +0000 (8 05:38 +0000)
treee4f77420db83c7c0c601b3cce97560e8b1722155
parent07d56ea9078b4e1ab392ffbcac0a93955c2b07ef
PR c/60226
* fold-const.c (round_up_loc): Change the parameter type.
Remove assert.
* fold-const.h (round_up_loc): Adjust declaration.
* stor-layout.c (finalize_record_size): Check for too large types.

* c-c++-common/pr60226.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212346 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/fold-const.h
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr60226.c [new file with mode: 0644]