[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread gerhard.heinzel at aei dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #2 from Gerhard Heinzel --- (In reply to Jonathan Wakely from comment #1) Many thanks for your quick response. I normally don't use -Wconversion because it floods me with uninteresting errors about size_t, floor(), and code from bis

[Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments

2018-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #1 from Jonathan Wakely --- The example can be reduced to: void ghhrobust_search (double ay, int type) { } void f(int i, double d) { ghhrobust_search(i, d); } This must not produce an error, because it is 100% valid according to th