<< 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


 Description   
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

 Comments   
Comment by Anders Magnusson [ 02/Sep/11 05:38 PM ]
Fixed.
Generated at Tue Sep 16 04:54:30 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.