mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-03-12 18:16:59 +01:00

newer gccs default to -std=c++17 which no longer allows operator++ to be used on 'bool's. this patch changes the type to unsigned char, just like newer gcc versions have it.
12 lines
425 B
Diff
12 lines
425 B
Diff
--- gcc-5.3.0/gcc/reload.h
|
|
+++ gcc-5.3.0.orig/gcc/reload.h
|
|
@@ -168,7 +168,7 @@
|
|
value indicates the level of indirect addressing supported, e.g., two
|
|
means that (MEM (MEM (REG n))) is also valid if (REG n) does not get
|
|
a hard register. */
|
|
- bool x_spill_indirect_levels;
|
|
+ unsigned char x_spill_indirect_levels;
|
|
|
|
/* True if caller-save has been reinitialized. */
|
|
bool x_caller_save_initialized_p;
|