public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/41089] [4.8/4.9/5/6 Regression] stdarg pass produces wrong code Date: Mon, 20 Apr 2015 10:09:00 -0000 [thread overview] Message-ID: <bug-41089-4-S10gBmLJSy@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-41089-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41089 --- Comment #59 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to vries from comment #58) > Given the fix of PR64950, we should be able to remove the workaround > committed for this PR. I have started bootstrap/regtest with the following revert: --cut here-- Index: config/alpha/alpha.c =================================================================== --- config/alpha/alpha.c (revision 222228) +++ config/alpha/alpha.c (working copy) @@ -5957,10 +5957,6 @@ alpha_build_builtin_va_list (void) integer_type_node); DECL_FIELD_CONTEXT (ofs) = record; DECL_CHAIN (ofs) = space; - /* ??? This is a hack, __offset is marked volatile to prevent - DCE that confuses stdarg optimization and results in - gcc.c-torture/execute/stdarg-1.c failure. See PR 41089. */ - TREE_THIS_VOLATILE (ofs) = 1; base = build_decl (BUILTINS_LOCATION, FIELD_DECL, get_identifier ("__base"), --cut here-- >From gcc-bugs-return-484045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 20 10:21:11 2015 Return-Path: <gcc-bugs-return-484045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91092 invoked by alias); 20 Apr 2015 10:21:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91015 invoked by uid 48); 20 Apr 2015 10:21:05 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65801] [5/6 Regression] Allow -Wno-narrowing to silence stricter C++11 narrowing rules Date: Mon, 20 Apr 2015 10:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW 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: Message-ID: <bug-65801-4-CgUgCWvl4K@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65801-4@http.gcc.gnu.org/bugzilla/> References: <bug-65801-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg01597.txt.bz2 Content-length: 377 https://gcc.gnu.org/bugzilla/show_bug.cgi?ide801 --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- Well, at the time I think we agreed that we wanted to be strict at least about enums... Otherwise, yes, we can do that plus setting ok = true in that case too, thus collapsing the last two ifs (+ reverting the docs change and adjusting the testsuite).
next prev parent reply other threads:[~2015-04-20 10:09 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-41089-4@http.gcc.gnu.org/bugzilla/> 2010-12-16 13:26 ` [Bug tree-optimization/41089] [4.5/4.6 " rguenth at gcc dot gnu.org 2011-04-28 16:20 ` [Bug tree-optimization/41089] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org 2012-07-02 13:43 ` [Bug tree-optimization/41089] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org 2013-04-12 15:18 ` [Bug tree-optimization/41089] [4.7/4.8/4.9 " jakub at gcc dot gnu.org 2014-06-12 13:49 ` [Bug tree-optimization/41089] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org 2014-12-19 13:43 ` [Bug tree-optimization/41089] [4.8/4.9/5 " jakub at gcc dot gnu.org 2015-02-05 17:55 ` burnus at gcc dot gnu.org 2015-04-20 9:52 ` [Bug tree-optimization/41089] [4.8/4.9/5/6 " vries at gcc dot gnu.org 2015-04-20 10:09 ` ubizjak at gmail dot com [this message] 2015-04-21 6:24 ` ubizjak at gmail dot com 2015-04-21 6:59 ` [Bug target/41089] " ubizjak at gmail dot com 2015-05-04 13:10 ` ro at gcc dot gnu.org 2015-05-05 10:40 ` vries 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-41089-4-S10gBmLJSy@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).