[Bug c++/85499] Unable to resolve function with inferred return type

2018-04-22 Thread gcc at dcousens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499 --- Comment #1 from gcc at dcousens dot com --- Instantiating `foo` previously can resolve the issue, but isn't a work-able solution in many cases. ``` int main () { foo(1); bar(foo); } ```

[Bug c++/85499] New: Unable to resolve function with inferred return type

2018-04-22 Thread gcc at dcousens dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at dcousens dot com Target Milestone: --- gcc version 7.3.1 20180312 (GCC) But, this fails on many different GCC versions. https://godbolt.org/g/G5gEx2 **Expected:** Compilation should succeed (like other

[Bug c++/85498] New: Unable to resolve function name with inferred return type

2018-04-22 Thread gcc at dcousens dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at dcousens dot com Target Milestone: --- gcc version 7.3.1 20180312 (GCC) But, this fails on many different GCC versions. https://godbolt.org/g/G5gEx2 **Expected:** Compilation should