bugAVR C Runtime Library - Bugs: bug #3485, Using float arithmetic without...

 
 

bug #3485: Using float arithmetic without linking with -lm result in incorrect code

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Tue May 6 14:12:24 2003  
 
Category: LibrarySeverity: 2 - Minor
Priority: 2Item Group: libm code
Status: NonePercent Complete: 50%
Assigned to: Eric Weddington <arcanum>Open/Closed: Open
Release: 1.6.2Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun Sep 2 19:45:32 2012, comment #6:

See also the discussion in avr-gcc: Add --with-avrlibc configure option for AVR-Libc

Georg-Johann Lay <gjlayde>
Thu Mar 20 05:46:28 2008, comment #5:

Well, let's keep this one open until all of our libgcc routines
have really been integrated into libgcc (__fixunssfsi etc.).
This is the actual reason for the incorrect code, and I've
already talked to Dmitry, he wants to look into what needs to
be done to contribute that back to the GCC project.

Unless any of the functions from <math.h> is needed, linking
against libm.a ought to be entirely optional, and should not
cause different code to be generated.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed Nov 1 09:02:30 2006, comment #4:

Bug #18169 has been marked as a duplicate.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed Dec 22 22:35:07 2004, comment #3:

Oops, closing this item was not intented.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed Dec 22 22:11:09 2004, comment #2:

We ought to merge libc and libm completely. There are
other discrepancies as well, like FP conversion functions
listed in <stdlib.h>, while their implementation is only
present in libm.a.

This item will be deferred until after the release of 1.2.0.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed May 7 15:46:31 2003, comment #1:

Reduced severity as it's a documentation change.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gjlayde (Posted a comment)
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by joerg_wunsch (Updated the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 21 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Jun 18 20:04:28 2008arcanumStatusFixed=>None
      Percent Complete100%=>50%
    Wed Jun 18 20:03:19 2008arcanumReleaseNone=>1.6.2
    Thu Mar 20 05:46:28 2008joerg_wunschCategoryDocumentation=>Library
      Item GroupDocumentation=>libm code
      Open/ClosedClosed=>Open
      Fixed Release1.7.1=>None
    Wed Mar 19 23:39:48 2008arcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.7.1
    Wed Mar 19 23:39:47 2008arcanumItem Grouplibm code=>Documentation
    Mon Jan 8 13:00:15 2007joerg_wunschItem GroupNone=>libm code
    Wed Nov 1 09:02:30 2006joerg_wunschCarbon-Copy-=>Added -unavailable-
    Wed Dec 22 22:35:07 2004joerg_wunschOpen/ClosedClosed=>Open
    Wed Dec 22 22:11:09 2004joerg_wunschOpen/ClosedOpen=>Closed
    Wed Dec 22 22:07:30 2004arcanumPriority3 - Low=>2
    Mon Nov 1 23:42:29 2004arcanumAttached File#906=>Removed
    Wed Dec 24 18:05:02 2003NoneAttached File-=>Added TASK MANAGER.EXE, #906
    Wed May 7 15:46:31 2003arcanumSeverity3 - Normal=>(Error - Not Found)

    Back to the top


    Powered by Savane 3.1-cleanup