This is the mail archive of the
mailing list for the GCC project.
Re: question on inconsistent generated codes for builtin calls
On Fri, Jan 13, 2012 at 10:17 PM, Amker.Cheng <email@example.com> wrote:
> On Fri, Jan 13, 2012 at 5:33 PM, Richard Guenther
> <firstname.lastname@example.org> wrote:
>> No, I think the check is superfluous and should be removed. ?I also wonder
>> why we exempt BUILT_IN_FREE here ... can you dig in SVN history a bit?
>> For both things?
The BUILT_IN_FREE was introduced in r138362 fixing PR36970,
in which gcc did not give warning on freeing non-heap memory, as in program:
I will run make check to see whether it's ok we do not check
DECL_ASSEMBLER_NAME_SET_P and send a patch then.
BTW, should I create a bug for this?