public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "noloader at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66943] GCC warns of Unknown Pragma for OpenMP, even though it support it. Date: Mon, 20 Jul 2015 10:36:00 -0000 [thread overview] Message-ID: <bug-66943-4-QOgKhJkV5P@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66943-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943 --- Comment #6 from Jeffrey Walton <noloader at gmail dot com> --- (In reply to Manuel López-Ibáñez from comment #5) > ... > For what is worth, I understand the point by Andrew that without -fopenmp, > the #pragmas are effectively ignored, thus the warning seems useful. Perhaps > it would be more useful a specific -Wopenmp-pragmas that says: > Maybe it could be in effect with `-Wextra`? Enabling Unknown Pragma warnings for #pragma omp under -Wall when the compiler supports it, coupled with the inability to manage warnings with 'pragma GCC diagnostic` (Bug #53431), means we just turned OFF -Wall. We are moving in the wrong direction :( >From gcc-bugs-return-492824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 20 10:43:00 2015 Return-Path: <gcc-bugs-return-492824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21106 invoked by alias); 20 Jul 2015 10:43:00 -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 21061 invoked by uid 48); 20 Jul 2015 10:42:56 -0000 From: "jiwang at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63304] Aarch64 pc-relative load offset out of range Date: Mon, 20 Jul 2015 10:43:00 -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: 5.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-63304-4-2x6XgKHQpE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-63304-4@http.gcc.gnu.org/bugzilla/> References: <bug-63304-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-07/txt/msg01714.txt.bz2 Content-length: 821 https://gcc.gnu.org/bugzilla/show_bug.cgi?idc304 Jiong Wang <jiwang at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jiwang at gcc dot gnu.org --- Comment #16 from Jiong Wang <jiwang at gcc dot gnu.org> --- Have done a quick look at this, basic ideas to fix this: * generate a special pattern which initialize literal pool start address. * implement TARGET_MACHINE_DEPENDENT_REORG to calculate whehter the pc-relative literal load is within range. * output final insruction sequences which initializing literal pool start address based on the result from reorg pass analysis. Use movk/z, adrp + add, single adr for different distance.
next prev parent reply other threads:[~2015-07-20 10:36 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-20 8:00 [Bug c++/66943] New: " noloader at gmail dot com 2015-07-20 8:09 ` [Bug c++/66943] " noloader at gmail dot com 2015-07-20 8:09 ` noloader at gmail dot com 2015-07-20 8:36 ` pinskia at gcc dot gnu.org 2015-07-20 9:14 ` noloader at gmail dot com 2015-07-20 9:58 ` manu at gcc dot gnu.org 2015-07-20 10:36 ` noloader at gmail dot com [this message] 2015-07-20 10:44 ` manu 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-66943-4-QOgKhJkV5P@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).