OSDN Git Service

* fold-const.c (fold_minmax): New static function.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 14:26:32 +0000 (14:26 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 14:26:32 +0000 (14:26 +0000)
commit7e50ecaeb4fe7c6b78cf5bbd8709ec113231235e
tree10316cdc614740e5e71d0548c7f3e20c0d1c8902
parentc78f0f8766230b43640828a4ec673fd5f7d7d9c2
* fold-const.c (fold_minmax): New static function.
(fold_binary) <MIN_EXPR>: Call it.
<MAX_EXPR>: Likewise.
* stor-layout.c (place_field): Use DECL_SIZE consistently
in the computation of the new record size.

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