Add a testcasef for PR tree-optimization/43688.
2010-06-03 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/43688 * gfortran.dg/pr43688.f90: New. From-SVN: r160224
This commit is contained in:
parent
f278d75781
commit
0c1b8fe999
|
@ -1,3 +1,8 @@
|
|||
2010-06-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR tree-optimization/43688
|
||||
* gfortran.dg/pr43688.f90: New.
|
||||
|
||||
2010-06-03 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/41584
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
! { dg-do compile }
|
||||
! { dg-options "-O0 -fipa-reference" }
|
||||
|
||||
subroutine sub
|
||||
type :: a
|
||||
integer :: i = 42
|
||||
end type a
|
||||
type(a), target :: dt(2)
|
||||
integer, pointer :: ip(:)
|
||||
ip => dt%i
|
||||
end subroutine
|
Loading…
Reference in New Issue