Bug 38760 - [graphite] wrong code with -fblock-loop
Summary: [graphite] wrong code with -fblock-loop
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks: 38431
  Show dependency treegraph
 
Reported: 2009-01-07 20:48 UTC by Joost VandeVondele
Modified: 2009-01-08 05:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
testcase (404 bytes, text/plain)
2009-01-07 20:49 UTC, Joost VandeVondele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joost VandeVondele 2009-01-07 20:48:16 UTC
with current trunk the small to be attached testcase (derived from CP2K) leads to wrong code

gfortran -g -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree-form -fgraphite -fgraphite-identity -floop-block -floop-strip-mine -floop-interchange test.f90

> ./a.out
STOP X
Comment 1 Joost VandeVondele 2009-01-07 20:49:17 UTC
Created attachment 17050 [details]
testcase
Comment 2 Joost VandeVondele 2009-01-07 20:50:40 UTC
FYI, it is the assignment at line 22 that 'goes wrong'
Comment 3 Sebastian Pop 2009-01-08 05:00:04 UTC
Fixed.