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: [PATCH][no-undefined-overflow] Teach VRP to produce *NV_EXPR, fix unsigned overflow detection in int_const_binop


On Mon, 9 Mar 2009, Paolo Bonzini wrote:

> I wonder if you can produce some testcases where
> -Wunsafe-loop-optimizations would warn before but not with this patch...
> which means it's great work.

I guess not yet (because I didn't yet look into SCEV and related analysis
to see if the need to handle *NV_EXPR tree codes).  But likely there
will be.  Of course I completely forgot to set TREE_NO_WARNING on the
VRP generated ones ... (I was thinking to preserve the undefined
overflow warnings somehow only for the frontend provided *NV_EXPR
operations).

Richard.


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