URL:
  <http://savannah.nongnu.org/bugs/?24877>

                 Summary: Long Multiply Does not work under certain
circumstances
                 Project: AVR C Runtime Library
            Submitted by: john_tartar
            Submitted on: Wed 19 Nov 2008 04:09:38 AM GMT
                Category: Build Infrastructure
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build system
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Unknown
           Fixed Release: None

    _______________________________________________________

Details:

Long multiply does not work, when one parameter is local and one is global. 
ATMega 168, version 20080403

For example

long x=40000l, y=40000l;
long ten=10l;

int main(void)
{
.
.
.
}

void sub1(void)
x*=10;  //Should multiply by 10, but doesn't

y*=ten;//works just fine.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?24877>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to