From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 103CC3858D20; Sun, 7 Apr 2024 09:43:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 103CC3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712483020; bh=KQM+Y+0msGmCqEh8nbBce/hGrFeHkjaSRK8B7Mje3Z8=; h=From:To:Subject:Date:From; b=EgnOMDWP3TwvEW5hDQqKi2ZmxYY09m1fgHMWJvehS7Orv1Z5PtixLeijgLyEFa9uX km/tJ+Rd0bThJk60wNjN+WLzXTP3TyLlCx2uC/ACG1G5JVX5Jjs3MRE9t+jE3ap/vG Kat2RoW8W5Q4Lf2DsESkKPV0YVWM/3eKQzramSaw= From: "pheeck at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114627] New: [14 Regression] undefined behavior in tree-profile.cc while compiling gcc.misc-tests/gcov-18.c Date: Sun, 07 Apr 2024 09:43:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: pheeck at gcc dot gnu.org 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 keywords bug_severity priority component assigned_to reporter blocked target_milestone cf_gcchost cf_gcctarget 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=3D114627 Bug ID: 114627 Summary: [14 Regression] undefined behavior in tree-profile.cc while compiling gcc.misc-tests/gcov-18.c Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pheeck at gcc dot gnu.org Blocks: 63426 Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Compiling gcc.misc-tests/gcov-19.c using ubsan-instrumented GCC gcc testsuite/gcc.misc-tests/gcov-19.c -fdiagnostics-plain-output -fcondition-coverage -ftest-coverage -lm -o ./gcov-19.exe results in /home/worker/buildworker/tiber-gcc-ubsan/build/gcc/tree-profile.cc:1090:48: runtime error: shift exponent 64 is too large for 64-bit type 'long long unsigned int' Compiler configured with --enable-languages=3Ddefault,jit,lto,go,d --enable-host-shared --enable-checking=3Drelease --disable-multilib --with-build-config=3Dbootstrap-ubsan Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63426 [Bug 63426] [meta-bug] Issues found with -fsanitize=3Dundefined=