[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-05-04 Thread paolo dot carlini at oracle dot com


--- Comment #7 from paolo dot carlini at oracle dot com  2010-05-04 16:50 
---
This is enough:

namespace std
{
  templateclass _E class initializer_list { };
}

struct string { string(std::initializer_listchar) { } };

void f() {
  auto y =
  {
string(Equation())
  }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028



[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-05-04 Thread paolo dot carlini at oracle dot com


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
   |dot org |dot com
 Status|NEW |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028



[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-05-04 Thread paolo at gcc dot gnu dot org


--- Comment #8 from paolo at gcc dot gnu dot org  2010-05-04 19:22 ---
Subject: Bug 43028

Author: paolo
Date: Tue May  4 19:22:26 2010
New Revision: 159045

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159045
Log:
/cp
2010-05-04  Paolo Carlini  paolo.carl...@oracle.com

PR c++/43028
* pt.c (unify): Check each elt for error_mark_node.

/testsuite
2010-05-04  Paolo Carlini  paolo.carl...@oracle.com

PR c++/43028
* g++.dg/cpp0x/initlist31.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist31.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028



[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-05-04 Thread paolo dot carlini at oracle dot com


--- Comment #9 from paolo dot carlini at oracle dot com  2010-05-04 19:23 
---
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028



[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread paolo dot carlini at oracle dot com


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|WAITING |NEW
 Ever Confirmed|0   |1
   Keywords||ice-on-invalid-code
   Last reconfirmed|-00-00 00:00:00 |2010-02-11 13:25:20
   date||
Summary|internal compiler error in  |[C++0x] internal compiler
   |maybe_adjust_types_for_deduc|error in
   |tion|maybe_adjust_types_for_deduc
   ||tion


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028



[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au


--- Comment #6 from jarrydb at cse dot unsw dot edu dot au  2010-02-11 
13:30 ---
The error only occurs when Equation is undeclared.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028