Re: Is VRP is too conservative to identify boolean value 0 and 1?

2011-09-02 Thread Richard Guenther
On Fri, Sep 2, 2011 at 7:58 AM, Jiangning Liu wrote: > Hi, > > For the following small case, > > int f(int i, int j) > { >        if (i==1 && j==2) >                return i; >        else >                return j; > } > > with -O2 option, GCC has vrp2 dump like below, > > ==

RE: Is VRP is too conservative to identify boolean value 0 and 1?

2011-09-02 Thread Jiangning Liu
Andrew, I realize I needn't back-end solution for my case at all, and in middle end I can directly use the _Bool type info! Appreciate your reply! Thanks, -Jiangning > -Original Message- > From: Andrew Pinski [mailto:pins...@gmail.com] > Sent: Friday, September 02, 2011 2:27 PM > To: J

gcc-4.6-20110902 is now available

2011-09-02 Thread gccadmin
Snapshot gcc-4.6-20110902 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110902/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches