[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2015-02-10 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

Kai Tietz ktietz at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #8 from Kai Tietz ktietz at gcc dot gnu.org ---
No reply.  Seems to be solved. So I close this bug


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2013-12-06 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

--- Comment #7 from xunxun xunxun1982 at gmail dot com ---
(In reply to Kai Tietz from comment #6)
 I rechecked reported issue with current trunk-version and didn't saw this
 ICE anymore.  Also with newer 4.7 version I can't reproduce issue.
 
 Could you please retest and tell me if issue is still reproducable for you?

Thanks for your test.
I will test a few days, later.


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2013-12-05 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

Kai Tietz ktietz at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2013-12-06
 CC||ktietz at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #6 from Kai Tietz ktietz at gcc dot gnu.org ---
I rechecked reported issue with current trunk-version and didn't saw this ICE
anymore.  Also with newer 4.7 version I can't reproduce issue.

Could you please retest and tell me if issue is still reproducable for you?


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2011-09-12 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

--- Comment #2 from PcX xunxun1982 at gmail dot com 2011-09-12 12:52:11 UTC 
---
Created attachment 25247
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25247
Eric Botcazou's testcase


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2011-09-12 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

--- Comment #3 from PcX xunxun1982 at gmail dot com 2011-09-12 12:55:55 UTC 
---
Using Eric Botcazou's test case, it also has the problem.
gcc lex.c

has no problem

gcc -flto -fuse-linker-plugin lex.c

it shows
In file included from lex.c:15:0,
 from :0:
lex.c: In function 'foo':
lex.c:16:15: internal compiler error: in convert_move, at expr.c:330
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
lto-wrapper: gcc returned 1 exit status
e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/bin/ld.exe:
lto-wrapper failed
collect2.exe: error: ld returned 1 exit status


gcc -flto -fuse-linker-plugin lex.c -msse2

has no problem.


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2011-09-12 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

--- Comment #4 from PcX xunxun1982 at gmail dot com 2011-09-12 13:00:37 UTC 
---
So I think that will affect all x86 target LTO build.


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2011-09-12 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

PcX xunxun1982 at gmail dot com changed:

   What|Removed |Added

 Target|*-*-mingw*  |*-*-mingw32
   Host|*-*-mingw*  |*-*-mingw32
  Build|*-*-mingw*  |*-*-mingw32

--- Comment #5 from PcX xunxun1982 at gmail dot com 2011-09-12 13:01:09 UTC 
---
So I think that will affect all x86 target LTO build.


[Bug lto/50351] An internal compiler error when building gcc4.6 using -flto -fuse-linker-plugin on Win7 mingw64 target

2011-09-11 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351

PcX xunxun1982 at gmail dot com changed:

   What|Removed |Added

  Known to fail||4.6.1, 4.7.0

--- Comment #1 from PcX xunxun1982 at gmail dot com 2011-09-11 14:50:36 UTC 
---
I try to use gcc version 4.7.0 20110911 (experimental) to build gcc trunk, and
it also has the problem, but shows a different error:


i686-w64-mingw32-gcc   -pipe -g0 -O2 -fomit-frame-pointer -finline-functions
-minline-all-stringops -flto  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed
-s -Wl,--large-address-aware  -flto -fuse-linker-plugin  -o cc1.exe c-lang.o
c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o
c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o
c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o
msformat-c.o default-c.o \
  cc1-checksum.o main.o  libbackend.a libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-lstdc++ -lcloog-isl -lisl -lppl_c -lppl  -lgmpxx -lmpc -lmpfr -lgmp  -lstdc++
-lz
lto1.exe: internal compiler error: in lto_reissue_options, at lto-opts.c:414
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
lto-wrapper: e:\MyPack\MinGW\bin\i686-w64-mingw32-gcc.exe returned 1 exit
status
e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/bin/ld.exe:
lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cc1.exe] Error 1
make[2]: Leaving directory `/e/new/gcc/gcc4.6/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/e/new/gcc/gcc4.6/build'
make: *** [all] Error 2