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 target/63815] New: g++.dg/other/pr53811.C fails on darwin14


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

            Bug ID: 63815
           Summary: g++.dg/other/pr53811.C fails on darwin14
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org

g++.dg/other/pr53811.C ICE's with trunk (rev. 217343) on darwin14 with
-mcmodel=large. Minimal reproducer is:

------------------------------
struct ICCStringClass
{
  virtual void CreateString (void) = 0;
};

struct AGSCCDynamicObject
{
  virtual void Unserialize (void) = 0;
};


struct ScriptString:AGSCCDynamicObject, ICCStringClass
{
  virtual void CreateString (void);
};

void CreateNewScriptString (void);

void
ScriptString::CreateString (void)
{
  CreateNewScriptString ();
}
------------------------------

which says:

pr53811.C: In member function âvirtual void
ScriptString::_ZThn8_N12ScriptString12CreateStringEv()â:
pr53811.C:23:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 4 3 5 (parallel [
            (set (reg:DI 39 r10)
                (plus:DI (reg:DI 39 r10)
                    (reg:DI 87)))
            (clobber (reg:CC 17 flags))
        ]) pr53811.C:14 221 {*adddi_1}
     (nil))


and the backtrace is:

  * frame #0: 0x0000000100ee03f0 cc1plus`internal_error(char const*, ...)
    frame #1: 0x0000000100ede966 cc1plus`fancy_abort(char const*, int, char
const*) + 38
    frame #2: 0x0000000100aca9de cc1plus`_fatal_insn(char const*, rtx_def
const*, char const*, int, char const*) + 78
    frame #3: 0x0000000100acaa02 cc1plus`_fatal_insn_not_found(rtx_def const*,
char const*, int, char const*) + 34
    frame #4: 0x00000001007c1509 cc1plus`final_scan_insn(rtx_insn*, __sFILE*,
int, int, int*) + 4953
    frame #5: 0x00000001007c1703 cc1plus`final(rtx_insn*, __sFILE*, int) + 195
    frame #6: 0x0000000100e96838 cc1plus`x86_output_mi_thunk(__sFILE*,
tree_node*, long long, long long, tree_node*) + 872
    frame #7: 0x000000010069f17c cc1plus`cgraph_node::expand_thunk(bool, bool)
+ 2156
    frame #8: 0x00000001006a0163
cc1plus`cgraph_node::assemble_thunks_and_aliases() + 259
    frame #9: 0x00000001006a0386 cc1plus`cgraph_node::expand() + 518
    frame #10: 0x00000001006a11af cc1plus`output_in_order(bool) + 559
    frame #11: 0x00000001006a16fa cc1plus`symbol_table::compile() + 890
    frame #12: 0x00000001006a375e
cc1plus`symbol_table::finalize_compilation_unit() + 110
    frame #13: 0x00000001001062e0 cc1plus`cp_write_global_declarations() + 4480
    frame #14: 0x0000000100b3cebf cc1plus`compile_file() + 143
    frame #15: 0x0000000100ff1ae4 cc1plus`toplev::main(int, char**) + 3764
    frame #16: 0x0000000100ff210c cc1plus`main + 44

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