Issue Details (XML | Word | Printable)

Key: PCC-378
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

placing a pointer to an undefined struct in specific section fails

Created: 01/Sep/11 10:14 PM   Updated: 02/Sep/11 05:38 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386

 Description  « Hide
The following code example

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

when compiled with pcc fails with an error

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

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 02/Sep/11 05:38 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Anders Magnusson added a comment - 02/Sep/11 05:38 PM

Anders Magnusson made changes - 02/Sep/11 05:38 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]