Bug 90476 - mas.c:222: bad for loop ?
Summary: mas.c:222: bad for loop ?
Status: NEW
Alias: None
Product: liboil
Classification: Unclassified
Component: unknown (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Schleef
QA Contact: David Schleef
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 19:23 UTC by dcb314
Modified: 2015-05-15 19:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description dcb314 2015-05-15 19:23:20 UTC
mas.c:222:19: warning: iteration 8u invokes undefined behavior [-Waggressive-loop-optimizations]

 const int taps[8] = { -8, 4, 46, 86, 86, 46, 4, -8 };

  for(i=0;i<12;i++){
    data[i] = taps[i];
  }


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.