This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r146626 - in /branches/gcc-4_4-branch/gcc: ada/...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 22:34:00 -0000
- Subject: r146626 - in /branches/gcc-4_4-branch/gcc: ada/...
Author: ebotcazou
Date: Wed Apr 22 22:33:59 2009
New Revision: 146626
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146626
Log:
* gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's
type is an enumeral or a boolean type, change it to an integer type
with the same mode and signedness.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/enum2.adb
branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/enum2_pkg.ads
Modified:
branches/gcc-4_4-branch/gcc/ada/ChangeLog
branches/gcc-4_4-branch/gcc/ada/gcc-interface/utils2.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog