https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
--- Comment #8 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:2d8b144a2a61b007f59286731275773f6e167be1
commit r11-5077-g2d8b144a2a61b007f59286731275773f6e167be1
Author: Jakub Jelinek
Date: Tu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
--- Comment #6 from Jakub Jelinek ---
Author: jakub
Date: Wed May 29 07:48:37 2019
New Revision: 271732
URL: https://gcc.gnu.org/viewcvs?rev=271732&root=gcc&view=rev
Log:
PR c/90628
* c-common.c (check_builtin_function_arguments)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
--- Comment #5 from Jakub Jelinek ---
-Wdiscarded-qualifiers is for when the prototype requires pointer to non-const
and pointer to const is passed, which is the case for the clang style builtins,
but not for __builtin_{add,sub,mul}_overflow, whe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
--- Comment #4 from Marc Glisse ---
I wonder if in C it should be controlled by -Wdiscarded-qualifiers. I am happy
with the unconditional error, just asking.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
--- Comment #2 from Jeremy ---
(In reply to Marc Glisse from comment #1)
> Thanks for the report.
> (next time, please include a complete, compilable example, with the
> #includes, int main, etc)
Sorry, here is a complete program:-
#include
i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90628
Marc Glisse changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRMED