From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26497 invoked by alias); 17 Feb 2015 10:07:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 26445 invoked by uid 48); 17 Feb 2015 10:07:29 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65089] New: FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address Date: Tue, 17 Feb 2015 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01879.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089 Bug ID: 65089 Summary: FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr I have tested gfortran with make -k check-gfortran RUNTESTFLAGS="--target_board=unix'{-m32/-fsanitize=address,-m64/-fsanitize=address}'" for 95 unexpected failures for -m32 or -m64 (well below what I anticipated!-). I indeed see pr60576 (assumed_rank_7.f90), pr64921 (class_allocate_18.f90), and pr64986 (class_to_type_4.f90). I also see 40+ failures associated with scan-* which are probably expected: -fsanitize=address may change optimizations. Finally (this PR) the tests gfortran.dg/io_real_boz(2|_[45]).f90 give outputs of the kind ================================================================= ==24090==ERROR: AddressSanitizer: global-buffer-overflow on address 0x00010c37ce04 at pc 0x00010c3948c8 bp 0x7fff53882e40 sp 0x7fff538825f0 READ of size 3 at 0x00010c37ce04 thread T0 #0 0x10c3948c7 (/opt/gcc/gcc4.10w/lib/libasan.2.dylib+0x138c7) #1 0x10d15f1c5 (/opt/gcc/gcc4.10w/lib/libgfortran.3.dylib+0xc01c5) #2 0x10c37cd9f (/Users/dominiq/Documents/Fortran/g95bench/win/f90/bug/a.out+0x100000d9f) 0x00010c37ce04 is located 60 bytes to the left of global variable '*LC4' defined in '/opt/gcc/_clean/gcc/testsuite/gfortran.dg/io_real_boz_5.f90' (0x10c37ce40) of size 1 0x00010c37ce04 is located 0 bytes to the right of global variable '*LC3' defined in '/opt/gcc/_clean/gcc/testsuite/gfortran.dg/io_real_boz_5.f90' (0x10c37ce00) of size 4 ...