public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/25397]  New: Bootstrap failed
@ 2005-12-13 20:28 hjl at lucon dot org
  2005-12-13 21:03 ` [Bug bootstrap/25397] " hjl at lucon dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-12-13 20:28 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1743 bytes --]

With gcc 4.2 revision 108480 on x86-64, I got

./xgcc -B./ -B/usr/gcc-4.2-blended/x86_64-unknown-linux-gnu/bin/ -isystem
/usr/gcc-4.2-blended/x86_64-unknown-linux-gnu/include -isystem
/usr/gcc-4.2-blended/x86_64-unknown-linux-gnu/sys-include
-L/export/build/gnu/gcc-blended/build-x86_64-linux/gcc/../ld -O2  -O2 -g -O2 
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/export/gnu/src/gcc-blended/gcc/gcc -I/export/gnu/src/gcc-blended/gcc/gcc/.
-I/export/gnu/src/gcc-blended/gcc/gcc/../include
-I/export/gnu/src/gcc-blended/gcc/gcc/../libcpp/include 
-I/export/gnu/src/gcc-blended/gcc/gcc/../libdecnumber -fexceptions
-fvisibility=hidden -DHIDE_EXPORTS -c
/export/gnu/src/gcc-blended/gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
/export/gnu/src/gcc-blended/gcc/gcc/unwind-dw2.c: In function
‘execute_stack_op’:
/export/gnu/src/gcc-blended/gcc/gcc/unwind-dw2.c:740: internal compiler error:
in rtx_equiv_p, at struct-equiv.c:372
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [libgcc/./unwind-dw2.o] Error 1


-- 
           Summary: Bootstrap failed
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
@ 2005-12-13 21:03 ` hjl at lucon dot org
  2005-12-13 21:21 ` amylaar at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-12-13 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at lucon dot org  2005-12-13 21:03 -------
Backout

http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00899.html

seems to fix this failure.


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joern dot rennecke at st dot
                   |                            |com
          Component|target                      |bootstrap


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
  2005-12-13 21:03 ` [Bug bootstrap/25397] " hjl at lucon dot org
@ 2005-12-13 21:21 ` amylaar at gcc dot gnu dot org
  2005-12-13 21:33 ` hjl at lucon dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-12-13 21:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2005-12-13 21:21 -------
Is building a cross-compiler configured with --target=x86-64-elf likely to
work up to this point and reproduce the problem?


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
  2005-12-13 21:03 ` [Bug bootstrap/25397] " hjl at lucon dot org
  2005-12-13 21:21 ` amylaar at gcc dot gnu dot org
@ 2005-12-13 21:33 ` hjl at lucon dot org
  2005-12-13 21:40 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-12-13 21:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl at lucon dot org  2005-12-13 21:33 -------
I believe so.


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2005-12-13 21:33 ` hjl at lucon dot org
@ 2005-12-13 21:40 ` pinskia at gcc dot gnu dot org
  2005-12-13 22:00 ` amylaar at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-13 21:40 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-12-13 21:40 -------
I get a different error with 108482:
./xgcc -B./ -B/home/pinskia/checkin/x86_64-unknown-linux-gnu/bin/ -isystem
/home/pinskia/checkin/x86_64-unknown-linux-gnu/include -isystem
/home/pinskia/checkin/x86_64-unknown-linux-gnu/sys-include
-L/home/pinskia/src/checkin/trunk/objdir/gcc/../ld -O2  -O2 -g -O2  -DIN_GCC   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/home/pinskia/src/checkin/trunk/gcc -I/home/pinskia/src/checkin/trunk/gcc/.
-I/home/pinskia/src/checkin/trunk/gcc/../include
-I/home/pinskia/src/checkin/trunk/gcc/../libcpp/include 
-I/home/pinskia/src/checkin/trunk/gcc/../libdecnumber -m32 -DL_muldc3
-fvisibility=hidden -DHIDE_EXPORTS -c
/home/pinskia/src/checkin/trunk/gcc/libgcc2.c -o libgcc/32/_muldc3.o
/home/pinskia/src/checkin/trunk/gcc/libgcc2.c: In function ‘__muldc3’:
/home/pinskia/src/checkin/trunk/gcc/libgcc2.c:1794: internal compiler error: in
struct_equiv_block_eq, at struct-equiv.c:1097
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2005-12-13 21:40 ` pinskia at gcc dot gnu dot org
@ 2005-12-13 22:00 ` amylaar at gcc dot gnu dot org
  2005-12-13 22:12 ` hjl at lucon dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-12-13 22:00 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 7175 bytes --]



------- Comment #5 from amylaar at gcc dot gnu dot org  2005-12-13 22:00 -------
(In reply to comment #3)
> I believe so.
> 

I didn't have any luck with either x86-64-elf or x86-64-linux, bfd refused to
build.  So I looked for the latest x86-64 posting to gcc-testresults, which had
x86_64-suse-linux-gnu .  This did actually go on till unwind-dw2.c,
but now I get errors from some header file SNAFU:

/mnt/scratch/nightly/2005-12-13/x86-64/./gcc/xgcc
-B/mnt/scratch/nightly/2005-12
-13/x86-64/./gcc/ -B/usr/local/x86_64-suse-linux-gnu/bin/
-B/usr/local/x86_64-su
se-linux-gnu/lib/ -isystem /usr/local/x86_64-suse-linux-gnu/include -isystem
/us
r/local/x86_64-suse-linux-gnu/sys-include
-L/mnt/scratch/nightly/2005-12-13/x86-
64/./ld -O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE -DNATIVE_CROSS   -W -Wall
-Wwr
ite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-is
ystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEE
DED -Dinhibit_libc -I. -I -I../../srcw/gcc -I../../srcw/gcc/
-I../../srcw/gcc/..
/include -I../../srcw/gcc/../libcpp/include  -I../../srcw/gcc/../libdecnumber
-f
exceptions -fvisibility=hidden -DHIDE_EXPORTS -c ../../srcw/gcc/unwind-dw2.c -o 
libgcc/./unwind-dw2.o
In file included from ./gthr-default.h:1,
                 from ../../srcw/gcc/gthr.h:114,
                 from ../../srcw/gcc/unwind-dw2.c:42:
../../srcw/gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory
../../srcw/gcc/gthr-posix.h:44:20: error: unistd.h: No such file or directory
In file included from ./gthr-default.h:1,
                 from ../../srcw/gcc/gthr.h:114,
                 from ../../srcw/gcc/unwind-dw2.c:42:
../../srcw/gcc/gthr-posix.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attri
bute__’ before ‘__gthread_key_t’
../../srcw/gcc/gthr-posix.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attri
bute__’ before ‘__gthread_once_t’
../../srcw/gcc/gthr-posix.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attri
bute__’ before ‘__gthread_mutex_t’
../../srcw/gcc/gthr-posix.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attri
bute__’ before ‘__gthread_recursive_mutex_t’
../../srcw/gcc/gthr-posix.h:72: error: ‘pthread_once’ undeclared here (not in a 
function)
../../srcw/gcc/gthr-posix.h:72: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_once’
../../srcw/gcc/gthr-posix.h:73: error: ‘pthread_key_create’ undeclared here
(not
 in a function)
../../srcw/gcc/gthr-posix.h:73: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_key_create’
../../srcw/gcc/gthr-posix.h:74: error: ‘pthread_key_delete’ undeclared here
(not
 in a function)
../../srcw/gcc/gthr-posix.h:74: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_key_delete’
../../srcw/gcc/gthr-posix.h:75: error: ‘pthread_getspecific’ undeclared here
(no
t in a function)
../../srcw/gcc/gthr-posix.h:75: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_getspecific’
../../srcw/gcc/gthr-posix.h:76: error: ‘pthread_setspecific’ undeclared here
(no
t in a function)
../../srcw/gcc/gthr-posix.h:76: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_setspecific’
../../srcw/gcc/gthr-posix.h:77: error: ‘pthread_create’ undeclared here (not in 
a function)
../../srcw/gcc/gthr-posix.h:77: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_create’
../../srcw/gcc/gthr-posix.h:78: error: ‘pthread_cancel’ undeclared here (not in 
a function)
../../srcw/gcc/gthr-posix.h:78: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_cancel’
../../srcw/gcc/gthr-posix.h:80: error: ‘pthread_mutex_lock’ undeclared here
(not
 in a function)
../../srcw/gcc/gthr-posix.h:80: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutex_lock’
../../srcw/gcc/gthr-posix.h:81: error: ‘pthread_mutex_trylock’ undeclared here
(
not in a function)
../../srcw/gcc/gthr-posix.h:81: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutex_trylock’
../../srcw/gcc/gthr-posix.h:82: error: ‘pthread_mutex_unlock’ undeclared here
(n
ot in a function)
../../srcw/gcc/gthr-posix.h:82: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutex_unlock’
../../srcw/gcc/gthr-posix.h:83: error: ‘pthread_mutexattr_init’ undeclared here 
(not in a function)
../../srcw/gcc/gthr-posix.h:83: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutexattr_init’
../../srcw/gcc/gthr-posix.h:84: error: ‘pthread_mutexattr_settype’ undeclared
he
re (not in a function)
../../srcw/gcc/gthr-posix.h:84: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutexattr_settype’
../../srcw/gcc/gthr-posix.h:85: error: ‘pthread_mutexattr_destroy’ undeclared
he
re (not in a function)
../../srcw/gcc/gthr-posix.h:85: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutexattr_destroy’
../../srcw/gcc/gthr-posix.h:87: error: ‘pthread_mutex_init’ undeclared here
(not
 in a function)
../../srcw/gcc/gthr-posix.h:87: warning: type defaults to ‘int’ in declaration
o
f ‘__gthrw_pthread_mutex_init’
../../srcw/gcc/gthr-posix.h:485: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:494: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:500: error: expected ‘)’ before ‘key’
../../srcw/gcc/gthr-posix.h:506: error: expected ‘)’ before ‘key’
../../srcw/gcc/gthr-posix.h:512: error: expected ‘)’ before ‘key’
../../srcw/gcc/gthr-posix.h:518: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:527: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:536: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:546: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:567: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:573: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/gthr-posix.h:579: error: expected ‘)’ before ‘*’ token
../../srcw/gcc/unwind-dw2.c: In function ‘uw_init_context_1’:
../../srcw/gcc/unwind-dw2.c:1259: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__att
ribute__’ before ‘once_regsizes’
../../srcw/gcc/unwind-dw2.c:1259: error: ‘once_regsizes’ undeclared (first use
i
n this function)
../../srcw/gcc/unwind-dw2.c:1259: error: (Each undeclared identifier is
reported
 only once
../../srcw/gcc/unwind-dw2.c:1259: error: for each function it appears in.)
../../srcw/gcc/unwind-dw2.c:1259: error: ‘PTHREAD_ONCE_INIT’ undeclared (first
u
se in this function)
../../srcw/gcc/unwind-dw2.c:1260: warning: implicit declaration of function
‘__g
thread_once’
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/mnt/scratch/nightly/2005-12-13/x86-64/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/mnt/scratch/nightly/2005-12-13/x86-64/gcc'
make: *** [all-gcc] Error 2

could someone send me their x86-64 unwind-dw2.i along with the cc1 flags to
trigger the bug?


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2005-12-13 22:00 ` amylaar at gcc dot gnu dot org
@ 2005-12-13 22:12 ` hjl at lucon dot org
  2005-12-13 22:39 ` joern dot rennecke at st dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-12-13 22:12 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]



------- Comment #6 from hjl at lucon dot org  2005-12-13 22:12 -------
Created an attachment (id=10477)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10477&action=view)
A testcase

I got

gnu-13:pts/7[26]> ./xgcc -B./ unwind-dw2.i -S -fPIC -O2
/export/gnu/src/gcc-blended/gcc/gcc/unwind-dw2.c: In function
‘execute_stack_op’:
/export/gnu/src/gcc-blended/gcc/gcc/unwind-dw2.c:740: internal compiler error:
in rtx_equiv_p, at struct-equiv.c:372
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2005-12-13 22:12 ` hjl at lucon dot org
@ 2005-12-13 22:39 ` joern dot rennecke at st dot com
  2005-12-13 22:51 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: joern dot rennecke at st dot com @ 2005-12-13 22:39 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]



------- Comment #7 from joern dot rennecke at st dot com  2005-12-13 22:39 -------
Subject: Re:  Bootstrap failed

pinskia at gcc dot gnu dot org wrote:

>------- Comment #4 from pinskia at gcc dot gnu dot org  2005-12-13 21:40 -------
>I get a different error with 108482:
>./xgcc -B./ -B/home/pinskia/checkin/x86_64-unknown-linux-gnu/bin/ -isystem
>/home/pinskia/checkin/x86_64-unknown-linux-gnu/include -isystem
>/home/pinskia/checkin/x86_64-unknown-linux-gnu/sys-include
>-L/home/pinskia/src/checkin/trunk/objdir/gcc/../ld -O2  -O2 -g -O2  -DIN_GCC   
>-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
>-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
>-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
>-I/home/pinskia/src/checkin/trunk/gcc -I/home/pinskia/src/checkin/trunk/gcc/.
>-I/home/pinskia/src/checkin/trunk/gcc/../include
>-I/home/pinskia/src/checkin/trunk/gcc/../libcpp/include 
>-I/home/pinskia/src/checkin/trunk/gcc/../libdecnumber -m32 -DL_muldc3
>-fvisibility=hidden -DHIDE_EXPORTS -c
>/home/pinskia/src/checkin/trunk/gcc/libgcc2.c -o libgcc/32/_muldc3.o
>/home/pinskia/src/checkin/trunk/gcc/libgcc2.c: In function ‘__muldc3’:
>/home/pinskia/src/checkin/trunk/gcc/libgcc2.c:1794: internal compiler error: in
>struct_equiv_block_eq, at struct-equiv.c:1097
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>  
>
Could you please send me the preprocessed source for this?


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2005-12-13 22:39 ` joern dot rennecke at st dot com
@ 2005-12-13 22:51 ` pinskia at gcc dot gnu dot org
  2005-12-13 23:03 ` joern dot rennecke at st dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-13 22:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2005-12-13 22:51 -------
(In reply to comment #7)
> Could you please send me the preprocessed source for this?
/* Compile with -O2 -m32 -fPIC */
typedef float DFtype __attribute__ ((mode (DF)));
typedef _Complex float DCtype __attribute__ ((mode (DC)));
DCtype
__muldc3 (DFtype a, DFtype b, DFtype c, DFtype d)
{
  DFtype ac, bd, ad, bc, x, y;
  bd = b * d;
  __asm__ ("" : "=m"(ad) : "m"(ad));
  __asm__ ("" : "=m"(bc) : "m"(bc));
  x = ac - bd;
  y = ad + bc;
  if (__builtin_expect ((x) != (x), 0) && __builtin_expect ((y) != (y), 0))
    {
      _Bool recalc = 0;
      if (__builtin_expect (!__builtin_expect ((a) != (a), 0) &
!__builtin_expect (!__builtin_expect (((a) - (a)) != ((a) - (a)), 0), 1), 0) ||
__builtin_expect (!__builtin_expect ((b) != (b), 0) & !__builtin_expect
(!__builtin_expect (((b) - (b)) != ((b) - (b)), 0), 1), 0))
 {
   a = __builtin_copysign (__builtin_expect (!__builtin_expect ((a) != (a), 0)
& !__builtin_expect (!__builtin_expect (((a) - (a)) != ((a) - (a)), 0), 1), 0)
? 1 : 0, a);
   b = __builtin_copysign (__builtin_expect (!__builtin_expect ((b) != (b), 0)
& !__builtin_expect (!__builtin_expect (((b) - (b)) != ((b) - (b)), 0), 1), 0)
? 1 : 0, b);
   if (__builtin_expect ((d) != (d), 0)) d = __builtin_copysign (0, d);
          recalc = 1;
 }
     if (__builtin_expect (!__builtin_expect ((c) != (c), 0) &
!__builtin_expect (!__builtin_expect (((c) - (c)) != ((c) - (c)), 0), 1), 0) ||
__builtin_expect (!__builtin_expect ((d) != (d), 0) & !__builtin_expect
(!__builtin_expect (((d) - (d)) != ((d) - (d)), 0), 1), 0))
 {
   c = __builtin_copysign (__builtin_expect (!__builtin_expect ((c) != (c), 0)
& !__builtin_expect (!__builtin_expect (((c) - (c)) != ((c) - (c)), 0), 1), 0)
? 1 : 0, c);
 }
     if (!recalc
   && (__builtin_expect (!__builtin_expect ((ac) != (ac), 0) &
!__builtin_expect (!__builtin_expect (((ac) - (ac)) != ((ac) - (ac)), 0), 1),
0) || __builtin_expect (!__builtin_expect ((bd) != (bd), 0) & !__builtin_expect
(!__builtin_expect (((bd) - (bd)) != ((bd) - (bd)), 0), 1), 0)
       || __builtin_expect (!__builtin_expect ((ad) != (ad), 0) &
!__builtin_expect (!__builtin_expect (((ad) - (ad)) != ((ad) - (ad)), 0), 1),
0) || __builtin_expect (!__builtin_expect ((bc) != (bc), 0) & !__builtin_expect
(!__builtin_expect (((bc) - (bc)) != ((bc) - (bc)), 0), 1), 0)))
 {
   recalc = 1;
 }
      if (recalc)
 {
   x = __builtin_inf () * (a * c - b * d);
 }
    }
  return x + 1i * y;
}


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (7 preceding siblings ...)
  2005-12-13 22:51 ` pinskia at gcc dot gnu dot org
@ 2005-12-13 23:03 ` joern dot rennecke at st dot com
  2005-12-13 23:06 ` [Bug bootstrap/25397] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: joern dot rennecke at st dot com @ 2005-12-13 23:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from joern dot rennecke at st dot com  2005-12-13 23:03 -------
Subject: RFA: fix bootstrap/25397 part 2 (Was: Re:  Bootstrap failed)

pinskia at gcc dot gnu dot org wrote:

>  
>
>/* Compile with -O2 -m32 -fPIC */
>  
>
 ...

Thanks.  I have attached a patch.
2005-12-13  J"orn Rennecke <joern.rennecke@st.com>

        * struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing
        of STACK_REGS bits.

Index: struct-equiv.c
===================================================================
/usr/bin/diff -p -d -F^( -u -L struct-equiv.c   (revision 108480) -L
struct-equiv.c     (working copy) .svn/text-base/struct-equiv.c.svn-base
struct-equiv.c
--- struct-equiv.c      (revision 108480)
+++ struct-equiv.c      (working copy)
@@ -1001,7 +1004,7 @@ struct_equiv_init (int mode, struct equi
         these regs are not necessarily all dead - we swap random bogosity
         against constant bogosity.  However, clearing these bits at
         least makes the regsets comparable.  */
-      for (rn = FIRST_STACK_REG; rn < LAST_STACK_REG; rn++)
+      for (rn = FIRST_STACK_REG; rn <= LAST_STACK_REG; rn++)
        {
          CLEAR_REGNO_REG_SET (info->x_block->il.rtl->global_live_at_end, rn);
          CLEAR_REGNO_REG_SET (info->y_block->il.rtl->global_live_at_end, rn);


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] [4.2 Regression] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (8 preceding siblings ...)
  2005-12-13 23:03 ` joern dot rennecke at st dot com
@ 2005-12-13 23:06 ` pinskia at gcc dot gnu dot org
  2005-12-14  1:25 ` ian at airs dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-13 23:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |build, ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-13 23:06:51
               date|                            |
            Summary|Bootstrap failed            |[4.2 Regression] Bootstrap
                   |                            |failed
   Target Milestone|---                         |4.2.0


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] [4.2 Regression] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (9 preceding siblings ...)
  2005-12-13 23:06 ` [Bug bootstrap/25397] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2005-12-14  1:25 ` ian at airs dot com
  2005-12-14 13:41 ` amylaar at gcc dot gnu dot org
  2005-12-14 19:54 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: ian at airs dot com @ 2005-12-14  1:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ian at airs dot com  2005-12-14 01:25 -------
Subject: Re: RFA: fix bootstrap/25397 part 2 (Was: Re:  Bootstrap failed)

Joern RENNECKE <joern.rennecke@st.com> writes:

> pinskia at gcc dot gnu dot org wrote:
> 
> >  /* Compile with -O2 -m32 -fPIC */
> >
>  ...
> 
> Thanks.  I have attached a patch.
> 2005-12-13  J"orn Rennecke <joern.rennecke@st.com>
> 
> 	* struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing
> 	of STACK_REGS bits.

I think this counts as obvious.

Ian


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] [4.2 Regression] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (10 preceding siblings ...)
  2005-12-14  1:25 ` ian at airs dot com
@ 2005-12-14 13:41 ` amylaar at gcc dot gnu dot org
  2005-12-14 19:54 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-12-14 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from amylaar at gcc dot gnu dot org  2005-12-14 13:41 -------
Subject: Bug 25397

Author: amylaar
Date: Wed Dec 14 13:41:22 2005
New Revision: 108508

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108508
Log:
2005-12-14  J"orn Rennecke <joern.rennecke@st.com>

        PR bootstrap/25397:

        * struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing
        of STACK_REGS bits.

        * struct-euiv.c (rtx_equiv_p): Remove SUBREG case.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/struct-equiv.c


-- 


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/25397] [4.2 Regression] Bootstrap failed
  2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
                   ` (11 preceding siblings ...)
  2005-12-14 13:41 ` amylaar at gcc dot gnu dot org
@ 2005-12-14 19:54 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2005-12-14 19:54 -------
I get passed these two places so closing as fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-12-14 19:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 20:28 [Bug target/25397] New: Bootstrap failed hjl at lucon dot org
2005-12-13 21:03 ` [Bug bootstrap/25397] " hjl at lucon dot org
2005-12-13 21:21 ` amylaar at gcc dot gnu dot org
2005-12-13 21:33 ` hjl at lucon dot org
2005-12-13 21:40 ` pinskia at gcc dot gnu dot org
2005-12-13 22:00 ` amylaar at gcc dot gnu dot org
2005-12-13 22:12 ` hjl at lucon dot org
2005-12-13 22:39 ` joern dot rennecke at st dot com
2005-12-13 22:51 ` pinskia at gcc dot gnu dot org
2005-12-13 23:03 ` joern dot rennecke at st dot com
2005-12-13 23:06 ` [Bug bootstrap/25397] [4.2 Regression] " pinskia at gcc dot gnu dot org
2005-12-14  1:25 ` ian at airs dot com
2005-12-14 13:41 ` amylaar at gcc dot gnu dot org
2005-12-14 19:54 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).