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

--- Comment #8 from alx.manpages at gmail dot com ---
Hi Andrew,

On 11/16/21 00:52, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103233
> 
> --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> (In reply to Alejandro Colomar from comment #5)
>> If glibc had a bug,
>> and I compiled a C program that had perfectly defined behavior,
>> would I receive a report for that error?
> 
> Most C headers don't contain that much code in them unlike C++ headers which
> contains a lot of the code due to template and such.
> That being said if there was a C system header that had an issue and analyzer
> was used and it would definitely report the failure.
> 
> But that ignores the issue that C system headers are mostly just function
> declarations and does not include much function definitions at all.
> So again this is not just C vs C++ but rather how much code is in C++ system
> headers and C++ not being supported.

Seems fair enough to me.

Feel free to close the bug.

Thanks,
Alex

Reply via email to