From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D33E3858418; Sat, 5 Nov 2022 09:34:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D33E3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667640853; bh=2nEGKAkQjD1tAoUK3vcW+wcdHmtJrvVDiC/8myXCUdI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CmQpHzzxLfwH2EWXl8e2tF1vy1v+4q4DfRwIJyTUdTQqO3USP6ERkDqW1Z7BAQVP0 lpYUOZe5NOaMzKc9Lej/vGZVgF/pbOEHUuHfnPbCefX+gAYA+1SUIkX8yLTmyuRbIp EFKWrg2Jg0sBJbLnVGeqk0Hisbn4nQBFIr7ZbqvA= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107453] New stdarg tests in r13-3549-g4fe34cdcc80ac2 fail Date: Sat, 05 Nov 2022 09:34:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW 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_reconfirmed_on cc 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=3D107453 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2022-10-31 00:00:00 |2022-11-5 CC| |tschwinge at gcc dot gnu.o= rg, | |vries at gcc dot gnu.org --- Comment #3 from Thomas Schwinge --- Similarly -- I guess had to be expeced -- commit r13-3549-g4fe34cdcc80ac225b80670eabc38ac5e31ce8a5a "c: tree: target: C2x (.= ..) function prototypes and va_start relaxation" needs some follow-on work for nvptx target. A number of the test cases PASS, but the following ones don'= t: +FAIL: gcc.dg/c2x-stdarg-4.c (test for excess errors) +UNRESOLVED: gcc.dg/c2x-stdarg-4.c compilation failed to produce execut= able ptxas /tmp/cc2o4IWl.o, line 912; error : Call has wrong number of parameters ptxas /tmp/cc2o4IWl.o, line 912; error : Type of argument does not ma= tch formal parameter '%in_ar0' ptxas /tmp/cc2o4IWl.o, line 912; error : Alignment of argument does n= ot match formal parameter '%in_ar0' ptxas /tmp/cc2o4IWl.o, line 960; error : Call has wrong number of parameters ptxas /tmp/cc2o4IWl.o, line 960; error : Type of argument does not ma= tch formal parameter '%in_ar0' ptxas /tmp/cc2o4IWl.o, line 996; error : Call has wrong number of parameters ptxas /tmp/cc2o4IWl.o, line 996; error : Type of argument does not ma= tch formal parameter '%in_ar0' ptxas fatal : Ptx assembly aborted due to errors nvptx-as: ptxas returned 255 exit status +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c -O0 (test for excess err= ors) +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c -O0 execution test +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c -O1 (test for excess err= ors) +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c -O1 execution test +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c -O2 (test for excess err= ors) +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c -O2 execution test +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c -O3 -g (test for excess errors) +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c -O3 -g execution test +PASS: gcc.dg/torture/c2x-stdarg-split-1a.c -Os (test for excess err= ors) +FAIL: gcc.dg/torture/c2x-stdarg-split-1a.c -Os execution test error : Prototype doesn't match for 'f' in 'input file 2 at offset 14552', first defined in 'input file 2 at offset 14552' error : Prototype doesn't match for 'g' in 'input file 2 at offset 14552', first defined in 'input file 2 at offset 14552' nvptx-run: cuLinkAddData failed: unknown error (CUDA_ERROR_UNKNOWN, 999= )=