Commit 76f57328 by Richard Guenther Committed by Richard Biener

re PR lto/41576 (LTO complains about mismatches in common sections)

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.

From-SVN: r182907
parent 543a341c
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
......
! { 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
program test
common /bar/ c, d
integer(4) :: c, d
call foo
if (c/=1 .or. d/=2) call abort
end program test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment