why are few gcc graph output files incorrect ?
tys lefering
twlevo@gmail.com
Wed Sep 30 15:50:00 GMT 2009
>> noticed there are few files with syntax error when running checks
> I have no idea. You can try filing a gcc bug report for this, but the
> most likely way to fix this is probably going to be for you to dig
> into the code and figure out what is going wrong.
looked closer at gcc/graph.c and made a fix in it,
see the attachment.
it appears in gcc/graph.c print_rtl_graph_with_bb()
sometimes called end_bb() without a start_bb() and
this results in a extra '}' in the output generating
the parse error in the output graph.
now in graph.c added a check on this and the output
graph is oke.
for some reason basic blocks in functions sometimes
starts at 4 or 5 and not at 2, dont know why.
is there a maintainer for this graph.c or is it
better to add a bug report on this ?
thanks, tys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph.c
Type: text/x-csrc
Size: 12446 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090930/2e26b246/attachment.bin>
More information about the Gcc-help
mailing list