<< Back to previous view

[PCC-418] #pragma pack(push) not supported Created: 20/Feb/13  Updated: 19/Apr/14

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

Type: New Feature Priority: Major
Reporter: Dara Hazeghi Assignee: Anders Magnusson
Resolution: Fixed Votes: 0
Environment: x86_64-linux


 Description   
The following idiom is supported in gcc and clang, but not in pcc:

#pragma pack(push)
#pragma pack(1)
struct s
{
  long l;
  volatile int i;
};
#pragma pack(pop)

 Comments   
Comment by Anders Magnusson [ 19/Apr/14 05:14 PM ]
Now added push and pop.
Generated at Fri Aug 22 09:53:47 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.