AVR C Runtime Library - Bugs: bug #35496, _FFS: Macro should be obsoleted/no...
You are not allowed to post comments on this tracker with your current authentication level.
bug #35496: _FFS: Macro should be obsoleted/no more recommended
Submitter: | Georg-Johann Lay <gjlayde> | ||
Submitted: | Thu 09 Feb 2012 09:43:52 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 9 - Immediate | Item Group: | libc code |
Status: | Wont Fix | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | 1.8.0 | Fixed Release: | None |
Fri 16 Nov 2012 08:57:21 PM UTC, comment #2: |
Georg-Johann Lay <gjlayde> |
Fri 16 Nov 2012 06:44:09 PM UTC, comment #1: Johann, which file needs to be changed? |
Eric Weddington <arcanum> |
Thu 09 Feb 2012 09:43:52 PM UTC, original submission:
GCC's builtin machinery can fold ffs* with constant arguments.
|
Georg-Johann Lay <gjlayde> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-11-16 | arcanum | Status | None | Wont Fix | |
Open/Closed | Open | Closed | |||
2012-11-16 | arcanum | Priority | 5 - Normal | 9 - Immediate |
Powered by Savane 3.13-f8d8.
Corresponding source code
GCC's optimization for ffs depends on -std=, and users will use ffs and not __builtin_ffs.
I'd say close this issue
...because it is tedious to work out in configure whether or not avr-gcc comes with optimized ffs insns and if it's appropriate that libc maps ffs to __builtin_ffs or not.