Changeset 663


Ignore:
Timestamp:
Sep 8, 2003, 6:54:44 PM (22 years ago)
Author:
zap
Message:

Temporary workaround for the annoying bug in type checker somewhere inside gcc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/gcc/config/i386/i386.c

    • Property cvs2svn:cvs-rev changed from 1.11 to 1.12
    r662 r663  
    15621562    return 1;
    15631563
     1564/*@@@todo: this doesn't work yet because of some bug somewhere inside gcc.
     1565testcase for both C and C++:
     1566  void f (); static void (* _Optlink x) () = f;           <-- compiles ok
     1567testcase for C++:
     1568  void _Optlink f (); static void (* _Optlink x) () = f;  <-- bad types
     1569*/
     1570#if __ANNOYING_BUG_IN_GCC_IS_FINALLY_FIXED
    15641571  /* The function may have only one calling convention.
    15651572   * For simplicity we translate the calling conversion attribute
     
    15941601  /* They are nearly compatible */
    15951602  return 2;
     1603#else
     1604  return 1;
     1605#endif
    15961606}
    15971607
Note: See TracChangeset for help on using the changeset viewer.