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 target/14330] using -O3 causes a core whereas -O2 and under work



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-12-17 00:50 -------
Yes this is case which looks like

    unsigned short cw;
    __asm__ __volatile__("fstcw %0" : "=m"(cw));
    cw &= ~(0x01|0x04|0x08);
    __asm__ __volatile__("fldcw %0" : : "m"(cw));
res = a*b;
    __asm__ __volatile__("fwait" : "=m"(erl_fp_exception) : "m"(f));

----
res = a*b can be moved anywhere.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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