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]

Re: some tree-ssa vs mainline stats


law@redhat.com writes:

  >  >
  >  >Also there's a lot of "if (1)" and "if (0)" code.
  > I'd love to have a compilable example.  If we've got if (1) or if (0) code
  > lying around, I'd definitely want to have a deeper look.

Sure, compile the attached code with the c++ compiler. 
It's from PR8361, I have no idea what the code does.

There are a lot of class and template definitions, that have a lot of
inline functions, but just 2 functions defined at the top level:
"sameComponentInHead" and "MODEL_GENERATOR::initialiseRules".
The .optimized dump for the first one has a few if (1)s and the second
has some if (0)s.


Attachment: generate-minimized.ii.bz2
Description: Binary data


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