K.Omoto wrote:
Hello,

I'm trying to use mega64 and made a simple program like,

int main(void)
{
  DDRD=0xff;
  PORTD='a';
  call_something(); <--(1)
  PORTD='b';        <--(2)
  :
}

Try this:
-----------------------------------
int main(void)
{
    DDRD=0xff;
    PORTD='a';
    call_something();
    PORTD='b';
    while(1)
    {
    }
}
-----------------------------------


the environment is..
 gcc 3.4.6

Oh, interesting. I didn't release that 3.4.6 had been released. The GCC website didn't announce it, but I see it on one of the mirrors.

@ Joerg Wunsch (CCed)
It would be nice to know if the compiler bug that showed up in 3.4.5 was fixed for 3.4.6.

--
Eric Weddington


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to