This is the mail archive of the gcc@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]

Regarding WITH_CLEANUP_EXPR


Dear All,

This is Anju from IU, Bloomington. I am trying to inject some code
into the program and encountered a strange error enroute. Essentially,
I am trying to create an std::vector<T> and then call "resize()" on
it. "T" is program dependent. When "T" is a primitive type, everything
seems to work fine. However, when "T" is a record such as an
std::string, I get an error during gimplification:

 internal compiler error: in lower_stmt, at gimple-low.c:282.

The gimple ouput reads thus:

<<< Unknown tree: with_cleanup_expr
  __comp_dtor  (&D.109215) >>>

Any suggestions as to why this happens? I am working on a branch off of 4.3.

Thanks,

Anju


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