AVR C Runtime Library - Bugs: bug #34423, util/crc16.h: with -Os option...
You are not allowed to post comments on this tracker with your current authentication level.
bug #34423: util/crc16.h: with -Os option inline functions are called causing registers value loss
Submitter: | Karol Grzybowski <karol_grzybowski> | ||
Submitted: | Wed 28 Sep 2011 08:33:29 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | Invalid | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | 1.7.1 | Fixed Release: | None |
Jump to the original submission
Fri 30 Sep 2011 05:17:54 PM UTC, comment #6: |
Georg-Johann Lay <gjlayde> |
Fri 30 Sep 2011 02:57:33 PM UTC, comment #5: I tried to backport the change from GCC's trunk to version
|
Joerg Wunsch <joerg_wunsch> |
Fri 30 Sep 2011 02:21:57 PM UTC, comment #4: Addendum: I've got the hint that this is likely being fixed
|
Joerg Wunsch <joerg_wunsch> |
Fri 30 Sep 2011 01:42:07 PM UTC, comment #3:
|
Joerg Wunsch <joerg_wunsch> |
Thu 29 Sep 2011 10:59:25 AM UTC, comment #2: Thank you for your post. Yes, you're rigth. It should work, but doesn't and I wonder why. (The compiler options are as default in AVRStudio 5). Here's wider description of my problem.
|
Karol Grzybowski <karol_grzybowski> |
Thu 29 Sep 2011 04:52:23 AM UTC, comment #1: I don't understand that half-sentence:
|
Joerg Wunsch <joerg_wunsch> |
Wed 28 Sep 2011 08:33:29 PM UTC, original submission:
gcc 4.5.1, AVR_8_bit_GNU_Toolchain_3.2.3_315
|
Karol Grzybowski <karol_grzybowski> |
Depends on the following items: None found
Items that depend on this one: None found
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-09-30 | joerg_wunsch | Attached File | - | Added avr.c.diff, #24055 | |
2011-09-30 | joerg_wunsch | Status | None | Invalid | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2011-09-28 | karol_grzybowski | Carbon-Copy | - | Added karol_grzybowski |
Powered by Savane 3.13-d3ae.
Corresponding source code
This is http://gcc.gnu.org/PR46779 which is fixed in 4.6.2+ (09/2011) and not yet released.
You or someone alse will have to backport it to 4.5, and as Joerg reports that works without itches.
Joerg, would you attach .i or appropriate .c together with options to reproduce on 4.5 to the PR and add respective version to "known to fail"? Thanks.