some tree-ssa vs mainline stats

Dan Nicolaescu dann@ics.uci.edu
Fri Jun 20 00:03:00 GMT 2003


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: generate-minimized.ii.bz2
Type: application/octet-stream
Size: 133158 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030620/6151473d/attachment.obj>


More information about the Gcc mailing list