[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #26 from Iain Sandoe --- Author: iains Date: Sat Jun 13 07:55:05 2015 New Revision: 224451 URL: https://gcc.gnu.org/viewcvs?rev=224451&root=gcc&view=rev Log: gcc: PR bootstrap/66448 * passes.c (rest_of_decl_compilati

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #25 from Iain Sandoe --- (In reply to Dominique d'Humieres from comment #24) > I still see > with the patches in comments 17 and 20. What am I missing? IIRC, the patch at comment #17 includes the original "lazy creation" of the exte

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #24 from Dominique d'Humieres --- I still see FAIL: obj-c++.dg/torture/strings/const-cfstring-1.mm -O0 -fnext-runtime (test for excess errors) UNRESOLVED: obj-c++.dg/torture/strings/const-cfstring-1.mm -O0 -fnext-runtime compil

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #23 from Aldy Hernandez --- Author: aldyh Date: Thu Jun 11 20:46:46 2015 New Revision: 224393 URL: https://gcc.gnu.org/viewcvs?rev=224393&root=gcc&view=rev Log: PR bootstrap/66448 * dwarf2out.c (check_die): Check for

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #22 from Iain Sandoe --- (In reply to Jason Merrill from comment #21) > (In reply to Iain Sandoe from comment #20) > > + && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION > > This seems reasonable. My testing completed succes

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #21 from Jason Merrill --- (In reply to Iain Sandoe from comment #20) > + && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION This seems reasonable.

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #20 from Iain Sandoe --- FWIW, I boostrapped r224366 with the dwarf2out.c changes + this: diff --git a/gcc/passes.c b/gcc/passes.c index d3ffe33..1bc8a36 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -332,7 +332,7 @@ rest_of_decl_c

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #19 from Dominique d'Humieres --- (In reply to Iain Sandoe from comment #18) > > Could you test it properly on darwin? > > $ grep -rH "invalid DW" gcc/testsuite |wc -l > 0 Confirmed on x86_64-apple-darwin14 with --enable-langu

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-11 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #18 from Iain Sandoe --- (In reply to Aldy Hernandez from comment #17) > Created attachment 35744 [details] > Call check_die on type DIEs and avoid DW_AT_aritificial attribs > > >> I can't reproduce any of these with a cross compile

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-10 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Aldy Hernandez changed: What|Removed |Added Attachment #35734|0 |1 is obsolete|

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #16 from Iain Sandoe --- Created attachment 35739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35739&action=edit outputs from -save-temps on 20020412-1.c (-O3 -g) .. of course, we might just have uncovered some latent issue.

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #15 from Iain Sandoe --- (In reply to Aldy Hernandez from comment #14) > Created attachment 35734 [details] > Patch to ICE on other duplicate DW_AT_ attributes > I can't reproduce any of these with a cross compiler. I'm building a c

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #14 from Aldy Hernandez --- Created attachment 35734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35734&action=edit Patch to ICE on other duplicate DW_AT_ attributes On 06/09/2015 08:00 AM, iains at gcc dot gnu.org wrote: > S

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #13 from Jason Merrill --- Author: jason Date: Tue Jun 9 14:51:30 2015 New Revision: 224285 URL: https://gcc.gnu.org/viewcvs?rev=224285&root=gcc&view=rev Log: PR bootstrap/66448 * toplev.c (check_global_declaration):

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #12 from Iain Sandoe --- (In reply to Iain Sandoe from comment #11) > (In reply to Aldy Hernandez from comment #10) > > It's not supposed to. It's for issue three as stated. > > The test suite is running - was going to wait to report

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #11 from Iain Sandoe --- (In reply to Aldy Hernandez from comment #10) > It's not supposed to. It's for issue three as stated. indeed; state as of now is that (with both proposed patches in place and --disable-werror), the multiple D

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #10 from Aldy Hernandez --- It's not supposed to. It's for issue three as stated. On Jun 9, 2015 4:36 AM, "dominiq at lps dot ens.fr" wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 > > --- Comment #9 from Dominique d

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #9 from Dominique d'Humieres --- > Created attachment 35718 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35718&action=edit > Tentative patch for issue #3 The patch does not fix the ../../work/gcc/ipa-pure-const.c:1636:1: e

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #8 from Aldy Hernandez --- Created attachment 35718 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35718&action=edit Tentative patch for issue #3 Regarding the Darwin ld64 warnings, I found one instance of a local static DIE wi

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Iain Sandoe changed: What|Removed |Added Status|WAITING |NEW

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #7 from Iain Sandoe --- Created attachment 35717 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35717&action=edit pre-proc file for ipa-pure-const.c svn rev. 224236 + patch to defer declaration of the extern. If this is an iss

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Jason Merrill changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from Jason Merril

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #5 from Aldy Hernandez --- I don't have access to a Darwin box. Could you provide a preprocessed file so I can try to reproduce the defined but not used problem on a cross build? Also, what triplet? Thanks. On Jun 7, 2015 4:09 AM,

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Richard Biener changed: What|Removed |Added Target Milestone|4.0.1 |6.0

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.0.1

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #4 from Iain Sandoe --- (In reply to Andrew Pinski from comment #3) > (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:

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #3 from Andrew Pinski --- (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_pu

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-07 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Aldy Hernandez changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 Iain Sandoe changed: What|Removed |Added Target|x86_64-apple-darwin14 |*-apple-darwin* Status|UNCONFI

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #1 from Iain Sandoe --- Created attachment 35710 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35710&action=edit declare "extern int __CFConstantStringClassReference" lazily There seem to be three issues triggered by 224161 1