public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22434] New: ICE in simplify_{,gen_}subreg
@ 2005-07-12 10:44 jakub at redhat dot com
  2005-07-12 13:05 ` [Bug c++/22434] [3.4/4.0/4.1 regression] " reichelt at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at redhat dot com @ 2005-07-12 10:44 UTC (permalink / raw)
  To: gcc-bugs

#include <ostream>
#include <string>
#include <vector>

std::string bar (unsigned int x);

template <class T>
std::ostream & baz (std::ostream &os, const T &v, bool lit)
{
  typename T::const_iterator i = v.begin ();
  os << (lit ? bar (*i) : *i);
  return os;
}

void foo (std::ostream &os, const std::vector<int> &v)
{
  baz (os, v, false);
}

ICEs in 3.4.4, 4.0.1 and HEAD, trying to generate a BLKmode SUBREG.

-- 
           Summary: ICE in simplify_{,gen_}subreg
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-27 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12 10:44 [Bug c++/22434] New: ICE in simplify_{,gen_}subreg jakub at redhat dot com
2005-07-12 13:05 ` [Bug c++/22434] [3.4/4.0/4.1 regression] " reichelt at gcc dot gnu dot org
2005-07-13  3:41 ` pinskia at gcc dot gnu dot org
2005-07-22 21:17 ` pinskia at gcc dot gnu dot org
2005-09-27 15:56 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).