------- Comment #8 from pinskia at gcc dot gnu dot org 2006-05-05 17:10 ------- (In reply to comment #7) > Consider the following: > > volatile int j; > void p() > { > ++j; > } > > Gimplify in its present form might transform the statement above into > something like the following:
It will never get the wrong type. because create_tmp_from_val uses TYPE_MAIN_VARIANT. Your issue with ++j not using incr is not related to the gimplifier at all as it also happens in every compiler version since at least 2.95.3. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27445