Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22446

Remove WORK_AROUND_GCC_CONDITION_BUG code

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      There is some old code in hqlcpp.cpp:

       

      bool WORK_AROUND_GCC_CONDITION_BUG = (options.targetCompiler == GccCppCompiler);
       if (WORK_AROUND_GCC_CONDITION_BUG && expr->queryChild(1)->getOperator() == no_if) 
      

      I haven't yet worked out when it was introduced (pre git), and I suspect that whatever the bug was it has long been fixed..

      Found when looking at differences for HPCC-11018

       

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: