[Bug c++/56854] New: error: non-decl/MEM_REF LHS in clobber statement

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 6 09:44:00 GMT 2013


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

             Bug #: 56854
           Summary: error: non-decl/MEM_REF LHS in clobber statement
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


I just tried to compile the package openlierox-0.59-0.10
on gcc-4.9 trunk dated 20130403 on an AMD x86_64 box.

The compiler said

/home/dcb/rpmbuild/BUILD/OpenLieroX/src/game/Settings.h: In constructor
'FeatureSettingsLayer::FeatureSettingsLayer(const string&)':
/home/dcb/rpmbuild/BUILD/OpenLieroX/src/game/Settings.h:49:2: error:
non-decl/MEM_REF LHS in clobber statement
  FeatureSettingsLayer(const std::string& debug_name_) :
debug_name(debug_name_) { makeSet(false); }
  ^
MEM[(struct ScriptVar_t *)this_1(D)].settings[_32]
# .MEM_113 = VDEF <.MEM_85>
MEM[(struct ScriptVar_t *)this_1(D)].settings[_32] ={v} {CLOBBER};

/home/dcb/rpmbuild/BUILD/OpenLieroX/src/game/Settings.h:49:2: internal compiler
error: verify_gimple failed
0xab89f9 verify_gimple_in_cfg(function*)
    ../../src/trunk/gcc/tree-cfg.c:4769
0x9efe17 execute_function_todo
    ../../src/trunk/gcc/passes.c:1963
0x9f0807 execute_todo
    ../../src/trunk/gcc/passes.c:1996
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.

Preprocessed source code attached. Flag -O2 required.



More information about the Gcc-bugs mailing list