The simplest way to achieve that at present is probably for Ubuntu (locally) to revert the patch:
2010-10-26 Jie Zhang <email address hidden>
Issue #1259
Backport from mainline:
gcc/
2010-10-26 Jie Zhang <email address hidden>
* stor-layout.c (layout_decl): Use the field's type to
determine the mode and keep DECL_BIT_FIELD for a volatile
bit-field.
* config/arm/arm.c (arm_override_options): Default to -fstrict-volatile-bitfields.
gcc/testsuite/
2010-10-26 Jie Zhang <email address hidden>
* gcc.target/arm/volatile-bitfields-1.c: New test.
* gcc.target/arm/volatile-bitfields-2.c: New test.
* gcc.target/arm/volatile-bitfields-3.c: New test.
Reverting the arm.c fragment should be enough. (This is Linaro GCC 4.5 rev 99425.)
The simplest way to achieve that at present is probably for Ubuntu (locally) to revert the patch:
2010-10-26 Jie Zhang <email address hidden>
Issue #1259
Backport from mainline:
gcc/
2010-10-26 Jie Zhang <email address hidden>
* stor-layout.c (layout_decl): Use the field's type to options) : Default to
-fstrict- volatile- bitfields.
determine the mode and keep DECL_BIT_FIELD for a volatile
bit-field.
* config/arm/arm.c (arm_override_
2010-10-26 Jie Zhang <email address hidden>
* gcc.target/ arm/volatile- bitfields- 1.c: New test. arm/volatile- bitfields- 2.c: New test. arm/volatile- bitfields- 3.c: New test.
* gcc.target/
* gcc.target/
Reverting the arm.c fragment should be enough. (This is Linaro GCC 4.5 rev 99425.)
Is that a possibility?