[PATCH] this patch modify an unused variable in aarch64-unwind.h
Hi, This patch modify an unused variable in aarch64-unwing.h because the warning says "unused parameter 'fs'". Weiwt regards! --- libgcc/config/aarch64/aarch64-unwind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/aarch64/aarch64-unwind.h b/libgcc/config/aarch64/aarch64-unwind.h index 3c5f85b43c8..64fd1a74185 100644 --- a/libgcc/config/aarch64/aarch64-unwind.h +++ b/libgcc/config/aarch64/aarch64-unwind.h @@ -55,7 +55,7 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context) static inline void * aarch64_demangle_return_addr (struct _Unwind_Context *context, - _Unwind_FrameState *fs, _Unwind_Word addr_word) + _Unwind_FrameState *fs ATTRIBUTE_UNUSED, _Unwind_Word addr_word) { void *addr = (void *)addr_word; if (context->flags & RA_SIGNED_BIT) -- 2.18.1
[PATCH] fix a typo in rtl.def
Hi, This patch fix a typo in rtl.def. Regards! Weiwt --- gcc/rtl.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rtl.def b/gcc/rtl.def index 9754333eafb..7ec94a95105 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -380,7 +380,7 @@ DEF_RTL_EXPR(PC, "pc", "", RTX_OBJ) /* A register. The "operand" is the register number, accessed with the REGNO macro. If this number is less than FIRST_PSEUDO_REGISTER - than a hardware register is being referred to. The second operand + then a hardware register is being referred to. The second operand points to a reg_attrs structure. This rtx needs to have as many (or more) fields as a MEM, since we can change REG rtx's into MEMs during reload. */ -- 2.18.1
[PATCH] fix a typo in rtl.texi
Hi, This patch fix a typo in rtl.texi. Regards! Weiwt --- gcc/doc/rtl.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 501fa1a31da..f8e1f950823 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -3954,7 +3954,7 @@ variable. @findex NOTE_INSN_BEGIN_STMT @item NOTE_INSN_BEGIN_STMT This note is used to generate @code{is_stmt} markers in line number -debuggign information. It indicates the beginning of a user +debugging information. It indicates the beginning of a user statement. @findex NOTE_INSN_INLINE_ENTRY -- 2.18.1
[PATCH] doc: fix a typo in languages.texi
hi, This patch fix a typo in languages.texi. Regards! weiwt --- gcc/doc/languages.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/languages.texi b/gcc/doc/languages.texi index 70641482a1d..c6144f253c5 100644 --- a/gcc/doc/languages.texi +++ b/gcc/doc/languages.texi @@ -21,7 +21,7 @@ GCC, has several advantages: target machines already present in GCC@. @item GCC front ends benefit from all the optimizations in GCC@. Some of these, such as alias analysis, may work better when GCC is -compiling directly from source code then when it is compiling from +compiling directly from source code than when it is compiling from generated C code. @item Better debugging information is generated when compiling directly from source code than when going via intermediate generated C -- 2.18.1
[PATCH] fix a typo in tm.texi
This patch fix a typo in tm.texi. Regards! weiwt --- gcc/doc/tm.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 6e7d9dc54a9..9b780f757fe 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -11277,7 +11277,7 @@ this macro. @end defmac @defmac VECTOR_STORE_FLAG_VALUE (@var{mode}) -A C expression that gives a rtx representing the nonzero true element +A C expression that gives an rtx representing the nonzero true element for vector comparisons. The returned rtx should be valid for the inner mode of @var{mode} which is guaranteed to be a vector mode. Define this macro on machines that have vector comparison operations that -- 2.18.1