GCC -fvisibility behaves differently on different distribution or with different gcc version

GCC flag -fvisibility=hidden with pragma GCC visibility push(default)/pragma GCC visibility pop behaves differently with default compiler of OpenSuSE 13.1 and default compiler of OpenSuSE Tumbleweed. On Tumbleweed and 13.2 it works, but on 13.1 it doesn’t exports symbols between


#pragma GCC visibility push(default

and


#pragma GCC visibility pop

Can somebody help me?

It may only happens to builtin functions.

Regards,
Ajit Khodke
ESDS (Microsoft Dynamics ERP Partner)