Stan Shebs
e6834654ca
c-typeck.c (digest_init): Handle vectors.
...
* c-typeck.c (digest_init): Handle vectors.
(really_start_incremental_init): Same.
(pop_init_level): Same.
(process_init_element): Same.
* varasm.c (output_constant): Same.
* expr.c (clear_storage): Same.
(store_constructor): Same.
* gcc.dg/altivec-3.c: New.
From-SVN: r49715
2002-02-12 22:26:12 +00:00
Eric Christopher
d9b3eb63b2
explow.c (hard_function_value): Add comment explaining signed/unsigned comparison.
...
2002-02-12 Eric Christopher <echristo@redhat.com>
* explow.c (hard_function_value): Add comment explaining
signed/unsigned comparison.
From-SVN: r49714
2002-02-12 21:55:29 +00:00
Jakub Jelinek
56d4428505
jump.c (never_reached_warning): Add finish argument.
...
* jump.c (never_reached_warning): Add finish argument.
If finish is NULL, stop on CODE_LABEL, otherwise stop before first
real insn after end.
* rtl.h (never_reached_warning): Adjust prototype.
* cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
* cfgrtl.c (flow_delete_block): Pass b->end as finish to
never_reached_warning.
* gcc.dg/Wunreachable-1.c: New test.
* gcc.dg/Wunreachable-2.c: New test.
From-SVN: r49713
2002-02-12 22:39:42 +01:00
Joseph Myers
34e68c86fb
* gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.
...
From-SVN: r49712
2002-02-12 21:33:12 +00:00
Graham Stott
fc209487c0
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
...
From-SVN: r49711
2002-02-12 20:59:07 +00:00
Richard Henderson
adb60117d7
configure.in: Re-apply 2001-06-26 configure change.
...
* configure.in: Re-apply 2001-06-26 configure change.
* configure: Rebuild.
From-SVN: r49709
2002-02-12 10:40:38 -08:00
Kazu Hirata
1e41e86681
h8300.c (shift_alg_hi): Improve the 15-bit logical shifts on H8/300.
...
* config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
logical shifts on H8/300.
(shift_alg_si): Improve several shifts on H8/300.
(get_shift_alg): Likewise.
From-SVN: r49708
2002-02-12 15:31:54 +00:00
Graham Stott
a36a47ad85
* config/pa/pa.c (compute_movstrsi_length): Fix typos.
...
From-SVN: r49707
2002-02-12 08:21:04 -07:00
Richard Kenner
0aacc8ed7b
alias.c (find_base_value, [...]): Handle #ifdef POINTERS_EXTEND_UNSIGNED.
...
* alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
Handle #ifdef POINTERS_EXTEND_UNSIGNED.
From-SVN: r49706
2002-02-12 10:18:42 -05:00
Benjamin Kosnik
aa3aae06f9
decl-1.c: Add do-compile tag.
...
2002-02-12 Benjamin Kosnik <bkoz@redhat.com>
Neil Booth <neil.booth@bnpparibas.com>
* gcc.dg/decl-1.c: Add do-compile tag.
From-SVN: r49705
2002-02-12 09:02:04 +00:00
GCC Administrator
e77acf81cc
Daily bump.
...
From-SVN: r49704
2002-02-12 08:17:01 +00:00
Neil Booth
3bb91036a0
* gcc.dg/decl-1.c: New test.
...
From-SVN: r49702
2002-02-12 07:36:38 +00:00
Adam Megacz
26e9664c30
Win32Process.java: Filled in a placeholder implementation so Win32 will build.
...
2002-02-12 Adam Megacz <adam@xwt.org>
* java/lang/Win32Process.java: Filled in a placeholder
implementation so Win32 will build.
From-SVN: r49701
2002-02-12 06:10:45 +00:00
Adam Megacz
8a434a3691
natFilePosix.cc: Copied this from natFile.cc.
...
2002-02-12 Adam Megacz <adam@xwt.org>
* java/io/natFilePosix.cc: Copied this from natFile.cc.
* java/io/natFile.cc: Removed from repository.
* configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
From-SVN: r49700
2002-02-12 05:52:33 +00:00
Bryce McKinlay
c0e4074ddd
* sparc_mach_dep.S: Delete incorrectly named file.
...
From-SVN: r49699
2002-02-12 04:43:53 +00:00
Bryce McKinlay
79f777fd1e
Imported GC 6.1 Alpha 3. Finally.
...
From-SVN: r49698
2002-02-12 04:37:57 +00:00
Benjamin Kosnik
005326029f
stl_algo (__stl_threshold): Declare external.
...
2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_algo (__stl_threshold): Declare external.
(__stl_chunk_size): Same.
* include/bits/stl_bvector.h (__WORD_BIT): Same.
* include/bits/stl_tree.h (_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* src/stl-inst.cc (__stl_threshold): Define.
(__stl_chunk_size): Same.
(__WORD_BIT): Same.
(_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* config/io/basic_file_libio.h (__basic_file): Add declarations.
* include/bits/basic_file.h: Remove.
* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
Declare generic types, specialization.
* config/io/basic_file_stdio.cc: Definitions.
* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
Declare generic types.
* include/Makefile.am (bits_headers): Remove basic_file.h.
(extra_target_headers): Change basic_file_model.h to basic_file.h.
(stamp-target): Same.
* include/bits/stl_alloc.h: Tweaks.
* include/bits/localefwd.h: Same.
From-SVN: r49697
2002-02-12 04:35:58 +00:00
Adam Megacz
1febeb40bf
win32.cc: Added two #includes to make win32.cc compile.
...
2002-02-12 Adam Megacz <adam@xwt.org>
* win32.cc: Added two #includes to make win32.cc compile.
From-SVN: r49696
2002-02-12 04:35:32 +00:00
Bryce McKinlay
88c38cc1b0
boehm.cc (initialized, [...]): Removed unused declarations.
...
* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
declarations.
(_Jv_InitGC): Don't bother locking, as this is always called from a
single-thread. Turn off GC_all_interior_pointers. Remove dead code.
From-SVN: r49695
2002-02-12 04:14:52 +00:00
David Billinghurst
036d01d034
c99-flex-array-2.c: Add -std=iso9899:1999
...
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999
From-SVN: r49694
2002-02-12 04:09:34 +00:00
Adam Megacz
b32d2321aa
win32.h: Added _Jv_platform_gettimeofday.
...
2002-02-11 Adam Megacz <adam@xwt.org>
* include/win32.h: Added _Jv_platform_gettimeofday.
* win32.cc (_Jv_platform_gettimeofday): Added dummy function.
From-SVN: r49693
2002-02-12 02:25:07 +00:00
Adam Megacz
30529b03fd
natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate.
...
2002-02-11 Adam Megacz <adam@xwt.org>
* java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
Added #undef STRICT to make windows.h and
java/lang/reflect/Modifier.h cooperate.
From-SVN: r49692
2002-02-12 02:17:21 +00:00
Adam Megacz
27fa520dc7
natFileWin32.cc: Created a placeholder class with lots of FIXMEs.
...
2002-02-11 Adam Megacz <adam@xwt.org>
* java/io/natFileWin32.cc: Created a placeholder class with lots
of FIXMEs.
From-SVN: r49691
2002-02-12 01:54:18 +00:00
David Billinghurst
5667c33d01
class.c (build_utf8_ref): Move declaration of decl_size
...
2002-02-12 David Billinghurst <Davod.Billinghurst@riotinto.com>
* class.c(build_utf8_ref): Move declaration of decl_size
From-SVN: r49688
2002-02-11 22:53:09 +00:00
Hans-Peter Nilsson
a02ac96696
mmix.c (mmix_assemble_integer): Handle non-CONST_INT through default_assemble_integer.
...
* config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
non-CONST_INT through default_assemble_integer.
<case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
<case 8>: Abort for CONST_DOUBLE.
From-SVN: r49687
2002-02-11 22:38:30 +00:00
Adam Megacz
97cf8285dc
Makefile.in: Removed libstdc++-v3 dependancy for libjava and boehm-gc
...
2002-02-11 Adam Megacz <adam@xwt.org>
* gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava
and boehm-gc
From-SVN: r49686
2002-02-11 22:32:11 +00:00
Adam Megacz
1e41e84370
exception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().
...
2002-02-11 Adam Megacz <adam@xwt.org>
* exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
std::abort() to simply abort(). Also added "fake" std::abort() so
we can #include unwind-pe.h without having to link against
libstdc++-v3.
From-SVN: r49685
2002-02-11 22:28:58 +00:00
John David Anglin
d6e06ddc10
gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" is specified.
...
* gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
is specified.
* config/pa/pa-linux.h (LIB_SPEC): Delete.
* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
From-SVN: r49684
2002-02-11 22:14:25 +00:00
Zack Weinberg
cabb228b12
* gcc.pot: Regenerate.
...
From-SVN: r49683
2002-02-11 19:49:47 +00:00
Aaron W. LaFramboise
4e2f8bcf6f
locale_facets.tcc (collate::do_hash): Fix.
...
2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
* include/bits/locale_facets.tcc (collate::do_hash): Fix.
* testsuite/22_locale/collate_members_char.cc (test03): New test.
* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
From-SVN: r49682
2002-02-11 18:56:24 +00:00
Adam Megacz
df61a3d22a
configure.in: support for win32, saner cross-compile options
...
2002-02-11 Adam Megacz <adam@xwt.org>
* gcc/boehm-gc/configure.in: support for win32, saner
cross-compile options
From-SVN: r49681
2002-02-11 18:31:10 +00:00
Franz Sirl
b150efee39
re PR libobjc/4039 (installation location of libobjc is wrong)
...
2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR libobjc/4039
* aclocal.m4: Replace with version copied from libstdc++-v3.
* configure.in: Update for changes to aclocal and Makefile.
* configure: Regenerate.
* Makefile.in: Correct install of multilibs and shared libs, use
INSTALL_DATA for include files.
From-SVN: r49680
2002-02-11 18:10:05 +00:00
Andrew Haley
515342a8f0
stormy16.md (zero_extendqihi2): New.
...
2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.md (zero_extendqihi2): New.
From-SVN: r49679
2002-02-11 17:04:31 +00:00
Jason Merrill
e6b9638bff
parse.y (reserved_declspecs): Don't handle attributes.
...
* parse.y (reserved_declspecs): Don't handle attributes.
(reserved_typespecquals): Handle them here.
* Make-lang.in (parse.c): Adjust expected conflicts.
From-SVN: r49678
2002-02-11 10:52:20 -05:00
Jason Merrill
d6b2c47474
mention NRVO
...
From-SVN: r49677
2002-02-11 10:24:37 -05:00
Alexandre Oliva
66df7a985f
regrename.c (regrename_optimize): Don't accept a part-clobbered register if the replaced register is not part...
...
* regrename.c (regrename_optimize): Don't accept a
part-clobbered register if the replaced register is not part
clobbered.
From-SVN: r49676
2002-02-11 13:35:14 +00:00
Alexandre Oliva
841404cd71
calls.c (store_one_arg): In the non-BLKmode non-partial case...
...
* calls.c (store_one_arg): In the non-BLKmode non-partial case,
take padding into account when computing the argument value.
From-SVN: r49675
2002-02-11 13:33:07 +00:00
Alexandre Oliva
1d1ade42a5
* config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
...
From-SVN: r49674
2002-02-11 08:37:07 +00:00
GCC Administrator
4210cb5b17
Daily bump.
...
From-SVN: r49672
2002-02-11 08:16:16 +00:00
Aldy Hernandez
100c45611f
rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
...
2002-02-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (altivec_init_builtins): Handle
__builtin_altivec_abs*.
(bdesc_abs): New.
* config/rs6000/rs6000.h (rs6000_builtins): Add
ALTIVEC_BUILTIN_ABS*.
* config/rs6000/altivec.h: Use const char for builtins expecting
literals.
(vec_abs): New versions for C and C++.
(vec_abss): Same.
From-SVN: r49671
2002-02-11 06:15:37 +00:00
Alexandre Oliva
cddd8b72ad
combine.c (try_combine): Apply substitutions in CALL_INSN_FUNCTION_USAGE too.
...
* combine.c (try_combine): Apply substitutions in
CALL_INSN_FUNCTION_USAGE too.
From-SVN: r49670
2002-02-11 06:07:03 +00:00
Aldy Hernandez
5c665b884d
rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
...
2002-02-06 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (altivec_init_builtins): Handle
__builtin_altivec_abs*.
(bdesc_abs): New.
* config/rs6000/rs6000.h (rs6000_builtins): Add
ALTIVEC_BUILTIN_ABS*.
* config/rs6000/altivec.h: Use const char for builtins expecting
literals.
(vec_abs): New versions for C and C++.
(vec_abss): Same.
From-SVN: r49669
2002-02-11 06:05:05 +00:00
Kazu Hirata
3494f1b40f
h8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode.
...
* config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
using Pmode.
From-SVN: r49668
2002-02-11 04:35:57 +00:00
Kazu Hirata
72431aef26
h8300.h (STACK_POINTER_REGNUM): Use the constant definition from h8300.md.
...
* config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
constant definition from h8300.md.
(FRAME_POINTER_REGNUM): Likewise.
* config/h8300/h8300.md (define_constants): Add FP_REG.
From-SVN: r49667
2002-02-11 04:31:33 +00:00
Kazu Hirata
87e4ee9193
* config/h8300/h8300.c (print_operand): Remove redundant code.
...
From-SVN: r49666
2002-02-11 04:26:58 +00:00
Kazu Hirata
9c188705dc
h8300-protos.h: Remove the prototype for byte_reg.
...
* config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
* config/h8300/h8300.c (byte_reg): Make it static.
From-SVN: r49665
2002-02-11 04:21:53 +00:00
Richard Henderson
2613bd56ac
New.
...
From-SVN: r49664
2002-02-10 18:37:37 -08:00
Richard Henderson
fba78abb53
re PR c/5623 (GCC 3.0.3 crashes when assigning pointer to an array of undefined size which is member of a struct)
...
PR c/5623
* c-typeck.c (incomplete_type_error): Handle flexible array members.
From-SVN: r49663
2002-02-10 18:28:00 -08:00
Richard Henderson
65739e62e4
re PR c++/5624 (Strange bug with preprocessed file containing structs)
...
PR c++/5624
* tree.c (append_random_chars): Don't abort if main_input_filename
does not exist.
From-SVN: r49662
2002-02-10 18:12:41 -08:00
Hans-Peter Nilsson
247cb9df4b
* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
...
From-SVN: r49661
2002-02-11 00:33:08 +00:00