[Bug c++/61214] [4.9/4.10 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization

2014-06-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61214 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/61400] New: suffix return type doesn't work for member functions

2014-06-02 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61400 Bug ID: 61400 Summary: suffix return type doesn't work for member functions Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/61134] [4.7/4.8/4.9/4.10 Regression][C++11] bogus "no matching function for call..."

2014-06-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61134 --- Comment #1 from Jason Merrill --- Author: jason Date: Tue Jun 3 04:57:32 2014 New Revision: 211159 URL: http://gcc.gnu.org/viewcvs?rev=211159&root=gcc&view=rev Log: PR c++/61134 * pt.c (pack_deducible_p): Handle canonicalization. A

[Bug c++/61046] [4.8/4.9/4.10 Regression] ICE in lookup_field_1, at cp/search.c:384

2014-06-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61046 --- Comment #2 from Jason Merrill --- Author: jason Date: Tue Jun 3 04:57:39 2014 New Revision: 211160 URL: http://gcc.gnu.org/viewcvs?rev=211160&root=gcc&view=rev Log: PR c++/61046 * decl.c (reshape_init_class): Handle un-folded co

[Bug c++/61400] suffix return type doesn't work for template member functions with explict specialization

2014-06-02 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61400 --- Comment #1 from Yichao Yu --- Additional info. It seems that G++ only raise this error when all of the following are met: 1. Both of the functions (the one that uses suffix return type and the one used in the argument of decltype) must be no

[Bug c++/61400] suffix return type doesn't work for template member functions with explict specialization

2014-06-02 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61400 --- Comment #2 from Yichao Yu --- Sorry I have just noticed that I forgot to include the error message... ``` gcc.cpp: In function 'int main()': gcc.cpp:20:12: error: no matching function for call to 'A::b()' a.b<2>(); ^ gcc.cpp

<    1   2