[Bug c/63189] [4.8 Regression] Incorrect results from trivial loop when optimized with O3 or O2+tree vectorization

2014-09-05 Thread br...@mynah-software.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63189 --- Comment #2 from Breton M. Saunders --- I'm actually showing the same symptoms on Ubuntu 12.04 using virtual-box and gcc v4.6.3. Here are the details: bms20@medivh-lbo-vm:~/LboPlatforms/ti37XX$ uname -a Linux medivh-lbo-vm 3.8.0-44-generic #

[Bug c/63189] New: Incorrect results from trivial loop when optimized with O3 or O2+tree vectorization

2014-09-05 Thread br...@mynah-software.com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: br...@mynah-software.com The following code runs two identical loops with the exception that one variable is marked as volatile: #include short int srcdata[16] = { 0, 0