http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58218
Bug ID: 58218
Summary: -mcmodel=medium cause assembler warning "ignoring
incorrect section type for .lbss"
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
The following statement causes an assembler warning from gcc when compiled with
-mcmodel=medium
Any other -mcmodel suboptions work fine.
This is the culprit:
struct { float x[16385]; } a = { { 0.f, } };
This bug was found by Mat Cross of NAG.