Tool/software: TI C/C++ Compiler
I think I have stumbled onto a bug in the C2000 compiler. A following struct should be 3 MAUs in size, but instead it is 4 MAUs.
typedef struct { float test1; bool test2; } float_bool_t;
This can be seen by putting sizeof(float_bool_t) in the CCS Expression window as follows:
Note that a struct with float, bool, bool is also 4 MAUs:
typedef struct { float test1; bool test2; bool test3; } float_bool_bool_t;
I have attached a example project demonstrating the problem using CCS 7.4.0.00015 and TI v18.1.0.LTS.
-Joseph