Issue | 160437 |
---|---|
Summary | [flang] Incorrect sign of array initexpr |
Labels | flang:frontend |
Assignees | |
Reporter | DanielCChen |
Consider the following code: ``` REAL :: ra(2) = -[(-0., I=1,2)]*[(-0., I=1,2)] print*, ra end ```
Flang outputs ``` > a.out 0. 0. ``` Both gfortran and XLF outputs ``` > a.out -0. -0. ```
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs