[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #5454] Inline functions results in undefined referen
From: |
nobody |
Subject: |
[avr-libc-dev] [bug #5454] Inline functions results in undefined reference when optimize level 0 is used. |
Date: |
Tue, 23 Sep 2003 08:17:56 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) |
=================== BUG #5454: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5454&group_id=2140
Changes by: Einar Sjaavik <address@hidden>
Date: Tue 09/23/03 at 12:17 (GMT)
------------------ Additional Follow-up Comments ----------------------------
demo.zip contains the test case. It is placed in C:/WinAVR/examples/demo. Try
to make with the current optimization of zero, then change to other level and
do a successful make.
------------------ Additional Bug Attachment ----------------------------
File name: demo.zip Size:6 KB
http://savannah.nongnu.org/bugs/download.php?group_id=2140&bug_id=5454&bug_file_id=670
=================== BUG #5454: FULL BUG SNAPSHOT ===================
Submitted by: EinarSjaavik Project: AVR C Runtime Library
Submitted on: Sat 09/20/03 at 17:54
Category: Library Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Originator Email: address@hidden
Status: Open
Summary: Inline functions results in undefined reference when optimize level 0
is used.
Original Submission: Inline function defined in header file does not result in
any code when GCC compiler optimization is set to 0 (zero). Thus the linker
cannot find any code for this function.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Tue 09/23/03 at 12:17 By: EinarSjaavik
demo.zip contains the test case. It is placed in C:/WinAVR/examples/demo. Try
to make with the current optimization of zero, then change to other level and
do a successful make.
-------------------------------------------------------
Date: Mon 09/22/03 at 14:51 By: arcanum
Can you provide a small test case so this can be reproduced?
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Tue 09/23/03 at 12:17 Name: demo.zip Size: 6KB By: EinarSjaavik
http://savannah.nongnu.org/bugs/download.php?group_id=2140&bug_id=5454&bug_file_id=670
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5454&group_id=2140
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/