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

Re: increasing var twice in a statement


Christian Böhme wrote:

Try to derive a syntax tree from the expression and evaluate it by
walking that tree using your defined order and you'll arrive at a = 9.


You don't have to derive anything. By supplying -fdump-tree-all and/or -fdump-rtl you can see exactly what GCC is doing.


David Daney


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