This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: VRP: don't look through VIEW_CONVERT_EXPRs when registering an edge assertion


On Mon, 2007-03-19 at 16:47 +0000, Andrew Haley wrote:
> Forwarding from gcc discussion list http://gcc.gnu.org/ml/gcc/2007-03/msg00691.html
> 
> Richard Guenther writes:
>  > 
>  > It's indeed broken to look through VIEW_CONVERT_EXPRs here.  The patch looks
>  > obviously correct.
> 
> OK, I'm glad it's obvious.  :-)
> 
> Andrew.
> 
> 
> 2007-03-19  Andrew Haley  <aph@redhat.com>
> 
> 	* tree-vrp.c (register_edge_assert_for_1): Don't look though
> 	VIEW_CONVERT_EXPRs.
Agreed.  Assuming it passes the usual tests, please install, along with
a suitable testcase.

Jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]