diff options
Diffstat (limited to 'packages/gcc/4.9.4')
-rw-r--r-- | packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch | 8 | ||||
-rw-r--r-- | packages/gcc/4.9.4/0034-c++17-build-failure.patch | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch b/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch index 398f904..26df26b 100644 --- a/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch +++ b/packages/gcc/4.9.4/0033-fix-c6x-internal-compiler-error-and-multilib.patch @@ -5,6 +5,12 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57295 Fix c6x mulitibs build for uclinux Reported by: Dan Tejada <dan.tejada@cantada.com> +--- + gcc/config/c6x/c6x.md | 2 +- + gcc/config/c6x/predicates.md | 13 +++++++++++++ + gcc/config/c6x/t-c6x-uclinux | 4 +++- + 3 files changed, 17 insertions(+), 2 deletions(-) + --- a/gcc/config/c6x/c6x.md +++ b/gcc/config/c6x/c6x.md @@ -775,7 +775,7 @@ @@ -16,7 +22,6 @@ Reported by: Dan Tejada <dan.tejada@cantada.com> { emit_insn (gen_movmisalign<mode>_store (operands[0], operands[1])); DONE; - --- a/gcc/config/c6x/predicates.md +++ b/gcc/config/c6x/predicates.md @@ -224,3 +224,16 @@ @@ -36,7 +41,6 @@ Reported by: Dan Tejada <dan.tejada@cantada.com> + (if_then_else (match_test "reload_in_progress") + (match_test "strict_memory_address_p (mode, XEXP (op, 0))") + (match_test "memory_address_p (mode, XEXP (op, 0))"))))) - --- a/gcc/config/c6x/t-c6x-uclinux +++ b/gcc/config/c6x/t-c6x-uclinux @@ -1,3 +1,5 @@ diff --git a/packages/gcc/4.9.4/0034-c++17-build-failure.patch b/packages/gcc/4.9.4/0034-c++17-build-failure.patch index cc56aca..f545c85 100644 --- a/packages/gcc/4.9.4/0034-c++17-build-failure.patch +++ b/packages/gcc/4.9.4/0034-c++17-build-failure.patch @@ -4,8 +4,12 @@ Fixes Fixed upstream in GCC6+ in d57c99458933. ---- gcc-4.9.4/gcc/reload.h 2022-01-01 15:51:43.293254281 -0800 -+++ gcc-4.9.4/gcc/reload.h 2022-01-01 15:51:58.437424873 -0800 +--- + gcc/reload.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/gcc/reload.h ++++ b/gcc/reload.h @@ -166,7 +166,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 |