<< Back to previous view

[PCC-378] placing a pointer to an undefined struct in specific section fails Created: 01/Sep/11  Updated: 02/Sep/11

Status: Resolved
Project: pcc
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iain Hibbert Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: NetBSD/i386

The following code example

struct foo;
struct foo *foo __attribute__((__section__(".data.foo")));

when compiled with pcc fails with an error

  test.c, line 3: unknown structure/union/enum

Comment by Anders Magnusson [ 02/Sep/11 05:38 PM ]
Generated at Wed Oct 18 16:33:33 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.