GCC Middle and Back End API Reference
record_layout_info_s Struct Reference

#include <tree-core.h>

Collaboration diagram for record_layout_info_s:

Data Fields

tree t
tree offset
unsigned int offset_align
tree bitpos
unsigned int record_align
unsigned int unpacked_align
tree prev_field
vec< tree, va_gc > * pending_statics
int remaining_in_alignment
int packed_maybe_necessary

Detailed Description

These functions allow a front-end to perform a manual layout of a
RECORD_TYPE.  (For instance, if the placement of subsequent fields
depends on the placement of fields so far.)  Begin by calling
start_record_layout.  Then, call place_field for each of the
fields.  Then, call finish_record_layout.  See layout_type for the
default way in which these functions are used.   

Field Documentation

◆ bitpos

◆ offset

◆ offset_align

unsigned int record_layout_info_s::offset_align

◆ packed_maybe_necessary

int record_layout_info_s::packed_maybe_necessary

◆ pending_statics

vec<tree, va_gc>* record_layout_info_s::pending_statics

◆ prev_field

tree record_layout_info_s::prev_field

◆ record_align

unsigned int record_layout_info_s::record_align

◆ remaining_in_alignment

int record_layout_info_s::remaining_in_alignment

◆ t

◆ unpacked_align

unsigned int record_layout_info_s::unpacked_align

The documentation for this struct was generated from the following file: