Joseph Myers
65fa218589
alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in stdarg and varargs functions.
...
* alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
stdarg and varargs functions.
From-SVN: r37572
2000-11-19 19:39:17 +00:00
Zack Weinberg
2e59adac88
gcc.c (process_command): Define 'j' variable when MODIFY_TARGET_NAME is defined.
...
* gcc.c (process_command): Define 'j' variable when
MODIFY_TARGET_NAME is defined.
From-SVN: r37571
2000-11-19 19:30:13 +00:00
Richard Henderson
856442b6f3
* stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
...
From-SVN: r37570
2000-11-19 11:09:35 -08:00
Zack Weinberg
3d6f4d76bc
texi2pod.pl: - Add real command line parsing.
...
* texi2pod.pl:
- Add real command line parsing.
- Support @ifset, @ifclear, @set, @value, -D switch.
- Support @sc. Improve handling of @ref and friends.
- Discard @subsection, @need, @node lines.
- Un-nest font changes to match texinfo semantics.
- Handle @{ and @}. Oops.
- Don't emit E<> directives inside verbatim blocks.
From-SVN: r37569
2000-11-19 19:02:50 +00:00
Matthias Klose
564b42a144
g77.texi (Floating-point precision): Adjust example to work with glibc (>= 2.1).
...
Sun Nov 19 17:29:22 2000 Matthias Klose <doko@marvin.itso-berlin.de>
* g77.texi (Floating-point precision): Adjust example
to work with glibc (>= 2.1).
From-SVN: r37568
2000-11-19 18:57:05 +00:00
Franz Sirl
88c1e412e8
rs6000.c (rs6000_encode_section_info): Fix string length calculation and allocation.
...
2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
calculation and allocation.
From-SVN: r37567
2000-11-19 18:49:32 +00:00
Matthias Klose
e868d863de
g77.texi (Floating-point Exception Handling): Adjust example to work with glibc (>= 2.1).
...
Sat Nov 18 13:54:49 2000 Matthias Klose <doko@cs.tu-berlin.de>
* g77.texi (Floating-point Exception Handling): Adjust
example to work with glibc (>= 2.1).
From-SVN: r37566
2000-11-19 16:19:17 +00:00
Kaveh R. Ghazi
ce1cc601f5
Warning fixes:
...
* builtins.c (c_getstr): Constify variable.
* gmon-sol2.c (_mcleanup): Comment out #endif labels.
* conflict.c (const_conflict_graph_arc): New typedef.
(arc_hash, arc_eq): Avoid needlessly casting away const-ness.
* cppmacro.c (builtin_macro): Likewise.
* dwarf2out.c (output_comp_unit): Constify variable.
* fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
* protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
* ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
away const-ness.
* tradcpp.c (rescan, do_line, macroexpand, macarg): Use
ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
* varasm.c (const_str_htab_hash, const_str_htab_eq,
compare_constant_1, record_constant_1): Constify.
From-SVN: r37565
2000-11-19 13:15:51 +00:00
Kaveh R. Ghazi
7e9355c669
java-tree.h (cyclic_inheritance_report): Constify.
...
* java-tree.h (cyclic_inheritance_report): Constify.
* parse.y (cyclic_inheritance_report): Likewise.
From-SVN: r37564
2000-11-19 12:56:21 +00:00
Kaveh R. Ghazi
8bcc782ce9
cplus-dem.c (grow_vect): Prototype.
...
* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.
From-SVN: r37563
2000-11-19 12:46:33 +00:00
Richard Henderson
980c0b564e
* gcc.c-torture/execute/nestfunc-3.c (main): Mask result to 32 bits.
...
From-SVN: r37562
2000-11-19 01:41:33 -08:00
Richard Henderson
dd4458df4e
c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
...
* lib/c-torture.exp (TORTURE_OPTIONS): Remove -fssa.
* lib/f-torture.exp (TORTURE_OPTIONS): Likewise.
* lib/gcc-dg.exp (TORTURE_OPTIONS): Likewise.
From-SVN: r37561
2000-11-19 01:35:54 -08:00
Richard Henderson
2add28a33a
20001009-2.c (foo): Rename from main.
...
* gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
(main): New. Exit cleanly.
From-SVN: r37560
2000-11-19 01:33:30 -08:00
Jeff Law
0da8bbae9d
Daily bump.
...
From-SVN: r37559
2000-11-19 01:45:10 -07:00
Richard Henderson
967e627adc
c-decl.c (grokdeclarator): Special case the creation of an index for a zero-length array.
...
* c-decl.c (grokdeclarator): Special case the creation of an
index for a zero-length array.
* tree.c (build_index_type): Revert Oct 20 change.
From-SVN: r37558
2000-11-19 00:36:18 -08:00
Marek Michalkiewicz
e9284adfd0
avr-protos.h (avr_output_addr_vec_elt): Prototype.
...
* config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
* config/avr/avr.c (jump_tables_size): New variable.
(function_prologue): Initialize it as 0.
(function_epilogue): Add it to function_size.
(avr_output_addr_vec_elt): New function. Count words in jump
tables in jump_tables_size. Move code ...
* config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
Call avr_output_addr_vec_elt instead.
* config/avr/avr.md (tablejump): Remove disabled define_expand.
From-SVN: r37557
2000-11-19 10:10:54 +03:00
Mark Mitchell
67c72a6308
configure.in: Make --enable-new-gxx-abi the default.
...
* configure.in: Make --enable-new-gxx-abi the default.
* configure: Likewise.
From-SVN: r37556
2000-11-19 05:00:10 +00:00
Mark Mitchell
04f3dc2b03
decl.c (grokparms): Don't even function types of `void' type, either.
...
* decl.c (grokparms): Don't even function types of `void' type,
either.
* mangle.c (write_type): Don't crash when confronted with the
error_mark_node.
From-SVN: r37555
2000-11-19 04:56:45 +00:00
Mark Mitchell
b35431cf07
exception_support.h: New header file.
...
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.
From-SVN: r37554
2000-11-19 04:53:38 +00:00
Mark Mitchell
0657c69c32
* decl.c (grokparms): Don't create parameters of `void' type.
...
From-SVN: r37553
2000-11-19 02:34:29 +00:00
Mark Mitchell
7f0614d816
Remove test
...
From-SVN: r37552
2000-11-19 02:25:03 +00:00
Mark Mitchell
f1f0c5a2f7
exception_support.h: New header file.
...
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.
From-SVN: r37551
2000-11-19 02:22:53 +00:00
Kaveh R. Ghazi
0a8ad41790
Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
...
* Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
* tradcif.y: Include tradcpp.h. Constify. Make functions static.
Move extern function declarations to tradcpp.h.
* tradcpp.c: Likewise.
* tradcpp.h: New file.
From-SVN: r37550
2000-11-19 00:30:05 +00:00
Joseph Myers
77c4d6c06a
c-decl.c (check_for_loop_decls): New function.
...
* c-decl.c (check_for_loop_decls): New function.
* c-parse.in (for_init_stmt): New.
(select_or_iter_stmt): Use for_init_stmt.
* c-tree.h (check_for_loop_decls): New declaration.
testsuite:
* gcc.dg/c90-fordecl-1.c, gcc.dg/c99-fordecl-1.c,
gcc.dg/c99-fordecl-2.c: New tests.
From-SVN: r37549
2000-11-18 23:18:36 +00:00
Richard Henderson
ce7d4fc8dd
zerolen-1.c: Rename from 20001115-1.c.
...
* gcc.c-torture/execute/zerolen-1.c: Rename from 20001115-1.c.
* gcc.c-torture/execute/zerolen-2.c: New.
From-SVN: r37548
2000-11-18 14:35:36 -08:00
Alexandre Oliva
e601f9e9d8
Adjust copyright years, based on other copies of the file
...
From-SVN: r37547
2000-11-18 22:06:40 +00:00
Alexandre Oliva
6e2a48434d
Makefile.in: Merge with src and libgcj.
...
* Makefile.in: Merge with src and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.
From-SVN: r37546
2000-11-18 21:57:54 +00:00
Alexandre Oliva
ce8e06b1dc
Makefile.in (HOST_LIB_PATH, [...]): New macros.
...
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.
From-SVN: r37545
2000-11-18 20:55:40 +00:00
Franz Sirl
3734169e0c
20001115-1.c: Don't write to nonexistant memory.
...
* gcc.c-torture/execute/20001115-1.c: Don't write to nonexistant
memory.
From-SVN: r37544
2000-11-18 10:46:15 -08:00
Alexandre Oliva
311d8afa84
Make-lang.in (INTDOC_DEPS): New macro.
...
* Make-lang.in (INTDOC_DEPS): New macro.
(f/intdoc.texi): Depend on $(INTDOC_DEPS). Build f/intdoc.
(f/intdoc): Likewise. Add $(build_exeext).
From-SVN: r37543
2000-11-18 15:55:38 +00:00
Neil Booth
4a58aab6a7
cppinit.c: Update comments.
...
* cppinit.c: Update comments.
(cpp_reader_init): Make -imacro and -include use the standard
#include "" search path.
(do_includes): New function.
From-SVN: r37542
2000-11-18 12:18:09 +00:00
Jeff Law
18c07aaf6d
Daily bump.
...
From-SVN: r37541
2000-11-18 01:45:11 -07:00
Tom Tromey
f967de33d7
AccessibleObject.java (isAccessible, [...]): Now public.
...
* java/lang/reflect/AccessibleObject.java (isAccessible,
setAccessible): Now public.
From-SVN: r37540
2000-11-18 02:30:29 +00:00
Tom Tromey
9839499072
natString.cc: Include Locale.h.
...
* java/lang/natString.cc: Include Locale.h.
(toUpperCase): Added `locale' argument. Handle locale
sensitivity.
(toLowerCase): Added `locale' argument. Handle locale
sensitivity.
(ESSET, CAPITAL_S, SMALL_I, CAPITAL_I_WITH_DOT, SMALL_DOTLESS_I,
CAPITAL_I): New defines.
* java/lang/String.java (CASE_INSENSITIVE_ORDER): Now public and
final.
Import Locale.
(toUpperCase, toLowerCase): New methods. Variants which accept
locale now native.
* java/lang/ExceptionInInitializerError.java (printStackTrace):
New methods.
* java/util/PropertyPermission.java: Re-merged from Classpath.
* java/text/RuleBasedCollator.java (getCollationElementIterator):
New method.
* java/text/StringCharacterIterator.java: Reindented.
(setText): New method.
From-SVN: r37539
2000-11-18 02:29:13 +00:00
Mark Wielaard
c5f651bf3f
backport: *.java: Reformat all to unofficial standard coding style.
...
Merge with Classpath (changes by Bryce McKinlay)
* java/util/jar/*.java: Reformat all to unofficial standard coding
style. No changes of substance.
From-SVN: r37538
2000-11-18 02:00:06 +00:00
Stan Shebs
c003f37865
* MAINTAINERS: Add self to Write After Approval list.
...
From-SVN: r37537
2000-11-18 00:44:19 +00:00
Ben Elliston
c3e2d242ce
crt1.asm (start_l): Move PC-relative move instruction out of a branch delay slot.
...
2000-11-18 Ben Elliston <bje@redhat.com>
* config/sh/crt1.asm (start_l): Move PC-relative move instruction
out of a branch delay slot.
From-SVN: r37536
2000-11-18 11:07:16 +11:00
Richard Henderson
48adb36e99
elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
...
* config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(ASM_SPEC): Disable and enable .mdebug based on -gstabs.
(ASM_FILE_START): Only write out ecoff .file directive if
emitting mdebug debugging.
From-SVN: r37535
2000-11-17 16:02:26 -08:00
Richard Henderson
9d1470857b
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.
...
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
whether as accepts .file/.loc and produces dwarf2 line info.
* dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
the assembler supports it.
* config.in, configure: Regenerate.
From-SVN: r37534
2000-11-17 15:53:38 -08:00
Richard Henderson
5b87e928be
* fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
...
From-SVN: r37533
2000-11-17 15:48:15 -08:00
Theodore Papadopoulo
c55d267039
stl_tree.h: Overload operators == and != to be able to handle the case...
...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
* testsuite/23_containers/map_operators.cc (test02): New tests.
From-SVN: r37532
2000-11-17 22:59:03 +00:00
Benjamin Kosnik
c9b6c28211
stl_tree.h: Overload operators == and != to be able to handle the case...
...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
From-SVN: r37531
2000-11-17 22:58:19 +00:00
Loren J. Rittle
8e2d9424bf
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch to ``make --enable-cstdio=stdio the default''.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
to ``make --enable-cstdio=stdio the default''.
* libstdc++-v3/aclocal.m4: Rebuilt.
* libstdc++-v3/configure: Rebuilt.
From-SVN: r37529
2000-11-17 22:38:49 +00:00
Jim Wilson
95c8e04b09
Fix miscompilation of linux kernel ia64_do_signal routine.
...
* config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
Don't clear need_barrier is next_insn is a CALL_INSN, or has
instruction type B or UNKNOWN.
From-SVN: r37528
2000-11-17 14:18:25 -08:00
Mark Wielaard
4f21aedbf4
* java/util/zip/*.java: Javadoc and copyright updates.
...
From-SVN: r37526
2000-11-17 21:42:28 +00:00
Tom Tromey
4cdfd292e3
CollationKey.java: Implement Comparable.
...
* java/text/CollationKey.java: Implement Comparable.
(compareTo(Object)): New method.
* java/text/Collator.java (compare(Object,Object)): New method.
Implement Comparator.
* java/util/zip/InflaterInputStream.java (available): New method.
(close): New method.
(read, available, skip, fill): Throw exception if stream closed.
* java/util/zip/ZipInputStream.java (read, skip, readFully, fill,
getNextEntry): Throw exception if closed.
From-SVN: r37525
2000-11-17 20:44:03 +00:00
Phil Edwards
6414587c8b
acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to...
...
2000-11-17 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
contents to...
* configure.target: ...here. Enable generic atomic ops, and warn.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
From-SVN: r37524
2000-11-17 20:35:06 +00:00
Neil Booth
14fbab6d75
cpperror.c (print_file_and_line): Don't display line number if 0.
...
* cpperror.c (print_file_and_line): Don't display line number
if 0.
From-SVN: r37523
2000-11-17 19:21:15 +00:00
Zack Weinberg
a8a05998de
ggc.h: Delete ggc_add_string_root and ggc_mark_string.
...
* ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
digit_vector and digit_string.
* stringpool.c (digit_vector): New.
(ggc_alloc_string): Use digit_string.
* stmt.c (digit_strings): Delete.
(init_stmt): Do not initialize digit_strings.
(expand_asm_operands): Use ggc.h's digit_string macro.
* toplev.c (mark_file_stack): Delete.
(compile_file): Don't call init_tree_codes.
(main): No need to make the file stack a GC root.
* tree.c (init_tree_codes): Delete.
* tree.h (init_tree_codes): Delete.
* c-lex.c: Don't include ggc.h.
(mark_splay_tree_node, mark_splay_tree): Delete.
(init_c_lex): No need to ggc_strdup string constant. Don't add
file_info_tree to GGC roots.
(cb_enter_file, cb_rename_file): No need to ggc_strdup
ip->nominal_fname.
* Makefile.in (c-lex.o): No longer depends on $(GGC_H).
* dbxout.c (dbxout_init),
dwarf2out.c (dwarf2out_line),
ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
xcoffout.c (xcoffout_source_file),
i386.c (load_pic_register):
Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
* except.c (create_rethrow_ref),
profile.c (init_edge_profiler),
toplev.c (compile_file),
varasm.c (named_section, assemble_static_space,
assemble_trampoline_template, output_constant_def, force_const_mem),
i386.c (load_pic_register),
ia64.c (ia64_encode_section_info),
rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
rs6000_emit_prologue, rs6000_emit_epilogue),
rs6000.md (load_toc_aix_si, load_toc_aix_di):
Change ggc_alloc_string (var, -1) to ggc_strdup (var).
* profile.c (output_func_start_profiler),
tree.c (make_node),
i386.c (load_pic_register): No need to ggc_strdup string constant.
cp:
* lex.c (mark_impl_file_chain): Delete.
(init_parse): Remove call to ggc_add_string_root. No need to
ggc_strdup a string constant. Do not add impl_file_chain to GC
roots.
(handle_pragma_implementation): No need to ggc_strdup main_filename.
f:
* lex.c (ffelex_hash_): Change ggc_alloc_string (var, -1) to
ggc_strdup (var).
java:
* parse.y (goal): Remove call to ggc_add_string_root.
From-SVN: r37522
2000-11-17 17:31:13 +00:00
Zack Weinberg
9e7d5ee809
New test - regression of ICE
...
From-SVN: r37521
2000-11-17 16:45:34 +00:00