From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD869385828E; Fri, 6 Oct 2023 16:50:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD869385828E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696611015; bh=RBQYl/esqBeufj4oZisEyLO/FRgkAj+55I68LsLqmxQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K9cNk/mlny/p57Ktdlm0vhE4cEvURKbWKrzDGvDYQuCj1I3Da8zcAHah0ccuriMYX sbamCljqMVnCl5ep74g6egn7ZuPZx40LVkr7ptZpRTFJWlMEgGKYavEtxHjLCGJ05w y2pfGXPEgYhZBEP50IuP4/gRLa1OgAt5R+Ygm1xg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/111716] call site parameter not matching with formal parameter Date: Fri, 06 Oct 2023 16:50:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: cf_gcctarget 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111716 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target|riscv64-linux-gnu |riscv64-linux-gnu | |x86_64-linux-gnu | |aarch64-linux-gnu --- Comment #2 from Andrew Pinski --- So it looks like the first argument is passed through with no change and th= at is not recorded ... It happens on x86_64, aarch64 too. The testcase I was using was the preprocessed source from bug 111680 and ad= d to the following to the end: ``` void run_benchmark( void *vargs ) { struct bench_args_t *args =3D (struct bench_args_t *)vargs; bfs(args->nodes, args->edges, args->starting_node, args->level, args->level_counts); } ```=