public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* -fprofile-arcs and -fbranch-probabilities
@ 1997-12-05 18:45 G. Sumner Hayes
  0 siblings, 0 replies; only message in thread
From: G. Sumner Hayes @ 1997-12-05 18:45 UTC (permalink / raw)
  To: egcs

Are -fprofile-arcs and -fbranch-probabilities supposed to be stable
in egcs-1.0, or are they still under development?

Compiling with -fprofile-arcs works fine and running the resulting
executable generates many .da files; trying to compile the results
with -fbranch-probabilities gives mixed results.  Some files compile
fine.  Some have warnings (shown below).  Some cause cc1 to get fatal
signal 6 and die (shown below).  If this is expected, fine; if not,
any ideas what's causing it?

Warnings are often of this form:
../bbox.c: In function `Destroy_Bounding_Slabs':
../bbox.c:1909: warning: Arc profiling: some arc counts were bad.
../bbox.c: In function `Destroy_BBox_Tree':
../bbox.c:1909: warning: Arc profiling: some arc counts were bad.
../bbox.c: In function `Create_Rayinfo':
../bbox.c:1909: warning: Arc profiling: some arc counts were bad.
../bbox.c: In function `create_bbox_node':
../bbox.c:1909: warning: Arc profiling: some arc counts were bad.
../bbox.c: In function `calc_bbox':
../bbox.c:1909: warning: Arc profiling: some arc counts were bad.
../bbox.c: At top level:
../bbox.c:1909: warning: .da file contents not exhausted

Some files die with errors like the following:
../boxes.c: In function `Intersect_Box':
../boxes.c:528: internal error--unrecognizable insn:
(jump_insn/s 92 91 94 (set (pc)
        (if_then_else (le (cc0)
                (const_int 10000))
            (label_ref 157)
            (pc))) -1 (insn_list:REG_DEP_ANTI 82 (insn_list:REG_DEP_ANTI 84 (insn_list 89 (insn_list 88 (nil)))))
    (expr_list:REG_BR_PROB (const_int 5809)
        (nil)))
gcc: Internal compiler error: program cc1 got fatal signal 6


Thanks for your time,

  Sumner

-- 
rage, rage against the dying of the light

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-05 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-05 18:45 -fprofile-arcs and -fbranch-probabilities G. Sumner Hayes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).