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 bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
Date: Mon, 26 Aug 2013 09:08:00 -0000	[thread overview]
Message-ID: <bug-58242-4-FpmPqL3cCB@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58242-4@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3874 bytes --]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aivchenk at gmail dot com

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch at [1] that fixes this issue is awaiting review.

[1] http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01245.html
>From gcc-bugs-return-428396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 26 09:53:52 2013
Return-Path: <gcc-bugs-return-428396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14489 invoked by alias); 26 Aug 2013 09:53:51 -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 14455 invoked by uid 48); 26 Aug 2013 09:53:47 -0000
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/58243] New: Suboptimal structure initialization with tree-sra
Date: Mon, 26 Aug 2013 09:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hp at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created
Message-ID: <bug-58243-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: 2013-08/txt/msg01320.txt.bz2
Content-length: 1530

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX243

            Bug ID: 58243
           Summary: Suboptimal structure initialization with tree-sra
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org

Created attachment 30700
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id0700&actioníit
Example C code to be compiled at -O2 with/without -fno-tree-sra

See the attached code, which initializes a structure 4 byte long and copies it
through the pointer parameter in various similar functions, except func0 which
does the same bitwise setting using unsigned int to act as a reference for the
generated code (assuming a specific structure layout).

All functions are functionally equivalent; all struct members are set to
constants, either implicitly or explicitly, at initialization or afterwards,
and should be compiled to the same code at -O2.  With tree-sra (default) that
does not happen: there's byte-wise setting for at least x86_64-linux,
armv5-linux-gnueabi and cris-* for some of the functions.  With -O2
-fno-tree-sra the same code is generated for all functions.  Observed for
x86_64-unknown-linux-gnu, armv5-linux-gnueabi and cris-elf at r201882.

(I thought there already was a PR for this but couldn't find any.)


  reply	other threads:[~2013-08-26  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  7:27 [Bug bootstrap/58242] New: " mikpe at it dot uu.se
2013-08-26  9:08 ` ubizjak at gmail dot com [this message]
2013-08-28  9:18 ` [Bug bootstrap/58242] " rguenth at gcc dot gnu.org
2013-09-02  8:47 ` ebotcazou at gcc dot gnu.org
2013-09-05 11:43 ` aivchenk at gmail dot com
2013-09-05 16:48 ` mikpe at it dot uu.se

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-58242-4-FpmPqL3cCB@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).