[Bug tree-optimization/114206] recursive function call vs local variable addresses

2024-03-02 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114206 --- Comment #3 from congli --- How about this one: https://gcc.godbolt.org/z/Wvhddb7nf? We ensured the two `b`s are different at each f() call.

[Bug tree-optimization/114206] recursive function call vs local variable addresses

2024-03-02 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114206 --- Comment #2 from congli --- That's correct. But I think it is not that reasonable if we treat the `b` like `b` is a `static const` variable rather than a `const` variable? Any documents telling this?

[Bug c/114207] New: Wrong code bug since GCC 12.1

2024-03-02 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114207 Bug ID: 114207 Summary: Wrong code bug since GCC 12.1 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/114206] New: GCC generates wrong-code

2024-03-02 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114206 Bug ID: 114206 Summary: GCC generates wrong-code Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/111836] New: gcc: internal compiler error: in get_expr_operands, at tree-ssa-operands.cc

2023-10-16 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111836 Bug ID: 111836 Summary: gcc: internal compiler error: in get_expr_operands, at tree-ssa-operands.cc Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c/111811] New: gcc: internal compiler error: tree check: expected none of vector_type, have vector_type in finish_struct

2023-10-14 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111811 Bug ID: 111811 Summary: gcc: internal compiler error: tree check: expected none of vector_type, have vector_type in finish_struct Product: gcc Version: 14.0 Status: