[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #7 from Georg-Johann Lay  ---
Author: gjl
Date: Tue Aug 22 10:32:36 2017
New Revision: 251272

URL: https://gcc.gnu.org/viewcvs?rev=251272=gcc=rev
Log:
lto-plugin/
Backport from 2017-07-26 gcc-7-branch r250562.
PR lto/81487
* lto-plugin.c (claim_file_handler): Use xasprintf instead of
asprintf.
[hi!=0]: Swap hi and lo arguments supplied to xasprintf.
gcc/
Backport from 2017-07-26 gcc-7-branch r250562.
PR 81487
* tree-ssa-structalias.c (alias_get_name): Use xasprintf instead
of asprintf.

Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/tree-ssa-structalias.c
branches/gcc-5-branch/lto-plugin/ChangeLog
branches/gcc-5-branch/lto-plugin/lto-plugin.c

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Georg-Johann Lay  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|7.3 |7.2

--- Comment #6 from Georg-Johann Lay  ---
Fixed in 6.5 and 7.2+.

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Georg-Johann Lay  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|7.3 |7.2

--- Comment #8 from Georg-Johann Lay  ---
Fixed in 7.2 and 6.5.

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 7.2 |7.3 7.3

--- Comment #6 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #7 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 7.2 |7.3 7.3

--- Comment #6 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #7 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #5 from Georg-Johann Lay  ---
Author: gjl
Date: Wed Jul 26 13:59:54 2017
New Revision: 250573

URL: https://gcc.gnu.org/viewcvs?rev=250573=gcc=rev
Log:
lto-plugin/
Backport from 2017-07-26 gcc-7-branch r250562.
PR lto/81487
* lto-plugin.c (claim_file_handler): Use xasprintf instead of
asprintf.
[hi!=0]: Swap hi and lo arguments supplied to xasprintf.
gcc/
Backport from 2017-07-26 gcc-7-branch r250562.
PR 81487
* hsa-brig.c (brig_init): Use xasprintf instead of asprintf.
* tree-ssa-structalias.c (alias_get_name): Same.

Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/hsa-brig.c
branches/gcc-6-branch/gcc/tree-ssa-structalias.c
branches/gcc-6-branch/lto-plugin/ChangeLog
branches/gcc-6-branch/lto-plugin/lto-plugin.c

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

Georg-Johann Lay  changed:

   What|Removed |Added

   Target Milestone|--- |7.2

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #4 from Georg-Johann Lay  ---
Author: gjl
Date: Wed Jul 26 08:58:37 2017
New Revision: 250562

URL: https://gcc.gnu.org/viewcvs?rev=250562=gcc=rev
Log:
lto-plugin/
Backport from 2017-07-21 trunk r250428.
PR lto/81487
* lto-plugin.c (claim_file_handler): Use xasprintf instead of
asprintf.
[hi!=0]: Swap hi and lo arguments supplied to xasprintf.
gcc/
Backport from 2017-07-25 trunk r250499.
PR 81487
* hsa-brig.c (brig_init): Use xasprintf instead of asprintf.
* gimple-pretty-print.c (dump_probability): Same.
* tree-ssa-structalias.c (alias_get_name): Same.

Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/gimple-pretty-print.c
branches/gcc-7-branch/gcc/hsa-brig.c
branches/gcc-7-branch/gcc/tree-ssa-structalias.c
branches/gcc-7-branch/lto-plugin/ChangeLog
branches/gcc-7-branch/lto-plugin/lto-plugin.c

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #3 from Georg-Johann Lay  ---
Author: gjl
Date: Tue Jul 25 09:59:44 2017
New Revision: 250499

URL: https://gcc.gnu.org/viewcvs?rev=250499=gcc=rev
Log:
gcc/
PR 81487
* hsa-brig.c (brig_init): Use xasprintf instead of asprintf.
* gimple-pretty-print.c (dump_profile, dump_probability): Same.
* tree-ssa-structalias.c (alias_get_name): Same.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-pretty-print.c
trunk/gcc/hsa-brig.c
trunk/gcc/tree-ssa-structalias.c

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #2 from Georg-Johann Lay  ---
Author: gjl
Date: Fri Jul 21 15:58:14 2017
New Revision: 250428

URL: https://gcc.gnu.org/viewcvs?rev=250428=gcc=rev
Log:
lto-plugin/
PR lto/81487
* lto-plugin.c (claim_file_handler): Use xasprintf instead of
asprintf.
[hi!=0]: Swap hi and lo arguments supplied to xasprintf.

Modified:
trunk/lto-plugin/ChangeLog
trunk/lto-plugin/lto-plugin.c

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487

--- Comment #1 from Georg-Johann Lay  ---
FYI, the build compiler identifies as

$ i686-w64-mingw32-gcc -v

Using built-in specs.
COLLECT_GCC=i686-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/home/georg/bin/opt/mingw64-winpthreads-wildcard/mingw-w64-i686/bin/../libexec/gcc/i686-w64-mingw32/4.9.3/lto-wrapper
Target: i686-w64-mingw32
Configured with: ../source/gcc-4.9.3/configure --build=x86_64-pc-linux-gnu
--target=i686-w64-mingw32 --disable-shared --enable-static --disable-nls
--disable-multilib --prefix=/opt/mingw64-winpthreads-wildcard/mingw-w64-i686
--with-sysroot=/opt/mingw64-winpthreads-wildcard/mingw-w64-i686
--with-mpc=/opt/mingw64-winpthreads-wildcard/pkgs/mpc/mpc-1.0.3-x86_64
--with-mpfr=/opt/mingw64-winpthreads-wildcard/pkgs/mpfr/mpfr-3.1.2-x86_64
--with-gmp=/opt/mingw64-winpthreads-wildcard/pkgs/gmp/gmp-6.0.0a-x86_64
--with-host-libstdcxx='-lstdc++ '
--with-cloog=/opt/mingw64-winpthreads-wildcard/pkgs/cloog/cloog-0.18.1-x86_64
--with-isl=/opt/mingw64-winpthreads-wildcard/pkgs/isl/isl-0.12.2-x86_64
--enable-languages=c,c++ --enable-threads=win32 --enable-fully-dynamic-string
--enable-lto
Thread model: win32
gcc version 4.9.3 (GCC) 


$ i686-w64-mingw32-gcc main.c -S -fverbose-asm && grep version main.s
 # GNU C (GCC) version 4.9.3 (i686-w64-mingw32)
 # compiled by GNU C version 4.4.5, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.3