Richard Henderson
c8af3574e3
defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Move from ...
...
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
* dwarf2asm.c: ... here.
* dwarfout.c: Remove them.
* varasm.c (assemble_integer): Add align parameter.
(assemble_real, output_constant, output_constructor): Likewise.
* output.h: Update decls.
* dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
Update all callers.
* final.c (end_final): Abort profile block generation if we
havn't layed it out properly.
* output.h (assemble_eh_integer): Remove stale decl.
* varasm.c (assemble_zeros): Tidy; use assemble_integer.
(min_align): New.
(assemble_integer): Handle unaligned data.
(assemble_real): Abort on unaligned data.
(output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
anything useful.
(default_dtor_section_asm_out_destructor): Use assemble_align.
(default_named_section_asm_out_constructor): Likewise.
(default_ctor_section_asm_out_constructor): Likewise.
* config/darwin.c (machopic_asm_out_constructor): Likewise.
(machopic_asm_out_destructor): Likewise.
* config/nextstep.c (nextstep_asm_out_constructor): Likewise.
(nextstep_asm_out_destructor): Likewise.
* config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
(vms_asm_out_destructor): Likewise.
* java/class.c (emit_register_classes): Add align parameter to
call to assemble_integer.
From-SVN: r44992
2001-08-17 17:53:20 -07:00
Richard Henderson
920ae24b35
iris6.h (TARGET_IRIX6): New.
...
* config/mips/iris6.h (TARGET_IRIX6): New.
(current_section_name, current_section_flags): New.
(ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
(MAX_OFILE_ALIGNMENT): New.
(ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
* config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
(copy_file_data): Split out from
(mips_asm_file_end): ... here.
(mips_asm_file_start): Remove extra .section directive. Use
tmpfile instead of mips_make_temp_file.
(mips_unique_section): Use const char * as needed for warnings.
(iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
re-add align parameter.
(iris6_asm_named_section): New.
(iris_section_align_entry_eq, iris_section_align_entry_hash): New.
(iris6_asm_output_align, iris6_section_align_1): New.
(iris6_asm_file_start, iris6_asm_file_end): New.
* config/mips/mips-protos.h: Update decls.
From-SVN: r44991
2001-08-17 17:25:09 -07:00
Janis Johnson
5cc3b0c784
install.texi (Install GCC): Add links to build status pages.
...
* doc/install.texi (Install GCC): Add links to build status pages.
(Specific): Ditto.
(Final install): Ditto; request updates for specific info
From-SVN: r44988
2001-08-17 22:30:56 +00:00
Alexandre Petit-Bianco
9fba6f962f
XercesBug.java: New file.
...
2001-08-17 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/XercesBug.java: New file.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01066.html )
From-SVN: r44987
2001-08-17 15:26:15 -07:00
Neil Booth
bb74c96301
cpperror.c (print_location): Don't take a file name; use the line map instead.
...
* cpperror.c (print_location): Don't take a file name; use the
line map instead.
(_cpp_begin_message): Similarly.
(cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
(cpp_pedwarn_with_file_and_line): Remove.
* cppfiles.c (stack_include_file): Update; set filename to stdin
here when appropriate.
* cpphash.h (struct cpp_buffer): Remove nominal_fname.
(_cpp_begin_message): Don't take a file name.
* cppinit.c: Add comment.
* cpplex.c: Fix end-of-directive indicator.
* cpplib.c: Don't include intl.h.
(run_directive, do_diagnostic): Update.
(do_line): Update to not use nominal_fname.
(cpp_push_buffer): Don't take a filename.
* cpplib.h (struct ht): Remove.
(cpp_push_buffer): Don't take a filename.
(cpp_pedwarn_with_file_and_line): Remove.
* cppmacro.c (struct cpp_macro): Remove file.
(builtin_macro): Update.
(_cpp_create_definition): Update.
* cppmain.c: Correct comment.
* fix-header.c (read_scan_file): Update.
From-SVN: r44986
2001-08-17 22:23:49 +00:00
Janis Johnson
c009f01f06
(Install GCC): Add links to build status pages.
...
(Specific): Ditto.
(Final install): Ditto; request updates for specific info.
From-SVN: r44985
2001-08-17 22:21:49 +00:00
Mark J Roberts
62ee966e9c
BigInteger.java (randBytes): New method.
...
2001-08-17 Mark J Roberts <mjr@anarcast.net>
* java/math/BigInteger.java (randBytes): New method.
(BigInteger(int,Random)): Use randBytes.
From-SVN: r44984
2001-08-17 22:21:02 +00:00
Kazu Hirata
2d76cb1aba
sbitmap.c: Fix comment formatting.
...
* sbitmap.c: Fix comment formatting.
* sched-deps.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* stor-layout.c: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* varasm.c: Likewise.
From-SVN: r44983
2001-08-17 21:23:12 +00:00
Alexandre Petit-Bianco
171262081c
[multiple changes]
...
2001-08-16 Alexandre Petit-Bianco <apbianco@redhat.com>
* jcf-parse.c (load_class): New locals saved and class_loaded. If
loading a class_or_name fails, try considering an innerclass name
and load the enclosing context.
* parse.y (resolve_inner_class): New function.
(find_as_inner_class): Added leading comment.
(register_incomplete_type): Keep the current context as enclosing
context for JDEP_FIELD dependencies.
(do_resolve_class): Locals new_class_decl and super initialized to
NULL. Call resolve_inner_class, explore the enclosing context
superclass if necessary.
Fixes PR java/4007
2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* decl.c (init_decl_processing): exception_type_node,
class_not_found_type_node, and no_class_def_found_type_node
initialized. predef_filenames augmented accordingly.
instinit_identifier_node initialized.
* java-tree.def (INSTANCE_INITIALIZERS_EXPR): Entry removed.
* java-tree.h (enum java_tree_index): New entries
JTI_EXCEPTION_TYPE_NODE, JTI_CLASS_NOT_FOUND_TYPE_NODE,
JTI_NO_CLASS_DEF_FOUND_TYPE_NODE, JTI_INSTINIT_IDENTIFIER_NODE.
(exception_type_node): New macro.
(class_not_found_type_node): Likewise.
(no_class_def_found_type_node): Likewise.
(instinit_identifier_node): Likewise.
(PREDEF_FILENAMES_SIZE): Adjusted.
(TYPE_HAS_FINAL_VARIABLE): Fixed typo.
(struct lang_type): Fixed typo in bitfield name.
(DECL_INSTINIT_P): New macro.
(ID_INSTINIT_P): Likewise.
* jcf-write.c (generate_classfile): instinit$ bears the Synthetic
attribute.
* parse.y (encapsulate_with_try_catch): New function.
(generate_instinit): Likewise.
(build_instinit_invocation): Likewise.
(ctors_unchecked_throws_clause_p): Likewise.
(add_instance_initializer): Deleted.
(build_instance_initializer): Likewise.
(in_instance_initializer): Likewise.
(check_method_redefinition): instinit$ not to be verified.
(java_complete_expand_methods): Generate instinit$, simplified code.
(build_dot_class_method): Eliminated unnecessary locals. Use
encapsulate_with_try_catch, removed unnecessary code.
(fix_constructors): New local iii. Use build_instinit_invocation.
(patch_method_invocation): Added comment.
(maybe_use_access_method): Don't consider instinit$.
(find_applicable_accessible_methods_list): Shorten the search for
instinit$ too.
(java_complete_lhs): case INSTANCE_INITIALIZERS_EXPR removed.
(patch_return): Use DECL_INSTINIT_P instead of in_instance_initializer.
(patch_throw_statement): Likewise. Fixed typo.
2001-08-09 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (java_lang_expand_expr): Call `expand_end_bindings' and
`poplevel' in the right order.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01061.html )
From-SVN: r44982
2001-08-17 14:07:07 -07:00
John David Anglin
0779eeb281
pa.h (RETURN_IN_MEMORY): Return types with a size that is varable or larger than an integer in memory.
...
* pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
or larger than an integer in memory.
From-SVN: r44981
2001-08-17 20:55:50 +00:00
Zack Weinberg
2f78c31176
system.h: Forward-declare struct rtx_def, struct rtvec_def, and union tree_node.
...
* system.h: Forward-declare struct rtx_def, struct rtvec_def,
and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
* rtl.h: Don't forward-declare union tree_node here. Don't
typedef rtx or rtvec here. Change all uses of struct rtx_def *,
struct rtvec_def *, or union tree_node * to use rtx, rtvec,
and tree respectively.
* tree.h: Don't forward-declare struct rtx_def here. Don't
typedef tree here. Change all uses of struct rtx_def *,
struct rtvec_def *, or union tree_node * to use rtx, rtvec,
and tree respectively.
From-SVN: r44980
2001-08-17 20:29:21 +00:00
Christopher Faylor
91625004b2
configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
...
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure: Regenerate.
From-SVN: r44979
2001-08-17 20:17:23 +00:00
Richard Henderson
0ed5305d8d
Add commentary.
...
From-SVN: r44978
2001-08-17 12:58:05 -07:00
Richard Henderson
32fa4d4a5d
elf.h, [...]: Fix typos last change.
...
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
config/mips/openbsd.h: Fix typos last change.
From-SVN: r44977
2001-08-17 12:40:03 -07:00
Gerald Pfeifer
93ee12c4cf
invoke.texi (Optimize Options): The default for -finline-limit is 600.
...
* doc/invoke.texi (Optimize Options): The default for
-finline-limit is 600.
From-SVN: r44975
2001-08-17 19:15:47 +00:00
Richard Henderson
33c09f2f10
* doc/tm.texi (Sections): Document TEXT_SECTION.
...
From-SVN: r44974
2001-08-17 12:07:46 -07:00
Richard Henderson
f99ffb608b
varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP.
...
* varasm.c (text_section): Allow TEXT_SECTION to override the
printing of TEXT_SECTION_ASM_OP.
* dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
(DATA_SECTION, BSS_SECTION): Remove.
* dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
Rename from s/_NAME//.
* config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
(ASM_DECLARE_FUNCTION_NAME): Move file switching ...
(TEXT_SECTION): ... here. New.
* config/mips/elf.h (TEXT_SECTION): New; no file switching.
* config/mips/elf64.h, config/mips/netbsd.h: Likewise.
* config/mips/openbsd.h: Likewise.
* config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
(mips_asm_file_end): Likewise test.
(mips_output_function_epilogue): Likewise. Switch back to data
section after emitting the function.
From-SVN: r44973
2001-08-17 11:57:51 -07:00
Tom Tromey
61f38a77a0
Initial revision
...
From-SVN: r44969
2001-08-17 18:39:15 +00:00
Richard Henderson
b38a75e57d
dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
...
* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
(dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
From-SVN: r44968
2001-08-17 11:34:56 -07:00
Richard Henderson
51084e13c0
varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
...
* varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
* crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
__JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
Add aligned attribute.
From-SVN: r44966
2001-08-17 11:28:06 -07:00
Tom Tromey
d1356866eb
* gnu/gcj/convert/IOConverter.java: Add `646' alias.
...
From-SVN: r44965
2001-08-17 18:09:24 +00:00
Hans Boehm
c8e6d3a499
* BigInteger.java: fix right shifts by nonzero multiples of 32.
...
From-SVN: r44964
2001-08-17 16:33:49 +00:00
Hans Boehm
552bf3d6af
* BigInteger.java: fix right shifts by nonzero multiples of 32.
...
From-SVN: r44963
2001-08-17 16:28:32 +00:00
Andrew Haley
ff0a63e8e4
sh.md: Add modes to unspecs in first insn to match those in the second.
...
2001-08-10 Andrew Haley <aph@cambridge.redhat.com>
* config/sh/sh.md: Add modes to unspecs in first insn to match
those in the second.
* Makefile.in: Fix collect2 copy for Cygwin.
From-SVN: r44962
2001-08-17 14:41:51 +00:00
Jan Hubicka
abde42f7c7
Install the proper patch.
...
* function.c (put_var_into_stack): Temporarily clear DECL_RTL.
(assign_params): Avoid setting DECL_RTL to unfinished RTX.
(expand_function_start): Likewise.
* stmt.c (expand_decl): Likewise.
* varasm.c (make_decl_rtx): Likewise.
From-SVN: r44961
2001-08-17 13:50:15 +00:00
Jan Hubicka
3446405d5e
final.c: Undo my previous accidental checkin.
...
* final.c: Undo my previous accidental checkin.
* output.h: Likewise.
* tm.texi: Likewise.
From-SVN: r44960
2001-08-17 13:45:59 +00:00
GCC Administrator
823e2b91bb
Daily bump.
...
From-SVN: r44959
2001-08-17 07:18:02 +00:00
Mark Mitchell
9a52d09b74
cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS on COMPOUND_EXPRs.
...
* cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS
on COMPOUND_EXPRs.
From-SVN: r44956
2001-08-17 04:32:09 +00:00
Richard Henderson
715bdd29f3
varasm.c (named_section_flags): Remove align parameter.
...
* varasm.c (named_section_flags): Remove align parameter.
* varasm.c, dwarf2out.c: Update all callers.
* output.h: Update prototypes.
* target.h (target.asm_out.named_section): Remove align parameter.
* varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
* varasm.c (in_named_entry_eq, in_named_entry_hash): New.
(get_named_section_flags, set_named_section_flags): New.
(named_section_flags): Use them.
(named_section): Do decl vs section flags check here...
(default_section_type_flags): ... not here.
(init_varasm_once): Create in_named_htab.
(resolve_unique_section): Mark reloc unused.
From-SVN: r44953
2001-08-16 19:33:41 -07:00
Richard Henderson
09e07be6d7
varasm.c (force_const_mem): Keep pool alignment in bits.
...
* varasm.c (force_const_mem): Keep pool alignment in bits.
(output_constant_pool): Use assemble_align.
From-SVN: r44952
2001-08-16 19:03:36 -07:00
Zack Weinberg
8daaf93ce1
* doc/tm.texi: Remove extra @table command.
...
From-SVN: r44951
2001-08-17 01:55:29 +00:00
Richard Henderson
9e0ba68596
* hashtab.c (htab_hash_string): New.
...
From-SVN: r44950
2001-08-16 18:54:43 -07:00
Richard Henderson
457f49df10
* hashtab.h (htab_hash_string): Declare.
...
From-SVN: r44949
2001-08-16 18:54:01 -07:00
Zack Weinberg
d9b6874b0c
final.c (shorten_branches): Clear the end of the label_align array only if we made it larger.
...
* final.c (shorten_branches): Clear the end of the label_align
array only if we made it larger. Break up messy expressions
for clarity.
* diagnostic.c (internal_error): Check for error recursion
before doing ICE suppression.
* timevar.c: Timing variables now count in milliseconds.
(init_timevar): Set up ticks_to_msec and clocks_to_msec here.
(get_time): Not here.
(timevar_print): Don't print any timer whose user, cpu, and
wall times are all zero as displayed.
* timevar.h: Update comment aboout units. Make timevar
counters unsigned.
From-SVN: r44948
2001-08-17 01:27:49 +00:00
Tom Tromey
4266d0b272
jcf-dump.c (main): Updated for change to jcf_path_seal.
...
* jcf-dump.c (main): Updated for change to jcf_path_seal.
* gjavah.c (main): Updated for change to jcf_path_seal.
* lang.c (version_flag): New global.
(java_decode_option): Recognize `-version'.
(java_init): Update for change to jcf_path_seal.
* jcf.h (jcf_path_seal): Added `print' argument.
* jcf-path.c (jcf_path_seal): Added `print' argument.
From-SVN: r44946
2001-08-16 21:52:14 +00:00
David Billinghurst
3c0a5af26c
pr3743.x: Do not return 1 for xfail.
...
2001-08-16 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/compile/pr3743.x: Do not return 1 for xfail.
Fix thinko.
* g77.f-torture/execute/f90-intrinsic-bit.x: Do not return 1
for xfail.
From-SVN: r44945
2001-08-16 20:18:00 +00:00
Franz Sirl
9567d32780
configure.target: Set LIMITSH for powerpc-*-*.
...
2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* configure.target: Set LIMITSH for powerpc-*-*.
* config/cpu/powerpc/bits/limits.h: New file.
From-SVN: r44944
2001-08-16 19:19:09 +00:00
Jason Merrill
b4e49397cb
tweak comment
...
From-SVN: r44942
2001-08-16 12:24:46 -04:00
Janis Johnson
5487f1ac2e
Add myself to people who can write after approval
...
From-SVN: r44941
2001-08-16 16:23:09 +00:00
Jan Hubicka
25e22dc0cb
Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
...
* function.c (put_var_into_stack): Temporarily clear DECL_RTL.
(assign_params): Avoid setting DECL_RTL to unfinished RTX.
(expand_function_start): Likewise.
* stmt.c (expand_decl): Likewise.
* varasm.c (make_decl_rtx): Likewise.
From-SVN: r44940
2001-08-16 15:41:05 +00:00
Jason Merrill
7256efa629
stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
...
* stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
(finalize_record_size): Don't set TYPE_USER_ALIGN.
From-SVN: r44937
2001-08-16 09:46:37 -04:00
Matt Kraai
5972a1107c
i386.c (ix86_init_mmx_sse_builtins): Remove unused variables.
...
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
variables.
From-SVN: r44936
2001-08-16 13:32:22 +00:00
Marc Espie
c8f9b30251
configure.in: Check for <sys/types.h>.
...
2001-08-16 Marc Espie <espie@openbsd.org>
* configure.in: Check for <sys/types.h>.
* configure: Rebuild.
* config.h.in: Rebuild.
* libmath/mathconf.h: Include <sys/types.h> prior to
<machine/endian.h> if available.
From-SVN: r44935
2001-08-16 12:49:19 +00:00
Andreas Jaeger
0d3c08b640
s390.c: Include "debug.h" for dwarf2out_do_frame prototype.
...
* config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
prototype.
From-SVN: r44933
2001-08-16 12:09:28 +02:00
GCC Administrator
1cfe9d4012
Daily bump.
...
From-SVN: r44931
2001-08-16 07:16:09 +00:00
Tom Tromey
ac8d99218a
jni.cc: Include IdentityHashMap.h, not Hashtable.h.
...
* jni.cc: Include IdentityHashMap.h, not Hashtable.h.
(local_ref_table, global_ref_table): Now IdentityHashMap.
(_Jv_JNI_Init): Updated for new types.
(mark_for_gc): Likewise.
(unmark_for_gc): Likewise.
* gcj/javaprims.h: Rebuilt class list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new file.
* java/util/IdentityHashMap.java: New file.
From-SVN: r44929
2001-08-15 20:46:48 +00:00
Tom Tromey
369e1d74c6
natIconv.cc (read): Handle EINVAL and E2BIG correctly.
...
* gnu/gcj/convert/natIconv.cc (read): Handle EINVAL and E2BIG
correctly.
From-SVN: r44928
2001-08-15 20:24:00 +00:00
John Wehle
44ce006366
rtl.h (only_sets_cc0_p): New prototype.
...
* rtl.h (only_sets_cc0_p): New prototype.
* jump.c (sets_cc0_p): Handle INSN.
(only_sets_cc0_p): New function.
* flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
(tidy_fallthru_edge): Likewise.
* integrate.c (copy_insn_list): Likewise.
* unroll.c (unroll_loop): Likewise.
(copy_loop_body): Likewise.
From-SVN: r44927
2001-08-15 19:25:43 +00:00
Jason Eckhardt
cff27f1d82
* config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
...
From-SVN: r44926
2001-08-15 18:54:10 +00:00
Andreas Schwab
b8f73826af
configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0.
...
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
m68k and m680[246]0.
* config/cpu/m68k/bits/atomicity.h: New file.
From-SVN: r44925
2001-08-15 16:00:45 +00:00