[PATCH] PR 65867 - bootstrap fails for mingw32 due to missing header in ssp.c

2015-04-25 Thread daniel . f . starke
Hello, This patch works around a missing include in windows.h (mingw.org) for ssp.c. ChangeLog 2015-04-25 Daniel Starke daniel.f.sta...@freenet.de * libssp/ssp.c: Added wincrypt.h include for Windows targets. Bootstrapped i686-pc-mingw32 (mingw32 version 3.20). Regards, Daniel diff

[PATCH]: Fix for PR 55707 bootstrap fails in gcc/graphite-dependences.c error cast loses precision

2013-01-03 Thread Rainer Emrich
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. PR 55707 * graphite-dependences.c (hash_poly_ddr_p): Cast from pointer via intptr_t. Tested for x86_64-w64-mingw32 and x86_64-unknown-gnu-linux. If OK for apply, Kai please commit. Regards, Rainer

Re: [PATCH]: Fix for PR 55707 bootstrap fails in gcc/graphite-dependences.c error cast loses precision

2013-01-03 Thread Richard Biener
On Thu, Jan 3, 2013 at 1:08 PM, Rainer Emrich rai...@emrich-ebersheim.de wrote: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. PR 55707 * graphite-dependences.c (hash_poly_ddr_p): Cast from pointer via intptr_t. Tested for x86_64-w64-mingw32 and

Re: [PATCH]: Fix for PR 55707 bootstrap fails in gcc/graphite-dependences.c error cast loses precision

2013-01-03 Thread Kai Tietz
Hi Rainer, applied at rev 194859. Thanks, Kai

Re: [patch stmt.c]: 6 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-10 Thread Richard Biener
On Sun, Dec 9, 2012 at 4:58 PM, NightStrike nightstr...@gmail.com wrote: On Sat, Dec 1, 2012 at 11:13 PM, Kai Tietz ktiet...@googlemail.com wrote: Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29

Re: [patch print-tree.c]: 5 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-10 Thread Richard Biener
On Sun, Dec 9, 2012 at 5:18 PM, NightStrike nightstr...@gmail.com wrote: On Sat, Dec 1, 2012 at 11:12 PM, Kai Tietz ktiet...@googlemail.com wrote: Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29

Re: [patch stmt.c]: 6 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-09 Thread NightStrike
On Sat, Dec 1, 2012 at 11:13 PM, Kai Tietz ktiet...@googlemail.com wrote: Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * stmt.c

Re: [patch print-tree.c]: 5 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-09 Thread NightStrike
On Sat, Dec 1, 2012 at 11:12 PM, Kai Tietz ktiet...@googlemail.com wrote: Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * print-tree.c (print_node):

Re: [patch]: 2 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Kai Tietz
Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t. Tested for i686-w64-mingw32,

Re: [patch]: 3 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Kai Tietz
Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * pointer-set.c (hash1): Cast from pointer via uintptr_t. Tested for i686-w64-mingw32,

Re: [patch tree-dump.c]: 7 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Kai Tietz
Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Updated variant using HOST_WIDE_INT_PRINT. Tested for i686-w64-mingw32 and x86_64-w64-mingw32. Ok for apply? Kai Index: tree-dump.c === --- tree-dump.c (Revision 193925)

Re: [patch print-tree.c]: 5 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Kai Tietz
Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * print-tree.c (print_node): Cast from pointer via uintptr_t. Tested for i686-w64-mingw32,

Re: [patch stmt.c]: 6 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Kai Tietz
Ping 2012/11/29 Kai Tietz ktiet...@googlemail.com: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * stmt.c (compute_cases_per_edge): Cast from pointer via intptr_t. (expand_case): Likewise.

Re: [patch]: 3 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Ian Lance Taylor
On Thu, Nov 29, 2012 at 4:07 AM, Kai Tietz ktiet...@googlemail.com wrote: 2012-11-29 Kai Tietz PR target/53912 * pointer-set.c (hash1): Cast from pointer via uintptr_t. This is OK. Thanks. Ian

Re: [patch]: 2 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-12-02 Thread Ian Lance Taylor
On Thu, Nov 29, 2012 at 4:05 AM, Kai Tietz ktiet...@googlemail.com wrote: 2012-11-29 Kai Tietz PR target/53912 * ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t. This is OK. Thanks. Ian

[patch c++]: 1 of 7 Fix for PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. cp/ PR target/53912 * class.c (dump_class_hierarchy_r): Cast from pointer via uintptr_t. (dump_vtable): Likewise. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and

[patch]: 2 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and x86_64-unknown-gnu-linux. Ok for apply?

[patch]: 3 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * pointer-set.c (hash1): Cast from pointer via uintptr_t. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and x86_64-unknown-gnu-linux. Ok for apply? Regards, Kai

[patch prefix.c]: 4 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * prefix.c (lookup_key): Explicit cast return-type of xmalloc/xrealloc to char *. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and

[patch print-tree.c]: 5 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * print-tree.c (print_node): Cast from pointer via uintptr_t. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and x86_64-unknown-gnu-linux. Ok for apply? Regards,

[patch stmt.c]: 6 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * stmt.c (compute_cases_per_edge): Cast from pointer via intptr_t. (expand_case): Likewise. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and

[patch tree-dump.c]: 7 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. ChangeLog 2012-11-29 Kai Tietz PR target/53912 * tree-dump.c (dump_pointer): Cast from pointer via intptr_t. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and x86_64-unknown-gnu-linux. Ok for apply? Regards,

Re: [patch c++]: 1 of 7 Fix for PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Pedro Alves
On 11/29/2012 12:03 PM, Kai Tietz wrote: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. But it's trivial at the expense of truncating the pointer. Looking around, I'd think that something like casting to hwi (after uintptr_t), and then use HOST_WIDE_INT_PRINT_HEX as format

Re: [patch c++]: 1 of 7 Fix for PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
2012/11/29 Pedro Alves pal...@redhat.com: On 11/29/2012 12:03 PM, Kai Tietz wrote: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. But it's trivial at the expense of truncating the pointer. Looking around, I'd think that something like casting to hwi (after uintptr_t),

Re: [patch c++]: 1 of 7 Fix for PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Pedro Alves
On 11/29/2012 12:45 PM, Kai Tietz wrote: 2012/11/29 Pedro Alves pal...@redhat.com: On 11/29/2012 12:03 PM, Kai Tietz wrote: Hello, this trivial patch fixes a bootstrap issue on LLP64 hosts. But it's trivial at the expense of truncating the pointer. Looking around, I'd think that something

Re: [patch tree-dump.c]: 7 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Updated variant using HOST_WIDE_INT_PRINT. Tested for i686-w64-mingw32 and x86_64-w64-mingw32. Ok for apply? Kai Index: tree-dump.c === --- tree-dump.c (Revision 193925) +++ tree-dump.c (Arbeitskopie) @@ -177,7 +177,8 @@ void

Re: [patch prefix.c]: 4 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Ian Lance Taylor
On Thu, Nov 29, 2012 at 4:09 AM, Kai Tietz ktiet...@googlemail.com wrote: ChangeLog 2012-11-29 Kai Tietz PR target/53912 * prefix.c (lookup_key): Explicit cast return-type of xmalloc/xrealloc to char *. Tested for i686-w64-mingw32, x86_64-w64-mingw32, and

Re: [patch prefix.c]: 4 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Kai Tietz
Fine. Tested patch using XNEWVEC/XRESIZEVEC for this. Ok for apply? Kai Index: prefix.c === --- prefix.c(Revision 193939) +++ prefix.c(Arbeitskopie) @@ -157,12 +157,12 @@ lookup_key (char *key) } size = 32; - dst

Re: [patch prefix.c]: 4 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-11-29 Thread Ian Lance Taylor
On Thu, Nov 29, 2012 at 10:27 AM, Kai Tietz ktiet...@googlemail.com wrote: Fine. Tested patch using XNEWVEC/XRESIZEVEC for this. Ok for apply? This is OK with a ChangeLog entry. Thanks. Ian Index: prefix.c === --- prefix.c

Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Tobias Burnus
On 09/11/2012 01:52 AM, Diego Novillo wrote: Remove unnecessary VEC function overloads. Several VEC member functions that accept an element 'T' used to have two overloads: one taking 'T', the second taking 'T *'. They might be unnecessary, but with your patch bootstrapping fails here with

Re: Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Richard Guenther
On Tue, Sep 11, 2012 at 9:58 AM, Tobias Burnus bur...@net-b.de wrote: On 09/11/2012 01:52 AM, Diego Novillo wrote: Remove unnecessary VEC function overloads. Several VEC member functions that accept an element 'T' used to have two overloads: one taking 'T', the second taking 'T *'. They

Re: Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Dominique Dhumieres
Fixed with the attached. Followed by the same failure on darwin. Fixed with --- ../_clean/gcc/config/darwin.c 2012-07-09 22:06:21.0 +0200 +++ ../p_work/gcc/config/darwin.c 2012-09-11 11:53:02.0 +0200 @@ -1878,7 +1878,7 @@ darwin_asm_named_section (const char *na

Re: Bootstrap fails

2012-09-11 Thread Diego Novillo
On 2012-09-11 03:58 , Tobias Burnus wrote: Did you test with or without Graphite? I tested with and without release checking, all languages and all targets that use VEC. So many combinations... how is graphite enabled? Diego.

Re: Bootstrap fails

2012-09-11 Thread Diego Novillo
On 2012-09-11 05:35 , Richard Guenther wrote: On Tue, Sep 11, 2012 at 9:58 AM, Tobias Burnus bur...@net-b.de wrote: On 09/11/2012 01:52 AM, Diego Novillo wrote: Remove unnecessary VEC function overloads. Several VEC member functions that accept an element 'T' used to have two overloads: one

Re: Bootstrap fails

2012-09-11 Thread Richard Guenther
On Tue, Sep 11, 2012 at 1:41 PM, Diego Novillo dnovi...@google.com wrote: On 2012-09-11 03:58 , Tobias Burnus wrote: Did you test with or without Graphite? I tested with and without release checking, all languages and all targets that use VEC. So many combinations... how is graphite

Re: Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Diego Novillo
On 2012-09-11 06:12 , Dominique Dhumieres wrote: Fixed with the attached. Followed by the same failure on darwin. Fixed with --- ../_clean/gcc/config/darwin.c 2012-07-09 22:06:21.0 +0200 +++ ../p_work/gcc/config/darwin.c 2012-09-11 11:53:02.0 +0200 @@ -1878,7

Re: Bootstrap fails

2012-09-11 Thread Tobias Burnus
On 09/11/2012 01:41 PM, Diego Novillo wrote: On 2012-09-11 03:58 , Tobias Burnus wrote: Did you test with or without Graphite? I tested with and without release checking, all languages and all targets that use VEC. So many combinations... There is unfortunately always an N+1

Re: Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Dominique Dhumieres
This is ok, of course. Then could you please commit it (I don't have write access)? TIA Dominique

Re: Bootstrap fails (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Diego Novillo
On 2012-09-11 08:42 , Dominique Dhumieres wrote: This is ok, of course. Then could you please commit it (I don't have write access)? Done. Rev 191192. 2012-09-11 Dominique Dhumieres domi...@lps.ens.fr * config/darwin.c (darwin_asm_named_section): Adjust for VEC changes.

[PATCH, i386]: Fix target/48860: bootstrap fails on x86_64-apple-darwin10; broken assembler edition.

2011-05-04 Thread Uros Bizjak
Hello! Oh well... some broken assemblers got confused with movq %reg, %xmm DImode move mnemonic. movd works correctly as well, so use this form instead. 2011-05-04 Uros Bizjak ubiz...@gmail.com PR target/48860 * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd

Re: [PATCH, i386]: Fix target/48860: bootstrap fails on x86_64-apple-darwin10; broken assembler edition.

2011-05-04 Thread Jakub Jelinek
On Wed, May 04, 2011 at 12:02:17PM +0200, Uros Bizjak wrote: Tested on x86_64-pc-linux-gnu, committed to mainline SVN. I will audit movq usage in other release branches as well. s/reqire/require/g --- config/i386/i386.md (revision 173353) +++ config/i386/i386.md (working copy)