------- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-06 23:14 ------- (In reply to comment #7) > Bugfix worked for me. Compilation definitely got farther. However, there's > another bug. Pls. see bug 26622.
As mentioned in that PR, the problem there is unrelated to your code. The rtl pattern which is being complained about: (insn 491 490 492 18 ././kernel/core.icc:1448 (set (reg:SI 223) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i._ZN6Gecode5Space3vtdE") <var_decl 0x19664f10 vtd>) [0 S4 A8]) (const_int 1024 [0x400])))) -1 (nil) (nil)) Why is this wrapping itself inside a const when it cannot be a const as it is loading from memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650