https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677
--- Comment #9 from liusujian ---
After lto and as:
/home/lsj/dts/SDK_CPU_RISCV/output/hcc_riscv32/hcc_riscv32/bin/../lib/gcc/riscv32-unknown-elf/7.3.0/../../../../riscv32-unknown-elf/bin/as
-v --traditional-format -march=rv32imc -march=rv32imc
: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: sujian.liu at huawei dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 49079
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49079&action=edit
the source code
Wh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677
--- Comment #8 from liusujian ---
(In reply to Nathan Sidwell from comment #6)
> Ah, anonymous namespaces have internal linkage (and a program-wide unique
> identifier). Their contents have the linkage they have. but because
> they're within th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677
--- Comment #7 from liusujian ---
Is this really a bug for the GCC when using LTO?
If so, is there any plan to fix this problem?
Thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677
--- Comment #2 from liusujian ---
(In reply to Richard Biener from comment #1)
> It's more likely the GENERIC / cgraph output by the C++ frontend is not
> correct
> and works by accident without LTO. Initial symbol table:
>
> Initial Symbol tab
onent: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: sujian.liu at huawei dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 48731
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48731&action=edit
dejagnu/testsuite
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95572
--- Comment #2 from sujian.liu at huawei dot com ---
(In reply to Martin Liška from comment #1)
> Hello.
> GCC 7.x is out of support, can you please test a newer release, ideally GCC
> 10.1 release?
I tried to compile with GCC 8.2.
: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: sujian.liu at huawei dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 48700
--> https://gcc.gnu.org/bugzilla/attachment.cgi