[Bug libobjc/93099] New: Multiple definition error while linking libobjc.dll.a

2019-12-30 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

Bug ID: 93099
   Summary: Multiple definition error while linking libobjc.dll.a
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libobjc
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

libtool: link:
/opt/devel/SCRATCH/tmp.F6n0FMZOiy/gcc-10.0.0/gcc-10.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.F6n0FMZOiy/gcc-10.0.0/gcc-10.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/sys-include
   -shared  .libs/NXConstStr.o .libs/Object.o .libs/Protocol.o
.libs/accessors.o .libs/linking.o .libs/class.o .libs/encoding.o .libs/error.o
.libs/gc.o .libs/hash.o .libs/init.o .libs/ivars.o .libs/memory.o
.libs/methods.o .libs/nil_method.o .libs/objc-foreach.o .libs/objc-sync.o
.libs/objects.o .libs/protocols.o .libs/sarray.o .libs/selector.o
.libs/sendmsg.o .libs/thr.o .libs/exception.o  
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-10.0.0/mingw/lib
 -shared-libgcc   -o .libs/libobjc-4.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libobjc.dll.a
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/Protocol.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/class.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/encoding.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/hash.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/init.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/ivars.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/memory.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first defined here
D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-10.0.0\bin\ld.exe:
.libs/methods.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
multiple definition of `_objc_load_callback';
.libs/Object.o:D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-10.0.0/libobjc/objc/runtime.h:919:
first de

[Bug libobjc/93099] Multiple definition error while linking libobjc.dll.a

2019-12-30 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #1 from Rainer Emrich  ---
That's with revision 279747.

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #3 from Rainer Emrich  ---
(In reply to Andrew Pinski from comment #2)
> Created attachment 47566 [details]
> Patch to try
> 
> Can you try this patch?
> It should fix the problem but I cannot test it as I don't have a windows
> build machine setup.

Will take a moment.

[Bug libobjc/93099] [10 Regression] Multiple definition error while linking libobjc.dll.a

2020-01-01 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93099

--- Comment #4 from Rainer Emrich  ---
(In reply to Andrew Pinski from comment #2)
> Created attachment 47566 [details]
> Patch to try
> 
> Can you try this patch?
> It should fix the problem but I cannot test it as I don't have a windows
> build machine setup.
This patch indeed fixes the issue.

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2013-02-06 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123



--- Comment #10 from Rainer Emrich  2013-02-06 
17:20:53 UTC ---

-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Am 06.02.2013 18:04, schrieb daniel.f.starke at freenet dot de:

> 

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123

> 

> --- Comment #9 from Daniel Starke 

> 2013-02-06 17:04:21 UTC --- This will probably not fix all problems with

> ada on mingw.

Ah, I see. I missed this one because I only test for x86_64 and this one is in

the i386 path.



That's a problem in trunk and 4.7.3. I will prepare an additional patch for

trunk. Afterwards I will backport the whole mess to 4.7.3.

If you are able to test on 32 bit mingw system, I would like to send you the

patch for testing.





> My last tests with 4.7.2 made me also need to patch this:

> 

> diff -uart gcc-4.7.2-original/gcc/ada/tracebak.c

> gcc-4.7.2/gcc/ada/tracebak.c --- gcc-4.7.2-original/gcc/ada/tracebak.c

> 2011-10-24 10:31:30 + +++ gcc-4.7.2/gcc/ada/tracebak.c2012-09-23

> 15:26:50 + @@ -326,7 +326,7 @@

> 

> #if defined (__WIN32) #include  -#define IS_BAD_PTR(ptr)

> (IsBadCodePtr((void *)ptr)) +#define IS_BAD_PTR(ptr)

> (IsBadCodePtr((FARPROC)ptr)) #elif defined (sun) #define IS_BAD_PTR(ptr)

> ((unsigned long)ptr == -1UL) #else

> 



-BEGIN PGP SIGNATURE-

Version: GnuPG v1.4.10 (MingW32)

Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/



iQEcBAEBAgAGBQJREpDZAAoJEB3HOsWs+KJbFpMH/3soc7VszmDTzIMILkxSQARC

5kP/1clKrAmWjlIRSdt6CUjTDEmKrPGiWtmxqA9cuLq2AWkT1d2qycLNMq7cIeV5

4KNsMtqIKLfpFj7rw7n8gK8rCxMgUfXi+vBqFJtsGO1pBXtTZDgNsTlg5jqqUeeT

3744GGduKB702YbCsQYyiqjWffJeWcCYfMqHjZdu2xQNHhL69EX8GzAcZp1cHQJj

kPjfwPU2aaNYKD9H2DdhJ8S6Y8YWNg7UrYCUNY1ySKMeIx9OFamCHSUzZDC8e4kq

L4XKqIpZFz6Ys9qJDfv5o47lIoWmERy1aGH54fG2sX/xDdpHOv6q60vdGFCSDU4=

=W5RJ

-END PGP SIGNATURE-


[Bug ada/56316] New: [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c

2013-02-14 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56316



 Bug #: 56316

   Summary: [4.8 Regression] bootstrap with ada on mingw fails in

ada/gcc-interface/trans.c

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: ada

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de

  Host: *-w64-mingw32

Target: *-w64-mingw32

 Build: *-w64-mingw32





gcc trunk rev. 195803



g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H

-I.. -I. -Iada -I../../../src/gcc-4.8.0/gcc -I../../../src/gcc-4.8.0/gcc/ada

-I../../../src/gcc-4.8.0/gcc/../include -I./../intl

-I../../../src/gcc-4.8.0/gcc/../libcpp/include

-I/SCRATCH/tmp.kPrCLMNzhZ/install/include

-I/SCRATCH/tmp.kPrCLMNzhZ/install/include

-I/SCRATCH/tmp.kPrCLMNzhZ/install/include 

-I../../../src/gcc-4.8.0/gcc/../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libbacktrace -DCLOOG_INT_GMP

-I/SCRATCH/tmp.kPrCLMNzhZ/install/include

-I/SCRATCH/tmp.kPrCLMNzhZ/install/include 

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c -o ada/trans.o 

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c: In function 'tree_node*

Pragma_to_gnu(Node_Id)':

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c:1267:42: error:

'LOOP_STMT_NO_UNROLL' was not declared in this scope

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c:1271:39: error:

'LOOP_STMT_UNROLL' was not declared in this scope

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c:1275:42: error:

'LOOP_STMT_NO_VECTOR' was not declared in this scope

../../../src/gcc-4.8.0/gcc/ada/gcc-interface/trans.c:1279:39: error:

'LOOP_STMT_VECTOR' was not declared in this scope

gmake[3]: *** [ada/trans.o] Error 1 





That's introduced in January.


[Bug ada/56316] [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c

2013-02-14 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56316



--- Comment #2 from Rainer Emrich  2013-02-14 
08:52:19 UTC ---

-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Am 14.02.2013 09:46, schrieb charlet at gcc dot gnu.org:

> I would suggest always checking with current trunk before opening these

> PRs since this was fixed on 2013-02-06 (revision 195805).

Sorry, for the noise!



Rainer



> 

> Arno

> 



-BEGIN PGP SIGNATURE-

Version: GnuPG v1.4.10 (MingW32)

Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/



iQEcBAEBAgAGBQJRHKWLAAoJEB3HOsWs+KJbIQYIAIhzM7VNeLAg/KO7hGKXVD0+

pjVUyUsKPCn/bsvVohWP99T127Oy99B6zznBWRNTpzoCbn1Vf5o93zPiimk4DJrQ

EhFfeSE9eNXaVwbyLtnjuP5+yHOLgzgoSE/Othz2LWMCazwWWKiFMTuK+ITiDHZT

Y+JrpajOZEeX3YdMwaq30/gUQ2b7/6Y0rbS5bCsI/fCz2zbPCy/Xf24cj+Jzj5Ad

3/p13HmrfZ1SaggNl6qxzJkzT24olyVypR4V1P6OJp6/Bjhe2eY9l6qdpv6R14iz

IOuPqdAN/qTzKHF9aP8jliuPV297f8ZJ64VEmpHUctjSCyCvjSRGTWa/ehwORKc=

=a5/r

-END PGP SIGNATURE-


[Bug ada/56410] New: [4.8 Regression] bootstrap with ada on x86_64-w64-mingw32 fails in gnattools, new dependency on gmp.h

2013-02-20 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56410



 Bug #: 56410

   Summary: [4.8 Regression] bootstrap with ada on

x86_64-w64-mingw32 fails in gnattools, new dependency

on gmp.h

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: ada

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de

  Host: x86_64-w64-mingw32

Target: x86_64-w64-mingw32

 Build: x86_64-w64-mingw32





A commit between revision 194638 and 195218 introduced a new dependency on

gmp.h, which is not found because the required include search path isn't added.



So, if the dependency is by intention, the include search path has to be added.

Otherwise the dependeny has to be removed again.





../../xgcc -B../../ -c -DIN_GCC  -g -W -Wall  \

-iquote /SCRATCH/tmp.WFOaDArHyR/src/gcc-4.8.0/gcc \

 -iquote . -iquote .. -iquote ../.. -iquote

/SCRATCH/tmp.WFOaDArHyR/src/gcc-4.8.0/gcc/ada -iquote

/SCRATCH/tmp.WFOaDArHyR/src/gcc-4.8.0/gcc

-I/SCRATCH/tmp.WFOaDArHyR/src/gcc-4.8.0/gcc/../include  \

../rts/targext.c -o targext.o 

In file included from ../rts/targext.c:43:0:

D:/msys/SCRATCH/tmp.WFOaDArHyR/src/gcc-4.8.0/gcc/system.h:641:17: fatal error:

gmp.h: No such file or directory

 #include 

 ^

compilation terminated.

make[1]: *** [targext.o] Error 1

make[1]: *** Waiting for unfinished jobs

make[1]: Leaving directory

`/SCRATCH/tmp.WFOaDArHyR/gcc-4.8.0/gcc-4.8.0/gcc/ada/tools'

make: *** [gnattools-native] Error 2


[Bug ada/56410] [4.8 Regression] bootstrap with ada on x86_64-w64-mingw32 fails in gnattools, new dependency on gmp.h

2013-02-20 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56410



Rainer Emrich  changed:



   What|Removed |Added



 Status|WAITING |RESOLVED

 Resolution||INVALID



--- Comment #2 from Rainer Emrich  2013-02-21 
00:10:45 UTC ---

(In reply to comment #1)

> Why does the fix installed for PR bootstrap/55784 not work you?  See comment 
> #3



Sorry for the noise, caused by a glitch with MSYS make and my stupidity.


[Bug bootstrap/56424] New: [4.8 Regression] bootstrap fails in libada, gnat1 asserts in declare_return_variable, at tree-inline.c:2833

2013-02-22 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56424



 Bug #: 56424

   Summary: [4.8 Regression] bootstrap fails in libada, gnat1

asserts in declare_return_variable, at

tree-inline.c:2833

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: bootstrap

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de

CC: hubi...@gcc.gnu.org

  Host: x86_64-w64-mingw32

Target: x86_64-w64-mingw32

 Build: x86_64-w64-mingw32





Native bootstrap on x86_64-w64-mingw32 fails in stage3.



/SCRATCH/tmp.WFOaDArHyR/gcc-4.8.0/gcc-4.8.0/./gcc/xgcc

-B/SCRATCH/tmp.WFOaDArHyR/gcc-4.8.0/gcc-4.8.0/./gcc/

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/lib

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/include

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib/

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/sys-include

   -c -g -O2-W -Wall -gnatpg -nostdinc   a-nllcef.ads -o a-nllcef.o

in declare_return_variable, at tree-inline.c:2833make[6]: *** [a-nllcef.o]

Error 1 



caused by the fixes for PR55797 revison 195750, 195751.


[Bug bootstrap/56424] [4.8 Regression] ICE at tree-inline.c:2833 on a-nllcef.ads at -O2

2013-02-24 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56424



--- Comment #2 from Rainer Emrich  2013-02-24 
19:41:51 UTC ---

Am 24.02.2013 17:05, schrieb ebotcazou at gcc dot gnu.org:

> --- Comment #1 from Eric Botcazou  2013-02-24

> 16:05:44 UTC --- Confirmed, but libada isn't stage #3 since it's a target

> library.

Sorry, of course you are right.


[Bug bootstrap/53912] New: bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c

2012-07-10 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

 Bug #: 53912
   Summary: bootstrap fails at stage 2 with error: cast from
'void*' to 'long int' loses precision in ggc-common.c
Classification: Unclassified
   Product: gcc
   Version: 4.7.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
    ReportedBy: rai...@emrich-ebersheim.de


bootstrap native x86_64-w64-mingw32 fails at stage 2:

/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/./prev-gcc/g++
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/./prev-gcc/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.2/x86_64-w64-mingw32/bin/
-nostdinc++
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-I/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/include
-I/SCRATCH/tmp.pBPKMqodMC/src/gcc-4.7.2/libstdc++-v3/libsupc++
-L/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -gtoggle -DIN_GCC  
-fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../../src/gcc-4.7.2/gcc
-I../../../src/gcc-4.7.2/gcc/. -I../../../src/gcc-4.7.2/gcc/../include
-I./../intl -I../../../src/gcc-4.7.2/gcc/../libcpp/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
-I../../../src/gcc-4.7.2/gcc/../libdecnumber
-I../../../src/gcc-4.7.2/gcc/../libdecnumber/bid -I../libdecnumber
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
../../../src/gcc-4.7.2/gcc/ggc-common.c -o ggc-common.o
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'int
gt_pch_note_object(void*, void*, gt_note_pointers, gt_types_enum)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:326:49: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void
gt_pch_note_reorder(void*, void*, gt_handle_reorder)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:359:44: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'hashval_t
saving_htab_hash(const void*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:370:10: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void relocate_ptrs(void*,
void*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:443:45: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void
write_pch_globals(const ggc_root_tab* const*, traversal_state*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:472:42: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
make[3]: *** [ggc-common.o] Error 1
make[3]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2'
make: *** [all] Error 2



If configured with --disable-build-poststage1-with-cxx bootstrap succeeds.


[Bug bootstrap/53912] [4.7 Regression] bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c

2012-07-11 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #1 from Rainer Emrich  2012-07-11 
14:07:17 UTC ---
Created attachment 27776
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27776
preprocessed source

I assume for trunk there is the same issue, because ggc-common.c hasn't changed


[Bug bootstrap/53980] New: [4.8 Regression] Bootstrap fails in stage 1: i386.md:17784:3: error: 'OPTION_BIONIC' undeclared here (not in a function) in build/gencondmd.c

2012-07-16 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53980

 Bug #: 53980
   Summary: [4.8 Regression] Bootstrap fails in stage 1:
i386.md:17784:3: error: 'OPTION_BIONIC' undeclared
here (not in a function) in build/gencondmd.c
Classification: Unclassified
   Product: gcc
   Version: 4.8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: rai...@emrich-ebersheim.de


Bootstrap fails in stage 1 for x86_64-w64-mingw32:

gcc -c -g -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../src/gcc-4.8.0/gcc
-I../../../src/gcc-4.8.0/gcc/build -I../../../src/gcc-4.8.0/gcc/../include
-I./../intl -I../../../src/gcc-4.8.0/gcc/../libcpp/include
-I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include 
-I../../../src/gcc-4.8.0/gcc/../libdecnumber
-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber
-DCLOOG_INT_GMP -I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include  \
-o build/gencondmd.o build/gencondmd.c
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:17784:3: error: 'OPTION_BIONIC'
undeclared here (not in a function)
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:920:5: warning: missing
initializer [-Wmissing-field-initializers]
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:920:5: warning: (near
initialization for 'insn_conditions[657].value') [-Wmissing-field-initializers]
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:17755:5: warning: missing
initializer [-Wmissing-field-initializers]
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:17755:5: warning: (near
initialization for 'insn_conditions[1097].value')
[-Wmissing-field-initializers]
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:920:5: warning: missing
initializer [-Wmissing-field-initializers]
../../../src/gcc-4.8.0/gcc/config/i386/i386.md:920:5: warning: (near
initialization for 'insn_conditions[1177].value')
[-Wmissing-field-initializers]
make[3]: *** [build/gencondmd.o] Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory `/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/gcc'


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c

2012-07-16 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

Rainer Emrich  changed:

   What|Removed |Added

Summary|[4.7 Regression] bootstrap  |[4.7/4.8 Regression]
   |fails at stage 2 with   |bootstrap fails at stage 2
   |error: cast from 'void*' to |with error: cast from
   |'long int' loses precision  |'void*' to 'long int' loses
   |in ggc-common.c |precision in ggc-common.c
  Known to fail||4.8.0

--- Comment #2 from Rainer Emrich  2012-07-16 
17:10:16 UTC ---
There are similar issues in other source files most of the form:
error: cast loses precision [-fpermissive]

And the same for gcc-4.8.0


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c

2012-07-16 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #3 from Rainer Emrich  2012-07-16 
17:17:24 UTC ---
Created attachment 27804
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27804
Errors in stage 2

These are the errors I get in stage 2 for gcc-4.8.0.

How to proceed?


[Bug ada/54028] New: [4.8 Regression] libada build failure when bootstrapping x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54028

 Bug #: 54028
   Summary: [4.8 Regression] libada build failure when
bootstrapping x86_64-w64-mingw32
Classification: Unclassified
   Product: gcc
   Version: 4.8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ada
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: rai...@emrich-ebersheim.de


build of libada fails in gcc/ada/rts:

/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./gcc/xgcc
-B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/sys-include
   -c -DIN_GCC  -W -Wall -g -O2 -fexceptions -DIN_RTS -DHAVE_GETIPINFO\
-iquote /SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/gcc -iquote
/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/gcc/../libgcc \
 -iquote . -iquote .. -iquote ../.. -iquote
/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/gcc/ada -iquote
/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/gcc
-I/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/gcc/../include -I./../.. raise-gcc.c -o
raise-gcc.o
raise-gcc.c: In function '__gnat_personality_seh0':
raise-gcc.c:1390:15: error: 'struct _Unwind_Exception' has no member named
'private_'
memset (exc->private_, 0, sizeof (exc->private_));
   ^
raise-gcc.c:1390:41: error: 'struct _Unwind_Exception' has no member named
'private_'
memset (exc->private_, 0, sizeof (exc->private_));
 ^
raise-gcc.c:1398:3: warning: implicit declaration of function
'_GCC_specific_handler' [-Wimplicit-function-declaration]
   return _GCC_specific_handler (ms_exc, this_frame, ms_orig_context,
   ^
raise-gcc.c:1399:14: error: '__gnat_personality_imp' undeclared (first use in
this function)
 ms_disp, __gnat_personality_imp);
  ^
raise-gcc.c:1399:14: note: each undeclared identifier is reported only once for
each function it appears in
raise-gcc.c: At top level:
raise-gcc.c:1012:33: warning: '__gnat_personality_sj0' defined but not used
[-Wunused-function]
 #define PERSONALITY_FUNCTION__gnat_personality_sj0
 ^
raise-gcc.c:1059:1: note: in expansion of macro 'PERSONALITY_FUNCTION'
 PERSONALITY_FUNCTION (version_arg_t version_arg,
 ^
raise-gcc.c: In function '__gnat_personality_seh0':
raise-gcc.c:1400:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
make[6]: *** [raise-gcc.o] Error 1 


bootstrap configured with:

../../src/gcc-4.8.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/bin/ld
--build=x86_64-w64-mingw32
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++
--with-gmp=/SCRATCH/tmp.xipisatGtI/install
--with-mpfr=/SCRATCH/tmp.xipisatGtI/install
--with-mpc=/SCRATCH/tmp.xipisatGtI/install
--with-isl=/SCRATCH/tmp.xipisatGtI/install
--with-cloog=/SCRATCH/tmp.xipisatGtI/install --enable-libgomp
--enable-fully-dynamic-string --disable-multilib --enable-checking=release
--disable-werror --with-sysroot=/x86_64-w64-trunk
--disable-build-poststage1-with-cxx


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

Rainer Emrich  changed:

   What|Removed |Added

Summary|[4.7/4.8 Regression]|[4.7/4.8 Regression]
   |bootstrap fails at stage 2  |bootstrap fails using
   |with error: cast from   |default c++ mode in stage 2
   |'void*' to 'long int' loses |and 3 for native
   |precision in ggc-common.c   |x86_64-w64-mingw32

--- Comment #4 from Rainer Emrich  2012-07-19 
15:41:11 UTC ---
Changed summary for  better description of the real problem.


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #6 from Rainer Emrich  2012-07-19 
20:33:01 UTC ---
Am 19.07.2012 18:12, schrieb redi at gcc dot gnu.org:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912
> 
> --- Comment #5 from Jonathan Wakely  2012-07-19 
> 16:12:18 UTC ---
> Does changing the definition of POINTER_HASH to use intptr_t instead of long
> work?
> 
This works for ggc-common.c. Ian Lance Taylor recommended to use uintptr_t
instead, but I haven't tested that.

The next failure now is:
/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./prev-gcc/g++
-B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./prev-gcc/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/
-nostdinc++
-B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-I/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/include
-I/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/libstdc++-v3/libsupc++
-L/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -gtoggle -DIN_GCC
-fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../../src/gcc-4.8.0/gcc
-I../../../src/gcc-4.8.0/gcc/. -I../../../src/gcc-4.8.0/gcc/../include
-I./../intl -I../../../src/gcc-4.8.0/gcc/../libcpp/include
-I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include
-I../../../src/gcc-4.8.0/gcc/../libdecnumber
-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber
-DCLOOG_INT_GMP -I/SCRATCH/tmp.xipisatGtI/install/include
-I/SCRATCH/tmp.xipisatGtI/install/include
../../../src/gcc-4.8.0/gcc/pointer-set.c -o pointer-set.o
../../../src/gcc-4.8.0/gcc/pointer-set.c: In function 'size_t hash1(const
void*,
long unsigned int, long unsigned int)':
../../../src/gcc-4.8.0/gcc/pointer-set.c:67:32: error: cast from 'const void*'
to 'long unsigned int' loses precision [-fpermissive]
   return ((A * (unsigned long) p) >> shift) & (max - 1);
^
make[3]: *** [pointer-set.o] Error 1


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #8 from Rainer Emrich  2012-07-19 
22:31:32 UTC ---
../../../src/gcc-4.8.0/gcc/print-tree.c:258:31: error: cast from 'tree' to
'long unsigned int' loses precision [-fpermissive]
   hash = ((unsigned long) node) % HASH_SIZE;

Same here?


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #9 from Rainer Emrich  2012-07-19 
22:41:28 UTC ---
../../../src/gcc-4.8.0/gcc/tree-dump.c:171:63: error: cast from 'void*' to
'long unsigned int' loses precision [-fpermissive]
   fprintf (di->stream, "%-4s: %-8lx ", field, (unsigned long) ptr);

And here?


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #10 from Rainer Emrich  2012-07-19 
23:17:40 UTC ---
../../../src/gcc-4.8.0/gcc/prefix.c: In function 'char* lookup_key(char*)':
../../../src/gcc-4.8.0/gcc/prefix.c:160:22: error: invalid conversion from
'void*' to 'char*' [-fpermissive]
   dst = xmalloc (size);
  ^
Here I assume: dst = (char *) xmalloc (size);


../../../src/gcc-4.8.0/gcc/prefix.c:165:32: error: invalid conversion from
'void*' to 'char*' [-fpermissive]
   dst = xrealloc (dst, size);
^

Here I assume: dst = (char *) xrealloc (dst, size);


Next one is more complex, probably an issue in the mingw-w64 header?

In file included from D:/x86_64-w64-trunk/mingw/include/urlmon.h:219:0,
 from D:/x86_64-w64-trunk/mingw/include/objbase.h:348,
 from D:/x86_64-w64-trunk/mingw/include/ole2.h:16,
 from D:/x86_64-w64-trunk/mingw/include/wtypes.h:12,
 from D:/x86_64-w64-trunk/mingw/include/winscard.h:10,
 from D:/x86_64-w64-trunk/mingw/include/windows.h:95,
 from ../../../src/gcc-4.8.0/gcc/prefix.c:71:
D:/x86_64-w64-trunk/mingw/include/msxml.h:636:38: error: macro "abort" passed 1
arguments, but takes just 0
 virtual HRESULT WINAPI abort(void) = 0;
  ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:2669:38: error: macro "abort" passed
1 arguments, but takes just 0
 virtual HRESULT WINAPI abort(void) = 0;
  ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:636:42: error: 'abort' declared as a
'virtual' field
 virtual HRESULT WINAPI abort(void) = 0;
  ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:2669:42: error: 'abort' declared as a
'virtual' field
 virtual HRESULT WINAPI abort(void) = 0;
  ^


[Bug ada/54028] [4.8 Regression] libada build failure when bootstrapping x86_64-w64-mingw32

2012-07-20 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54028

--- Comment #2 from Rainer Emrich  2012-07-20 
10:23:32 UTC ---
Am 20.07.2012 09:23, schrieb gingold at gcc dot gnu.org:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54028
> 
> ging...@gcc.gnu.org  changed:
> 
> What|Removed |Added 
> 
>
> 
CC||gingold at gcc dot gnu.org
> 
> --- Comment #1 from gingold at gcc dot gnu.org 
> 2012-07-20 07:23:35 UTC --- Can you try again (with updated sources) ?
> 
> If it still fails, don't forget to report the revision.
> 
Works now! This is revision 189702.

Thanks


[Bug ada/54028] [4.8 Regression] libada build failure when bootstrapping x86_64-w64-mingw32

2012-07-20 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54028

Rainer Emrich  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED

--- Comment #3 from Rainer Emrich  2012-07-20 
10:30:11 UTC ---
Fixed


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-20 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #12 from Rainer Emrich  2012-07-20 
15:30:09 UTC ---
Created attachment 27846
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27846
proposed patch

This fixes the C and C++ part.


[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-20 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #17 from Rainer Emrich  2012-07-20 
16:18:00 UTC ---
I'm travelling for 2 weeks from now on. During this time I have no opportunity
to work any further on this issue.

Kai, perhaps you may help out?


[Bug plugins/52872] New: --enable-plugin; incorrrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac

2012-04-04 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52872

 Bug #: 52872
   Summary: --enable-plugin; incorrrect test for "exported
symbols" and "-rdynamic" in gcc/configure.ac
Classification: Unclassified
   Product: gcc
   Version: 4.4.4
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: plugins
AssignedTo: unassig...@gcc.gnu.org
    ReportedBy: rai...@emrich-ebersheim.de


On systems with non empty $exeext the configure tests are failing with:

checking for exported symbols...
d:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-4.6.1\bin\objdump.exe:
'conftest': No such file
checking for -rdynamic...
d:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-4.6.1\bin\objdump.exe:
'conftest': No such file

All active branches are affected!

possible patch against trunk, see below.

I'm not really sure if this is the right thing to do for a cross setup or if we
have to use $host_exeext. Anyway, something along the lines should fix it, al
least for a native bootstrap.


diff -Naur gcc-trunk/gcc/configure.ac gcc-new/gcc/configure.ac
--- gcc-trunk/gcc/configure.ac  2012-03-29 18:25:52.789019300 +0200
+++ gcc-new/gcc/configure.ac2012-04-04 19:02:29.669435800 +0200
@@ -5021,14 +5021,14 @@
   if test "x$export_sym_check" != x; then
 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest > /dev/null 2>&1
-if $export_sym_check conftest | grep foobar > /dev/null; then
+if $export_sym_check conftest${exeext} | grep foobar > /dev/null; then
   : # No need to use a flag
   AC_MSG_RESULT([yes])
 else
   AC_MSG_RESULT([yes])
   AC_MSG_CHECKING([for -rdynamic])
   ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest > /dev/null
2>&1
-  if $export_sym_check conftest | grep foobar > /dev/null; then
+  if $export_sym_check conftest${exeext} | grep foobar > /dev/null; then
 plugin_rdynamic=yes
 pluginlibs="-rdynamic"
   else


[Bug plugins/52872] --enable-plugin; incorrrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac

2012-04-04 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52872

--- Comment #2 from Rainer Emrich  2012-04-04 
17:22:19 UTC ---
(In reply to comment #1)
> It really won't change that much as -rdynamic and exported symbols are not
> supported on windows right now anyways.

Agreed, but I think it's pretty easy to correct this at least on trunk, before
it bites us later on.


[Bug bootstrap/52947] New: [4.7 Regression] bootstrap fails due to wrong include search path composition

2012-04-12 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52947

 Bug #: 52947
   Summary: [4.7 Regression] bootstrap fails due to wrong include
search path composition
Classification: Unclassified
   Product: gcc
   Version: 4.7.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: rai...@emrich-ebersheim.de


native x86_64-w64-mingw32 bootstrap using --with-sysroot
This used to work for the 4.6 series.

../../src/gcc-4.7.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/bin/ld
--build=x86_64-w64-mingw32
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++
--with-gmp-include=/SCRATCH/tmp.pzGXGetUXT/install/include
--with-gmp-lib=/SCRATCH/tmp.pzGXGetUXT/install/lib64
--with-mpfr-include=/SCRATCH/tmp.pzGXGetUXT/install/include
--with-mpfr-lib=/SCRATCH/tmp.pzGXGetUXT/install/lib64
--with-mpc-include=/SCRATCH/tmp.pzGXGetUXT/install/include
--with-mpc-lib=/SCRATCH/tmp.pzGXGetUXT/install/lib64
--with-ppl-include=/SCRATCH/tmp.pzGXGetUXT/install/include
--with-ppl-lib=/SCRATCH/tmp.pzGXGetUXT/install/lib64
--with-cloog-include=/SCRATCH/tmp.pzGXGetUXT/install/include
--with-cloog-lib=/SCRATCH/tmp.pzGXGetUXT/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk
--with-host-libstdcxx='-Wl,-Bstatic,-lstdc++,-Bdynamic'

gcc 4.7.0 bootstrap fails during configuration in libgcc:

checking how to run the C preprocessor... /lib/cpp
configure: error: in
`/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/x86_64-w64-mingw32/libgcc':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
gmake[2]: *** [configure-stage1-target-libgcc] Error 1
gmake[2]: Leaving directory `/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0'
gmake: *** [all] Error 2 


config.log in libgcc shows:

configure:3893: checking how to run the C preprocessor
configure:3924: /SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/./gcc/xgcc
-B/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.0/x86_64-w64-mingw32/sys-include
   -E  conftest.c
In file included from
D:/msys/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/gcc/include-fixed/syslimits.h:7:0,
 from
D:/msys/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/gcc/include-fixed/limits.h:34,
 from conftest.c:10:
D:/msys/SCRATCH/tmp.pzGXGetUXT/gcc-4.7.0/gcc-4.7.0/gcc/include-fixed/limits.h:169:61:
error: no include path in which to search for limits.h
configure:3924: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
|  Syntax error 


further analysis shows that the include search path composition is wrong.
For gcc-4.6.3 stage1 xgcc the search path is as follows:

nicht vorhandenes Verzeichnis
»d:/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.6.3/x86_64-w64-mingw32/include«
wird ignoriert
nicht vorhandenes Verzeichnis
»d:/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.6.3/mingw/include«
wird ignoriert
nicht vorhandenes 

[Bug bootstrap/52947] [4.7/4.8 Regression] bootstrap fails due to wrong include search path composition

2012-04-12 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52947

--- Comment #2 from Rainer Emrich  2012-04-12 
15:36:11 UTC ---
(In reply to comment #1)
> I remember Kai did surgery in this place.  Did you identify a patch that 
> caused
> this regression?  My bet would be
> 
> 2011-03-25  Kai Tietz  
> 
> * collect2.c (write_c_file_stat): Handle backslash
> as right-hand directory separator.
> (resolve_lib_name): Use IS_DIR_SEPARATOR instead of
> checking just for slash.
> * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH
> instead of checking for trailing slash.
> * gcc.c (record_temp_file): Use filename_cmp instead
> of strcmp.
> (do_spec_1): Likewise.
> ...

To be honest, I don't know. I tried native bootstrapping on x86_64-w64-mingw32
at the beginning of last year but gave up due to the issues found. Lately I
managed to bootstrap the 4.6 series with some manual intervention even ada
included.
There are still issues, one of them is really fundamental, but that's a
different story.

Btw. the PATH composition for --with-local-prefix is messed up the same way.


[Bug c++/57897] Target x86_64-w64-mingw32 failed with '-mno-fentry isn't compatible with SEH'

2013-12-13 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57897

--- Comment #10 from Rainer Emrich  ---
Am 12.12.2013 23:08, schrieb ktietz at gcc dot gnu.org:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57897
> 
> --- Comment #9 from Kai Tietz  --- By following
> patch for me the issue is solved:
> 
> Index: i386.c 
> === ---
> i386.c  (Revision 205859) +++ i386.c  (Arbeitskopie) @@ -3698,6
> +3698,10 @@ { if (opts->x_optimize >= 1 &&
> !opts_set->x_flag_omit_frame_pointer) opts->x_flag_omit_frame_pointer =
> !USE_X86_64_FRAME_POINTER; +  if
> (opts->x_flag_asynchronous_unwind_tables + &&
> !opts_set->x_flag_unwind_tables + && TARGET_64BIT_MS_ABI) +
> opts->x_flag_unwind_tables = 1; if (opts->x_flag_asynchronous_unwind_tables
> == 2) opts->x_flag_unwind_tables = opts->x_flag_asynchronous_unwind_tables
> = 1;
> 
> I will apply this patch to trunk soon, if there are no objections.
> 
I confirm, this solves the issue!


[Bug target/88331] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-03 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331

Rainer Emrich  changed:

   What|Removed |Added

 CC||rai...@emrich-ebersheim.de

--- Comment #6 from Rainer Emrich  ---
The issue is now shown during bootstrap while building libfortran.

libtool: compile: 
/opt/devel/SCRATCH/tmp.Q1UXSYzwJg/gcc-9.0.0/gcc-9.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.Q1UXSYzwJg/gcc-9.0.0/gcc-9.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0/x86_64-w64-mingw32/sys-include
-fchecking=1 -DHAVE_CONFIG_H -I.
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran
-iquote../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/io
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/../gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/../gcc/config
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/../libquadmath
-I../.././gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/../libgcc
-I../libgcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/../libbacktrace
-I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops
--param max-unroll-times=4 -g -O2 -MT matmul_i4.lo -MD -MP -MF
.deps/matmul_i4.Tpo -c
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c
 -DDLL_EXPORT -DPIC -o .libs/matmul_i4.o
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c:
In function 'matmul_i4_avx2':
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c:1210:1:
error: insn outside basic block
 1210 | }
  | ^
(insn 10248 8120 10249 (parallel [
(set (reg:DI 5750)
(plus:DI (reg/f:DI 19 frame)
(const_int -1200 [0xfb50])))
(clobber (reg:CC 17 flags))
]) 191 {*adddi_1}
 (nil))
during RTL pass: reload
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c:1210:1:
internal compiler error: in rtl_verify_bb_layout, at cfgrtl.c:2987
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [Makefile:4194: matmul_i4.lo] Error 1
make[3]: Leaving directory
'/opt/devel/SCRATCH/tmp.Q1UXSYzwJg/gcc-9.0.0/gcc-9.0.0/x86_64-w64-mingw32/libgfortran'

[Bug target/88331] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-03 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331

--- Comment #7 from Rainer Emrich  ---
If I call make within the libgfortran directory I get a slightly different
error message:

during RTL pass: postreload
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c:
In function 'matmul_i4_avx2':
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0/libgfortran/generated/matmul_i4.c:1210:1:
internal compiler error: in reload_combine_note_use, at postreload.c:1547
 1210 | }
  | ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.

[Bug target/88331] ICE in rtl_verify_bb_layout, at cfgrtl.c:2987

2019-01-03 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88331

--- Comment #8 from Rainer Emrich  ---
Created attachment 45323
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45323&action=edit
preprocessed source

I attached the preprocessed source.

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-09 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #8 from Rainer Emrich  ---
(In reply to Rainer Emrich from comment #7)
> (In reply to Jakub Jelinek from comment #5)
> Yeah, I have no exact analysis yet, but the issue is caused by Richards
> commit r251220. I wonder how this can cause the tcl errors.
> I will provide some more details of the issue later when the testsuite run
> is finished.

I still have no idea how these changes are causing the issue.
I observe the issue only in gcc parts of the testsuite. Here are the errors I
get:

ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp.
ERROR: can't read "testname_with_flags": no such variable
while executing
"fail "$testname_with_flags $num_blank_lines blank line(s) in output""
(procedure "gcc-dg-prune" line 14)
invoked from within
"${tool}-dg-prune $target_triplet $gcc_output"
(procedure "gcc_check_compile" line 32)
invoked from within
"gcc_check_compile "$testcase compilation" $option $execname $comp_output"
(procedure "c-torture-execute" line 73)
invoked from within
"c-torture-execute [list $src  [file root $src]-lib.c 
$srcdir/$subdir/lib/main.c]  $additional_flags"
("foreach" body line 3)
invoked from within
"foreach src [lsort [find $srcdir/$subdir *.c]] {
if {![string match *-lib.c $src] && [runtest_file_p $runtests $src]} {
c-torture-execute [list $..."
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp"
line 51)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp"
invoked from within
"catch "uplevel #0 source $test_file_name"" 


ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
while executing
"error "torture-init: torture_without_loops is not empty as expected""
invoked from within
"if [info exists torture_without_loops] {
error "torture-init: torture_without_loops is not empty as expected"
}"
(procedure "torture-init" line 4)
invoked from within
"torture-init"
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp"
line 37)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp
...


ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
while executing
"error "torture-init: torture_without_loops is not empty as expected""
invoked from within
"if [info exists torture_without_loops] {
error "torture-init: torture_without_loops is not empty as expected"
}"
(procedure "torture-init" line 4)
invoked from within
"torture-init"
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp"
line 35)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp"
invoked from within
"catch "uplevel #0 source $test_file_name"" 


ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/format/format.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
while executing
"error "torture-init: torture_without_loops is not empty as expected""
invoked from within
"if [info exists torture_without_loops] {
error "torture-init: torture_without_loops is not empty as expected"
}"
(procedure "torture-init" line 4)
invoked from within
"torture-init"
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/format/format.exp"
line 28)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/format/format.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/format/format.exp"
invoked from within
"catch "uplevel #0 source $test_file_name"" 


ERROR: tcl error sour

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-09 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #9 from Rainer Emrich  ---
Additional info, if I disable the currently on x86_64-w64-mingw32 broken lto
explicitly with --disable-lto, the issue vanishes.

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-11 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #11 from Rainer Emrich  ---
(In reply to Richard Biener from comment #10)
> Hmm, builtins.exp references $LTO_TORTURE_OPTIONS.  Does the issue only
> reproduce with builtins.exp or also other .exp files?
As you see in comment 8 there are 14 .exp files showing an issue. A single one
showing "ERROR: can't read "testname_with_flags": no such variable", which is
builtins.exp. The other 13 ones all show "ERROR: torture-init:
torture_without_loops is not empty as expected". These 13 .exp files are:
ieee.exp
unsorted.exp
format.exp
pch.exp
sancov.exp
simulate-thread.exp
sso.exp
stackalign.exp
tls.exp
tsan.exp
i386-prefetch.exp
math-torture.exp
ppc-fortran.exp

> 
> How does check_effective_target_lto behave on mingw32 currently?
How can I check this. Any hints?

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-14 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #13 from Rainer Emrich  ---
(In reply to rguent...@suse.de from comment #12)
> On Mon, 11 Dec 2017, rai...@emrich-ebersheim.de wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006
> > 
> > --- Comment #11 from Rainer Emrich  ---
> > (In reply to Richard Biener from comment #10)
> > > Hmm, builtins.exp references $LTO_TORTURE_OPTIONS.  Does the issue only
> > > reproduce with builtins.exp or also other .exp files?
> > As you see in comment 8 there are 14 .exp files showing an issue. A single 
> > one
> > showing "ERROR: can't read "testname_with_flags": no such variable", which 
> > is
> > builtins.exp. The other 13 ones all show "ERROR: torture-init:
> > torture_without_loops is not empty as expected". These 13 .exp files are:
> > ieee.exp
> > unsorted.exp
> > format.exp
> > pch.exp
> > sancov.exp
> > simulate-thread.exp
> > sso.exp
> > stackalign.exp
> > tls.exp
> > tsan.exp
> > i386-prefetch.exp
> > math-torture.exp
> > ppc-fortran.exp
> > 
> > > 
> > > How does check_effective_target_lto behave on mingw32 currently?
> > How can I check this. Any hints?
> 
> No idea for details but when running lto.exp I see
> 
> Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc 
> -B/home/abuild/rguenther/trunk2-g/gcc/  -fno-diagnostics-show-caret 
> -fdiagnostics-color=never  -flto -c   -o lto19653.o lto19653.c(timeout 
> = 300)
> spawn /home/abuild/rguenther/trunk2-g/gcc/xgcc 
> -B/home/abuild/rguenther/trunk2-g/gcc/ -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -flto -c -o lto19653.o lto19653.c^M
> Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc 
> -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c  
> -fno-diagnostics-show-caret -fdiagnostics-color=never  -flto 
> -fuse-linker-plugin  -lm-o linker_plugin19653.exe(timeout = 300)
> spawn /home/abuild/rguenther/trunk2-g/gcc/xgcc 
> -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c 
> -fno-diagnostics-show-caret -fdiagnostics-color=never -flto 
> -fuse-linker-plugin -lm -o linker_plugin19653.exe^M
> Executing on host: /home/abuild/rguenther/trunk2-g/gcc/xgcc 
> -B/home/abuild/rguenther/trunk2-g/gcc/ linker_plugin19653.c  
> -fno-diagnostics-show-caret -fdiagnostics-color=never  -flto 
> -fuse-linker-plugin   -o linker_plugin19653.exe(timeout = 300)
> ...
> 
> those appear to be from the lto and linker-plugin meta-testing.

I get:

Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/lto.exp ...
Executing on host:
/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/
linker_plugin29932.c  -fno-diagnostics-show-caret -fdiagnostics-color=never 
-flto -fuse-linker-plugin   -o linker_plugin29932.exe(timeout = 300)
spawn /opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/
linker_plugin29932.c -fno-diagnostics-show-caret -fdiagnostics-color=never
-flto -fuse-linker-plugin -o linker_plugin29932.exe
LD_LIBRARY_PATH=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
LD_RUN_PATH=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
SHLIB_PATH=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
LD_LIBRARY_PATH_32=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
LD_LIBRARY_PATH_64=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
DYLD_LIBRARY_PATH=:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc:/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/./libatomic/.libs:.
Executing on host:
/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/  
-fno-diagnostics-show-caret -fdiagnostics-color=never  -O0 -flto
-flto-partition=none -fuse-linker-plugin  -c   -o c_lto_20080908_0.o
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/20080908_0.c
   (timeout = 300)
spawn /opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.N811Eo0nBC/gcc-8.0.0/gcc-8.0.0/gcc/
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -flto
-flto-partition=n

[Bug ada/84277] New: [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Bug ID: 84277
   Summary: [8 Regression] A lot of new acats testsuite failures
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ada
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

I get a lot of new acats testsuite failures compared to 7.3.0, see
https://gcc.gnu.org/ml/gcc-testresults/2018-02/msg00439.html and
https://gcc.gnu.org/ml/gcc-testresults/2018-02/msg00308.html for comparison.

At least twenty of the tests allocate increasing memory amounts until the host
memory is exhausted.

Passing -fno-reorder-blocks-and-partition to the acats testsuite run reduces
the unexpected failures to 22.

=== acats Summary ===
# of expected passes2298
# of unexpected failures22
*** FAILURES: c23003b c23003g c23003i c250002 c380004 cd2b11a cd2b15c ce2102l
ce2102m ce2103a ce2103b ce3102d ce3107a ce3115a cxa4005 cxa4008 cxa4016 cxa4019
cxac003 cxb3012 cxf3a01 cxf3a02 
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/ada/acats/run_all.sh
completed at Wed Feb  7 12:28:36 CET 2018 

On gcc 7.3.1 I get only five unexpected failures:

=== acats Summary ===
# of expected passes2315
# of unexpected failures5
*** FAILURES: c23003b c23003g c23003i c250002 c380004

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #2 from Rainer Emrich  ---
Created attachment 43374
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43374&action=edit
acats testsuite log for 8.0.0 with -fno-reorder-blocks-and-partition

Testsuite log for 8.0.0 with -fno-reorder-blocks-and-partition.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #3 from Rainer Emrich  ---
Created attachment 43375
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43375&action=edit
acats testsuite log for 7.3.1

Testsuite log for 7.3.1

[Bug testsuite/82006] [8/9 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2019-04-11 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

Rainer Emrich  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #18 from Rainer Emrich  ---
(In reply to Richard Biener from comment #17)
> Does it still happen (branch/trunk?)?  Sorry if I have not been of help :/
No it doesn't, I completely forgot this PR.
I can't reproduce anymore, so I close this.

[Bug testsuite/90368] New: gdc testsuite uses "ln -s . gdc.test", which doesn't work on msys2

2019-05-06 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90368

Bug ID: 90368
   Summary: gdc testsuite uses "ln -s . gdc.test", which doesn't
work on msys2
   Product: gcc
   Version: 9.1.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
      Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

The gdc testsuite uses "ln -s . gdc.test" to link gec.test in the testsuite/gdc
directory. This doesn't work on msys2 and leads to an error:

ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.1.0/gcc/testsuite/gdc.test/gdc-test.exp.
ERROR: couldn't open "gdc.test/compilable/99bottles.d": no such file or
directory
while executing
"open $file r"
(procedure "grep" line 19)
invoked from within
"grep $prog "{\[ \t\]\+dg-\[-a-z\]\+\[ \t\]\+.*\[ \t\]\+}" line"
(procedure "dg-get-options" line 4)
invoked from within
"dg-get-options $prog"
(procedure "saved-dg-test" line 75)
invoked from within
"saved-dg-test gdc.test/compilable/99bottles.d { }
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.1.0/gcc/testsuite/gdc.test/compilable"
("eval" body line 1)
invoked from within
"eval saved-dg-test $args "
(procedure "dg-test" line 4)
invoked from within
"dg-test $test "$flags $flags_t" ${default-extra-flags}"
(procedure "gdc-dg-runtest" line 23)
invoked from within
"gdc-dg-runtest $filename $flags $imports"
(procedure "gdc-do-test" line 86)
invoked from within
"gdc-do-test"
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.1.0/gcc/testsuite/gdc.test/gdc-test.exp"
line 468)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.1.0/gcc/testsuite/gdc.test/gdc-test.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.1.0/gcc/testsuite/gdc.test/gdc-test.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""

[Bug c++/70401] [c++1z on mingw]compile variadic template failed

2018-02-15 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70401

--- Comment #4 from Rainer Emrich  ---
gcc-7.3.0 on x86_64-w64-mingw32 doesn't compile this code:

$ g++ -std=c++1z aa.cpp -o aa.exe
aa.cpp: In instantiation of 'std::ostream& operator<<(std::ostream&, const
std::tuple<_Tps ...>&) [with T = {long long unsigned int, long long unsigned
int, const char*, long long unsigned int, const char*, const char*, long long
unsigned int, long long unsigned int, const char*, const char*, long long
unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, long long unsigned int, const char*, long
long unsigned int, const char*}; std::ostream = std::basic_ostream]':
aa.cpp:133:54:   required from here
aa.cpp:113:7: error: call of overloaded 'apply(const operator<<(std::ostream&,
const std::tuple<_Tps ...>&) [with T = {long long unsigned int, long long
unsigned int, const char*, long long unsigned int, const char*, const char*,
long long unsigned int, long long unsigned int, const char*, const char*, long
long unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, long long unsigned int, const char*, long
long unsigned int, const char*}; std::ostream =
std::basic_ostream]::&, const std::tuple&)' is ambiguous
  apply(printer,toprint);
  ~^
aa.cpp:105:6: note: candidate: auto apply(F&&, Tuple&&) [with F = const
operator<<(std::ostream&, const std::tuple<_Tps ...>&) [with T = {long long
unsigned int, long long unsigned int, const char*, long long unsigned int,
const char*, const char*, long long unsigned int, long long unsigned int, const
char*, const char*, long long unsigned int, const char*, long long unsigned
int, long long unsigned int, const char*, long long unsigned int, long long
unsigned int, const char*, long long unsigned int, const char*}; std::ostream =
std::basic_ostream]::&; Tuple = const
std::tuple&]
 auto apply(F&& f, Tuple&& t) {
  ^
In file included from aa.cpp:1:0:
d:\opt\devel\gnu\gcc\mingw_nt\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-7.3.0\include\c++\7.3.0\tuple:1668:5:
note: candidate: constexpr decltype(auto) std::apply(_Fn&&, _Tuple&&) [with _Fn
= const operator<<(std::ostream&, const std::tuple<_Tps ...>&) [with T = {long
long unsigned int, long long unsigned int, const char*, long long unsigned int,
const char*, const char*, long long unsigned int, long long unsigned int, const
char*, const char*, long long unsigned int, const char*, long long unsigned
int, long long unsigned int, const char*, long long unsigned int, long long
unsigned int, const char*, long long unsigned int, const char*}; std::ostream =
std::basic_ostream]::&; _Tuple = const
std::tuple&]
 apply(_Fn&& __f, _Tuple&& __t)
 ^
aa.cpp: In instantiation of 'std::ostream& operator<<(std::ostream&, const
std::tuple<_Tps ...>&) [with T = {long long unsigned int, long long unsigned
int, const char*, long long unsigned int, const char*, const char*, long long
unsigned int, long long unsigned int, const char*, const char*, long long
unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, long long unsigned int, const char*, long
long unsigned int, const char*, const char*, long long unsigned int, long long
unsigned int, const char*, const char*, long long unsigned int, const char*,
long long unsigned int, long long unsigned int, const char*, long long unsigned
int, long long unsigned int, const char*, long long unsigned int, const char*,
const char*, long long unsigned int, long long unsigned int, const char*, const
char*, long long unsigned int, const char*, long long unsigned int, long long
unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, const char*, const char*, long long
unsigned int, long long unsigned int, const char*, const char*, long long
unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, long long unsigned int, const char*};
std::ostream = std::basic_ostream]':
aa.cpp:134:53:   required from here
aa.cpp:113:7: error: call of overloaded 'apply(const operator<<(std::ostream&,
const std::tuple<_Tps ...>&) [with T = {long long unsigned int, long long
unsigned int, const char*, long long unsigned int, const char*, const char*,
long long unsigned int, long long unsigned int, const char*, const char*, long
long unsigned int, const char*, long long unsigned int, long long unsigned int,
const char*, long long unsigned int, long long unsigned int, const char*, long
long unsigned int, const char*, const char*, long long unsigned int, long long
unsigned int, const char*, const char*, long long unsigned int, const char*,
long long unsigned int, long long unsigned int, const char*, long long unsigned
int, long long unsigned int, const char*, long long unsigned int, const char*,
const char*, long long unsigned in

[Bug c++/70401] [c++1z on mingw]compile variadic template failed

2018-02-15 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70401

--- Comment #5 from Rainer Emrich  ---
For a recent trunk version 8.0.1 20180207 (experimental) [trunk revision
257437] it's the same.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #9 from Rainer Emrich  ---
Update on the gnat testsuite:

=== gnat tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/dg.exp
...
FAIL: gnat.dg/entry_queues.adb execution test
FAIL: gnat.dg/handle_and_return.adb execution test
XPASS: gnat.dg/lto19.adb (test for excess errors)
FAIL: gnat.dg/nested_controlled_alloc.adb execution test
FAIL: gnat.dg/timer_cancel.adb execution test
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/gcov/gcov.exp
...
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/specs/specs.exp
...
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/sso/sso.exp
...

=== gnat Summary ===

# of expected passes2687
# of unexpected failures4
# of unexpected successes   1
# of expected failures  22
# of unsupported tests  6
/opt/devel/SCRATCH/tmp.e2kXrnqZV0/gcc-8.0.0/gcc-8.0.0/gcc/gnatmake version
8.0.1 20180219 (experimental) [trunk revision 257803]

Improved by 11 tests which PASS.

acats tests without -fno-reorder-blocks-and-partition still at 314 failures.

[Bug target/84277] [8 Regression] A lot of new acats testsuite failures

2018-03-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #15 from Rainer Emrich  ---
Hi Eric,

thanks for all your work.

Unfortunately your changes introduced an ICE while building binutils 2.19.1:

make[4]: Entering directory
'/opt/devel/SCRATCH/tmp.5VoInHZZvv/gcc-8.0.0/binutils-2.29.1/opcodes'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes  -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd  -I./../intl 
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
-g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c
-o i386-dis.lo
/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../intl
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
-g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c
/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c -o
i386-dis.o
during RTL pass: final
D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c: In
function 'print_insn':
D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c:13471:1:
internal compiler error: in i386_pe_seh_cold_init, at config/i386/winnt.c:913
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[4]: *** [Makefile:1005: i386-dis.lo] Error 1
make[4]: Leaving directory
'/opt/devel/SCRATCH/tmp.5VoInHZZvv/gcc-8.0.0/binutils-2.29.1/opcodes'

I did not run the testsuite so far. I always bootstrap gcc, build all
prerequisites with the just bootstrapped gcc and boostrap again using the
bootstrapped gcc as bootstrap compiler. This process has uncovered several
issues in the past, including this one.

[Bug target/84763] New: [8 Regression] ICE in i386_pe_seh_cold_init

2018-03-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84763

Bug ID: 84763
   Summary: [8 Regression] ICE in i386_pe_seh_cold_init
   Product: gcc
   Version: 8.0.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

Created attachment 43600
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43600&action=edit
preprocessed source

Building binutils 2.29.1 there's an ICE in i386_pe_seh_cold_init.

make[2]: Entering directory '/opt/devel/SCRATCH/tmp/opcodes'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes  -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd  -I./../intl 
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
-g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c
-o i386-dis.lo
/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I.
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include
-I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../intl
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
-g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c
/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c -o
i386-dis.o
during RTL pass: final
D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c: In
function 'print_insn':
D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c:13471:1:
internal compiler error: in i386_pe_seh_cold_init, at config/i386/winnt.c:913
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [Makefile:1005: i386-dis.lo] Error 1
make[2]: Leaving directory '/opt/devel/SCRATCH/tmp/opcodes'

Caused by r258338.

[Bug target/84277] [8 Regression] A lot of new acats testsuite failures

2018-03-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #17 from Rainer Emrich  ---
Otherwise this looks good:

=== acats Summary ===
# of expected passes2315
# of unexpected failures5
*** FAILURES: c23003b c23003g c23003i c250002 c380004

That's on par with 7.3.0.

[Bug target/84763] [8 regression] ICE in i386_pe_seh_cold_init

2018-03-09 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84763

--- Comment #5 from Rainer Emrich  ---
binutils 2.19.1 is building fine now.
Bootstrap and complete testsuite run of r258381 in progress. I will send the
results to the gcc-testresults mailing list.

[Bug bootstrap/85020] New: [8 Regression] gcc fails to bootstrap with profiledbootstrap and --with-build-config=bootstrap-lto

2018-03-21 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85020

Bug ID: 85020
   Summary: [8 Regression] gcc fails to bootstrap with
profiledbootstrap and
--with-build-config=bootstrap-lto
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

make profiledbootstrap fails for configuration with bootstrap-lto in
stageprofile.

Fails to link gnatbind:

/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_42.3/gcc-8.0.0-profile-l
to/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-u
nknown-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0
-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/
opt/devel/SCRATCH/tmp.cmmbqTvnra/gcc-8.0.0-profile-lto/gcc-8.0.0-profile-lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate
-flto=jobserver -frandom-seed=1 -DIN_GCC -fPIC -fno-exceptions -fno-r
tti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  -o gnatbind ada/b_
gnatb.o ada/libgnat/a-elchha.o ada/libgnat/a-except.o ada/libgnat/ada.o
ada/adaint.o ada/ali-util.o ada/ali.o ada/alloc.o ada/argv.o ada/aspects.o
ada/atree.o ada/bcheck.o ada/binde.o ada/binderr.o ada/bindgen.o ada/bindusg.o
ada/butil.o ada/casing.o ada/cio.o ada/csets.
o ada/cstreams.o ada/debug.o ada/einfo.o ada/elists.o ada/env.o ada/err_vars.o
ada/errout.o ada/erroutc.o ada/exit.o ada/final.o ada/fmap.o ada/fname-uf.o
ada/fname.o ada/libgnat/g-byorma.o ada/libgnat/g-hesora.o
ada/libgnat/g-htable.o ada/libgnat/gnat.o ada/gnatbind.o a
da/gnatvsn.o ada/hostparm.o ada/init.o ada/initialize.o ada/libgnat/interfac.o
ada/krunch.o ada/lib.o ada/link.o ada/namet.o ada/nlists.o ada/opt.o
ada/osint-b.o ada/osint.o ada/output.o ada/raise.o ada/raise-gcc.o
ada/restrict.o ada/rident.o ada/rtfinal.o ada/rtinit.o a
da/libgnat/s-addope.o ada/libgnat/s-assert.o ada/libgnat/s-carun8.o
ada/libgnat/s-casuti.o ada/libgnat/s-conca2.o ada/libgnat/s-conca3.o
ada/libgnat/s-conca4.o ada/libgnat/s-conca5.o ada/libgnat/s-conca6.o
ada/libgnat/s-conca7.o ada/libgnat/s-conca8.o ada/libgnat/s-conca
9.o ada/libgnat/s-crc32.o ada/libgnat/s-crtl.o ada/libgnat/s-excdeb.o
ada/libgnat/s-except.o ada/libgnat/s-excmac.o ada/libgnat/s-exctab.o
ada/libgnat/s-htable.o ada/libgnat/s-imenne.o ada/libgnat/s-imgenu.o
ada/libgnat/s-imgint.o ada/libgnat/s-mastop.o ada/libgnat/s-mem
ory.o ada/libgnat/s-os_lib.o ada/libgnat/s-parame.o ada/libgnat/s-resfil.o
ada/libgnat/s-restri.o ada/libgnat/s-secsta.o ada/libgnat/s-soflin.o
ada/libgnat/s-soliin.o ada/libgnat/s-sopco3.o ada/libgnat/s-sopco4.o
ada/libgnat/s-sopco5.o ada/libgnat/s-stache.o ada/libgnat/
s-stalib.o ada/libgnat/s-stoele.o ada/libgnat/s-strhas.o ada/libgnat/s-string.o
ada/libgnat/s-strops.o ada/libgnat/s-traent.o ada/libgnat/s-traceb.o
ada/libgnat/s-unstyp.o ada/libgnat/s-utf_32.o ada/libgnat/s-wchcnv.o
ada/libgnat/s-wchcon.o ada/libgnat/s-wchjis.o ada/lib
gnat/s-wchstw.o ada/scans.o ada/scil_ll.o ada/scng.o ada/sdefault.o
ada/seh_init.o ada/sem_aux.o ada/sinfo.o ada/sinput-c.o ada/sinput.o
ada/snames.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o
ada/switch-b.o ada/switch.o ada/libgnat/system.o ada/tab
le.o ada/targext.o ada/targparm.o ada/tree_io.o ada/types.o ada/uintp.o
ada/uname.o ada/urealp.o ada/widechar.o ggc-none.o libcommon-target.a
libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a
   -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -flto=jobserver
-frandom-seed=1
../../../../../../../opt/devel/gnu/src/gcc/gcc-8.0.0-profile-lto/gcc/ada/gnatvsn.adb:57:4:
warning: type of 'gnatvsn__version_string' does not match original declaration
[-Wlto-typ

[Bug d/87799] New: failure during bootstrap, fails to build d/filename.o

2018-10-29 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87799

Bug ID: 87799
   Summary: failure during bootstrap, fails to build d/filename.o
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: d
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/include
 -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -D__USE_MINGW_ACCESS
-Wno-pedantic-ms-format -fno-checking -gtoggle -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -Id
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/../include
-I./../intl
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/../libcpp/include
-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/install/include
-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/install/include
-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/install/include 
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/../libdecnumber
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/../libdecnumber/bid
-I../libdecnumber
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/../libbacktrace
-I/opt/devel/SCRATCH/tmp.I8jwTRKpzz/install/include  -o d/filename.o -MT
d/filename.o -MMD -MP -MF d/.deps/filename.TPo
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd
-Id
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:
In static member function 'static int FileName::exists(const char*)':
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:563:12:
warning: comparison of integer expressions of different signedness: 'DWORD'
{aka 'long unsigned int'} and 'long int' [-Wsign-compare]
  563 | if (dw == -1L)
  | ~~~^~
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:
In static member function 'static bool FileName::ensurePathExists(const
char*)':
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:589:51:
error: invalid const_cast from type 'const char*' to type 'void*'
  589 | {   mem.xfree(const_cast(p));
  |   ^
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:
In static member function 'static const char* FileName::name(const char*)':
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:280:34:
warning: this statement may fall through [-Wimplicit-fallthrough=]
  280 | if (e == str + 1 || e == str + len - 1)
  | ~^
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/dmd/root/filename.c:283:13:
note: here
  283 | default:
  | ^~~
make[3]: ***
[../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/gcc/d/Make-lang.in:315:
d/filename.o] Error 1

[Bug d/87819] New: failure during bootstrap, fails to build libdruntime

2018-10-30 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87819

Bug ID: 87819
   Summary: failure during bootstrap, fails to build libdruntime
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: d
  Assignee: ibuclaw at gdcproject dot org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

There are a lot undefined identifier errors while compiling core/demangle.d:

/bin/sh ../libtool --tag=D   --mode=compile
/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./gcc/gdc
-B/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/sys-include
  -fno-checking -DDLL_EXPORT -O2 -g  -nostdinc -I
../../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/libphobos/libdruntime
-I . -c -o core/demangle.lo
../../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/libphobos/libdruntime/core/demangle.d
libtool: compile: 
/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./gcc/gdc
-B/opt/devel/SCRATCH/tmp.I8jwTRKpzz/gcc-9.0.0-test/gcc-9.0.0-test/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-9.0.0-test/x86_64-w64-mingw32/sys-include
-fno-checking -DDLL_EXPORT -O2 -g -nostdinc -I
../../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/libphobos/libdruntime
-I . -c
../../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-9.0.0-test/libphobos/libdruntime/core/demangle.d
-fversion=Shared -o core/.libs/demangle.o
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\stdlib.d:201:9:
error: undefined identifier 'wchar_t'
  201 | int mbtowc(scope wchar_t* pwc, scope const char* s, size_t n);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\stdlib.d:203:9:
error: undefined identifier 'wchar_t'
  203 | int wctomb(scope char* s, wchar_t wc);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\stdlib.d:205:9:
error: undefined identifier 'wchar_t'
  205 | size_t  mbstowcs(scope wchar_t* pwcs, scope const char* s, size_t n);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\stdlib.d:207:9:
error: undefined identifier 'wchar_t'
  207 | size_t  wcstombs(scope char* s, scope const wchar_t* pwcs, size_t n);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\time.d:151:9:
error: undefined identifier 'time_t', did you mean function 'time'?
  151 | double  difftime(time_t time1, time_t time0);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\time.d:151:9:
error: undefined identifier 'time_t', did you mean function 'time'?
  151 | double  difftime(time_t time1, time_t time0);
  | ^
D:\opt\devel\gnu\src\gcc-mingw-w64\gcc-9.0.0-test\libphobos\libdruntime\core\stdc\time.d:153:9:
error: undefined identifier 'time_t', did you mean function 'time'?
  153 | time_t

[Bug ada/55704] New: [4.7 Regression] Failures building ada

2012-12-15 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55704



 Bug #: 55704

   Summary: [4.7 Regression] Failures building ada

Classification: Unclassified

   Product: gcc

   Version: 4.7.3

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: ada

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de





Since the transition to g++ for stage2 and stage3, ada fails to build in

stage2. There are several failures of the type "error: invalid conversion":



/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/g++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-nostdinc++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include

-I/SCRATCH/tmp.wOrMZOydvQ/src/gcc-4.7.3/libstdc++-v3/libsupc++

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-c   -g -O2 -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -gtoggle -DIN_GCC  

-fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual 

-Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros

-Wno-overlength-strings  -Wno-error -DHAVE_CONFIG_H -I. -Iada

-I../../../src/gcc-4.7.3/gcc -I../../../src/gcc-4.7.3/gcc/ada

-I../../../src/gcc-4.7.3/gcc/../include -I./../intl

-I../../../src/gcc-4.7.3/gcc/../libcpp/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

-I../../../src/gcc-4.7.3/gcc/../libdecnumber

-I../../../src/gcc-4.7.3/gcc/../libdecnumber/bid -I../libdecnumber

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

../../../src/gcc-4.7.3/gcc/ada/adaint.c -o ada/adaint.o

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'int

__gnat_check_OWNER_ACL(TCHAR*, DWORD, GENERIC_MAPPING)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:1986:53: error: invalid conversion from

'PSECURITY_DESCRIPTOR {aka void*}' to 'SECURITY_DESCRIPTOR* {aka

_SECURITY_DESCRIPTOR*}' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'void

__gnat_set_OWNER_ACL(TCHAR*, DWORD, DWORD)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2062:66: error: invalid conversion from

'DWORD {aka long unsigned int}' to 'ACCESS_MODE {aka _ACCESS_MODE}'

[-fpermissive]

In file included from ../../../src/gcc-4.7.3/gcc/ada/adaint.c:231:0:

D:/x86_64-w64-trunk/mingw/include/aclapi.h:67:25: error:   initializing

argument 4 of 'void BuildExplicitAccessWithNameW(PEXPLICIT_ACCESS_W, LPWSTR,

DWORD, ACCESS_MODE, DWORD)' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'int

__gnat_portable_spawn(char**)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2387:61: error: invalid conversion from

'const char* const*' to 'char* const*' [-fpermissive]

In file included from D:/x86_64-w64-trunk/mingw/include/unistd.h:11:0,

 from ../../../src/gcc-4.7.3/gcc/system.h:253,

 from ../../../src/gcc-4.7.3/gcc/ada/adaint.c:107:

D:/x86_64-w64-trunk/mingw/include/process.h:177:20: error:   initializing

argument 3 of 'intptr_t spawnvp(int, const char*, char* const*)' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'void add_handle(HANDLE,

int)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2547:67: error: invalid conversion from

'void*' to 'void**' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2549:60: error: invalid conversion from

'void*' to 'int*' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'char*

__gnat_locate_exec_on_path(char*)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2938:16: error: invalid conversion from

'void*' to 'TCHAR* {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2948:15: error: invalid conversion from

'void*' to 'char*' [-fpermissive]

make[3]: *** [ada/adaint.o] Error 1

/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/g++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-nostdinc++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libst

[Bug ada/55704] [4.7 Regression] Failures building ada

2012-12-15 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55704



--- Comment #1 from Rainer Emrich  2012-12-15 
10:14:47 UTC ---

The same for 4.8.0 in stage 1:



g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings  -Wno-error

-DHAVE_CONFIG_H -I. -Iada -I../../../src/gcc-4.8.0/gcc

-I../../../src/gcc-4.8.0/gcc/ada -I../../../src/gcc-4.8.0/gcc/../include

-I./../intl -I../../../src/gcc-4.8.0/gcc/../libcpp/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

-I../../../src/gcc-4.8.0/gcc/../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libbacktrace -DCLOOG_INT_GMP

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

../../../src/gcc-4.8.0/gcc/ada/adaint.c -o ada/adaint.o

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'int

__gnat_check_OWNER_ACL(TCHAR*, DWORD, GENERIC_MAPPING)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:1986:53: error: invalid conversion from

'PSECURITY_DESCRIPTOR {aka void*}' to 'SECURITY_DESCRIPTOR* {aka

_SECURITY_DESCRIPTOR*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'void

__gnat_set_OWNER_ACL(TCHAR*, DWORD, DWORD)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2062:66: error: invalid conversion from

'DWORD {aka long unsigned int}' to 'ACCESS_MODE {aka _ACCESS_MODE}'

[-fpermissive]

In file included from ../../../src/gcc-4.8.0/gcc/ada/adaint.c:230:0:

D:/x86_64-w64-trunk/mingw/include/aclapi.h:67:25: error:   initializing

argument 4 of 'void BuildExplicitAccessWithNameW(PEXPLICIT_ACCESS_W, LPWSTR,

DWORD, ACCESS_MODE, DWORD)' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'int

__gnat_portable_spawn(char**)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2387:61: error: invalid conversion from

'const char* const*' to 'char* const*' [-fpermissive]

In file included from D:/x86_64-w64-trunk/mingw/include/unistd.h:11:0,

 from ../../../src/gcc-4.8.0/gcc/system.h:256,

 from ../../../src/gcc-4.8.0/gcc/ada/adaint.c:106:

D:/x86_64-w64-trunk/mingw/include/process.h:177:20: error:   initializing

argument 3 of 'intptr_t spawnvp(int, const char*, char* const*)' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'void add_handle(HANDLE,

int)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2543:67: error: invalid conversion from

'void*' to 'void**' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2545:60: error: invalid conversion from

'void*' to 'int*' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'char*

__gnat_locate_exec_on_path(char*)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2934:16: error: invalid conversion from

'void*' to 'TCHAR* {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2944:15: error: invalid conversion from

'void*' to 'char*' [-fpermissive]

make[3]: *** [ada/adaint.o] Error 1

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H

-I. -Iada -I../../../src/gcc-4.8.0/gcc -I../../../src/gcc-4.8.0/gcc/ada

-I../../../src/gcc-4.8.0/gcc/../include -I./../intl

-I../../../src/gcc-4.8.0/gcc/../libcpp/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

-I../../../src/gcc-4.8.0/gcc/../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libbacktrace -DCLOOG_INT_GMP

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

../../../src/gcc-4.8.0/gcc/ada/initialize.c -o ada/initialize.o

../../../src/gcc-4.8.0/gcc/ada/initialize.c: In function 'void append_arg(int*,

LPWSTR, LPWSTR, char***, int*, int)':

../../../src/gcc-4.8.0/gcc/ada/initialize.c:91:56: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/initialize.c:98:65: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/initialize.c: In function 'void

__gnat_initialize(void*)':

../../../src/gcc-4.8.0/gcc/ada/initialize.c:206:44: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

make[3]: *** [ada/initialize.o] Error 1

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H

-I. -Iada -I../../../src/gcc-4.8.0/gcc -I../../../src/gcc-4.8.0/gcc/ada

-I

[Bug libfortran/55705] New: [4.7 Regression] error: 'CLOCK_REALTIME' undeclared in libgfortran/intrinsics/system_clock.c

2012-12-15 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55705



 Bug #: 55705

   Summary: [4.7 Regression] error: 'CLOCK_REALTIME' undeclared in

libgfortran/intrinsics/system_clock.c

Classification: Unclassified

   Product: gcc

   Version: 4.7.3

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: libfortran

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de





/bin/sh ./libtool  --tag=CC   --mode=compile

/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./gcc/xgcc

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./gcc/

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/lib

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/mingw/lib

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/mingw/include

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/lib/

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/sys-include

   -DHAVE_CONFIG_H -I. -I../../../../src/gcc-4.7.3/libgfortran 

-iquote../../../../src/gcc-4.7.3/libgfortran/io

-I../../../../src/gcc-4.7.3/libgfortran/../gcc

-I../../../../src/gcc-4.7.3/libgfortran/../gcc/config

-I../../../../src/gcc-4.7.3/libgfortran/../libquadmath -I../.././gcc

-I../../../../src/gcc-4.7.3/libgfortran/../libgcc -I../libgcc  -std=gnu99 -Wall

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra

-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections  -g -O2

-MT system_clock.lo -MD -MP -MF .deps/system_clock.Tpo -c -o system_clock.lo

`test -f 'intrinsics/system_clock.c' || echo

'../../../../src/gcc-4.7.3/libgfortran/'`intrinsics/system_clock.c

true  DO=all multi-do # make

libtool: compile:  /SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./gcc/xgcc

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./gcc/

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/lib

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/mingw/lib

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/mingw/include

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/lib/

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/sys-include

-DHAVE_CONFIG_H -I. -I../../../../src/gcc-4.7.3/libgfortran

-iquote../../../../src/gcc-4.7.3/libgfortran/io

-I../../../../src/gcc-4.7.3/libgfortran/../gcc

-I../../../../src/gcc-4.7.3/libgfortran/../gcc/config

-I../../../../src/gcc-4.7.3/libgfortran/../libquadmath -I../.././gcc

-I../../../../src/gcc-4.7.3/libgfortran/../libgcc -I../libgcc -std=gnu99 -Wall

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra

-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2

-MT system_clock.lo -MD -MP -MF .deps/system_clock.Tpo -c

../../../../src/gcc-4.7.3/libgfortran/intrinsics/system_clock.c  -DDLL_EXPORT

-DPIC -o .libs/system_clock.o

../../../../src/gcc-4.7.3/libgfortran/intrinsics/system_clock.c: In function

'gf_gettime_mono':

../../../../src/gcc-4.7.3/libgfortran/intrinsics/system_clock.c:84:3: warning:

implicit declaration of function 'clock_gettime'

[-Wimplicit-function-declaration]

../../../../src/gcc-4.7.3/libgfortran/intrinsics/system_clock.c:84:24: error:

'CLOCK_REALTIME' undeclared (first use in this function)

../../../../src/gcc-4.7.3/libgfortran/intrinsics/system_clock.c:84:24: note:

each undeclared identifier is reported only once for each function it appears

in

make[3]: *** [system_clock.lo] Error 1


[Bug bootstrap/55706] New: [4.8 Regression] failue to build libstdc++ in stage 1

2012-12-15 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55706



 Bug #: 55706

   Summary: [4.8 Regression] failue to build libstdc++ in stage 1

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: bootstrap

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de





Created attachment 28976

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28976

error log



There are a lot of failures, huge error log attached.



For me it looks like the root cause is the following:



libstdc++-v3/include/bits/basic_string.h:2971:22: note:   mismatched types

'std::size_t {aka long long unsigned int}' and 'const wchar_t*'



That causes for example

error: no matching function for call to '__to_xstring(int (*)(wchar_t*, const

wchar_t*, char*), long long unsigned int, const wchar_t [3], unsigned int&)'



an leads to template argument deduction/substitution failed.


[Bug bootstrap/55707] New: [4.7 Regression] bootstrap fails in gcc/graphite-dependences.c error cast loses precision

2012-12-15 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55707



 Bug #: 55707

   Summary: [4.7 Regression] bootstrap fails in

gcc/graphite-dependences.c error cast loses precision

Classification: Unclassified

   Product: gcc

   Version: 4.7.3

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: bootstrap

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de





Issue on LLP64 systems. Simple proposed patch:



Index: graphite-dependences.c

===

--- graphite-dependences.c  (Revision 194496)

+++ graphite-dependences.c  (Arbeitskopie)

@@ -56,7 +56,7 @@ hash_poly_ddr_p (const void *pddr)

 {

   const struct poly_ddr *p = (const struct poly_ddr *) pddr;



-  return (hashval_t) ((long) PDDR_SOURCE (p) + (long) PDDR_SINK (p));

+  return (hashval_t) ((intptr_t) PDDR_SOURCE (p) + (intptr_t) PDDR_SINK (p));

 }



 /* Returns true when PDDR has no dependence.  */


[Bug libfortran/55705] [4.7 Regression] error: 'CLOCK_REALTIME' undeclared in libgfortran/intrinsics/system_clock.c

2012-12-16 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55705



--- Comment #2 from Rainer Emrich  2012-12-16 
11:22:28 UTC ---

-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Am 15.12.2012 16:08, schrieb rguenth at gcc dot gnu.org:

> 

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55705

> 

> Richard Biener  changed:

> 

> What|Removed |Added 

> 

>

> 

Status|UNCONFIRMED |WAITING

> Last reconfirmed||2012-12-15 Target

> Milestone|--- |4.7.3 Ever Confirmed|0

> |1

> 

> --- Comment #1 from Richard Biener  2012-12-15

> 15:08:14 UTC --- Please fill in known-to-work and known-to-fail versions.

> 

I will check. 4.6.3 is working for sure. I'll check my last working bootstrap,

which was 4.7.3 mid November. I suspect an issue with the mingw-w64 runtime.

But I'm not sure.

-BEGIN PGP SIGNATURE-

Version: GnuPG v1.4.10 (MingW32)

Comment: Using GnuPG with undefined - http://www.enigmail.net/



iQEcBAEBAgAGBQJQza7aAAoJEB3HOsWs+KJbTOkIAJIz2Mnt9Z+/nf5wyn+eHldP

Hp6T/SZTQQfkl+WviHcmGCCeofvpr9vQ4iAXWdVF1qxQZF/I9y101b0GFjTkdnVG

2/KFNMAKoEgdAG3+9zoB6Iyl9Mk5OmwNjxBcZmuJfAl78DpwuPSnsbMl08y4F+28

YiWR12wXzCCchzJ+OT3Aa9asyG15LL3uYde4auu+7hidGYCx57G2Endxz1aYHOw8

jiG38p3lzwTxNXJsGgC4OUzW3SOEqQJTD8ULPNKAlJG9At8Wt50lCPUMD5ZF0u1a

tbMtPc/0TSKs6H+eElGvYzCIV56Ew7zOz21lrIxrTnBebrB3X+QhSlsWNARFIuY=

=90XA

-END PGP SIGNATURE-


[Bug libfortran/55705] [4.7 Regression] error: 'CLOCK_REALTIME' undeclared in libgfortran/intrinsics/system_clock.c

2012-12-16 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55705



Rainer Emrich  changed:



   What|Removed |Added



 Status|WAITING |RESOLVED

 Resolution||INVALID



--- Comment #3 from Rainer Emrich  2012-12-17 
07:40:26 UTC ---

It's a runtime issue. make install unconditionally overrides previously

installed pthread header files. So, resolved as invalid. Sorry for the noise.


[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123



--- Comment #4 from Rainer Emrich  2012-12-19 
10:40:30 UTC ---

Ok, long standing issue caused by the transition to g++ as bootstrap compiler.



Here's the status for gcc-4.7.3 rev. 194494 on x86_64-w64-mingw32:



/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/g++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-nostdinc++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include

-I/SCRATCH/tmp.wOrMZOydvQ/src/gcc-4.7.3/libstdc++-v3/libsupc++

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-c   -g -O2 -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -gtoggle -DIN_GCC  

-fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual 

-Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros

-Wno-overlength-strings  -Wno-error -DHAVE_CONFIG_H -I. -Iada

-I../../../src/gcc-4.7.3/gcc -I../../../src/gcc-4.7.3/gcc/ada

-I../../../src/gcc-4.7.3/gcc/../include -I./../intl

-I../../../src/gcc-4.7.3/gcc/../libcpp/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

-I../../../src/gcc-4.7.3/gcc/../libdecnumber

-I../../../src/gcc-4.7.3/gcc/../libdecnumber/bid -I../libdecnumber

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

-I/SCRATCH/tmp.wOrMZOydvQ/install/include 

../../../src/gcc-4.7.3/gcc/ada/adaint.c -o ada/adaint.o

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'int

__gnat_check_OWNER_ACL(TCHAR*, DWORD, GENERIC_MAPPING)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:1986:53: error: invalid conversion from

'PSECURITY_DESCRIPTOR {aka void*}' to 'SECURITY_DESCRIPTOR* {aka

_SECURITY_DESCRIPTOR*}' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'void

__gnat_set_OWNER_ACL(TCHAR*, DWORD, DWORD)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2062:66: error: invalid conversion from

'DWORD {aka long unsigned int}' to 'ACCESS_MODE {aka _ACCESS_MODE}'

[-fpermissive]

In file included from ../../../src/gcc-4.7.3/gcc/ada/adaint.c:231:0:

D:/x86_64-w64-trunk/mingw/include/aclapi.h:67:25: error:   initializing

argument 4 of 'void BuildExplicitAccessWithNameW(PEXPLICIT_ACCESS_W, LPWSTR,

DWORD, ACCESS_MODE, DWORD)' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'int

__gnat_portable_spawn(char**)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2387:61: error: invalid conversion from

'const char* const*' to 'char* const*' [-fpermissive]

In file included from D:/x86_64-w64-trunk/mingw/include/unistd.h:11:0,

 from ../../../src/gcc-4.7.3/gcc/system.h:253,

 from ../../../src/gcc-4.7.3/gcc/ada/adaint.c:107:

D:/x86_64-w64-trunk/mingw/include/process.h:177:20: error:   initializing

argument 3 of 'intptr_t spawnvp(int, const char*, char* const*)' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'void add_handle(HANDLE,

int)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2547:67: error: invalid conversion from

'void*' to 'void**' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2549:60: error: invalid conversion from

'void*' to 'int*' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c: In function 'char*

__gnat_locate_exec_on_path(char*)':

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2938:16: error: invalid conversion from

'void*' to 'TCHAR* {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.7.3/gcc/ada/adaint.c:2948:15: error: invalid conversion from

'void*' to 'char*' [-fpermissive]

make[3]: *** [ada/adaint.o] Error 1

/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/g++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/./prev-gcc/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.3/x86_64-w64-mingw32/bin/

-nostdinc++

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-B/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/include

-I/SCRATCH/tmp.wOrMZOydvQ/src/gcc-4.7.3/libstdc++-v3/libsupc++

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs

-L/SCRATCH/tmp.wOrMZOydvQ/gcc-4.7.3/gcc-4.7.3/prev-x86_64-w6

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123



--- Comment #5 from Rainer Emrich  2012-12-19 
10:50:15 UTC ---

Last Chunk is not part of the patch, it's for a different issue, see PR55707.


[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123



--- Comment #6 from Rainer Emrich  2012-12-19 
10:55:55 UTC ---

Here's the status for gcc-4.8.0 rev. 194494 on x86_64-w64-mingw32:



g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings  -Wno-error

-DHAVE_CONFIG_H -I. -Iada -I../../../src/gcc-4.8.0/gcc

-I../../../src/gcc-4.8.0/gcc/ada -I../../../src/gcc-4.8.0/gcc/../include

-I./../intl -I../../../src/gcc-4.8.0/gcc/../libcpp/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

-I../../../src/gcc-4.8.0/gcc/../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libbacktrace -DCLOOG_INT_GMP

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

../../../src/gcc-4.8.0/gcc/ada/adaint.c -o ada/adaint.o

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'int

__gnat_check_OWNER_ACL(TCHAR*, DWORD, GENERIC_MAPPING)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:1986:53: error: invalid conversion from

'PSECURITY_DESCRIPTOR {aka void*}' to 'SECURITY_DESCRIPTOR* {aka

_SECURITY_DESCRIPTOR*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'void

__gnat_set_OWNER_ACL(TCHAR*, DWORD, DWORD)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2062:66: error: invalid conversion from

'DWORD {aka long unsigned int}' to 'ACCESS_MODE {aka _ACCESS_MODE}'

[-fpermissive]

In file included from ../../../src/gcc-4.8.0/gcc/ada/adaint.c:230:0:

D:/x86_64-w64-trunk/mingw/include/aclapi.h:67:25: error:   initializing

argument 4 of 'void BuildExplicitAccessWithNameW(PEXPLICIT_ACCESS_W, LPWSTR,

DWORD, ACCESS_MODE, DWORD)' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'int

__gnat_portable_spawn(char**)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2387:61: error: invalid conversion from

'const char* const*' to 'char* const*' [-fpermissive]

In file included from D:/x86_64-w64-trunk/mingw/include/unistd.h:11:0,

 from ../../../src/gcc-4.8.0/gcc/system.h:256,

 from ../../../src/gcc-4.8.0/gcc/ada/adaint.c:106:

D:/x86_64-w64-trunk/mingw/include/process.h:177:20: error:   initializing

argument 3 of 'intptr_t spawnvp(int, const char*, char* const*)' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'void add_handle(HANDLE,

int)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2543:67: error: invalid conversion from

'void*' to 'void**' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2545:60: error: invalid conversion from

'void*' to 'int*' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c: In function 'char*

__gnat_locate_exec_on_path(char*)':

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2934:16: error: invalid conversion from

'void*' to 'TCHAR* {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/adaint.c:2944:15: error: invalid conversion from

'void*' to 'char*' [-fpermissive]

make[3]: *** [ada/adaint.o] Error 1

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H

-I. -Iada -I../../../src/gcc-4.8.0/gcc -I../../../src/gcc-4.8.0/gcc/ada

-I../../../src/gcc-4.8.0/gcc/../include -I./../intl

-I../../../src/gcc-4.8.0/gcc/../libcpp/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

-I../../../src/gcc-4.8.0/gcc/../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber

-I../../../src/gcc-4.8.0/gcc/../libbacktrace -DCLOOG_INT_GMP

-I/SCRATCH/tmp.sTvWvLQnyU/install/include

-I/SCRATCH/tmp.sTvWvLQnyU/install/include 

../../../src/gcc-4.8.0/gcc/ada/initialize.c -o ada/initialize.o

../../../src/gcc-4.8.0/gcc/ada/initialize.c: In function 'void append_arg(int*,

LPWSTR, LPWSTR, char***, int*, int)':

../../../src/gcc-4.8.0/gcc/ada/initialize.c:91:56: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/initialize.c:98:65: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

../../../src/gcc-4.8.0/gcc/ada/initialize.c: In function 'void

__gnat_initialize(void*)':

../../../src/gcc-4.8.0/gcc/ada/initialize.c:206:44: error: invalid conversion

from 'void*' to 'LPWSTR {aka wchar_t*}' [-fpermissive]

make[3]: *** [ada/initialize.o] Error 1

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute

-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H

-I. -Iada -I../../../src/gcc-4.8.0/gcc 

[Bug bootstrap/55741] New: [4.8 Regression] bootstrap fails in libstdc++-v3/src/c++11/thread.cc

2012-12-19 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55741



 Bug #: 55741

   Summary: [4.8 Regression] bootstrap fails in

libstdc++-v3/src/c++11/thread.cc

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: bootstrap

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: rai...@emrich-ebersheim.de





Bootstrap fails in libstdc++-v3/src/c++11/thread.cc: #  error "No sleep

function known for this target" 



Making all in c++11

make[3]: Entering directory

`/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/src/c++11'

/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile

/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/./gcc/xgcc -shared-libgcc

-B/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/./gcc -nostdinc++

-L/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/src

-L/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/src/.libs

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/lib

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/include

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib/

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/sys-include

   -I/SCRATCH/tmp.NRXIamkeKl/src/gcc-4.8.0/libstdc++-v3/../libgcc

-I/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/include

-I/SCRATCH/tmp.NRXIamkeKl/src/gcc-4.8.0/libstdc++-v3/libsupc++  -std=gnu++11

-prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra

-Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once  

-ffunction-sections -fdata-sections  -frandom-seed=thread.lo -g -O2  -c -o

thread.lo ../../../../../../src/gcc-4.8.0/libstdc++-v3/src/c++11/thread.cc

libtool: compile:  /SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/./gcc/xgcc

-shared-libgcc -B/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/./gcc -nostdinc++

-L/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/src

-L/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/src/.libs

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib

-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/lib

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/mingw/include

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/

-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/lib/

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/include

-isystem

/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/sys-include

-I/SCRATCH/tmp.NRXIamkeKl/src/gcc-4.8.0/libstdc++-v3/../libgcc

-I/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32

-I/SCRATCH/tmp.NRXIamkeKl/gcc-4.8.0/gcc-4.8.0/x86_64-w64-mingw32/libstdc++-v3/include

-I/SCRATCH/tmp.NRXIamkeKl/src/gcc-4.8.0/libstdc++-v3/libsupc++ -std=gnu++11

-D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings

-Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections

-fdata-sections -frandom-seed=thread.lo -g -O2 -c

../../../../../../src/gcc-4.8.0/libstdc++-v3/src/c++11/thread.cc -o thread.o

../../../../../../src/gcc-4.8.0/libstdc++-v3/src/c++11/thread.cc:65:4: error:

#error "No sleep function known for this target"

 #  error "No sleep function known for this target"

^

../../../../../../src/gcc-4.8.0/libstdc++-v3/src/c++11/thread.cc:164:3:

warning: unused parameter '__s' [-Wunused-parameter]

   __sleep_for(chrono::seconds __s, chrono::nanoseconds __ns)

   ^

../../../../../../src/gcc-4.8.0/libstdc++-v3/src/c++1

[Bug bootstrap/55707] [4.7 Regression] bootstrap fails in gcc/graphite-dependences.c error cast loses precision

2013-01-03 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55707



--- Comment #3 from Rainer Emrich  2013-01-03 
12:15:35 UTC ---

(In reply to comment #2)

> Please post patch to ML.  That is a trivial one.

> Btw do you have made already paper-work with FSF?



Patch posted to the ML http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00104.html



I don't have the paper-work ready. I asked for the forms on the gcc ML today.

But anyway, this patch is a trivial one.


[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2013-01-03 Thread rai...@emrich-ebersheim.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123



--- Comment #7 from Rainer Emrich  2013-01-03 
13:28:51 UTC ---

Patch posted to the ML http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00114.html


[Bug jit/69490] jit testsuite failures (segmentation fault) on x86_64-unknown-linux-gnu

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69490

--- Comment #3 from Rainer Emrich  ---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 26.01.2016 um 16:08 schrieb Rainer Emrich:
> Am 26.01.2016 um 15:50 schrieb dmalcolm at gcc dot gnu.org:
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69490
> 
>> --- Comment #1 from David Malcolm  
>> --- Thanks for reporting this.
> 
>> Which exact version are you testing with?  This looks a lot like
>> PR 68446, which was fixed in r232567.
> 
> Ok, I'm a little bit behind, that's rev. 232504. I will retest
> with current trunk!

I confirm, revision 232832 doesn't have the issue.
I mark this as duplicate of pr68446.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWqHx/AAoJEB3HOsWs+KJbmqYH/3fNkJQuBeALQtmMNXKkM8EM
5FAOgykAFDQQhmodoXt2kE+MdzlOdWefoKTySEsxy+qfHK3kXpxgmw8RN3Ir19++
KMXGZAla6836UU7UEZYxwd0Xt7pxukQ7HqGxOBzxrivh6ntT6BwLV2qZRR3emkmm
PM+l17UlgJfB9x2LfTxq8C7nzAnoBm8vV3KHdpNeiWS7kwm6xB63M2MOlfK/PW/q
4SlzzPjrUNKwNGbp4bkVkVhz13XD13lSQvYNnvb20vadWCu89Q5Zko5cwmhdwhFB
ZYYs/uyL58cW7omrRCo6eEH5/leX9xvwcUJ6ar2f19UgTcd5AgLH0gvq5U9ZWOw=
=qbY3
-END PGP SIGNATURE-

[Bug jit/69490] jit testsuite failures (segmentation fault) on x86_64-unknown-linux-gnu

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69490

Rainer Emrich  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Rainer Emrich  ---
Marked as duplicate of PR68446, which is solved in r232567.

*** This bug has been marked as a duplicate of bug 68446 ***

[Bug jit/68446] [6 Regression] jit testsuite failures seen inside dwarf2out.c:gen_producer_string

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68446

Rainer Emrich  changed:

   What|Removed |Added

 CC||rai...@emrich-ebersheim.de

--- Comment #9 from Rainer Emrich  ---
*** Bug 69490 has been marked as a duplicate of this bug. ***

[Bug testsuite/69488] tests in gnat/sso give a lot of spurious failures

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69488

--- Comment #2 from Rainer Emrich  ---
Created attachment 37489
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37489&action=edit
proposed patch

* gnat.dg/sso/*.adb: Robustify dg-output directives.

[Bug testsuite/69488] tests in gnat/sso give a lot of spurious failures

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69488

--- Comment #3 from Rainer Emrich  ---
I'm testing the proposed patch on x86_64-w64-mingw32 and
x86_64-unknown-linux-gnu.

[Bug bootstrap/69513] New: LTO bootstrap fails with bootstrap-profiled during linking gnat1 in stagefeedback

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69513

Bug ID: 69513
   Summary: LTO bootstrap fails with bootstrap-profiled during
linking gnat1 in stagefeedback
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

trunk revison 232867
binutils-2.26

/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/x86_64-unknown-linux-gnu/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/opt/devel/gnu/src/gcc/gcc-6.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.kZaQUWUv9N/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-use -DIN_GCC -fPIC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o
ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o
ada/initialize.o ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o
ada/decl.o ada/rtfinal.o ada/rtinit.o ada/misc.o ada/utils.o ada/utils2.o
ada/trans.o ada/targtyps.o ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o
ada/a-except.o ada/a-ioexce.o ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o
ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o
ada/contracts.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o
ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o
ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o
ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o
ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o
ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o
ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o
ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_unst.o
ada/exp_util.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o
ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o
ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_spark_xrefs.o
ada/get_targ.o ada/ghost.o ada/gnat.o ada/gnatvsn.o ada/hostparm.o
ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o
ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o
ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o
ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o
ada/prep.o ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o ada/repinfo.o
ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o
ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o
ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o
ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o
ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o
ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o
ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o
ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o
ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o
ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o ada/s-wchcon.o
ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o
ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_warn.o ada/set_targ.o
ada/sinfo

[Bug testsuite/69488] tests in gnat/sso give a lot of spurious failures

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69488

--- Comment #6 from Rainer Emrich  ---
I tested the new version of the proposed patch. Now the tests all pass on
x86_64-unknown-linux-gnu and x86_64-w64-mingw32.

Eric, please submit to mainline.

[Bug testsuite/69488] tests in gnat/sso give a lot of spurious failures

2016-01-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69488

--- Comment #5 from Rainer Emrich  ---
Created attachment 37491
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37491&action=edit
proposed patch, new version

* gnat.dg/sso/*.adb: Robustify dg-output directives.

Changed conv1.adb again. The double "\\" for escaping are necessary.

[Bug bootstrap/69513] LTO bootstrap fails with bootstrap-profiled during linking gnat1 in stagefeedback

2016-03-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69513

Rainer Emrich  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #7 from Rainer Emrich  ---
Sorry Eric, this isn't fixed!

Revision: 234256

/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/x86_64-unknown-linux-gnu/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/opt/devel/gnu/src/gcc/gcc-6.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.SFOjUV9q4q/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-use -DIN_GCC -fPIC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o
ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o
ada/initialize.o ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o
ada/decl.o ada/rtfinal.o ada/rtinit.o ada/misc.o ada/utils.o ada/utils2.o
ada/trans.o ada/targtyps.o ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o
ada/a-except.o ada/a-ioexce.o ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o
ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o
ada/contracts.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o
ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o
ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o
ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o
ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o
ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o
ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o
ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_unst.o
ada/exp_util.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o
ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o
ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_spark_xrefs.o
ada/get_targ.o ada/ghost.o ada/gnat.o ada/gnatvsn.o ada/hostparm.o
ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o
ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o
ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o
ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o
ada/prep.o ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o ada/repinfo.o
ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o
ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o
ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o
ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o
ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o
ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o
ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o
ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o
ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o
ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o ada/s-wchcon.o
ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o
ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_warn.o ada/set_targ.o
ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o
ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o a

[Bug bootstrap/81470] New: [8 Regression] Bootstrap comparison failures in gcc/ada

2017-07-17 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

Bug ID: 81470
   Summary: [8 Regression] Bootstrap comparison failures in
gcc/ada
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

With current trunk revision 250281 I get several bootstrap comparison failures
in gcc/ada on x86_64-w64-mingw bootstrap with msys2. That's a regression
against trunk.

Bootstrap comparison failure!
gcc/ada/ali-util.o differs
gcc/ada/ali.o differs
gcc/ada/b_gnatb.o differs
gcc/ada/checks.o differs
gcc/ada/erroutc.o differs
gcc/ada/expander.o differs
gcc/ada/exp_aggr.o differs
gcc/ada/exp_attr.o differs
gcc/ada/exp_ch3.o differs
gcc/ada/exp_ch4.o differs
gcc/ada/exp_ch5.o differs
gcc/ada/exp_ch6.o differs
gcc/ada/exp_dbug.o differs
gcc/ada/exp_disp.o differs
gcc/ada/freeze.o differs
gcc/ada/gnat1drv.o differs
gcc/ada/gnatbind.o differs
gcc/ada/lib-xref.o differs
gcc/ada/output.o differs
gcc/ada/par.o differs
gcc/ada/prep.o differs
gcc/ada/prepcomp.o differs
gcc/ada/restrict.o differs
gcc/ada/rtsfind.o differs
gcc/ada/s-os_lib.o differs
gcc/ada/scn.o differs
gcc/ada/sem_attr.o differs
gcc/ada/sem_ch12.o differs
gcc/ada/sem_ch13.o differs
gcc/ada/sem_ch6.o differs
gcc/ada/sem_ch8.o differs
gcc/ada/sem_eval.o differs
gcc/ada/sem_prag.o differs
gcc/ada/sem_warn.o differs
gcc/ada/sinput-d.o differs
gcc/ada/stringt.o differs
gcc/ada/switch-b.o differs
gcc/ada/switch-c.o differs
gcc/ada/targparm.o differs
gcc/ada/tree_io.o differs
gcc/ada/widechar.o differs

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-07-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

Rainer Emrich  changed:

   What|Removed |Added

 CC||charlet at gcc dot gnu.org

--- Comment #1 from Rainer Emrich  ---
The issue is caused by revision 247301:
Revision 247301
Modified Thu Apr 27 09:48:45 2017 UTC by charlet

Revision 247299 caused an additional in libada:
cannot generate code for file s-excmac.ads (package spec)
make[6]: *** [../gcc-interface/Makefile:299: s-excmac.o] Error 1

This issue may be still latent. I cannot test because the bootstrap comparison
failure.

[Bug bootstrap/81965] New: [8 Regression] ICE in stage 2 compiler while configuring libgcc in stage 2, during GIMPLE pass: cfg

2017-08-24 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81965

Bug ID: 81965
   Summary: [8 Regression] ICE in stage 2 compiler while
configuring libgcc in stage 2, during GIMPLE pass: cfg
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

gcc version 8.0.0 20170824 (experimental) [trunk revision 251326] (GCC)

ICE in stage 2 compiler while configuring libgcc in stage 2:

configure:3471:
/opt/devel/SCRATCH/tmp.s6J9UOTgxN/gcc-8.0.0/gcc-8.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.s6J9UOTgxN/gcc-8.0.0/gcc-8.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/sys-include
   -o conftest -g -O2   conftest.c  >&5
during GIMPLE pass: cfg
conftest.c: In function 'main':
conftest.c:11:1: internal compiler error: Segmentation fault
 main ()
 ^~~~
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
configure:3474: $? = 1
configure:3662: checking for suffix of object files
configure:3684:
/opt/devel/SCRATCH/tmp.s6J9UOTgxN/gcc-8.0.0/gcc-8.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.s6J9UOTgxN/gcc-8.0.0/gcc-8.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/x86_64-w64-mingw32/sys-include
   -c -g -O2  conftest.c >&5
during GIMPLE pass: cfg
conftest.c: In function 'main':
conftest.c:11:1: internal compiler error: Segmentation fault
 main ()
 ^~~~
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
configure:3688: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3702: error: in
`/opt/devel/SCRATCH/tmp.s6J9UOTgxN/gcc-8.0.0/gcc-8.0.0/x86_64-w64-mingw32/libgcc':
configure:3705: error: cannot compute suffix of object files: cannot compile

[Bug bootstrap/81965] [8 Regression] ICE in stage 2 compiler while configuring libgcc in stage 2, during GIMPLE pass: cfg

2017-08-24 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81965

--- Comment #2 from Rainer Emrich  ---
(In reply to Richard Biener from comment #1)
> Just a wild guess... does
> 
> Index: gcc/dwarf2out.c
> ===
> --- gcc/dwarf2out.c (revision 251326)
> +++ gcc/dwarf2out.c (working copy)
> @@ -178,7 +178,7 @@ static GTY(()) section *debug_ranges_sec
>  static GTY(()) section *debug_frame_section;
>  
>  /* Maximum size (in bytes) of an artificially generated label.  */
> -#define MAX_ARTIFICIAL_LABEL_BYTES 30
> +#define MAX_ARTIFICIAL_LABEL_BYTES 40
>  
>  /* According to the (draft) DWARF 3 specification, the initial length
> should either be 4 or 12 bytes.  When it's 12 bytes, the first 4
> 
> fix it?

Unfortunately not.

[Bug bootstrap/81965] [8 Regression] ICE in stage 2 compiler while configuring libgcc in stage 2, during GIMPLE pass: cfg

2017-08-24 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81965

--- Comment #3 from Rainer Emrich  ---
(In reply to Rainer Emrich from comment #2)
> (In reply to Richard Biener from comment #1)
> > Just a wild guess... does
> > 
> > Index: gcc/dwarf2out.c
> > ===
> > --- gcc/dwarf2out.c (revision 251326)
> > +++ gcc/dwarf2out.c (working copy)
> > @@ -178,7 +178,7 @@ static GTY(()) section *debug_ranges_sec
> >  static GTY(()) section *debug_frame_section;
> >  
> >  /* Maximum size (in bytes) of an artificially generated label.  */
> > -#define MAX_ARTIFICIAL_LABEL_BYTES 30
> > +#define MAX_ARTIFICIAL_LABEL_BYTES 40
> >  
> >  /* According to the (draft) DWARF 3 specification, the initial length
> > should either be 4 or 12 bytes.  When it's 12 bytes, the first 4
> > 
> > fix it?
> 
> Unfortunately not.

I'm going to bisect.

[Bug bootstrap/81965] [8 Regression] ICE in stage 2 compiler while configuring libgcc in stage 2, during GIMPLE pass: cfg

2017-08-24 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81965

Rainer Emrich  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Rainer Emrich  ---
Ok, found it. That's an issue of binutils trunk from this morning, strange.
Using binutils-2.29 works as expected.
Will have an eye at binutils trunk. If the issue persist I will open an PR in
the binutils bugzilla.

Closing the PR as invalid.

[Bug testsuite/82006] New: [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-08-28 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

Bug ID: 82006
   Summary: [8 Regression] ERROR: torture-init:
torture_without_loops is not empty as expected
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

Recently I get a lot of tcl error in the testsuite on trunk.

for example:
ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/torture/tls/tls.exp.
ERROR: torture-init: torture_without_loops is not empty as expected 

I'm on x86_64-w64-mingw32, msys2 system using tcl 8.5.18-1,
dejagnu 1.5.3-1 and expect 5.45-1.

Any ideas?

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-08-29 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #2 from Rainer Emrich  ---
(In reply to Richard Biener from comment #1)
> Seems to work fine here (dejagnu 1.4.4)

In my case dejagnu 1.4.4 shows the same issue.

I try to find out what's causing this issue.

At the moment there are even more issues. The second kind is:

ERROR: tcl error sourcing
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/lto.exp.
ERROR: can't read "testname_with_flags": no such variable
while executing
"fail "$testname_with_flags $num_blank_lines blank line(s) in output""
(procedure "gcc-dg-prune" line 14)
invoked from within
"${tool}-dg-prune $target_triplet $gcc_output"
(procedure "gcc_check_compile" line 32)
invoked from within
"${tool}_check_compile "$testcase $testname link" $optstr  $dest $comp_output"
(procedure "lto-link-and-maybe-run" line 45)
invoked from within
"lto-link-and-maybe-run  "[lindex $obj_list 0]-[lindex $obj_list end]" 
$obj_list $execname $filtered ${dg-extra-ld-options}  $filtered"
(procedure "lto-execute" line 141)
invoked from within
"lto-execute $src $sid"
("foreach" body line 7)
invoked from within
"foreach src [lsort [find $srcdir/$subdir *_0.c]] {
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_fi..."
(file
"/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/lto.exp"
line 52)
invoked from within
"source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/lto.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gcc.dg/lto/lto.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-08-29 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #4 from Rainer Emrich  ---
(In reply to Richard Biener from comment #3)
> In case it matters I have tcl 8.6.1 and 8.6.3.

I tried several different veriosn of tcl, expect an dejagnu. AFAIS the issue is
unrelated to a specific version of the tools.

I try hunting for the cause of the issue when I find the time.

[Bug bootstrap/78880] New: [7 Regression] Revision 243196 breaks bootstrap on x86_64-w64-mingw32

2016-12-21 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78880

Bug ID: 78880
   Summary: [7 Regression] Revision 243196 breaks bootstrap on
x86_64-w64-mingw32
   Product: gcc
   Version: 7.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

Revision 243196 breaks native bootstrap on x86_64-w64-mingw32 using
--with-sysroot to point gcc to the mingw-w64 runtime. This used to work since
years until then.

The bootstrap fails in stage 1 building libgcc due to not finding the runtime
libraries:

mv tmp-libgcc.map libgcc.map
# @multilib_flags@ is still needed because this may use
# /opt/devel/SCRATCH/tmp.gxxTu9rzHn/gcc-7.0.0/gcc-7.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.gxxTu9rzHn/gcc-7.0.0/gcc-7.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/sys-include
   and -O2
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgcc/../winsup/w32api/include
-g -O2 -DIN_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector 
directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh
../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgcc/../mkinstalldirs
.
cp -p -f libgcc.map libgcc.map.def && if [ ! -d ./shlib ]; then mkdir ./shlib;
else true; fi &&
/opt/devel/SCRATCH/tmp.gxxTu9rzHn/gcc-7.0.0/gcc-7.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.gxxTu9rzHn/gcc-7.0.0/gcc-7.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/sys-include
   -O2
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgcc/../winsup/w32api/include
-g -O2 -DIN_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector 
-pthread -shared -nodefaultlibs libgcc.map.def
-Wl,--out-implib,./shlib/libgcc_s.a.tmp -o ./shlib/libgcc_s_seh-1.dll.tmp -g
-O2 -B./ _chkstk_s.o _chkstk_ms_s.o _muldi3_s.o _negdi2_s.o _lshrdi3_s.o
_ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o
_trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o
_subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o
_paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o
_mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divhc3_s.o _divsc3_s.o
_divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o
_clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o
_fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o
_floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatundisf_s.o _floatundidf_s.o
_floatundixf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o _udivdi3_s.o
_umoddi3_s.o

[Bug bootstrap/78880] [7 Regression] Revision 243196 breaks bootstrap on x86_64-w64-mingw32

2017-01-07 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78880

--- Comment #3 from Rainer Emrich  ---
(In reply to Jeffrey A. Law from comment #2)
> When using a sysroot STARTFILE_PREFIX is supposed to be relative to the
> sysroot variable -- meaning the mingw port is no longer going to be looking
> in /mingw/lib by default.  Instead it should be looking in
> $sysroot/mingw/lib.

I don't see why this request is invalid.

I have the libraries and start files at /x86_64-w64-trunk/mingw/lib and
configured gcc including "--with-sysroot=/x86_64-w64-trunk". That's
exactly what you describe. This already worked for years until your
change and it's broken now!

Cheers

Rainer

[Bug libfortran/79127] New: [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

Bug ID: 79127
   Summary: [7 Regression] Error: invalid register for
.seh_savexmm in matmul_i4.c
   Product: gcc
   Version: 7.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libfortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: rai...@emrich-ebersheim.de
  Target Milestone: ---

Recently trunk fails to build libgfortran on x86_64-w64-mingw32.

/bin/sh ./libtool  --tag=CC   --mode=compile
/opt/devel/SCRATCH/tmp.Nf3OOBabQQ/gcc-7.0.0/gcc-7.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.Nf3OOBabQQ/gcc-7.0.0/gcc-7.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/sys-include
   -DHAVE_CONFIG_H -I.
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran

-iquote../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/io
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../gcc/config
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libquadmath
-I../.././gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libgcc
-I../libgcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libbacktrace
-I../libbacktrace -I../libbacktrace  -std=gnu11 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections   -ffast-math -ftree-vectorize
-funroll-loops --param max-unroll-times=4  -std=gnu11 -g -O2 -Wunknown-pragmas
-MT matmul_i4.lo -MD -MP -MF .deps/matmul_i4.Tpo -c -o matmul_i4.lo `test -f
'../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/generated/matmul_i4.c'
|| echo
'../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/'`../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/generated/matmul_i4.c
libtool: compile: 
/opt/devel/SCRATCH/tmp.Nf3OOBabQQ/gcc-7.0.0/gcc-7.0.0/./gcc/xgcc
-B/opt/devel/SCRATCH/tmp.Nf3OOBabQQ/gcc-7.0.0/gcc-7.0.0/./gcc/
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib
-L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/lib
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/mingw/include
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/bin/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/lib/
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/include
-isystem
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.0.0/x86_64-w64-mingw32/sys-include
-DHAVE_CONFIG_H -I.
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran
-iquote../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/io
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../gcc/config
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libquadmath
-I../.././gcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libgcc
-I../libgcc
-I../../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.0.0/libgfortran/../libbacktrace
-I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sect

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #4 from Rainer Emrich  ---
Created attachment 40534
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40534&action=edit
assembly

Here's the assembly.

AFAICS the issue is in matmul_i4_avx512f.

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #5 from Rainer Emrich  ---
(In reply to Thomas Koenig from comment #1)
> Looks like the binutils on mingw is not able to handle AVX.
> 
> I have to confess that I don't know a lot about binutil
> versions.  Can you post the version that you use?
> And is it possible to attach the assembly file that is generated?

The used binutils version is 2.25.

I try 2.27 at the moment.

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #7 from Rainer Emrich  ---
(In reply to Rainer Emrich from comment #5)
> (In reply to Thomas Koenig from comment #1)
> > Looks like the binutils on mingw is not able to handle AVX.
> > 
> > I have to confess that I don't know a lot about binutil
> > versions.  Can you post the version that you use?
> > And is it possible to attach the assembly file that is generated?
> 
> The used binutils version is 2.25.
> 
> I try 2.27 at the moment.

Same issue.

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #8 from Rainer Emrich  ---
(In reply to Jakub Jelinek from comment #6)
> Perhaps the HAVE_AVX512F configure test is too simple for the SEH purposes. 
> I've tried:
> typedef double __m512d __attribute__ ((__vector_size__ (64)));
> typedef double __m256d __attribute__ ((__vector_size__ (32)));
> __m512d foo (__m512d, __m512d, __m512d, __m512d, __m512d, __m256d,
> __m512d, __m512d);
> __m512d _mm512_add (__m512d a, __m256d c)
> {
>   __m512d b =  __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
>   __m512d f =  __builtin_ia32_addpd512_mask (b, a, a, 1, 4);
>   __m512d g =  __builtin_ia32_addpd512_mask (f, a, a, 1, 4);
>   __m512d h =  __builtin_ia32_addpd512_mask (g, a, a, 1, 4);
>   __m512d e = foo (b, a, b, a, b, c, b, b);
>   return __builtin_ia32_addpd512_mask (b, e, a, 1, 4) + f + g + h;
> }
> int
> main ()
> {
> 
>   ;
>   return 0;
> }
> 
> but that still doesn't generate any .seh_savexmm directives (at least not in
> my cross-compiler).

In my case HAVE_AVX512F is set to 1 in libgfortran/config.h.

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-18 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #11 from Rainer Emrich  ---
(In reply to Jakub Jelinek from comment #10)
> Note I have no access to any kind of Windows, so can just bootstrap/regtest
> it on Linux to make sure it hasn't regressed anything there.

I will test the patch in the next couple of hours.

[Bug target/79127] [7 Regression] Error: invalid register for .seh_savexmm in matmul_i4.c

2017-01-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127

--- Comment #13 from Rainer Emrich  ---
The proposed patch indeed fixes the issue on x86_64-w64-mingw32, libgfortran
builds again.

The results of a complete testsuite run can be found here:
https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg01881.html

Comparing the fortran results to an earlier run yields:

1704,1707c1727,1729
< # of expected passes  43782
< # of unexpected failures  266
< # of expected failures89
< # of unresolved testcases 1
---
> # of expected passes  44069
> # of unexpected failures  267
> # of expected failures92

IMHO that's fine.

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-24 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #3 from Rainer Emrich  ---
(In reply to Jakub Jelinek from comment #2)
> Is this still a problem?  At least on x86_64-linux many people have done
> many successful bootstraps with ada since then.

I will test next week, when I find the time.

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #4 from Rainer Emrich  ---
Unfortunately the issue persists. There are even more failures.

Comparing stages 2 and 3
Bootstrap comparison failure!
gcc/ada/ali-util.o differs
gcc/ada/ali.o differs
gcc/ada/bindgen.o differs
gcc/ada/b_gnatb.o differs
gcc/ada/checks.o differs
gcc/ada/errout.o differs
gcc/ada/erroutc.o differs
gcc/ada/expander.o differs
gcc/ada/exp_aggr.o differs
gcc/ada/exp_attr.o differs
gcc/ada/exp_ch3.o differs
gcc/ada/exp_ch4.o differs
gcc/ada/exp_ch5.o differs
gcc/ada/exp_ch6.o differs
gcc/ada/exp_disp.o differs
gcc/ada/exp_unst.o differs
gcc/ada/freeze.o differs
gcc/ada/gnat1drv.o differs
gcc/ada/gnatbind.o differs
gcc/ada/lib-xref.o differs
gcc/ada/libgnat/s-os_lib.o differs
gcc/ada/namet.o differs
gcc/ada/output.o differs
gcc/ada/par.o differs
gcc/ada/prep.o differs
gcc/ada/repinfo.o differs
gcc/ada/restrict.o differs
gcc/ada/rtsfind.o differs
gcc/ada/scn.o differs
gcc/ada/sem_attr.o differs
gcc/ada/sem_ch12.o differs
gcc/ada/sem_ch13.o differs
gcc/ada/sem_ch6.o differs
gcc/ada/sem_ch8.o differs
gcc/ada/sem_elab.o differs
gcc/ada/sem_eval.o differs
gcc/ada/sem_prag.o differs
gcc/ada/sem_spark.o differs
gcc/ada/sem_util.o differs
gcc/ada/sinput-d.o differs
gcc/ada/switch-b.o differs
gcc/ada/switch-c.o differs
gcc/ada/targparm.o differs
gcc/ada/tree_io.o differs
gcc/ada/widechar.o differs
make[2]: *** [Makefile:23331: compare] Error 1

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #6 from Rainer Emrich  ---
(In reply to Eric Botcazou from comment #5)
> r247301 is the switch to native exceptions for the compiler proper and we
> know that this works on 64-bit Windows.  How do you configure the compiler?

../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/ld
--build=x86_64-w64-mingw32 --enable-threads=posix
--enable-languages=c,c++,ada,lto
--with-gmp-include=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/include
--with-gmp-lib=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/lib64
--with-mpfr-include=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/include
--with-mpfr-lib=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/lib64
--with-mpc-include=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/include
--with-mpc-lib=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/lib64
--with-isl-include=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/include
--with-isl-lib=/opt/devel/SCRATCH/tmp.8Ly5oNHx4u/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-27 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #8 from Rainer Emrich  ---
(In reply to Eric Botcazou from comment #7)
> And what's the output of 'gcc -v' for the base compiler?
Same gcc without ada:

$
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/gcc
-v
Using built-in specs.
COLLECT_GCC=D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-8.0.0\bin\gcc.exe
COLLECT_LTO_WRAPPER=d:/opt/devel/gnu/gcc/mingw_nt/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/../libexec/gcc/x86_64-w64-mingw32/8.0.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with:
../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0/bin/ld
--build=x86_64-w64-mingw32 --enable-threads=posix --enable-languages=c,c++,lto
--with-gmp-include=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/include
--with-gmp-lib=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/lib64
--with-mpfr-include=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/include
--with-mpfr-lib=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/lib64
--with-mpc-include=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/include
--with-mpc-lib=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/lib64
--with-isl-include=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/include
--with-isl-lib=/opt/devel/SCRATCH/tmp.EwWpLRvKY3/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-8.0.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk
Thread model: posix
gcc version 8.0.0 20171127 (experimental) [trunk revision 255161] (GCC)


The bootstrap compiler is:
$
/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0/bin/gcc
-v
Using built-in specs.
COLLECT_GCC=D:\opt\devel\gnu\gcc\MINGW_NT\x86_64-w64-mingw32\mingw-w64-runtime-trunk-svn\gcc-7.2.0\bin\gcc.exe
COLLECT_LTO_WRAPPER=d:/opt/devel/gnu/gcc/mingw_nt/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0/bin/../libexec/gcc/x86_64-w64-mingw32/7.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with:
../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-7.2.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0/bin/ld
--build=x86_64-w64-mingw32 --enable-threads=posix
--enable-languages=c,ada,c++,fortran,lto,objc,obj-c++
--with-gmp-include=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/include
--with-gmp-lib=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/lib64
--with-mpfr-include=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/include
--with-mpfr-lib=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/lib64
--with-mpc-include=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/include
--with-mpc-lib=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/lib64
--with-isl-include=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/include
--with-isl-lib=/opt/devel/SCRATCH/tmp.mrT4RMFK5P/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-7.2.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk
Thread model: posix
gcc version 7.2.0 (GCC)

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-30 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #12 from Rainer Emrich  ---
(In reply to Olivier Hainque from comment #11)
> Comment on attachment 42747 [details]
> don't emit .cfi_personality/.cfi_lsda for !dwarf2 eh
> 
> >diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
> >index 3d619b8..62b5c77 100644
> >--- a/gcc/dwarf2out.c
> >+++ b/gcc/dwarf2out.c
> >@@ -958,10 +958,16 @@ dwarf2out_do_cfi_startproc (bool second)
> > {
> >   int enc;
> >   rtx ref;
> >-  rtx personality = get_personality_function (current_function_decl);
> > 
> >   fprintf (asm_out_file, "\t.cfi_startproc\n");
> > 
> >+  /* .cfi_personality and .cfi_lsda are only relevant to DWARF2
> >+ eh unwinders.  */
> >+  if (targetm_common.except_unwind_info (&global_options) != UI_DWARF2)
> >+return;
> >+
> >+  rtx personality = get_personality_function (current_function_decl);
> >+
> >   if (personality)
> > {
> >   enc = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/2, /*global=*/1);

Confirmed, this patch solves the issue.

Thanks

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-05 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

--- Comment #6 from Rainer Emrich  ---
(In reply to Jakub Jelinek from comment #5)
> Any progress on this?

No, I'm under heavy workload at the moment. I don't see how to debug this. I
will bisect to find the commit which causes the issue, hopefully very soon.

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-12-06 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470

--- Comment #13 from Rainer Emrich  ---
(In reply to Rainer Emrich from comment #12)
> (In reply to Olivier Hainque from comment #11)
> > Comment on attachment 42747 [details]
> > don't emit .cfi_personality/.cfi_lsda for !dwarf2 eh
> > 
> > >diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
> > >index 3d619b8..62b5c77 100644
> > >--- a/gcc/dwarf2out.c
> > >+++ b/gcc/dwarf2out.c
> > >@@ -958,10 +958,16 @@ dwarf2out_do_cfi_startproc (bool second)
> > > {
> > >   int enc;
> > >   rtx ref;
> > >-  rtx personality = get_personality_function (current_function_decl);
> > > 
> > >   fprintf (asm_out_file, "\t.cfi_startproc\n");
> > > 
> > >+  /* .cfi_personality and .cfi_lsda are only relevant to DWARF2
> > >+ eh unwinders.  */
> > >+  if (targetm_common.except_unwind_info (&global_options) != UI_DWARF2)
> > >+return;
> > >+
> > >+  rtx personality = get_personality_function (current_function_decl);
> > >+
> > >   if (personality)
> > > {
> > >   enc = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/2, /*global=*/1);
> 
> Confirmed, this patch solves the issue.
> 
> Thanks

Olivier, can we get the patch in, please?

  1   2   >