From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9370 invoked by alias); 20 Nov 2004 17:11:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9314 invoked by uid 48); 20 Nov 2004 17:11:29 -0000 Date: Sat, 20 Nov 2004 17:11:00 -0000 From: "Thomas dot Koenig at online dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20041120171126.18578.Thomas.Koenig@online.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/18578] New: intent(inout) violation is not detected X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg02351.txt.bz2 List-Id: $ gfortran -v Reading specs from /home/ig25/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95 Thread model: posix gcc version 4.0.0 20041120 (experimental) $ cat vary.f90 program main call foo(3.0) contains subroutine foo(a) real, intent(inout) :: a a = a + 3. end subroutine foo end program main $ gfortran vary.f90 $ The compiler should detect that the acutal parameter cannot be intent(inout) in this case. -- Summary: intent(inout) violation is not detected Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Thomas dot Koenig at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18578