avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #24877] Long Multiply Does not work under certain ci


From: John Tartar
Subject: [avr-libc-dev] [bug #24877] Long Multiply Does not work under certain circumstances
Date: Wed, 19 Nov 2008 04:09:40 +0000
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]