public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/108349] LTO mismatch for __builtin_realloc between glibc and gfortran frontend Date: Wed, 11 Jan 2023 14:03:48 +0000 [thread overview] Message-ID: <bug-108349-4-px1ES3T8HU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108349-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108349 Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |tschwinge at gcc dot gnu.org, | |vries at gcc dot gnu.org --- Comment #6 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- As nvptx target is known to be sensitive to such mismatches (outside of the LTO context reported here), I individually did test this commit r13-5100-g0986c351aa8a9f08b3cb614baec13564dd62c114 "fortran: Fix up function types for realloc and sincos{,f,l} builtins [PR108349]", and found that it also resolves the following nvptx target compilation failures: 'gfortran.dg/pr35662.f90': ptxas /tmp/ccYNgEEN.o, line 44; error : Illegal operand type to instruction 'st' ptxas /tmp/ccYNgEEN.o, line 51; error : Type of argument does not match formal parameter '%in_ar0' ptxas /tmp/ccYNgEEN.o, line 51; error : Alignment of argument does not match formal parameter '%in_ar0' ptxas /tmp/ccYNgEEN.o, line 44; error : Unknown symbol '%stack' ptxas fatal : Ptx assembly aborted due to errors nvptx-as: ptxas returned 255 exit status 'gfortran.fortran-torture/compile/pr37236.f': ptxas [...]/build-gcc/gcc/testsuite/gfortran/pr37236.o, line 269; error : Illegal operand type to instruction 'st' ptxas [...]/build-gcc/gcc/testsuite/gfortran/pr37236.o, line 275; error : Type of argument does not match formal parameter '%in_ar0' ptxas [...]/build-gcc/gcc/testsuite/gfortran/pr37236.o, line 269; error : Unknown symbol '%stack' ptxas fatal : Ptx assembly aborted due to errors nvptx-as: ptxas returned 255 exit status These are now all-PASS. In the nvptx target gfortran test suite logs remain however dozens more similar instances. I've not checked if what's underlying those would also be exposing the same kind of LTO problem.
next prev parent reply other threads:[~2023-01-11 14:03 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-10 9:28 [Bug fortran/108349] New: " rimvydas.jas at gmail dot com 2023-01-10 9:48 ` [Bug fortran/108349] " rguenth at gcc dot gnu.org 2023-01-10 10:14 ` jakub at gcc dot gnu.org 2023-01-10 10:20 ` jakub at gcc dot gnu.org 2023-01-10 11:11 ` jakub at gcc dot gnu.org 2023-01-11 9:42 ` cvs-commit at gcc dot gnu.org 2023-01-11 14:03 ` tschwinge at gcc dot gnu.org [this message] 2023-02-10 17:45 ` cvs-commit at gcc dot gnu.org 2023-05-02 20:13 ` cvs-commit at gcc dot gnu.org 2023-05-03 15:20 ` cvs-commit at gcc dot gnu.org 2023-05-04 7:23 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108349-4-px1ES3T8HU@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).