On 05/15/2017 09:06 AM, Martin Liška wrote:

Given a blank sheet of paper, the current 'TDF_tree' dumps should really be 
'TDF_gimple' dumps, so we'd have lang/ipa/gimple/rtl kinds of dumps. Such a 
renaming may be an unacceptable amount of churn though.

Well, I would prefer to introduce new enum for kind of dump:
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01033.html

Right, I understand that. My point is that it might be confusing to users of the dump machinery (i.e. me), at the command-line level where 'rtl' means different things in different contexts. And we have 'tree' dumps that dump gimple and 'lang' dumps that also (can) dump trees.

We have a bunch of gimple optimization passes, but call the dumpers 'tree'. I know how we ended up here, but it seems confusing.

nathan

--
Nathan Sidwell

Reply via email to