fold-const.c (round_up_loc): Cast divisor to signed on all paths before negating it.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 4 Mar 2015 22:33:41 +0000 (22:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 4 Mar 2015 22:33:41 +0000 (22:33 +0000)
commitd10a61fbe8a35256164aca7a9a7a51d16cc57370
treebb433524b1c9c0c35778ec90ef3d9c1bdf9ab01f
parent8ed4390c3f34ece8009bc43ae592c9f3ed66dcd7
fold-const.c (round_up_loc): Cast divisor to signed on all paths before negating it.

* fold-const.c (round_up_loc): Cast divisor to signed on all paths
before negating it.
* stor-layout.c (finalize_record_size): Revert latest change.

From-SVN: r221198
gcc/ChangeLog
gcc/fold-const.c
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/entry_queues3.adb [new file with mode: 0644]