This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2009 19:41:46 -0000
- Subject: [Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006
- References: <bug-38877-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hjl dot tools at gmail dot com 2009-01-16 19:41 -------
[hjl@gnu-27 build_base_o3.0000]$ cat x.cc
#include <string>
#include <utility>
template <int dim> class bar;
template <int dim>
std::pair<bar<dim> *, unsigned int>
foo (const std::string &name, unsigned int position)
{
const std::pair<int,unsigned int> tmp;
return std::make_pair (new bar<dim>(tmp.first),
position);
}
[hjl@gnu-27 build_base_o3.0000]$ /export/gnu/import/rrs/143437/usr/bin/gcc -O2
x.cc -S
x.cc: In function ?std::pair<bar<dim>*, unsigned int> foo(const std::string&,
unsigned int)?:
x.cc:10: internal compiler error: tree check: expected field_decl, have
identifier_node in lvalue_p_1, at cp/tree.c:120
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-27 build_base_o3.0000]$
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-16 19:41:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877