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

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

[avr-libc-dev] [bug #19009] Make <util/delay.h> issue a warning when opt


From: Joerg Wunsch
Subject: [avr-libc-dev] [bug #19009] Make <util/delay.h> issue a warning when optimizations are turned off
Date: Fri, 09 Feb 2007 10:35:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

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

                 Summary: Make <util/delay.h> issue a warning when
optimizations are turned off
                 Project: AVR C Runtime Library
            Submitted by: joerg_wunsch
            Submitted on: Friday 02/09/2007 at 11:35
                Category: Header
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Many users attempt to use the inline functions from <util/delay.h>
but forget to enable optimizations in the compiler, leading to
bloated floating-point calculations being performed in the
target AVR rather than the compiler.

Have that header file issue a warning in that case, based on
GCC's __OPTIMIZE__ macro.




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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