This is the mail archive of the gcc-patches@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: [patch] Prevent -fprofile-arcs and -fbranch-probabilities rtlfrom diverging


Jan Hubicka wrote:

It would not be terribly bad to have it in compiler even after
tree-profiling branch is merged (tree-ssa itself does not obsolette RTL
profilng yet).  I plan to keep the RTL feedback code working.  It is
usefull for verification of profile updating code and several copmilers
allow feedback to be read at multiple stages so the late stages of
compilation are not affected by incorrectly guessed profile updates.
ok, if you're happy with it, then I am too.

Zdenek, thanks for explaining. It is a pity there isn't a smaller way
of doing what is needed. BTW, this idiom
+   va_start (ap, arg);
+   va_copy (aq, ap);
is not necessary, you can write
va_start (ap, arg);
...
va_end (ap);

va_start (ap, arg);
...
va_end (ap);

although that is a minor point :)

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



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