This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is due to the fix for PR#18313, that sets TREE_NO_WARNING on any function with a qualified return type. The attached patch does not do it, which solves the PR (the test suite does not contain any test that proves that setting TREE_NO_WARNING was necessary...)
template <class T> const int f(T t) { return 0; }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |