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] Compile time buffer overflow checks for strncat


> Unfortunately, during testing I found that while convert_to_gimple_builtin
> annotates the new statements with locus, set_rhs does not, so if
> fold_builtin transforms one call into a different one, which is still valid
> gimple RHS, the locus is lost.  So, the tree-ssa-propagate.c bit was
> added to fix this up.
> 
> Ok for trunk?
> 
> 2006-09-18  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
> 	needed.

Even if the other parts are not approved for the trunks, I think this part should
be approved because it could also fixe some debugging regressions.

Thanks,
Andrew Pinski


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