This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?



------- Comment #15 from mh+gcc at glandium dot org  2010-09-15 12:47 -------
Note that the original code doesn't use char *. I used char * to make it easily
visible with a printf. Actually, just writing

void foo(jsval_layout l, void *s2) {
    jsval_layout m;
    m.asBits = l.asBits;
    void ** data = (void**)m.ptr; 
    *data = s2;
}

exhibits the problem, afaics.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]