[PATCH, trivial, 1/3] Simplify loop in pp_write_text_as_dot_label_to_stream
Tom de Vries
Tom_deVries@mentor.com
Mon Apr 4 12:14:00 GMT 2016
Hi,
this patch simplifies the loop structure in
pp_write_text_as_dot_label_to_stream:
- it rewrites the while loop into a for loop
- it factors common code out of the switch cases.
No functional changes.
Bootstrapped and reg-tested on x86_64.
Will commit to stage1 trunk as trivial.
Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-loop-in-pp_write_text_as_dot_label_to_stream.patch
Type: text/x-patch
Size: 1466 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160404/d715493f/attachment.bin>
More information about the Gcc-patches
mailing list