From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 451683858005; Fri, 15 Oct 2021 09:39:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 451683858005 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/102766] [12 Regression][nvptx] internal compiler error: in df_insn_delete, at df-scan.c:949 Date: Fri, 15 Oct 2021 09:39:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2021 09:39:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102766 --- Comment #3 from Tobias Burnus --- ... However, there is no effect when using -f(no-)var-tracking(-uninit), it has still an ICE in all cases. (Well, except that -fvar-tracking-uninit shows the following before the ICE: cc1: error: variable tracking requested, but not supported by this debug fo= rmat [-Werror]) * * * And I observe that the following option is now set: 1511 if (!OPTION_SET_P (flag_var_tracking_uninit)) 1512 flag_var_tracking_uninit =3D flag_var_tracking; While the code before is entered and explicitly sets it to 0: (gdb) p debug_hooks->var_location =3D=3D do_nothing_debug_hooks.var_location $5 =3D true 1481 /* We know which debug output will be used so we can set flag_var_tracking 1482 and flag_var_tracking_uninit if the user has not specified the= m.=20 */ 1483 if (debug_info_level < DINFO_LEVEL_NORMAL 1484 || !dwarf_debuginfo_p () 1485 || debug_hooks->var_location =3D=3D do_nothing_debug_hooks.var_location) 1486 { 1487 if ((OPTION_SET_P (flag_var_tracking) && flag_var_tracking = =3D=3D 1) 1488 || (OPTION_SET_P (flag_var_tracking_uninit) 1489 && flag_var_tracking_uninit =3D=3D 1)) 1490 { 1491 if (debug_info_level < DINFO_LEVEL_NORMAL) 1492 warning_at (UNKNOWN_LOCATION, 0, 1493 "variable tracking requested, but useless unless " 1494 "producing debug info"); 1495 else 1496 warning_at (UNKNOWN_LOCATION, 0, 1497 "variable tracking requested, but not suppo= rted " 1498 "by this debug format"); 1499 } 1500 flag_var_tracking =3D 0; 1501 flag_var_tracking_uninit =3D 0; 1502 }=