This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa]: Invalid GIMPLE generated by C++ front end
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Diego Novillo <dnovillo at redhat dot com>,Jason Merrill <jason at redhat dot com>,gcc at gcc dot gnu dot org
- Date: Wed, 13 Aug 2003 15:53:41 -0400
- Subject: [tree-ssa]: Invalid GIMPLE generated by C++ front end
I've been seeing expressions like T.2 = (char * const &)&<UVbbd0>
generated by the C++ FE lately (compiling string-inst.cc on darwin, for
instance).
Are these actually valid GIMPLE?
Going by the grammar, they aren't, and they are causing PTA to miss
some variables because they fail is_gimple_modify_expr.
val : ID | CONST
rhs : varname | CONST
| '*' ID
| '&' varname_or_temp
| call_expr
| unop val
| val binop val
| '(' cast ')' val
Jason, any clue what is generating these, or do you need some
preprocessed source?
--Dan