[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-10-17 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-10-18 05:13 --- Subject: Bug 37766 Author: jason Date: Sun Oct 18 05:13:05 2009 New Revision: 152966 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152966 Log: PR c++/38798 * parser.c

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-10-17 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-10-18 05:17 --- Fixed for 4.4.3. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-10-12 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-10-12 21:04 --- Subject: Bug 37766 Author: jason Date: Mon Oct 12 21:04:27 2009 New Revision: 152685 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152685 Log: PR c++/37766 * pt.c (type_unification_real): Call

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-10-12 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-10-12 21:49 --- Fixed for 4.5; will backport for 4.4.3 after branch reopens. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37766

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-10-11 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2009-07-12 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-07-12 22:03 --- Probably due to the fix in PR35828 the original testcase and the one in comment #3 now compile. However, if I leave out the two const in the testcase from comment #3, the code is rejected which is wrong IMHO. --

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2008-12-28 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2008-12-28 23:00 --- Might be related to PR35828. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2008-12-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-24 19:13 --- Reducing ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37766

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2008-12-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2008-12-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-24 20:11 --- Reduced testcase: const int a = 1; templateconst int b = a void f() { f(); } -- CUT --- Works with a struct though. Confirmed, not a regression -- pinskia at gcc dot gnu dot org changed: What

[Bug c++/37766] [C++0x] ICE with function's default reference template parameter

2008-10-07 Thread florian dot goujeon at wanadoo dot fr
--- Comment #1 from florian dot goujeon at wanadoo dot fr 2008-10-08 05:42 --- Sorry, bad command line: = $ g++ -std=c++0x main.cpp main.cpp: In function 'int main()': main.cpp:3: internal compiler error: Segmentation fault