[Bug ld/26836] New: potential memory leak in parse_args

2020-11-03 Thread liuyingying19 at huawei dot com
Assignee: unassigned at sourceware dot org Reporter: liuyingying19 at huawei dot com Target Milestone: --- Test case: #include int main() { printf("Hello world!\n"); return 0; } ==74578==ERROR: LeakSanitizer: detected memory leaks Direct leak of 5664 by

[Bug ld/24226] Need advise on the binutils problem that generating wrong instruction like lw a3,-2048(a5) on RISC-V backend

2019-02-19 Thread liuyingying19 at huawei dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24226 --- Comment #5 from GraceLiu --- (In reply to Jim Wilson from comment #4) > Yes, I'd call this a compiler bug. It is triggered when we have a long long > inside a packed structure compiled for a 32-bit target, where the long long > must be pa

[Bug ld/24226] Need advise on the binutils problem that generating wrong instruction like lw a3,-2048(a5) on RISC-V backend

2019-02-18 Thread liuyingying19 at huawei dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24226 --- Comment #3 from GraceLiu --- (In reply to Jim Wilson from comment #1) > The medany explicit-relocs problem is different than the one here. This > requires an auipc to trigger, and there is no auipc here. > > This looks like a compiler bu

[Bug ld/24226] New: Need advise on the binutils problem that generating wrong instruction like lw a3,-2048(a5) on RISC-V backend

2019-02-17 Thread liuyingying19 at huawei dot com
: unspecified Status: UNCONFIRMED Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: liuyingying19 at huawei dot com Target Milestone: --- Created attachment 11610 --> ht