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] |
I'm in the process of converting the C++ FE to tuples. In doing so I have noticed that the C++ FE will frequently gimplify bits of a tree, and then expect gimplify_expr() to gimplify the rest. This seems redundant, as gimplify_expr() more often than not will gimplify the entire tree structure, without regard to what parts the C++ FE already gimplified.
This behavior is common throughout C++. The C++ FE calls gimplify_stmt on bits of trees, but then gimplify_expr() has to gimplify again.
It seems to me that a better approach would be to pass the tree structure as generic as we can (without calls to gimplify_stmt in the C++ FE), and then let gimplify_expr do its job.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |