public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/99652] inline doesn't with -mno-sse
Date: Fri, 19 Mar 2021 13:40:06 +0000	[thread overview]
Message-ID: <bug-99652-4-2PtZ41Hlsd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-99652-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:5e2eabe1eed1e53d39923517122d3c7de2013ad4

commit r11-7735-g5e2eabe1eed1e53d39923517122d3c7de2013ad4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 18 11:47:46 2021 -0700

    x86: Issue error for return/argument only with function body

    If we never generate function body, we shouldn't issue errors for return
    nor argument.  Add silent_p to i386 machine_function to avoid issuing
    errors for return and argument without function body.

    gcc/

            PR target/99652
            * config/i386/i386-options.c (ix86_init_machine_status): Set
            silent_p to true.
            * config/i386/i386.c (init_cumulative_args): Set silent_p to
            false.
            (construct_container): Return early for return and argument
            errors if silent_p is true.
            * config/i386/i386.h (machine_function): Add silent_p.

    gcc/testsuite/

            PR target/99652
            * gcc.dg/torture/pr99652-1.c: New test.
            * gcc.dg/torture/pr99652-2.c: Likewise.
            * gcc.target/i386/pr57655.c: Adjusted.
            * gcc.target/i386/pr59794-6.c: Likewise.
            * gcc.target/i386/pr70738-1.c: Likewise.
            * gcc.target/i386/pr96744-1.c: Likewise.

  parent reply	other threads:[~2021-03-19 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 18:41 [Bug target/99652] New: " hjl.tools at gmail dot com
2021-03-18 18:48 ` [Bug target/99652] " pinskia at gcc dot gnu.org
2021-03-18 19:03 ` hjl.tools at gmail dot com
2021-03-18 19:05 ` jakub at gcc dot gnu.org
2021-03-18 19:09 ` hjl.tools at gmail dot com
2021-03-18 21:14 ` ubizjak at gmail dot com
2021-03-19 13:40 ` cvs-commit at gcc dot gnu.org [this message]
2021-03-19 13:44 ` hjl.tools at gmail dot com

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-99652-4-2PtZ41Hlsd@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: link
Be 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).