https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72787

--- Comment #3 from martin <ranjan.winner at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> You can't rely on __builtin_object_size this way, please look up its
> documentation.

Hi Richard,

 Sorry, can you kindly throw some more pointers over this.
 Here is the link for gcc document on object-size-Checking:
    https://gcc.gnu.org/onlinedocs/gcc/Object-Size-Checking.html


Also some pointer over my Query:-

Why for gcc-4.6  changes with tree-ssa.c file are omitted but not in gcc-4.7
branch 

NOTE: For gcc-4_6-branch where change in file "gcc/tree-ssa.c" is not
considered as:
                   /* Do not lose casts to restrict qualified pointers.  */
                    -  if ((TYPE_RESTRICT (outer_type)
                    -      != TYPE_RESTRICT (inner_type))
                    -      && TYPE_RESTRICT (outer_type))
                    -  return false;

Thanks for your reply.


Best Regards,
Martin

Reply via email to