This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r109747 - in /trunk/gcc: ChangeLog fold-const.c...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 16 Jan 2006 14:26:34 -0000
- Subject: r109747 - in /trunk/gcc: ChangeLog fold-const.c...
Author: ebotcazou
Date: Mon Jan 16 14:26:32 2006
New Revision: 109747
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109747
Log:
* 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.
Added:
trunk/gcc/testsuite/gcc.dg/minmax-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/stor-layout.c
trunk/gcc/testsuite/ChangeLog