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

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)

Comment by Anders Magnusson [ 19/Apr/14 05:14 PM ]
Now added push and pop.
Generated at Fri Oct 20 21:42:35 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.