From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28E493858C56; Wed, 19 Oct 2022 17:29:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28E493858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666200551; bh=xwN33cHcTrbTQ3A/4WEn/Y6nkQp+3zZzBP8iQxntwxg=; h=From:To:Subject:Date:From; b=gkzxIVsTcXIZvL6og8YSBvxau4lNxUZuKkkjLPaIb8ty4WU9D1v+r5A6VsU+YMVlT /I+Ieuw3zVWp8dAQ4uSgUPnDUC6iIqrCDkqGDrorDbpiH4Pf4h7X5VdBatWx2dUcjp biwxCRHRdHJKj7vBhND5yzIrGYAz+B4RXKlQQs+8= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107317] New: [10/11/12/13 Regression] ICE in emit_redzone_byte, at asan.cc:1508 Date: Wed, 19 Oct 2022 17:29:08 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107317 Bug ID: 107317 Summary: [10/11/12/13 Regression] ICE in emit_redzone_byte, at asan.cc:1508 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started with r10 between 20190512 and 20190519, with option -m32 and -fopenmp or -frecursive : $ cat z1.f90 program p real :: a(1000000, 100, 2) call s(a(:, 1:200, :)) end $ gfortran-13-20221016 -c z1.f90 -m32 -O2 -fsanitize=3Daddress -frecursive z1.f90:3:15: 3 | call s(a(:, 1:200, :)) | 1 Warning: Upper array reference at (1) is out of bounds (200 > 100) in dimen= sion 2 z1.f90:1:9: 1 | program p | ^ Error: total size of local objects 2400000512 exceeds maximum 2147483392 during RTL pass: expand z1.f90:1:9: internal compiler error: in emit_redzone_byte, at asan.cc:1508 0xf5c70e asan_redzone_buffer::emit_redzone_byte(long, unsigned char) ../../gcc/asan.cc:1508 0xf64786 asan_emit_stack_protection(rtx_def*, rtx_def*, unsigned int, long*, tree_node**, int) ../../gcc/asan.cc:2003 0x9d9ba2 expand_used_vars ../../gcc/cfgexpand.cc:2376 0x9de182 execute ../../gcc/cfgexpand.cc:6664=