Skip to content
Snippets Groups Projects

Work around a nasty compiler bug in GCC 6.3

Merged Steffen Müthing requested to merge bug/workaround-for-gcc-6-3-bug-in-bitsetvector into master
  1. Jun 29, 2018
    • Steffen Müthing's avatar
      Work around a nasty compiler bug in GCC 6.3 · 528b5f36
      Steffen Müthing authored
      GCC 6.3 errors out with an ICE or simply hangs when instantiating a certain variant of operator^= on
      BitSetVectorReference. This patch works around the problem by forcing the actual XOR instruction
      into a separate function for that compiler. The workaround is probably horribly slow, but it
      shouldn't have any impact on unaffected compilers.
      
      This probably needs backporting.
      528b5f36
Loading