[Bug sanitizer/107374] Please expand the size of flag_sanitize to uint64_t

2022-10-24 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107374 --- Comment #2 from ashimida --- (In reply to Jakub Jelinek from comment #1) > We don't do such things just for case, rather changes like that are done as > part of a patch that adds the first thing that needs it. Ok, got it, thanks a lot :) D

[Bug c/107048] GCC lacks -fsanitize=kcfi

2022-10-24 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048 --- Comment #1 from ashimida --- (In reply to peterz from comment #0) > Please implement -fsanitize=kcfi to match llvm/clang: > > > https://github.com/samitolvanen/llvm-project/commit/ > f7bf6a87c4fd945800115a17b8b61390541fabd0 > > The Linux

[Bug sanitizer/107374] New: Please expand the size of flag_sanitize to uint64_t

2022-10-24 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107374 Bug ID: 107374 Summary: Please expand the size of flag_sanitize to uint64_t Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/104414] [AArch64] About the condition of calls_alloca in aarch64_layout_frame

2022-02-07 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104414 --- Comment #2 from ashimida --- (In reply to Richard Biener from comment #1) > Please ask such questions on the mailing list instead, there you will more > likely get an answer. Oh, thanks, sorry to bother.

[Bug target/104414] New: [AArch64] About the condition of calls_alloca in aarch64_layout_frame

2022-02-07 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104414 Bug ID: 104414 Summary: [AArch64] About the condition of calls_alloca in aarch64_layout_frame Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-12-20 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #8 from ashimida --- Gentile ping for this :), thanks. https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587185.html

[Bug libgcc/103510] _Unwind_GetGR crashed for uninitialized registers

2021-12-09 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 --- Comment #5 from ashimida --- (In reply to Andrew Pinski from comment #3) > The only registers which are saved are the callee saved register IIRC. So > you need to know the ABI. Hi Andrew, Is it reasonable to save all registers (include cal

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-12-05 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #7 from ashimida --- Hi nsz, Could you please review this patch :) Link: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586204.html Thanks, -- Dan

[Bug libgcc/103510] _Unwind_GetGR crashed for uninitialized registers

2021-12-02 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 --- Comment #4 from ashimida --- (In reply to Andrew Pinski from comment #3) > The only registers which are saved are the callee saved register IIRC. So > you need to know the ABI. Thanks Andrew, I saw the following description in the IA-64 C+

[Bug libgcc/103510] _Unwind_GetGR crashed for uninitialized registers

2021-11-30 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 --- Comment #1 from ashimida --- For example, such a c code works find in clang with libunwind, and will cause a crash in gcc with libgcc in aarch64. #include #include #include _Unwind_Reason_Code callback(struct _Unwind_Context *context, v

[Bug libgcc/103510] New: _Unwind_GetGR crashed for uninitialized registers

2021-11-30 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510 Bug ID: 103510 Summary: _Unwind_GetGR crashed for uninitialized registers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/103017] Fix redundant check in aut insn generation

2021-11-30 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103017 ashimida changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-11-25 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #6 from ashimida --- RFC,v2: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/585496.html

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-11-23 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #5 from ashimida --- Created attachment 51854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51854&action=edit [RFC] Aarch64 add libgcc unwind support for shadow call stack

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-11-02 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #4 from ashimida --- RFC :) https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583062.html

[Bug target/103017] Fix redundant check in aut insn generation

2021-11-01 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103017 --- Comment #1 from ashimida --- Submitted at https://gcc.gnu.org/pipermail/gcc-patches/2021-November/582997.html

[Bug target/103017] New: Fix redundant check in aut insn generation

2021-11-01 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103017 Bug ID: 103017 Summary: Fix redundant check in aut insn generation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #2 from ashimida --- (In reply to nsz from comment #1) > note that this at least > > - requires runtime support (to manage the shadow stack), > - needs a reserved register (x18), > - affects unwinding (shadow stack must be unwoun

[Bug rtl-optimization/102768] New: [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 Bug ID: 102768 Summary: [feature request] Add support for aarch64 shadow call stack Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug other/101459] Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 --- Comment #5 from ashimida --- (In reply to Andrew Pinski from comment #4) > (In reply to ashimida from comment #3) > > (In reply to Richard Biener from comment #2) > > > The flag, -falign-functions is only enabled at -O2+ (but not -Os), but t

[Bug driver/101447] Remove legacy external declarations in toplev.h

2021-07-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 ashimida changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug other/101459] Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 --- Comment #3 from ashimida --- (In reply to Richard Biener from comment #2) > The flag, -falign-functions is only enabled at -O2+ (but not -Os), but the > actual alignment is recorded in the 'align_functions' data which is only > populated whe

[Bug other/101459] Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-14 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 --- Comment #1 from ashimida --- (In reply to ashimida from comment #0) > As descripted in online doc [1], -falign-functions is enable at levels > -O2/-O3. > But from source code and test result, this options is worked for all options > except

[Bug other/101459] New: Mismatch in description of option "-falign-functions" between source code and documentation

2021-07-14 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459 Bug ID: 101459 Summary: Mismatch in description of option "-falign-functions" between source code and documentation Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug driver/101447] Remove legacy external declarations in toplev.h

2021-07-14 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 --- Comment #3 from ashimida --- Submitted at https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575252.html

[Bug driver/101447] Remove legacy external declarations in toplev.h

2021-07-14 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 --- Comment #2 from ashimida --- (In reply to Jonathan Wakely from comment #1) > Yes, they are declared and never defined. > > If you submit a patch to gcc-patches I imagine it will be approved easily. Thanks,I will submit this patch later.

[Bug driver/101447] New: Remove legacy external declarations in toplev.h

2021-07-14 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 Bug ID: 101447 Summary: Remove legacy external declarations in toplev.h Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/98668] New: unused branch found in gcc/passes.c:do_per_function_toporder

2021-01-13 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98668 Bug ID: 98668 Summary: unused branch found in gcc/passes.c:do_per_function_toporder Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pr

[Bug other/98652] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98652 --- Comment #3 from ashimida --- *** Bug 98654 has been marked as a duplicate of this bug. ***

[Bug other/98654] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98654 ashimida changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/98652] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98652 --- Comment #2 from ashimida --- *** Bug 98653 has been marked as a duplicate of this bug. ***

[Bug other/98653] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98653 ashimida changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug other/98652] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98652 --- Comment #1 from ashimida --- *** Bug 98651 has been marked as a duplicate of this bug. ***

[Bug other/98651] unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98651 ashimida changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug other/98654] New: unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98654 Bug ID: 98654 Summary: unused code found in function analyze_functions:1194 Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug other/98653] New: unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98653 Bug ID: 98653 Summary: unused code found in function analyze_functions:1194 Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug other/98652] New: unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98652 Bug ID: 98652 Summary: unused code found in function analyze_functions:1194 Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug other/98651] New: unused code found in function analyze_functions:1194

2021-01-12 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98651 Bug ID: 98651 Summary: unused code found in function analyze_functions:1194 Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Compon