bugAVR C Runtime Library - Bugs: bug #12739, Gcc assumes that target libc...

 
 

bug #12739: Gcc assumes that target libc provides ffs function

Submitted by:  None
Submitted on:  Tue 19 Apr 2005 07:21:02 PM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich 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 25 Sep 2005 12:04:14 AM UTC, comment #9:

Patch to 'avr-libc-sources-20050915'.
It is a result of 'cvs rdiff -u' command.
New functions are included with DOXYGEN comments.
Tests are not included.

Anonymous
Tue 13 Sep 2005 09:23:15 PM UTC, comment #8:

Diff for CVS version. I have not insert documentation comments and have not check documentation building for the present. Tests are not included.

Anonymous
Sun 11 Sep 2005 08:47:00 PM UTC, comment #7:

Re-opened after recent discussion in avr-libc-dev.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Thu 08 Sep 2005 06:51:58 PM UTC, comment #6:

Björn rather wants to fix that inside libgcc.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 07 Sep 2005 10:02:11 PM UTC, comment #5:

Today I have taken a 'ffs-20050423.tar.gz' to check up, what version of functions there is. The file did not manage to be unpacked! I have found at myself an initial variant. It has appeared, that the length of files coincides only, and contents are completely destroyed! I send a file repeatedly, having changed only date in a name of archive.

Dmitry.

Anonymous
Wed 07 Sep 2005 07:49:48 PM UTC, comment #4:

Is there any news from any of those who discussed that item
previously? Otherwise, I'd go ahead and commit what's there.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Sat 23 Apr 2005 09:13:04 AM UTC, comment #3:

I've had a look at your functions.

Very good! Most interesting for me has been that there is this __builtin_constant_p () function! Very useful!
Did not know that beforehand.

Suggestion from my side concerning the implementation is:

I'd try to make the function as efficient as a real builtin function of gcc by defining

char ffs inline (int param)
{
inline asm stating in which registers to pass parameters
and which registers are actually clobbered.
}

Possibly this way one could also remove things like the
"clr r25" for the zero-extension that possibly is not necessary.

I'll think about that and send a more detailed suggestion.

Yours,

Björn

Anonymous
Sat 23 Apr 2005 03:12:36 AM UTC, comment #2:

AVR-optimized 'ffs' functions family is present. And tests.

Anonymous
Tue 19 Apr 2005 07:26:40 PM UTC, comment #1:

For reference, the ffs function can be found in newlib.
<http://sources.redhat.com/newlib/libc.html#SEC187>

Eric Weddington <arcanum>
Project Administrator
Tue 19 Apr 2005 07:21:02 PM UTC, original submission:

GCC assumes that a ffs function is provided by the target's libc. The corresponding gcc bug reference is

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21079

This is not at all an urgent issue. Meanwhile I will mark the absence of support for ffs as known bug in the gcc testsuite framework.

Yours,

Björn

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #2956:  ffs-20051011.diff.gz added by None (3KiB - application/x-gzip - Patch to avr-libc-20050915, Copyright added.)
file #3045:  ffs-20050923.diff.gz added by None (2KiB - application/x-gzip - Patch to avr-libc-20050915)
file #3239:  ffs-20050914.diff.gz added by None (2KiB - application/x-gzip - Diff for CVS. Without documentation now.)
file #3460:  ffs-20050908.tar.gz added by None (4KiB - application/x-tgz - The same, as 'ffs-20050423.tar.gz'. Last is destroyed.)
file #2880:  ffs-20050423.tar.gz added by None (4KiB - application/x-tgz - Tarball with sources and tests.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

 

 

Follow 14 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 18 Oct 2005 10:46:55 PM UTCaesokStatusNone=>Fixed
  Assigned toaesok=>None
  Open/ClosedOpen=>Closed
Tue 11 Oct 2005 10:52:19 PM UTCNoneAttached File-=>Added ffs-20051011.diff.gz, #3037
Sun 09 Oct 2005 12:20:23 PM UTCaesokAssigned toNone=>aesok
Sun 25 Sep 2005 12:04:14 AM UTCNoneAttached File-=>Added ffs-20050923.diff.gz, #2996
Tue 13 Sep 2005 09:23:18 PM UTCNoneAttached File-=>Added ffs-20050914.diff.gz, #2949
Sun 11 Sep 2005 08:47:00 PM UTCjoerg_wunschStatusWont Fix=>None
  Open/ClosedClosed=>Open
Thu 08 Sep 2005 06:51:58 PM UTCjoerg_wunschStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed
Wed 07 Sep 2005 10:02:11 PM UTCNoneAttached File-=>Added ffs-20050908.tar.gz, #2927
Sat 23 Apr 2005 03:12:36 AM UTCNoneAttached File-=>Added ffs-20050423.tar.gz, #2432
Tue 19 Apr 2005 07:21:02 PM UTCNoneCarbon-Copy-=>Added bjoern --PUNKT-- m --PUNKT-- haase --AT-- web --PUNKT-- de

Back to the top


Powered by Savane 3.1-cleanup1