public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW
@ 2015-06-09 11:20 ismail at donmez dot ws
  2015-06-09 11:30 ` [Bug bootstrap/66471] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ismail at donmez dot ws @ 2015-06-09 11:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66471
           Summary: BITMAP is a reserved keyword on MinGW
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ismail at donmez dot ws
  Target Milestone: ---

gcc/mem-stats-traits.h has:

/* Memory allocation origin.  */
   enum mem_alloc_origin
   {
     HASH_TABLE,
     HASH_MAP,
     HASH_SET,
     VEC,
     BITMAP,
     GGC,
     ALLOC_POOL,
     MEM_ALLOC_ORIGIN_LENGTH
   };

and this fails to compile on mingw-w64 with:


In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
                 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:467:5: error: 'typedef
struct tagBITMAP BITMAP' redeclared as different kind of symbol
   } BITMAP,*PBITMAP,*NPBITMAP,*LPBITMAP;
     ^
In file included from ../../combined-6.0.0/gcc/hash-table.h:204:0,
                 from ../../combined-6.0.0/gcc/coretypes.h:310,
                 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:22:
../../combined-6.0.0/gcc/mem-stats-traits.h:11:3: note: previous declaration
'mem_alloc_origin BITMAP'
   BITMAP,
   ^
In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
                 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:2688:55: error:
'BITMAP' does not name a type
   WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect(CONST BITMAP *pbm);
                                                       ^
In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
                 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:3218:5: error: 'BITMAP'
does not name a type
     BITMAP dsBm;
     ^
../../combined-6.0.0/gcc/config/i386/x-mingw32:30: recipe for target
'host-mingw32.o' failed

Renaming "BITMAP" enum should ne enough.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
  2015-06-09 11:20 [Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW ismail at donmez dot ws
@ 2015-06-09 11:30 ` marxin at gcc dot gnu.org
  2015-06-09 13:34 ` rguenth at gcc dot gnu.org
  2015-06-10  7:58 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-06-09 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 35725
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35725&action=edit
Patch

May I ask you for testing the patch?

Thanks,
Martin
>From gcc-bugs-return-488471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 11:39:30 2015
Return-Path: <gcc-bugs-return-488471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21291 invoked by alias); 9 Jun 2015 11:39:29 -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 21239 invoked by uid 48); 9 Jun 2015 11:39:26 -0000
From: "ismail at donmez dot ws" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
Date: Tue, 09 Jun 2015 11:39: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: ismail at donmez dot ws
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66471-4-ddUAsyoDMj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66471-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/msg00803.txt.bz2
Content-length: 302

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

--- Comment #2 from İsmail Dönmez <ismail at donmez dot ws> ---
(In reply to Martin Liška from comment #1)
> Created attachment 35725 [details]
> Patch
> 
> May I ask you for testing the patch?

Fixes the bootstrap for me, thanks.
>From gcc-bugs-return-488472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 11:44:49 2015
Return-Path: <gcc-bugs-return-488472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24384 invoked by alias); 9 Jun 2015 11:44:48 -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 24344 invoked by uid 48); 9 Jun 2015 11:44:45 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
Date: Tue, 09 Jun 2015 11:44: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: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66471-4-3YkD6x7l3n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66471-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/msg00804.txt.bz2
Content-length: 478

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to İsmail Dönmez from comment #2)
> (In reply to Martin Liška from comment #1)
> > Created attachment 35725 [details]
> > Patch
> > 
> > May I ask you for testing the patch?
> 
> Fixes the bootstrap for me, thanks.

Thanks for testing, I am going to re-spin my regression tests
and I'm going to send the patch to ML.

Martin
>From gcc-bugs-return-488473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 12:00:59 2015
Return-Path: <gcc-bugs-return-488473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59819 invoked by alias); 9 Jun 2015 12:00:59 -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 59702 invoked by uid 48); 9 Jun 2015 12:00:55 -0000
From: "iains 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: Tue, 09 Jun 2015 12:00: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: iains 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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66448-4-m4lHPVQPTU@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/msg00805.txt.bz2
Content-length: 2380

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

--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> ---
(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
> until that's done …

NOTE: I have bootstrapped and tested c,c++,objc,objc++,fortran,ada,lto - but
NOT Java.

So .. things are *very* much improved, thanks!
(at least no reports during bootstrap),
but there's still quite a bit of fallout in the testsuite (many more failing
tests than listed below, these are just examples):

FAIL: gcc.c-torture/execute/20020412-1.c   -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/execute/20040308-1.c   -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/execute/20070919-1.c   -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr8081.c   -O3 -g  (test for excess errors)
<etc>

(usually several) instances of:
warning: invalid DWARF generated by the compiler: DIE 0x0000018b has multiple 
AT_decl_file attributes in
'/var/folders/tj/17r7407j14d324dzf67cnvxm000114/T//ccSyKR0x.o'.

warning: invalid DWARF generated by the compiler: DIE 0x0000015d has multiple 
AT_decl_line attributes in
'/var/folders/tj/17r7407j14d324dzf67cnvxm000114/T//cccckVUY.o'.

FAIL: c-c++-common/cilk-plus/CK/cilk-for-2.c  -g  (test for excess errors)
FAIL: c-c++-common/cilk-plus/CK/cilk-fors.c  -g  (test for excess errors)
FAIL: c-c++-common/cilk-plus/CK/cilk_for_grain.c  -g  (test for excess errors)
FAIL: c-c++-common/cilk-plus/CK/cilk_for_ptr_iter.c  -g  (test for excess
errors)
FAIL: c-c++-common/cilk-plus/CK/nested_cilk_for.c  -g  (test for excess errors)
<etc>
also plugin tests.

(many) instances of:
warning: invalid DWARF generated by the compiler: DIE 0x00000176 has multiple 
AT_artificial attributes in
'/var/folders/tj/17r7407j14d324dzf67cnvxm000114/T//ccNJ6qak.o'.

===

looks like c++ only has fails of the form:

has multiple  AT_artificial attributes

=====

no errors of this kind recorded in acats

=====

gnat has all three forms

=====

fortran seems to have only:
 AT_artificial attributes 

======

target lib tests seem dominated by 
has multiple  AT_artificial attributes
(I didn't see any other cases in a quick grep)
>From gcc-bugs-return-488474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 12:31:58 2015
Return-Path: <gcc-bugs-return-488474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14082 invoked by alias); 9 Jun 2015 12:31:58 -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 14043 invoked by uid 48); 9 Jun 2015 12:31:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66423] [6 Regression] a % (1 << b) no longer gets folded to a & (1 << b) for unsigned a
Date: Tue, 09 Jun 2015 12:31: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66423-4-6swMP2aLIM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66423-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/msg00806.txt.bz2
Content-length: 428

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
  2015-06-09 11:20 [Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW ismail at donmez dot ws
  2015-06-09 11:30 ` [Bug bootstrap/66471] " marxin at gcc dot gnu.org
@ 2015-06-09 13:34 ` rguenth at gcc dot gnu.org
  2015-06-10  7:58 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-09 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Just as a quick observation from looking at host-mingw32.c:

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "hosthooks.h"
#include "hosthooks-def.h"
#include "diagnostic.h"


#define WIN32_LEAN_AND_MEAN  /* Not so important if we have windows.h.gch.  */
#include <windows.h>
#include <stdlib.h>



stdlib.h is already included from system.h and system headers should be
included _before_ (well, in...) system.h (or at least directly after it).

Probably doesn't fix the issue though.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
  2015-06-09 11:20 [Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW ismail at donmez dot ws
  2015-06-09 11:30 ` [Bug bootstrap/66471] " marxin at gcc dot gnu.org
  2015-06-09 13:34 ` rguenth at gcc dot gnu.org
@ 2015-06-10  7:58 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-06-10  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Jun 10 07:57:34 2015
New Revision: 224315

URL: https://gcc.gnu.org/viewcvs?rev=224315&root=gcc&view=rev
Log:
Fix BITMAP identifier clash.

        PR bootstrap/66471
        * mem-stats-traits.h (enum mem_alloc_origin): Add _ORIGIN suffix for
        all enum values in mem_alloc_origin.
        * alloc-pool.c (dump_alloc_pool_statistics): Use newly changed enum
        name.
        * alloc-pool.h (pool_allocator::pool_allocator): Likewise.
        * bitmap.c (bitmap_register): Likewise.
        (dump_bitmap_statistics): Likewise.
        * ggc-common.c (dump_ggc_loc_statistics): Likewise.
        (ggc_record_overhead): Likewise.
        * hash-map.h: Likewise.
        * hash-set.h: Likewise.
        * hash-table.c (void dump_hash_table_loc_statistics): Likewise.
        * hash-table.h: Likewise.
        * vec.c (vec_prefix::register_overhead): Likewise.
        (vec_prefix::release_overhead): Likewise.
        (dump_vec_loc_statistics): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alloc-pool.c
    trunk/gcc/alloc-pool.h
    trunk/gcc/bitmap.c
    trunk/gcc/ggc-common.c
    trunk/gcc/hash-map.h
    trunk/gcc/hash-set.h
    trunk/gcc/hash-table.c
    trunk/gcc/hash-table.h
    trunk/gcc/mem-stats-traits.h
    trunk/gcc/vec.c
>From gcc-bugs-return-488564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 07:59:45 2015
Return-Path: <gcc-bugs-return-488564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95877 invoked by alias); 10 Jun 2015 07:59:45 -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 95843 invoked by uid 48); 10 Jun 2015 07:59:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW
Date: Wed, 10 Jun 2015 07:59: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: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66471-4-y3gQR1HRIw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66471-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/msg00896.txt.bz2
Content-length: 440

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in 6.0.
>From gcc-bugs-return-488565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 08:36:22 2015
Return-Path: <gcc-bugs-return-488565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111000 invoked by alias); 10 Jun 2015 08:36:22 -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 109826 invoked by uid 48); 10 Jun 2015 08:36:18 -0000
From: "sthalik at misaki dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/66394] [4.9/5/6 Regression] ICE in -flto -fmerge-all-constants -fno-use-linker-plugin targetting i686-w64-mingw32
Date: Wed, 10 Jun 2015 08:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sthalik at misaki dot pl
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66394-4-mnNQclwvZT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66394-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/msg00897.txt.bz2
Content-length: 322

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

--- Comment #8 from Stanisław Halik <sthalik at misaki dot pl> ---
I can confirm all the code builds with LTO and -fmerge-all-constants after
applying the patch. LTO with linker plugin results in unresolved symbols, but
this is for another time.

Best regards.
>From gcc-bugs-return-488566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 08:37:26 2015
Return-Path: <gcc-bugs-return-488566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5122 invoked by alias); 10 Jun 2015 08:37:26 -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 5084 invoked by uid 48); 10 Jun 2015 08:37:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/66394] [4.9/5/6 Regression] ICE in -flto -fmerge-all-constants -fno-use-linker-plugin targetting i686-w64-mingw32
Date: Wed, 10 Jun 2015 08:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66394-4-sC9Zgt9W4F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66394-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/msg00898.txt.bz2
Content-length: 493

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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Stanisław Halik from comment #8)
> I can confirm all the code builds with LTO and -fmerge-all-constants after
> applying the patch. LTO with linker plugin results in unresolved symbols,
> but this is for another time.
> 
> Best regards.

Hi.

Thanks for testing, I've been running regression tests and will send the patch
to mailing list.

Martin
>From gcc-bugs-return-488567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 08:44:46 2015
Return-Path: <gcc-bugs-return-488567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19924 invoked by alias); 10 Jun 2015 08:44:45 -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 19907 invoked by uid 48); 10 Jun 2015 08:44:42 -0000
From: "jay.foad at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/66482] New: ICE in gen_formal_parameter_die
Date: Wed, 10 Jun 2015 08:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jay.foad at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-66482-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/msg00899.txt.bz2
Content-length: 2240

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

            Bug ID: 66482
           Summary: ICE in gen_formal_parameter_die
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jay.foad at gmail dot com
  Target Milestone: ---

I've just built gcc from svn r224315 on x86_64-unknown-linux-gnu. I get:

$ cat x.c
void f(int p) {}
int g() {
  void f();
  g();
  return 0;
}

$ ~/gcc/local/bin/gcc -g -O3 -c x.c
x.c: In function 'f':
x.c:6:1: internal compiler error: in gen_formal_parameter_die, at
dwarf2out.c:17995
 }
 ^
0x78f18e gen_formal_parameter_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:17994
0x7957eb gen_decl_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21491
0x78f8e3 gen_subprogram_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:19093
0x795173 gen_decl_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21402
0x7965a4 dwarf2out_decl
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21875
0x78e9fe dwarf2out_abstract_function
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:18450
0x79515d gen_decl_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21359
0x7acc5d process_scope_var
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:20960
0x7ace9b decls_for_scope
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:20988
0x7acec2 decls_for_scope
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:20999
0x7acec2 decls_for_scope
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:20999
0x78fe6f gen_subprogram_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:19160
0x795173 gen_decl_die
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21402
0x7965a4 dwarf2out_decl
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21875
0x796a1e dwarf2out_function_decl
        /home/jay/svn/gcc/trunk/gcc/dwarf2out.c:21887
0x801d3f rest_of_handle_final
        /home/jay/svn/gcc/trunk/gcc/final.c:4498
0x801d3f execute
        /home/jay/svn/gcc/trunk/gcc/final.c:4540
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-10  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09 11:20 [Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW ismail at donmez dot ws
2015-06-09 11:30 ` [Bug bootstrap/66471] " marxin at gcc dot gnu.org
2015-06-09 13:34 ` rguenth at gcc dot gnu.org
2015-06-10  7:58 ` marxin at gcc dot gnu.org

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).