Changeset 1474 for branches/GNU/src
- Timestamp:
- Sep 7, 2004, 4:34:11 AM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc/INSTALL/specific.html
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1420 1420 64-bit target libraries. 1421 1421 1422 <p>GCC 3.3 triggers code generation bugs in earlier versions of the GNU 1423 compiler (especially GCC 3.0.x versions), which lead to the miscompilation 1424 of the stage1 compiler and the subsequent failure of the bootstrap process. 1425 A workaround is to use GCC 3.2.3 as an intermediary stage, i.e. to bootstrap 1426 that compiler with the base compiler and then use it to bootstrap the final 1427 compiler. 1428 1422 1429 <hr /> 1423 1430 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/expr/anew1.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 // { dg-do run } 1 // { dg-do run { xfail *-*-* } } 2 // XFAILed until PR2123 is fixed 2 3 // PR 11228: array operator new, with zero-initialization and a variable sized array. 3 4 // Regression test for PR … … 5 6 6 7 8 #include <new> 9 #include <stdlib.h> 10 #include <string.h> 11 7 12 int* allocate(int n) 8 13 { 9 return new int[n](); 14 void *p; 15 p = malloc(n * sizeof (int)); 16 memset (p, 0xff, n * sizeof(int)); 17 return new (p) int[n](); 10 18 } 11 19 … … 16 24 for (int i = 0; i < n; ++i) 17 25 if (p[i] != 0) 18 return 1;19 return 0;26 abort (); 27 exit (0); 20 28 } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/expr/anew2.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 // { dg-do run } 1 // { dg-do run { xfail *-*-* } } 2 // XFAILed until PR2123 is fixed 2 3 // PR 11228: array operator new, with zero-initialization and a variable sized array. 3 4 // Regression test for PR … … 5 6 6 7 8 #include <new> 9 #include <stdlib.h> 10 #include <string.h> 11 7 12 double* allocate(int n) 8 13 { 9 return new double[n](); 14 void *p; 15 p = malloc(n * sizeof (double)); 16 memset (p, 0xff, n * sizeof(double)); 17 return new (p) double[n](); 10 18 } 11 19 … … 16 24 for (int i = 0; i < n; ++i) 17 25 if (p[i] != 0.0) 18 return 1;19 return 0;26 abort (); 27 exit (0); 20 28 } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/expr/anew3.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 // { dg-do run } 1 // { dg-do run { xfail *-*-* } } 2 // XFAILed until PR2123 is fixed 2 3 // PR 11228: array operator new, with zero-initialization and a variable sized array. 3 4 // Regression test for PR 4 5 // Author: Matt Austern <austern@apple.com> 6 7 #include <new> 8 #include <stdlib.h> 9 #include <string.h> 5 10 6 11 struct X … … 12 17 X* allocate(int n) 13 18 { 14 return new X[n](); 19 void *p; 20 p = malloc(n * sizeof (X)); 21 memset (p, 0xff, n * sizeof(X)); 22 return new (p) X[n](); 15 23 } 16 24 … … 21 29 for (int i = 0; i < n; ++i) 22 30 if (p[i].a != 0 || p[i].b != 0.0) 23 return 1;24 return 0;31 abort (); 32 exit (0); 25 33 } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/expr/anew4.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 // { dg-do run } 1 // { dg-do run { xfail *-*-* } } 2 // XFAILed until PR2123 is fixed 2 3 // PR 11228: array operator new, with zero-initialization and a variable sized array. 3 4 // Regression test for PR 4 5 // Author: Matt Austern <austern@apple.com> 6 7 #include <new> 8 #include <stdlib.h> 9 #include <string.h> 5 10 6 11 struct B … … 24 29 D* allocate(int n) 25 30 { 26 return new D[n](); 31 void *p; 32 p = malloc(n * sizeof (D)); 33 memset (p, 0xff, n * sizeof(D)); 34 return new (p) D[n](); 27 35 } 28 36 … … 33 41 for (int i = 0; i < n; ++i) 34 42 if (p[i].n != 137 || p[i].x != 0) 35 return 1;36 return 0;43 abort (); 44 exit (0); 37 45 } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/opt/inline4.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 11 11 } 12 12 13 // { dg-final { scan-assembler-not " _Z1g" } }13 // { dg-final { scan-assembler-not "\n_?_Z1gILi\[0-9\]+EEvv\[: \t\n\]" } } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.dg/opt/inline6.C
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 1 // PR c++/13081 2 2 // { dg-options "-O2" } 3 // { dg-final { scan-assembler-not " foo" } }3 // { dg-final { scan-assembler-not "\n_?_Z3fooIlET_S0_\[: \t\n\]" } } 4 4 5 5 template<typename T> T foo(T); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/20001013-1.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 /* ??? It'd be nice to run this for sparc32 as well, if we could know 2 for sure that we're on an ultrasparc, rather than an older cpu. */ 3 /* { dg-do run { target sparcv9-*-* sparc64-*-* } } */ 4 /* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */ 1 /* { dg-do run { target sparc*-*-* } } */ 2 /* { dg-options "-O2 -mcpu=ultrasparc -mvis" } */ 5 3 6 4 int l; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/20001101-1.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 /* ??? It'd be nice to run this for sparc32 as well, if we could know 2 for sure that we're on an ultrasparc, rather than an older cpu. */ 3 /* { dg-do run { target sparcv9-*-* sparc64-*-* } } */ 4 /* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */ 1 /* { dg-do run { target sparc*-*-* } } */ 2 /* { dg-options "-O2 -mcpu=ultrasparc -mvis" } */ 5 3 6 4 int foo(double a, int b, int c, double *d, int h) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/20001102-1.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 /* ??? It'd be nice to run this for sparc32 as well, if we could know 2 for sure that we're on an ultrasparc, rather than an older cpu. */ 3 /* { dg-do run { target sparcv9-*-* sparc64-*-* } } */ 4 /* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */ 1 /* { dg-do run { target sparc*-*-* } } */ 2 /* { dg-options "-O2 -mcpu=ultrasparc -mvis" } */ 5 3 6 4 int foo(double a, int b, int c, double *d, int h) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/sparc-ret.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 4 4 below the stack. */ 5 5 6 /* { dg-do compile { target sparc *-*-* } } */7 /* { dg-options "-mcpu=ultrasparc -O -m32" } */6 /* { dg-do compile { target sparc-*-* } } */ 7 /* { dg-options "-mcpu=ultrasparc -O" } */ 8 8 9 9 … … 15 15 return h; 16 16 } 17 /* { dg-final { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*ld\[ \t\]*\\\[%sp\\+96\\\]"} } */17 /* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*ld\[ \t\]*\\\[%sp\\+96\\\]" } } } */ 18 18 19 19 int bar2 () … … 24 24 return res; 25 25 } 26 /* { dg-final { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*nop" } } */ 27 26 /* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*nop" } } } */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/ultrasp2.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 5 5 /* { dg-do compile } */ 6 6 /* { dg-options "" } */ 7 /* { dg-options "-O0 -m64" { target sparc64-*-* } } */ 8 /* { dg-options "-O0 -m64" { target sparcv9-*-* } } */ 9 /* { dg-options "" { target sparc-*-solaris2.[0-6] } } */ 10 /* { dg-options "" { target sparc-*-solaris2.[0-6].* } } */ 7 /* { dg-options "-O0" { target sparc64-*-* sparcv9-*-* } } */ 11 8 12 9 short foo() { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/ultrasp4.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 2 2 /* { dg-do compile } */ 3 3 /* { dg-options "-O2" } */ 4 /* { dg-options "-O2 -m64 -mcpu=ultrasparc" { target sparc64-*-* } } */ 5 /* { dg-options "-O2 -m64 -mcpu=ultrasparc" { target sparcv9-*-* } } */ 6 /* { dg-options "-O2" { target sparc-*-solaris2.[0-6] } } */ 7 /* { dg-options "-O2" { target sparc-*-solaris2.[0-6].* } } */ 4 /* { dg-options "-O2 -mcpu=ultrasparc" { target sparc64-*-* sparcv9-*-* } } */ 8 5 9 6 long bar (unsigned int); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/gcc.dg/ultrasp8.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 2 2 /* Originator: <dat94ali@ludat.lth.se> */ 3 3 /* { dg-do compile { target sparc*-*-* } } */ 4 /* { dg-options "-O2 -m 64 -mtune=supersparc" { target sparc64-*-* } } */4 /* { dg-options "-O2 -mtune=supersparc" { target sparc64-*-* sparcv9-*-* } } */ 5 5 6 6 struct _reent; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/testsuite/treelang/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/gcc/treelang/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 5 2004-03-02 Gabriel Dos Reis <gdr@integrable-solutions.net> 6 7 PR bootstrap/14348 8 Backport 9 2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk> 10 * obstack.h: Merge the following change from gnulib: 11 2003-10-21 Paul Eggert <eggert@twinsun.com> 12 * obstack.h (obstack_1grow_fast): Properly parenthesize arg. 13 (obstack_ptr_grow_fast, obstack_int_grow_fast): 14 Don't use lvalue casts, as GCC plans to remove support for them 15 in GCC 3.5. Reported by Joseph S. Myers. This bug 16 was also present in the non-GCC version, indicating that this 17 code had always been buggy and had never been widely used. 18 (obstack_1grow, obstack_ptr_grow, obstack_int_grow, 19 obstack_blank): 20 Use the fast variant of each macro, rather than copying the 21 definiens of the fast variant; that way, we'll be more likely to 22 catch future bugs in the fast variants. 23 1 24 2004-02-14 Release Manager 2 25 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/include/obstack.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1473 r1474 347 347 #endif 348 348 349 #define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = achar)349 #define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = (achar)) 350 350 351 351 #define obstack_blank_fast(h,n) ((h)->next_free += (n)) … … 416 416 if (__o->next_free + 1 > __o->chunk_limit) \ 417 417 _obstack_newchunk (__o, 1); \ 418 *(__o->next_free)++ = (datum); \418 obstack_1grow_fast (__o, datum); \ 419 419 (void) 0; }) 420 420 … … 428 428 if (__o->next_free + sizeof (void *) > __o->chunk_limit) \ 429 429 _obstack_newchunk (__o, sizeof (void *)); \ 430 *((void **)__o->next_free)++ = ((void *)datum); \ 431 (void) 0; }) 430 obstack_ptr_grow_fast (__o, datum); }) 432 431 433 432 # define obstack_int_grow(OBSTACK,datum) \ … … 436 435 if (__o->next_free + sizeof (int) > __o->chunk_limit) \ 437 436 _obstack_newchunk (__o, sizeof (int)); \ 438 *((int *)__o->next_free)++ = ((int)datum); \ 437 obstack_int_grow_fast (__o, datum); }) 438 439 # define obstack_ptr_grow_fast(OBSTACK,aptr) \ 440 __extension__ \ 441 ({ struct obstack *__o1 = (OBSTACK); \ 442 *(const void **) __o1->next_free = (aptr); \ 443 __o1->next_free += sizeof (const void *); \ 439 444 (void) 0; }) 440 445 441 # define obstack_ptr_grow_fast(h,aptr) (*((void **) (h)->next_free)++ = (void *)aptr) 442 # define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint) 446 # define obstack_int_grow_fast(OBSTACK,aint) \ 447 __extension__ \ 448 ({ struct obstack *__o1 = (OBSTACK); \ 449 *(int *) __o1->next_free = (aint); \ 450 __o1->next_free += sizeof (int); \ 451 (void) 0; }) 443 452 444 453 # define obstack_blank(OBSTACK,length) \ … … 448 457 if (__o->chunk_limit - __o->next_free < __len) \ 449 458 _obstack_newchunk (__o, __len); \ 450 __o->next_free += __len;\459 obstack_blank_fast (__o, __len); \ 451 460 (void) 0; }) 452 461 … … 536 545 ( (((h)->next_free + 1 > (h)->chunk_limit) \ 537 546 ? (_obstack_newchunk ((h), 1), 0) : 0), \ 538 (*((h)->next_free)++ = (datum)))547 obstack_1grow_fast (h, datum)) 539 548 540 549 # define obstack_ptr_grow(h,datum) \ 541 550 ( (((h)->next_free + sizeof (char *) > (h)->chunk_limit) \ 542 551 ? (_obstack_newchunk ((h), sizeof (char *)), 0) : 0), \ 543 (*((char **) (((h)->next_free+=sizeof(char *))-sizeof(char *))) = ((char *) datum)))552 obstack_ptr_grow_fast (h, datum)) 544 553 545 554 # define obstack_int_grow(h,datum) \ 546 555 ( (((h)->next_free + sizeof (int) > (h)->chunk_limit) \ 547 556 ? (_obstack_newchunk ((h), sizeof (int)), 0) : 0), \ 548 (*((int *) (((h)->next_free+=sizeof(int))-sizeof(int))) = ((int) datum))) 549 550 # define obstack_ptr_grow_fast(h,aptr) (*((char **) (h)->next_free)++ = (char *) aptr) 551 # define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint) 557 obstack_int_grow_fast (h, datum)) 558 559 # define obstack_ptr_grow_fast(h,aptr) \ 560 (((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr)) 561 562 # define obstack_int_grow_fast(h,aint) \ 563 (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr)) 552 564 553 565 # define obstack_blank(h,length) \ … … 555 567 (((h)->chunk_limit - (h)->next_free < (h)->temp) \ 556 568 ? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \ 557 ((h)->next_free +=(h)->temp))569 obstack_blank_fast (h, (h)->temp)) 558 570 559 571 # define obstack_alloc(h,length) \ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libf2c/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libf2c/configure
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1635 1635 linux-gnu*) 1636 1636 case $host_cpu in 1637 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )1637 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) 1638 1638 lt_cv_deplibs_check_method=pass_all ;; 1639 1639 *) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libffi/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libffi/configure
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1277 1277 linux-gnu*) 1278 1278 case $host_cpu in 1279 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )1279 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) 1280 1280 lt_cv_deplibs_check_method=pass_all ;; 1281 1281 *) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libiberty/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 1 5 2004-02-14 Release Manager 2 6 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 1 2004-05-31 Release Manager 2 3 * GCC 3.3.4 Released. 4 5 2004-05-03 Michael Koch <konqueror@gmx.de> 6 7 Fixes PR libgcj/14695: 8 * java/net/NetworkInterface.java 9 (getByName): Return null when no interface was found. 10 1 11 2004-02-14 Release Manager 2 12 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/configure
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.1.1.3
r1473 r1474 2037 2037 linux-gnu*) 2038 2038 case $host_cpu in 2039 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )2039 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* ) 2040 2040 lt_cv_deplibs_check_method=pass_all ;; 2041 2041 *) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.