atmega8a-pu PORTC not working in 3v3
In case both are supposed to be 3.3, measure the volt drop across both leds, one will be lower than the other. Also see what the supply voltage is during the firing of the led is for both ports.