public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aldyh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161
Date: Sun, 07 Jun 2015 12:36:00 -0000	[thread overview]
Message-ID: <bug-66448-4-ZteUjeaoYK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66448-4@http.gcc.gnu.org/bugzilla/>

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

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---

> 2. Once (1) is fixed, bootstrap then fails with:
> 
> /GCC/gcc-trunk/gcc/ipa-pure-const.c:1640:1: error:
> ‘{anonymous}::pass_ipa_pure_const::pass_ipa_pure_const(gcc::context*)’
> defined but not used [-Werror=unused-function]
>  pass_ipa_pure_const::
> 
> A --disable-werror boostrap completes, but there are a number of
> constructors and destructors that report "declared but not used". AFAICT,
> it's only constructors/destructors.
> 
> This is occurring at stage #2, and I thought maybe that the stage#1 compiler
> could have been mis-compiled by the bootstrap; however, gcc-4.9, 5.1 and
> clang (xcode 5.1.1) bootstraps all give the same result.

Jason, is pass_ipa_pure_const::pass_ipa_pure_const() really declared but not
used?

If so, can we mark it ATTRIBUTE_UNSUED or is there a more generic way of fixing
this?
>From gcc-bugs-return-488280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 07 12:42:39 2015
Return-Path: <gcc-bugs-return-488280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44141 invoked by alias); 7 Jun 2015 12:42:39 -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 44086 invoked by uid 48); 7 Jun 2015 12:42:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161
Date: Sun, 07 Jun 2015 12:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-66448-4-GPJxQwEdcQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66448-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-06/txt/msg00612.txt.bz2
Content-length: 1220

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Aldy Hernandez from comment #2)
> > 2. Once (1) is fixed, bootstrap then fails with:
> > 
> > /GCC/gcc-trunk/gcc/ipa-pure-const.c:1640:1: error:
> > ‘{anonymous}::pass_ipa_pure_const::pass_ipa_pure_const(gcc::context*)’
> > defined but not used [-Werror=unused-function]
> >  pass_ipa_pure_const::
> > 
> > A --disable-werror boostrap completes, but there are a number of
> > constructors and destructors that report "declared but not used". AFAICT,
> > it's only constructors/destructors.
> > 
> > This is occurring at stage #2, and I thought maybe that the stage#1 compiler
> > could have been mis-compiled by the bootstrap; however, gcc-4.9, 5.1 and
> > clang (xcode 5.1.1) bootstraps all give the same result.
> 
> Jason, is pass_ipa_pure_const::pass_ipa_pure_const() really declared but not
> used?

I bet a drink that it is an incharge vs outofcharge construct/deconstruct
issue. Darwin does not support aliases so the function itself is cloned. 


> 
> If so, can we mark it ATTRIBUTE_UNSUED or is there a more generic way of
> fixing this?
>From gcc-bugs-return-488281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 07 12:51:19 2015
Return-Path: <gcc-bugs-return-488281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55989 invoked by alias); 7 Jun 2015 12:51:19 -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 55960 invoked by uid 48); 7 Jun 2015 12:51:15 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66442] [6 regression] FAIL: gcc.dg/autopar/pr46885.c (test for excess errors)
Date: Sun, 07 Jun 2015 12:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: vries at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66442-4-VOKTpfHibf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66442-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-06/txt/msg00613.txt.bz2
Content-length: 145

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf442

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixes the test case on m68k.


  parent reply	other threads:[~2015-06-07 12:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-07  7:02 [Bug bootstrap/66448] New: " dominiq at lps dot ens.fr
2015-06-07  8:09 ` [Bug bootstrap/66448] " iains at gcc dot gnu.org
2015-06-07 12:36 ` aldyh at gcc dot gnu.org [this message]
2015-06-08  8:20 ` iains at gcc dot gnu.org
2015-06-08  9:56 ` rguenth at gcc dot gnu.org
2015-06-08  9:56 ` rguenth at gcc dot gnu.org
2015-06-08 15:30 ` aldyh at redhat dot com
2015-06-08 18:17 ` jason at gcc dot gnu.org
2015-06-08 19:17 ` iains at gcc dot gnu.org
2015-06-09  8:36 ` dominiq at lps dot ens.fr
2015-06-09  8:45 ` aldyh at redhat dot com
2015-06-09 14:52 ` jason at gcc dot gnu.org
2015-06-09 23:51 ` aldyh at gcc dot gnu.org
2015-06-10 11:02 ` iains at gcc dot gnu.org
2015-06-10 11:04 ` iains at gcc dot gnu.org
2015-06-10 15:42 ` aldyh at gcc dot gnu.org
2015-06-11  7:53 ` iains at gcc dot gnu.org
2015-06-11 12:26 ` iains at gcc dot gnu.org
2015-06-11 16:01 ` jason at gcc dot gnu.org
2015-06-11 20:13 ` iains at gcc dot gnu.org
2015-06-11 20:47 ` aldyh at gcc dot gnu.org
2015-06-12  9:56 ` dominiq at lps dot ens.fr
2015-06-13  7:55 ` iains at gcc dot gnu.org
2015-06-13 12:07 ` iains 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-66448-4-ZteUjeaoYK@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).