Issue Details (XML | Word | Printable)

Key: PCC-418
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Dara Hazeghi
Votes: 0
Watchers: 0

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

#pragma pack(push) not supported

Created: 20/Feb/13 08:45 PM   Updated: 19/Apr/14 05:14 PM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: x86_64-linux

 Description  « Hide
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)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 19/Apr/14 05:14 PM
Now added push and pop.