[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 * libssp/ssp.c: Added wincrypt.h include for Windows targets. Bootstrapped i686-pc-mingw32 (mingw32 version 3.20). Regards, Daniel diff -uart gcc-5.1.0-orig/libss

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]: 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 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 x86_64-unknown-gnu

[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 Index

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 wrote: > On Sat, Dec 1, 2012 at 11:12 PM, Kai Tietz wrote: >> Ping >> >> 2012/11/29 Kai Tietz : >>> Hello, >>> >>> this trivial patch fixes a bootstrap issue on LLP64 hosts. >>> >>> ChangeLog >>> >>> 2012-11-29 Kai Tietz >>> >>> PR target/53912

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 wrote: > On Sat, Dec 1, 2012 at 11:13 PM, Kai Tietz wrote: >> Ping >> >> 2012/11/29 Kai Tietz : >>> Hello, >>> >>> this trivial patch fixes a bootstrap issue on LLP64 hosts. >>> >>> ChangeLog >>> >>> 2012-11-29 Kai Tietz >>> >>> PR target/53912

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 wrote: > Ping > > 2012/11/29 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 uint

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 wrote: > Ping > > 2012/11/29 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 vi

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

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 Ian Lance Taylor
On Thu, Nov 29, 2012 at 5:40 AM, Kai Tietz wrote: > 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 193

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 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 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 : > 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

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 : > 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 >

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 : > 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

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 : > 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_

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 : > 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 >

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 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(Revision 193939)

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 4:09 AM, Kai Tietz 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 > x86_64-unknown-gnu-l

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 Jason Merrill
OK. Jason

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 dump

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
Ok, here is the tested adjusted version using (u)intptr_t and hwi. Ok for apply? Kai Index: cp/class.c === --- cp/class.c (Revision 193925) +++ cp/class.c (Arbeitskopie) @@ -7815,9 +7815,9 @@ dump_class_hierarchy_r (FILE *stream,

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 : >> 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 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 : > 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 th

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 forma

[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,

[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 x86_64-unkno

[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 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 x86_64-unknown-gnu-lin

[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]: 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? Regards,

[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 x86_64-unknown-gnu-lin

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 * config/darwin.c (darwin_asm_named_section): Adjust for VEC changes. (darwin_as

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

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 configuration

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 +1878,

Re: Bootstrap fails

2012-09-11 Thread Richard Guenther
On Tue, Sep 11, 2012 at 1: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... how is graphite enabled? By havin

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

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 (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 (was: Remove unnecessary VEC function overloads.)

2012-09-11 Thread Richard Guenther
On Tue, Sep 11, 2012 at 9:58 AM, Tobias Burnus 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 mig

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 th

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)

[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 PR target/48860 * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd for reg<->xmm mo