------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-30 22:00 -------
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) nsINIParser
{
    static void Init();
};
__attribute__ ((visibility ("default")))
void
CheckCompatibility(void)
{
  nsINIParser::Init();
}


Confirmed, not a regression, with -fPIC this should call a PLT based function
but does not.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |c++
     Ever Confirmed|0                           |1
  GCC build triplet|x86_64-unknown-linux-gcc    |
   GCC host triplet|x86_64-unknown-linux-gcc    |
 GCC target triplet|x86_64-unknown-linux-gcc    |
           Keywords|                            |wrong-code
      Known to fail|                            |4.0.3 4.1.0 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-30 22:00:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905

Reply via email to