------- Comment #8 from pinskia at gcc dot gnu dot org 2010-06-26 00:25 ------- (In reply to comment #7) > (In reply to comment #4) > > In the case of if, the value was "inlined" and in the case of ?:, it is > > not. I > > had a patch which changed the behavior but lost it when I moved companies. > > And what did your patch do exactly?
It was able to look into xyz?decl1:decl2 and create xyz?ABC:DEF; but I cannot remember where I placed it. It worked for lvalues too because this part was done after (a?b:c) = d; was converted into a?b = d: c = d; or the address expression was pushed into the ?:. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44673