PR lto/41576
* gfortran.dg/lto/pr41576_0.f90: New testcase.
* gfortran.dg/lto/pr41576_1.f90: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182907
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-01-05 Richard Guenther <rguenther@suse.de>
+
+ PR lto/41576
+ * gfortran.dg/lto/pr41576_0.f90: New testcase.
+ * gfortran.dg/lto/pr41576_1.f90: Likewise.
+
2012-01-04 Jakub Jelinek <jakub@redhat.com>
PR debug/51695
--- /dev/null
+! { dg-lto-do run }
+! { dg-lto-options { { -O2 -flto -Werror } } }
+
+subroutine foo
+ common /bar/ a, b
+ integer(4) :: a ,b
+ a = 1
+ b = 2
+end
+
--- /dev/null
+program test
+ common /bar/ c, d
+ integer(4) :: c, d
+ call foo
+ if (c/=1 .or. d/=2) call abort
+end program test
+