This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)


With Andrew's patch for 14272 I now get cc1plus ICEs in 64-Bit mode.
A reduced testcase is this, compile with -m64 -O0:

  struct locale
  {
    int i;
    ~locale();
  };
  struct basic_ios
  {
    locale getloc () const { }
  };
  void copyfmt(const basic_ios& __rhs)
  {
    __rhs.getloc();
  }

The error message is:

cc1plus -O0 -m64 -quiet io.cc
io.cc: In function `void copyfmt(const basic_ios&)':
io.cc:12: internal compiler error: in copy_to_mode_reg, at explow.c:675
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

   regards Christian

-- 
           Summary: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: sparc-sun-solaris2.9


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]