[Bug c/60797] New: gcc hangs with error: only weak aliases are supported in this configuration

2014-04-09 Thread junchao.zhang at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: junchao.zhang at gmail dot com On my Mac OS X 10.9.2, when I use gcc to compile this program, test.c, #include extern int foo __attribute__((alias("bar")))

[Bug c++/107535] New: Shouldn't -fvisibility=hidden hide C++17 inline static variables?

2022-11-05 Thread junchao.zhang at gmail dot com via Gcc-bugs
ormal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: junchao.zhang at gmail dot com Target Milestone: --- I think inline static variables are global. However, they could be hidden by -fvisibility=hidden. This is dangerous, since w