[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #14 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Thu Apr 23 13:21:06 2015 New Revision: 222365 URL: https://gcc.gnu.org/viewcvs?rev=222365root=gccview=rev Log: PR c++/59766 * decl.c (grokdeclarator): Do

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #15 from Jason Merrill jason at gcc dot gnu.org --- And 4.9.3.

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #12 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Apr 22 20:52:52 2015 New Revision: 222337 URL: https://gcc.gnu.org/viewcvs?rev=222337root=gccview=rev Log: PR c++/59766 * decl.c (grokdeclarator): Do

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #11 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Tue Apr 14 15:29:27 2015 New Revision: 222095 URL: https://gcc.gnu.org/viewcvs?rev=222095root=gccview=rev Log: PR c++/59766 * decl.c (grokdeclarator): Do

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-09 Thread potswa at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #9 from David Krauss potswa at mac dot com --- I didn't send it to gcc-patches. It's never been necessary for me before. I suppose I can collect the examples here into a testcase file. In the meantime, anyone else is free to take

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #8 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to David Krauss from comment #6) The fix is simple. Tested and submitted for approval. Thank you. Did you send it to gcc-patches, with jason AT redhat in Cc: ? I can't find

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-04-08 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 Louis Dionne ldionne.2 at gmail dot com changed: What|Removed |Added CC||ldionne.2 at

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-01-23 Thread potswa at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #5 from David Krauss potswa at mac dot com --- Created attachment 34538 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34538action=edit ChangeLog entry

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2015-01-23 Thread potswa at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #6 from David Krauss potswa at mac dot com --- Created attachment 34541 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34541action=edit Fix: disable the error for friend declarators. The fix is simple. Tested and submitted for

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2014-12-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2014-06-28 Thread felix at fontein dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #4 from Felix Fontein felix at fontein dot de --- I can confirm this bug for GCC 4.9.0 20140604 (prerelease).

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2014-01-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||adam at

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2014-01-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at

[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason

2014-01-19 Thread lucdanton at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766 --- Comment #1 from lucdanton at free dot fr --- Happens too with GCC 4.9 (20140105), as well as when using decltype(auto).