This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2010 11:19:00 -0000
- Subject: [Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away
- References: <bug-44612-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-22 11:19 -------
Your testcase doesn't build:
contiguous.f90:54.5:
REAL,contiguous :: a(:,:,:,:)
1
Error: Invalid character in name at (1)
contiguous.f90:55:
a(:,:,:,:)=0.0
1
Error: Unclassifiable statement at (1)
contiguous.f90:15.8:
CALL SC(a)
1
Error: Rank mismatch in argument 'a' at (1) (0 and 4)
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44612