Kaveh R. Ghazi
e81dd3810b
1750a.h, [...] (BITS_PER_WORD): Delete.
...
* 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
Delete.
* defaults.h (BITS_PER_WORD): Define.
* doc/tm.texi (BITS_PER_WORD): Document default value.
From-SVN: r50257
2002-03-03 15:40:44 +00:00
Kaveh R. Ghazi
9a571cfd9d
1750a.h, [...] (CHAR_TYPE_SIZE): Delete.
...
* 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
From-SVN: r50256
2002-03-03 15:37:32 +00:00
Kaveh R. Ghazi
ca7558fcc6
attribs.c (init_attributes, [...]): Use ARRAY_SIZE in lieu of explicit sizeof/sizeof.
...
* attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
* i386.c (override_options, ix86_init_mmx_sse_builtins,
ix86_expand_builtin): Likewise.
* mips.c (mips_add_gc_roots): Likewise.
* mmix.c (mmix_output_condition): Likewise.
* rs6000.c (rs6000_override_options, altivec_expand_builtin,
altivec_init_builtins): Likewise.
* sparc.c (mark_ultrasparc_pipeline_state): Likewise.
* cppexp.c (Nsuff, parse_number): Likewise.
* cppinit.c (builtin_array_end): Likewise.
* gcc.c (n_default_compilers, process_command): Likewise.
* genpreds.c (output_predicate_decls): Likewise.
* ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
* lcm.c (N_ENTITIES): Likewise.
* stor-layout.c (set_sizetype): Likewise.
ada:
* utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
cp:
* decl.c (cxx_init_decl_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl2.c (cxx_decode_option): Likewise.
* lex.c (init_reswords, REDUCE_LENGTH, TOKEN_LENGTH): Likewise.
java:
* class.c (init_class_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl.c (java_init_decl_processing): Likewise.
* jcf-parse.c (init_jcf_parse): Likewise.
* parse.y (init_src_parse): Likewise.
From-SVN: r50255
2002-03-03 14:07:39 +00:00
Mark Wielaard
de2467532d
* java/util/Timer (TaskQueue.stop): set elements to zero.
...
From-SVN: r50254
2002-03-03 11:02:04 +00:00
Richard Henderson
41c78c8833
toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl for types or labels.
...
* toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
for types or labels.
From-SVN: r50253
2002-03-03 01:11:38 -08:00
Richard Henderson
9e9b71e6b4
* c-decl.c (start_decl): Initialized variables are not common.
...
From-SVN: r50252
2002-03-03 01:09:33 -08:00
Richard Henderson
cc2c33286f
* c-decl.c (start_decl): Initialized variables are not common.
...
From-SVN: r50250
2002-03-03 01:00:51 -08:00
Per Bothner
2a85660dc2
Make --CLASSPATH by a synonym for --classpath and -classpath.
...
Implement --bootclasspath.
From-SVN: r50247
2002-03-03 00:35:11 -08:00
Per Bothner
c26a6db811
gcc.c (option_map): Suport new --bootclasspath option.
...
* gcc.c (option_map): Suport new --bootclasspath option.
--CLASSPATH is now just an alias for --classpath.
From-SVN: r50246
2002-03-03 00:33:59 -08:00
GCC Administrator
1311c5c65f
Daily bump.
...
From-SVN: r50245
2002-03-03 08:17:12 +00:00
Aldy Hernandez
8c4093d85d
20020103-1.c: Add othe -D ppc variants.
...
2002-03-03 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020103-1.c: Add othe -D ppc variants.
From-SVN: r50241
2002-03-03 06:41:07 +00:00
Richard Henderson
9e8aab55f6
i386.h (ix86_expand_prologue): Do not emit pic register load if "internal" visibility.
...
* config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
load if "internal" visibility.
* doc/extend.texi: Document visibility meanings.
From-SVN: r50240
2002-03-02 21:20:04 -08:00
Richard Henderson
b3bbd220ea
i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies to functions as well.
...
* config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
to functions as well.
From-SVN: r50239
2002-03-02 20:57:02 -08:00
Richard Henderson
d924ab70d2
Revert bogus commit.
...
From-SVN: r50238
2002-03-02 20:51:15 -08:00
Richard Henderson
b14707c32c
attribs.c (handle_alias_attribute): Don't call assemble_alias.
...
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
(handle_visibility_attribute): Don't call assemble_visibility.
* toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
without asmspec. Invoke assemble_alias when needed.
* varasm.c (maybe_assemble_visibility): New.
(assemble_start_function, assemble_variable, assemble_alias): Use it.
From-SVN: r50237
2002-03-02 20:50:53 -08:00
Richard Henderson
b20032503b
varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; invoke ENCODE_SECTION_INFO with first call flag.
...
* varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
invoke ENCODE_SECTION_INFO with first call flag.
* config/darwin-protos.h, config/darwin.c, config/darwin.h,
config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/m88k/m88k.h,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
config/sh/sh.h, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
FIRST argument. As needed, examine it and do nothing.
* config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
* config/arm/t-pe (pe.o): Add dependencies.
From-SVN: r50236
2002-03-02 20:23:21 -08:00
Kaveh R. Ghazi
5c60f03d43
a29k.h, [...]: (BITS_PER_UNIT): Delete.
...
* a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
* defaults.h (BITS_PER_UNIT): Define.
* doc/tm.texi (BITS_PER_UNIT): Document default value.
From-SVN: r50235
2002-03-03 02:27:42 +00:00
Paolo Carlini
658499e7b4
num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
...
2002-03-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/num_get_members_char.cc (test04):
Use a named locale expecting grouping (de_DE).
* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
Ditto.
* testsuite/27_io/ios_manip_basefield.cc (test01):
Extend coverage, uniform treatment of hexs and octs.
From-SVN: r50234
2002-03-02 21:32:56 +00:00
Nathan Sidwell
fd87b7a709
re PR c++/775 (2.97 error declaring nested class a friend)
...
cp:
PR c++/775
* decl.c (lookup_tag): Only reject enum/class mismatch, not
class/union mismatch.
* parse.y (check_class_key): New function.
(structsp): Call it.Read from remote host gcc.gnu.org: Connection reset by peer
testsuite:
* g++.dg/other/classkey1.C: New test.
From-SVN: r50230
2002-03-02 19:51:57 +00:00
Alexandre Petit-Bianco
4f647d52ec
Fix for PR java/5758, java/5632:
...
2002-02-28 Alexandre Petit-Bianco <apbianco@redhat.com>
Fix for PR java/5758, java/5632:
* jcf-parse.c (load_class): Renamed local variable, consider `.' an
inner-class separator too.
* parse.y (do_resolve_class): New local `decl_result.'
Progressively build a name for what can have been loaded.
From-SVN: r50228
2002-03-02 09:58:05 -08:00
Kazu Hirata
86855e8c18
h8300-protos.h: Add a prototype for compute_a_shift_length.
...
* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_length.
* config/h8300/h8300.c (h8300_asm_insn_count): New.
(compute_a_shift_length): Likewise.
(h8300_adjust_insn_length): Do not adjust insn length of shift
insns.
* config/h8300/h8300.md (anonymous shift patterns): Use
compute_a_shift_length.
From-SVN: r50227
2002-03-02 17:20:01 +00:00
Richard Kenner
35aa3c1cea
sparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.
...
* config/sparc/sparc.c (sparc_initialize_trampoline): Use
trunc_int_for_mode.
From-SVN: r50226
2002-03-02 08:53:38 -05:00
Richard Kenner
f6041ed87e
* emit-rtl.c (offset_address): Call update_temp_slot_address.
...
From-SVN: r50223
2002-03-02 06:35:36 -05:00
GCC Administrator
fcab624bb8
Daily bump.
...
From-SVN: r50222
2002-03-02 08:17:34 +00:00
Kaveh R. Ghazi
27b41650c1
Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
...
* Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
* doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
* flags.h (flag_zero_initialized_in_bss): Declare.
* toplev.c (flag_zero_initialized_in_bss): New flag.
(lang_independent_options): Add flag_zero_initialized_in_bss.
* tree.c (initializer_zerop): New function.
* tree.h (initializer_zerop): Declare.
* varasm.c (assemble_variable): If we can emit bss, put zero
initializers in the bss section.
From-SVN: r50218
2002-03-02 03:52:17 +00:00
Alan Modra
ca734b39f3
rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't like more than one symbol per .weak directive.
...
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
like more than one symbol per .weak directive.
From-SVN: r50217
2002-03-02 10:41:11 +10:30
Richard Henderson
49b723064f
ia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_args_size.
...
* config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
adjust argument_pointer by pretend_args_size.
(ia64_va_start): Adjust va_start address by -pretend_args_size.
From-SVN: r50212
2002-03-01 15:56:33 -08:00
Kazu Hirata
fbf0fe412c
* config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
...
From-SVN: r50207
2002-03-01 22:07:44 +00:00
Jan Hubicka
0010687d23
toplev.c (rest_of_compilation): Delete dead jumptables before loop.
...
* toplev.c (rest_of_compilation): Delete dead jumptables before
loop.
* flow.c (delete_dead_jumptables): Make global.
* rtl.h (delete_dead_jumptables): Declare.
From-SVN: r50205
2002-03-01 20:07:01 +00:00
Michael Matz
e8b028d6ee
Reduced testcase of a 252.eon (SPEC2000) problem.
...
From-SVN: r50204
2002-03-01 19:27:05 +00:00
Richard Henderson
9d8b90045a
981223-1.x: New.
...
* gcc.c-torture/compile/981223-1.x: New.
* gcc.c-torture/compile/920625-1.x: New.
From-SVN: r50202
2002-03-01 10:39:21 -08:00
David Edelsohn
9429c84cd6
rs6000.h (HANDLE_PRAGMA_PACK): Delete.
...
* config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
* config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.
From-SVN: r50200
2002-03-01 12:33:21 -05:00
Michael Matz
bfba94bddc
typeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_bytes().
...
2002-03-01 Michael Matz <matz@suse.de>
* typeck.c (cp_pointer_int_sum): Complete inner type which is
used later by size_in_bytes().
From-SVN: r50197
2002-03-01 13:50:28 +00:00
Anthony Green
b41a6f95b4
Oops. A ChangeLog entry got committed prematurely with my last change.
...
This fixes is.
From-SVN: r50196
2002-03-01 13:43:09 +00:00
Kazu Hirata
f0b6f9a6f9
h8300-protos.h: Fix formatting.
...
* config/h8300/h8300-protos.h: Fix formatting.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
From-SVN: r50192
2002-03-01 09:14:08 +00:00
Kazu Hirata
bc8db8a122
h8300.c (print_operand): Support 16-bit constant addresses.
...
* config/h8300/h8300.c (print_operand): Support 16-bit
constant addresses.
* config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
From-SVN: r50191
2002-03-01 08:57:14 +00:00
GCC Administrator
2631798eca
Daily bump.
...
From-SVN: r50190
2002-03-01 08:19:04 +00:00
Richard Henderson
32b069d30c
expmed.c (store_bit_field): Prevent generation of CONCATs...
...
* expmed.c (store_bit_field): Prevent generation of CONCATs;
pun complex values as integers; use gen_lowpart instead of
gen_rtx_SUBREG.
(extract_bit_field): Likewise.
From-SVN: r50185
2002-03-01 00:13:04 -08:00
Phil Edwards
fdc9bf2946
cp-tree.h: Require __GNUC__ to be #defined.
...
2002-03-01 Phil Edwards <pme@gcc.gnu.org>
* cp-tree.h: Require __GNUC__ to be #defined.
(build_init): Add missing prototype.
From-SVN: r50183
2002-03-01 07:19:29 +00:00
Alan Modra
79c4e63fcb
tm.texi (ASM_WEAKEN_DECL): Document.
...
* doc/tm.texi (ASM_WEAKEN_DECL): Document.
(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
(SUPPORTS_WEAK): Likewise.
* output.h (add_weak): Add tree param.
* varasm.c (add_weak): Likewise. Save decl.
(struct weak_syms): Add decl field.
(mark_weak_decls): New function.
(init_varasm_once): ggc_add_root mark_weak_decls.
(assemble_start_function): Use ASM_WEAKEN_DECL.
(assemble_variable): Likewise.
(assemble_alias): Likewise.
(declare_weak): Pass decl to add_weak.
(weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
(remove_from_pending_weak_list): Declare and define for
ASM_WEAKEN_DECL.
* c-pragma.c (handle_pragma_weak): Adjust add_weak call.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
* defaults.h (SUPPORTS_WEAK): Likewise.
* config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym. Do emit .size for descriptor sym.
(ASM_DECLARE_FUNCTION_SIZE): Define.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
(ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
.lglobl unless TARGET_XCOFF. Formatting fixes.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym.
(HANDLE_PRAGMA_WEAK): Remove.
(ASM_WEAKEN_LABEL): Remove.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r50181
2002-03-01 16:30:38 +10:30
Anthony Green
562ff1637f
Add pointer support to the reflection code.
...
From-SVN: r50180
2002-03-01 05:36:31 +00:00
Richard Henderson
cc36a670f7
* g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
...
From-SVN: r50179
2002-02-28 18:39:38 -08:00
Jason Merrill
6f30f1f13c
tree.h (TARGET_EXPR_SLOT, [...]): New macros.
...
* tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
(TARGET_EXPR_CLEANUP): New macro.
cp/
* except.c: Don't include decl.h or obstack.h. Do include
tree-inline.h.
(build_throw): Destroy temporaries from the thrown
expression before calling __cxa_throw. Construct a thrown
temporary directly into the exception object.
(stabilize_throw_expr): New function.
(wrap_cleanups_r): New function.
* tree.c (stabilize_expr): New function.
* init.c (build_init): New function.
* Make-lang.in (cp/except.o): Adjust .h deps.
From-SVN: r50177
2002-02-28 20:49:00 -05:00
Richard Henderson
e38ff265da
linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
...
* config/linker-map.gnu: Export operator new with unsigned long,
and with std::nothrow_t. Likewise operator delete.
From-SVN: r50176
2002-02-28 17:27:57 -08:00
Steve Ellcey
7879b81e6c
rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into account as third type of extension.
...
* doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
to take ptr_extend into account as third type of extension.
(SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
fields used by SUBREG_PROMOTED_UNSIGNED_P.
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
(SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
* calls.c (precompute_arguments): Use new macro.
(expand_call): Ditto.
* combine.c (nonzero_bits): Ditto.
(record_promoted_value): Ditto.
* expr.c (store_expr): Ditto.
(expand_expr): Ditto.
* function.c (assign_parms): Ditto.
From-SVN: r50174
2002-02-28 17:19:52 -08:00
Alexandre Oliva
42d579d879
gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc.
...
* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.
From-SVN: r50171
2002-03-01 00:50:39 +00:00
Alexandre Oliva
6bff33fb01
configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
...
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
From-SVN: r50169
2002-03-01 00:49:53 +00:00
Bryce McKinlay
2060fd4ca6
* expr.c (build_java_arraystore_check): Fix formatting.
...
From-SVN: r50167
2002-02-28 23:27:09 +00:00
David O'Brien
e005418551
config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
...
2002-02-28 David O'Brien <obrien@FreeBSD.org>
* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
of "ultrasparc".
* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
to be broken.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <20020228100723.A30279@redhat.com>
From-SVN: r50165
2002-02-28 23:06:25 +00:00
Paolo Carlini
694d519fb0
locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.
...
2002-02-28 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
Admit grouping for octals and hexadecimals too.
* testsuite/22_locale/num_get_members_char.cc: Add test04.
(test01): Tweak "." -> "," in void* test.
* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
From-SVN: r50162
2002-02-28 21:16:45 +00:00