https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64570

            Bug ID: 64570
           Summary: error: non-trivial conversion at assignment
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 34427
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34427&action=edit
gzipped C++ source code

I just tried to compile the attached C++ code with the latest trunk
dated 20150111 on a Fedora Linux x86_64 box.

The compiler said

src/ide/HDCommand.cc: In member function ‘virtual void
openmsx::HDCommand::tabCo
mpletion(std::vector<std::__cxx11::basic_string<char> >&) const’:
src/ide/HDCommand.cc:76:6: error: non-trivial conversion at assignment
long unsigned int
const char[7] *
# .MEM_123 = VDEF <.MEM_120>
MEM[(char * {ref-all})_89] = _30;
src/ide/HDCommand.cc:76:6: internal compiler error: verify_gimple failed
0xc9bcff verify_gimple_in_cfg(function*, bool)
    ../../src/trunk/gcc/tree-cfg.c:5056
0xb6ce4e execute_function_todo(function*, void*)
    ../../src/trunk/gcc/passes.c:1946
0xb6b969 execute_todo(unsigned int)
    ../../src/trunk/gcc/passes.c:2003
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Flags -O2 -std=gnu++0x required. This bug might be related to #59630.

Reply via email to