[tree-ssa] SSA bug or feature?

Pop Sébastian pop@gauvain.u-strasbg.fr
Thu Sep 4 12:27:00 GMT 2003


Hi,

Recently I've ran into a case where the arguments of two phi nodes reference 
each other, creating an unusual loop in the SSA representation:

  normal_call_insns_8 = PHI <0B(380), normal_call_insns_9(782)>;
  ...
  normal_call_insns_9 = PHI <normal_call_insns_8(773), T.1529_2087(777), T.1529_2087(778)>;

This case showed up during the analysis of the expand_call function in 
gcc/gcc/calls.c.

Is this a valid SSA code, or is the SSA screwed up by one of the optimizers?



More information about the Gcc mailing list