[Bug tree-optimization/21982] GCC should combine adjacent stdio calls
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 9 17:08:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-09 17:07 -------
(In reply to comment #12)
> Pushing the first printf further down, this could be reordered as:
> int i=0, j=2;
> j++;
> printf("%d", i);
> printf("%d", j);
In fact this is how SSA works, in that there a variable is only ever assigned once so j_1 and j_2 can be
alive at the same time (well except for variables across abnormal edges).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21982
More information about the Gcc-bugs
mailing list