------- Comment #14 from jojelino at gmail dot com  2010-07-12 00:50 -------
then we get more reduced testcase

typedef struct sfoo{
        int ob_refcnt;
} foo;
typedef struct sbar{
        int ob_refcnt;
} bar;
extern __attribute__((dllimport)) bar bar1;
foo* stub1(){
return (                                \
                \
        ((foo*)(((foo *) &bar1)))->ob_refcnt++), ((foo *) &bar1);
}
int main()
{
        foo* a=stub1();
        return a;
}


-- 


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

Reply via email to