[Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-13 Thread sean.wang at wdc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321 --- Comment #5 from sean.wang at wdc dot com --- Created attachment 45709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45709&action=edit code sample for reproducing reported error code sample for reproducing reported error is attached.

[Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-13 Thread sean.wang at wdc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321 --- Comment #4 from sean.wang at wdc dot com --- The assert it reached was this I think: gcc_assert(field == NULL_TREE); Thanks, Ian. It is helpful. I think I found a way to reproduce this issue on a smaller set of code. Will provide an example

[Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-12 Thread sean.wang at wdc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321 --- Comment #2 from sean.wang at wdc dot com --- I can certainly try. Based on the backtrace, do you have an educated guess on what type of condition in the code that I can try to isolate? For example, what does the assert condition mean? Thank

[Bug go/89321] New: cross build with riscv64 gccgo compilation failed due to assert in constructor_expression

2019-02-12 Thread sean.wang at wdc dot com
Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: sean.wang at wdc dot com CC: cmang at google dot com Target Milestone: --- * Built cross toolchain for riscv64 via gcc master branch commit hash