Aldy Hernandez
448cad060a
flow.c (find_regno_partial): Indent properly.
...
2001-12-11 Aldy Hernandez <aldyh@redhat.com>
* flow.c (find_regno_partial): Indent properly. Add a default to
switch.
From-SVN: r47892
2001-12-11 20:17:55 +00:00
Nathan Sidwell
270d8c65bd
re PR c++/51 (g++ reports error for ISO C++ example)
...
cp:
PR g++/51
* parse.y (frob_specs): Indicate it is a language linkage which
contained the extern.
* decl.c (grokdeclarator): Allow extern language linkage with
other specifiers.
testsuite:
* g++.dg/other/linkage1.C: New test.
* g++.old-deja/g++.brendan/err-msg2.C: Alter to avoid two
specifiers.
From-SVN: r47891
2001-12-11 20:11:34 +00:00
Neil Booth
9aa8a1df05
c-common.c (combine_strings): Complain if concatenating __FUNCTION__.
...
* c-common.c (combine_strings): Complain if concatenating
__FUNCTION__.
* c-parse.in (yylexname): Flag artificial strings.
* tree.h (TREE_ARTIFICIAL_STRING_P): New.
doc:
* extend.texi: Update.
testsuite:
* gcc.dg/concat.c: New test.
From-SVN: r47890
2001-12-11 19:42:34 +00:00
Aldy Hernandez
0afeef64be
c-common.c (type_for_mode): Handle unsigned vectors.
...
2001-12-10 Aldy Hernandez <aldyh@redhat.com>
* c-common.c (type_for_mode): Handle unsigned vectors.
(type_for_mode): Remove redundant calls to TYPE_MODE.
* tree.c (make_vector): New.
(build_common_tree_nodes_2): Use make_vector for vector types.
Add unsigned vector types.
* tree.h (tree_index): Add unsigned types for vectors.
(unsigned_V16QI_type_node): New.
(unsigned_V4SI_type_node): New.
(unsigned_V8QI_type_node): New.
(unsigned_V8HI_type_node): New.
(unsigned_V4HI_type_node): New.
(unsigned_V2SI_type_node): New.
From-SVN: r47889
2001-12-11 19:33:39 +00:00
Phil Edwards
3c612a619d
allocators.cc: New file.
...
2001-12-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/ext/allocators.cc: New file.
From-SVN: r47888
2001-12-11 19:04:58 +00:00
David Edelsohn
d8634d8116
Correct innacurate documentation of ADJUST_FIELD_ALIGN.
...
From-SVN: r47887
2001-12-11 13:53:53 -05:00
Stan Shebs
4c59403143
objc-act.c (finish_message_expr): Fix misplaced parens in a test of class names.
...
* objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
test of class names.
* objc/compile: New test directory.
* objc/compile/compile.exp: New expect script.
* objc/compile/20011211-1.m: New compile test.
From-SVN: r47886
2001-12-11 18:24:17 +00:00
David O'Brien
9117131576
config.gcc (m68020-*-elf*): Expand tm_file to include all needed cpu configuration headers.
...
2001-12-11 David O'Brien <obrien@FreeBSD.org>
* config.gcc (m68020-*-elf*): Expand tm_file to include all needed
cpu configuration headers.
* config/h8300/elf.h: Include dbxelf.h.
* config/m68k/linux.h: Likewise.
* config/m68k/m68020-elf.h: Likewise.
* config/m68k/m68kv4.h: Likewise.
* config/sh/elf.h: Likewise.
* config/m68k/m68kemb.h: Add comment about the its purpose.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <20011210155120.A23862@redhat.com>
From-SVN: r47885
2001-12-11 18:21:04 +00:00
Richard Henderson
ff1c8a1a18
objc-act.c (build_constructor): Cast initializer values to the proper field types.
...
* objc/objc-act.c (build_constructor): Cast initializer values
to the proper field types.
From-SVN: r47884
2001-12-11 10:07:01 -08:00
Tom Tromey
50cc5dd29b
String.java (String): New constructor.
...
* java/lang/String.java (String): New constructor.
* gnu/gcj/runtime/natStringBuffer.cc: New file.
* gnu/gcj/runtime/StringBuffer.java: New file.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
gnu/gcj/runtime/StringBuffer.java.
(nat_source_files): Added gnu/gcj/runtime/natStringBuffer.cc.
From-SVN: r47883
2001-12-11 18:01:40 +00:00
Tom Tromey
34026199b3
lex.c (java_init_lex): Define wfl_to_string as gnu.gcj.runtime.StringBuffer unless generating bytecode.
...
* lex.c (java_init_lex): Define wfl_to_string as
gnu.gcj.runtime.StringBuffer unless generating bytecode.
From-SVN: r47882
2001-12-11 17:59:02 +00:00
Jakub Jelinek
f0451e26f9
* unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
...
From-SVN: r47881
2001-12-11 18:27:14 +01:00
Jeff Sturm
a3bcfa679b
class.c (make_method_value): Use null_pointer_node to represent empty exception table.
...
* class.c (make_method_value): Use null_pointer_node to
represent empty exception table.
From-SVN: r47880
2001-12-11 17:15:22 +00:00
Jason Merrill
6fe4816fdb
locale_facets.tcc (_M_extract_int): Avoid uninitialized warning.
...
* include/bits/locale_facets.tcc (_M_extract_int): Avoid
uninitialized warning.
From-SVN: r47877
2001-12-11 10:48:11 -05:00
Roger Sayle
8d51ecf8a0
builtins.c (expand_builtin): Use a switch statement to list those functions not expanded without...
...
* builtins.c (expand_builtin): Use a switch statement to list
those functions not expanded without optimizations, instead of a
series of equality tests.
From-SVN: r47876
2001-12-11 15:51:55 +01:00
Jason Merrill
19cfdd34bc
prune.exp (prune_gcc_output): Also handle "In member function".
...
* lib/prune.exp (prune_gcc_output): Also handle "In member
function". So many permutations...
From-SVN: r47875
2001-12-11 09:18:34 -05:00
Douglas B Rupp
02f7da129b
vms.h (LIB_SPEC): Define.
...
* config/alpha/vms.h (LIB_SPEC): Define.
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
From-SVN: r47874
2001-12-11 08:29:26 -05:00
Douglas B Rupp
0309cd882d
* intl/localealias.c (strings.h): Include.
...
From-SVN: r47873
2001-12-11 08:23:40 -05:00
Douglas B Rupp
32065bf250
* libgcc2.c (_bb): Remove ctime declaration.
...
From-SVN: r47872
2001-12-11 08:18:18 -05:00
Douglas B Rupp
c926f67440
Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner that works if LN_S = cp.
...
* Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
that works if LN_S = cp.
From-SVN: r47871
2001-12-11 08:13:01 -05:00
Douglas B Rupp
1ba35d3e95
* config/alpha/x-vms (version): Change "." to "_".
...
From-SVN: r47870
2001-12-11 08:06:16 -05:00
Douglas B Rupp
ee262b6f6a
configure.in: Hardcode that vfork works on VMS host.
...
* gcc/configure.in: Hardcode that vfork works on VMS host.
* gcc/configure: Regenerated.
* libiberty/configure.in: Hardcode that vfork works on VMS host.
* libiberty/configure: Regenerated.
From-SVN: r47869
2001-12-11 07:17:33 -05:00
Loren J. Rittle
813df02279
* config/cpu/sparc/sparc32/bits/atomicity.h
...
(__Atomicity_lock<0>::_S_atomicity_lock): Add.
From-SVN: r47867
2001-12-11 09:41:40 +00:00
Matthias Klose
5d08dc39a9
MAINTAINERS (Write After Approval): Add myself.
...
From-SVN: r47866
2001-12-11 08:26:49 +00:00
GCC Administrator
2b5ee71cee
Daily bump.
...
From-SVN: r47865
2001-12-11 08:17:58 +00:00
Tom Tromey
1ca1c91bd9
For PR libgcj/1147:
...
* prims.cc (JvConvertArgv): Convert using current locale's
encoding.
From-SVN: r47862
2001-12-11 04:03:57 +00:00
Tom Tromey
d12a187337
re PR libgcj/5064 (java/lang/natClassLoader.cc doesn't compile on systems without snprintf)
...
Fix for PR libgcj/5064.
* java/lang/natClassLoader.cc: Don't include stdio.h.
(_Jv_RegisterClassHookDefault): Don't use snprintf.
From-SVN: r47861
2001-12-11 03:58:40 +00:00
Tom Tromey
3afdfae81c
* check-init.c (check_init) [SWITCH_EXPR]: Use SWITCH_HAS_DEFAULT.
...
From-SVN: r47860
2001-12-11 03:29:12 +00:00
David Edelsohn
d7a5e25326
* rs6000.c (processor_target_table): Add PPC405.
...
From-SVN: r47858
2001-12-10 18:53:33 -05:00
Douglas B Rupp
a9657ce816
gcc.c (convert_filename): Add do_obj parameter.
...
* gcc.c (convert_filename): Add do_obj parameter. Don't convert
unless do_obj true.
(process_command): Modify calls to convert_filename.
From-SVN: r47857
2001-12-10 18:46:00 -05:00
Rainer Orth
cb375790f5
* config/sparc/sol2-sld-64.h: Include dbxelf.h again.
...
From-SVN: r47856
2001-12-10 23:38:50 +00:00
Jeffrey A Law
805f169411
combine.c (known_cond): Check mode of each operand to determine if COND is comparing floating point values.
...
* combine.c (known_cond): Check mode of each operand to determine
if COND is comparing floating point values.
From-SVN: r47855
2001-12-10 15:52:26 -07:00
Nathan Sidwell
9aaceb4b3e
re PR c++/72 (aggressive type analysis in template-class's template-member-function)
...
cp:
PR g++/72
* decl.c (add_binding): Don't reject duplicate typedefs involving
template parameters.
testsuite:
* g++.dg/template/typedef1.C: New test.
From-SVN: r47854
2001-12-10 22:49:13 +00:00
David Edelsohn
fe7f56777e
rs6000.h (processor_type): Add PPC405.
...
* rs6000.h (processor_type): Add PPC405.
(RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
* rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
rios1, rs64, and ppc630 processors.
From-SVN: r47853
2001-12-10 17:46:15 -05:00
Richard Henderson
864962bd13
alpha.md (unaligned_extendhidi): Call gen_lowpart instead of hardcoding subregs into the _be and _le patterns.
...
* config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
instead of hardcoding subregs into the _be and _le patterns.
From-SVN: r47852
2001-12-10 14:21:03 -08:00
Janis Johnson
c5997381fc
install.texi (Final install): Request additional information in mail about successful builds.
...
* doc/install.texi (Final install): Request additional information
in mail about successful builds.
From-SVN: r47850
2001-12-10 21:35:29 +00:00
Neil Booth
a23c9413df
c-lex.c, [...]: Revert concatenation changes.
...
* c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
cp:
* parse.y, semantics.c: Similarly.
From-SVN: r47848
2001-12-10 20:08:59 +00:00
Paolo Carlini
d01f347422
basic_string.tcc (_M_replace_safe): Fix typos.
...
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
* include/bits/basic_string.h: Fix typos.
From-SVN: r47847
2001-12-10 14:32:28 +00:00
Richard Kenner
6fc5dc671c
i386.md (leave, [...]): Adjust pattern to match what insn does.
...
* config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
what insn does.
From-SVN: r47846
2001-12-10 09:30:11 -05:00
Paolo Carlini
26c4de51c9
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
...
* ChangeLog of the previous commit.
From-SVN: r47845
2001-12-10 13:55:22 +00:00
Paolo Carlini
78bd50313e
basic_string.tcc (_M_replace_safe): New function.
...
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.tcc (_M_replace_safe): New function.
(_M_replace(input_iterator_tag), append members): Use it.
(_M_replace(forward_iterator_tag)): Remove.
* include/bits/basic_string.h: Adjust declarations.
* src/string-inst.cc: Adjust declarations.
From-SVN: r47844
2001-12-10 13:42:01 +00:00
Douglas B Rupp
96a9c44f09
Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
...
* Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
* intl/Makefile.in (OUTPUT_OPTION): Add configure variable.
(.c.o): Add $(OUTPUT_OPTION).
* java/Make-lang.in (jvspec.o): Add $(OUTPUT_OPTION).
From-SVN: r47843
2001-12-10 07:04:24 -05:00
Joseph Myers
01342a36d3
cpp.texi: Don't condition menus on @ifinfo.
...
* doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
copyright notice formerly conditioned on @ifinfo on @ifnottex
instead.
f:
* g77.texi: Don't condition menus on @ifinfo.
ch:
* chill.texi: Don't condition menus on @ifinfo.
From-SVN: r47842
2001-12-10 11:27:01 +00:00
Richard Kenner
c6bc7526bc
* vmsdbgout.c (lookup_filename): Remove warning.
...
From-SVN: r47841
2001-12-10 06:22:17 -05:00
Douglas B Rupp
ef057c4508
config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
...
* config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
(exeext, target_alias, prefix, local_prefix): Define.
* config/alpha/x-vms (USE_COLLECT2): Make empty.
* config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
file specifications. Remove ".".
(GCC_INCLUDE_DIR): Remove redefinition (redundant).
* fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
From-SVN: r47840
2001-12-10 06:18:34 -05:00
Turly O'Connor
6e12e72ce2
Correct filename to "darwin-tramp.asm" in my last ChangeLog entry.
...
From-SVN: r47839
2001-12-10 10:58:07 +00:00
Nathan Sidwell
bc524dd028
* Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
...
From-SVN: r47838
2001-12-10 09:37:11 +00:00
Benjamin Kosnik
2a74463013
locale_facets.h (__num_base::_S_scale_hex): Add.
...
2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
Philip Martin <pmartin@uklinux.net>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
(__num_base::_S_scale_oct): Add.
* src/locale.cc: Add definitions.
* testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
* testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
Co-Authored-By: Philip Martin <pmartin@uklinux.net>
From-SVN: r47837
2001-12-10 08:41:03 +00:00
GCC Administrator
d4197a152d
Daily bump.
...
From-SVN: r47836
2001-12-10 08:16:45 +00:00
Per Bothner
6cc49add9c
* gnu/gcj/xlib/XImage.java (toString): Add missing initialization.
...
From-SVN: r47834
2001-12-09 23:59:48 -08:00