Issue Details (XML | Word | Printable)

Key: STDCXX-796
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[gcc 4.1.1] many -Winline warnings

Created: 25/Mar/08 04:51 PM   Updated: 12/Nov/08 03:23 AM
Return to search
Component/s: Build and Installation
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 24h
Original Estimate - 24h
Remaining Estimate: 24h
Remaining Estimate - 24h
Time Spent: Not Specified
Remaining Estimate - 24h

Environment: gcc 4.1.1

Severity: Compiler Warning


 Description  « Hide
Optimized builds with recent versions of gcc produce thousands of inlining warnings. See:
$ gunzip -c linux_redhat_el-5.0-em64t-gcc-4.1.1-12d-639851-log.gz | grep "inlining failed" | wc -l
4191

We should at least make an effort to silence those coming out of library headers (e.g., by applying #pragma GCC system_header but we might want to review them first to see if they could be used to optimize our code.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 06/Apr/08 11:48 PM
Scheduled for 4.2.2.

Martin Sebor added a comment - 06/Apr/08 11:51 PM
As a data point: in a 12D build of stdcxx with gcc 3.4.6 there are a total of 17,569 of these warnings. Only 121 of them are distinct (most are repeated occurrences pointing to the same piece of code), Of these 68 are in the library headers.