http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50322
vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Keywords|missed-optimization | Last reconfirmed| |2011-09-14 Component|tree-optimization |testsuite CC| |vries at gcc dot gnu.org AssignedTo|unassigned at gcc dot |vries at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #3 from vries at gcc dot gnu.org 2011-09-14 11:01:25 UTC --- the testcase uses 'long int' and 'char*', and the transformation is done provided they are the same size. avr sizes ---------------- int : 2 long int : 4 long long int: 8 char* : 2 Changing 'long int' to 'int' makes the testcase pass for avr. The testcase needs to be adapted.