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

Memory corruption in compiler using bitfields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      I found a strange thing. The xmlout2.ecl compiled differently on Unbuntu 16.04 and CentOS with same platform code (6.4.0).
      Ubuntu 16.04:

      ecl run -t hthor xmlout2.ecl
      xmlout2.ecl(66,38): warning C1023: Condition is always false
      0 error, 1 warning
      
      
      eclcc: xmlout2.ecl(66,38): Warning C1023:  Condition is always false
      0 error(s), 1 warning(s)
      
      <Result>
      <Dataset name='Result 1'>
      </Dataset>
      

      CentOS:

       ecl run -t hthor  ecl/xmlout2.ecl
      
      <Result>
      <Dataset name='Result 1'>
      </Dataset>
      

      The results are same on both system.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: