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 bootstrap/51098] [4.7 Regression] bootstrap failed on avx i686, svn revision 181259 to 181267


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86-avx
                 CC|                            |rth at gcc dot gnu.org

--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-14 22:52:42 UTC ---
It looks that your assembler doesn't support AVX, so a fallback is triggered in
config/x86/x86_avx.cc:

#ifdef HAVE_AS_AVX
...
#define OUTPUT(T)    _ITM_TYPE_##T
#define INPUT(T,X)    , _ITM_TYPE_##T X
#else
...
#define OUTPUT(T)    void
#define INPUT(T,X)
#endif

#define ITM_READ_MEMCPY(T, LSMOD, TARGET, M2)                \
OUTPUT(T) ITM_REGPARM _ITM_##LSMOD##T (const _ITM_TYPE_##T *ptr)    \
...

The problem is, that declarations in libitm.h do not agree with this:

#define ITM_BARRIERS(T) \
  extern _ITM_TYPE_##T _ITM_R##T(const _ITM_TYPE_##T *) ITM_REGPARM;    \
  extern _ITM_TYPE_##T _ITM_RaR##T(const _ITM_TYPE_##T *) ITM_REGPARM;    \
  extern _ITM_TYPE_##T _ITM_RaW##T(const _ITM_TYPE_##T *) ITM_REGPARM;    \
  extern _ITM_TYPE_##T _ITM_RfW##T(const _ITM_TYPE_##T *) ITM_REGPARM;    \
...


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