Displaying 1 result from an estimated 1 matches for "db4743d7".
2016 Mar 23
1
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
The rationale given does not seem to square (IMHO) with the ubiquitous
practice of having 0- or 1-length array at the end of a struct and then
allocating additional elements for it using malloc, or the so-called
"struct hack":
http://c-faq.com/struct/structhack.html
For example:
typedef struct {
enum inst_type type;
unsigned num_ops;
struct operand ops[1];
} inst;