OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years agoQNX needs a bypass for limits_ifndefs
korbb [Fri, 17 Jan 2003 02:08:05 +0000 (02:08 +0000)]
QNX needs a bypass for limits_ifndefs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61417 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/locale/generic/messages_members.h
gerald [Fri, 17 Jan 2003 01:20:08 +0000 (01:20 +0000)]
* config/locale/generic/messages_members.h
(messages_byname<_CharT>::messages_byname): Use this-> to refer to
unqualified members of base clasess.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61416 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.c (java_build_function_call_expr): Renamed from
ghazi [Fri, 17 Jan 2003 00:58:08 +0000 (00:58 +0000)]
* builtins.c (java_build_function_call_expr): Renamed from
build_function_call_expr.  All callers changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61415 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
kkojima [Fri, 17 Jan 2003 00:26:53 +0000 (00:26 +0000)]
    * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
        instead of rotldi3_mextr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61413 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Fri, 17 Jan 2003 00:00:18 +0000 (00:00 +0000)]
2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (move_insn): Restore moving all schedule group.
(set_priorities): Restore taking SCHED_GROUP_P into account.

* sched-deps.c (add_dependence): Restore processing the last group
insn.
(remove_dependence, group_leader): Restore the functions.
(set_sched_group_p): Restore adding dependencies from previous insn
in the group.
(compute_forward_dependences): Restore usage of group_leader.

* sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
account.

* sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
account.
(can_schedule_ready_p): Ditto.
(add_branch_dependences): Restore skipping over the group insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61412 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
ciceron [Thu, 16 Jan 2003 22:12:39 +0000 (22:12 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
68HC12 pre/post inc/dec side effects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61410 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Thu, 16 Jan 2003 22:06:04 +0000 (22:06 +0000)]
2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>

* cp-tree.h (tsubst_copy_and_build): New declaration.
* pt.c (tsubst_copy): Remove 'build_expr_from_tree' from comment.
(tsubst_expr): Use 'tsubst_copy_and_build'.  Update initial comment.
(tsubst_copy_and_build): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61409 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68hc11/m68hc11.h (MASK_M6812): Define.
ciceron [Thu, 16 Jan 2003 21:50:20 +0000 (21:50 +0000)]
* config/m68hc11/m68hc11.h (MASK_M6812): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61407 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * sh.md (mshflo_w_x): Fix description of operation.
amylaar [Thu, 16 Jan 2003 21:43:43 +0000 (21:43 +0000)]
* sh.md (mshflo_w_x): Fix description of operation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61406 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/net/SocketImpl.java (toString): Don't explicitly call
mark [Thu, 16 Jan 2003 21:37:56 +0000 (21:37 +0000)]
   * java/net/SocketImpl.java (toString): Don't explicitly call
       toString() on possible null address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61404 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-tree.h (lang_type_class): Remove is_partial_instantiation.
mmitchel [Thu, 16 Jan 2003 20:30:50 +0000 (20:30 +0000)]
* cp-tree.h (lang_type_class): Remove is_partial_instantiation.
(PARTIAL_INSTANTIATION_P): Remove.
(IMPLICIT_TYPENAME_P): Likewise.
(IMPLICIT_TYPENAME_TYPE_DECL_P): Likewise.
(build_typename_type): Remove declaration.
(parmlist_is_exprlist): Likewise.
* decl.c (build_typename_type): Make it static, remove third
parameter.
(push_class_binding): Don't do implicit typename stuff.
(make_typename_type): Likewise.
(lookup_name_real): Likewise.
(grokdeclarator): Don't try to convert declarations into
initializations.  Don't do implicit typename stuff.
(parmlist_is_exprlist): Remove.
(xref_basetypes): Simplify.
* decl2.c (grokfield): Don't try to convert declarations into
initializations.
(build_anon_union_vars): Do this while processing templates, too.
(finish_anon_union): Likewise.
* error.c (dump_type): Remove implicit typename handling.
* parser.c (cp_parser_diagnose_invalid_type_name): New method.
(cp_parser_primary_expression): Correct handling of names not
found by unqualified name lookup in templates.
(cp_parser_nested_name_specifier_opt): Avoid checking dependency
of types when possible.
(cp_parser_simple_declaration): Complain intelligently about some
invalid declarations.
(cp_parser_member_declaration): Likewise.
(cp_parser_constructor_declarator_p): Don't check when we're in a
function scope.
* pt.c (instantiate_class_template): Remove
PARTIAL_INSTANTIATION_P gunk.
* search.c (lookup_field_r): Don't build implicit typenames.
(marked_pushdecls_p): Don't enter dependent base types.
(unmarked_pushdecls_p): Likewise.
* semantics.c (begin_class_definition): Remove implicit typename
stuff.

* config/locale/gnu/messages_members.h: Use this-> to refer to
unqualified members of base clasess.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
* include/bits/codecvt.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/list.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* include/std/std_fstream.h: Likewise.
* include/std/std_sstream.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61403 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/rs6000.h: Mention Altivec registers in
zack [Thu, 16 Jan 2003 18:09:21 +0000 (18:09 +0000)]
* config/rs6000/rs6000.h: Mention Altivec registers in
commentary.  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61401 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Thu, 16 Jan 2003 17:08:54 +0000 (17:08 +0000)]
cp:
PR C++/9212
* parser.c (cp_parser_direct_declarator): If accepting either
abstract or named, the name must be an unqualified-id.
testsuite:
* g++.dg/parse/ambig2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61399 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/rs6000.md (movti_string): Remove clobber.
dje [Thu, 16 Jan 2003 16:32:25 +0000 (16:32 +0000)]
    * config/rs6000/rs6000.md (movti_string): Remove clobber.
        * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
        generate PARALLEL with clobber for TARGET_POWER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61398 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in (baseargs): Remove all supported forms of
jakub [Thu, 16 Jan 2003 16:31:49 +0000 (16:31 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61397 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agof:
ghazi [Thu, 16 Jan 2003 15:58:40 +0000 (15:58 +0000)]
f:
* Make-lang.in (f/target.o): Depend on toplev.h.
* target.c: Include toplev.h.

java:
* Make-lang.in (java/jcf-parse.o): Depend on $(TM_P_H).
* jcf-parse.c: Include tm_p.h.

gcc:
* ra-colorize.c (colorize_one_web): Initialize variable.
* regmove.c (fixup_match_1): Likewise.
* reload1.c (reload_as_needed): Likewise.
* sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61394 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
rakdver [Thu, 16 Jan 2003 15:49:20 +0000 (15:49 +0000)]
2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

* cfgloop.c (flow_loops_find): Fix handling of abnormal edges.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61393 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dbxout.c (lastfile, cwd): Fix `unused' warning.
ghazi [Thu, 16 Jan 2003 15:37:57 +0000 (15:37 +0000)]
* dbxout.c (lastfile, cwd): Fix `unused' warning.
* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
is_main_source, file_table, decl_die_table_in_use,
abbrev_die_table_in_use, line_info_table_in_use,
separate_line_info_table_in_use, pubname_table_in_use,
arange_table_in_use, ranges_table_in_use,
current_function_has_inlines): Likewise.
* flow.c (life_analysis): Likewise.
* genemit.c (gen_insn): Likewise.
* protoize.c (cplus_suffix): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61392 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dbxout.c (lastfile, cwd): Fix `unused' warning.
ghazi [Thu, 16 Jan 2003 15:30:20 +0000 (15:30 +0000)]
* dbxout.c (lastfile, cwd): Fix `unused' warning.
* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
is_main_source, file_table, decl_die_table_in_use,
abbrev_die_table_in_use, line_info_table_in_use,
separate_line_info_table_in_use, pubname_table_in_use,
arange_table_in_use, ranges_table_in_use,
current_function_has_inlines): Likewise.
* flow.c (life_analysis): Likewise.
* genemit.c (gen_insn): Likewise.
* protoize.c (cplus_suffix): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61391 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
ghazi [Thu, 16 Jan 2003 15:22:54 +0000 (15:22 +0000)]
* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
* arm.h (ROUND_UP_WORD): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61390 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
ghazi [Thu, 16 Jan 2003 15:13:33 +0000 (15:13 +0000)]
* arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
warning.
* emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
init_emit_once): Likewise.
* flow.c (mark_regs_live_at_end, calculate_global_regs_live):
Likewise.
* function.c (assign_stack_temp_for_type): Likewise.
* loop.c (loop_invariant_p): Likewise.
* recog.c (push_operand): Likewise.
* regclass.c (init_reg_sets_1): Likewise.
* reload.c (update_auto_inc_notes): Likewise.
* reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
* stmt.c (expand_asm_operands): Likewise.
* stor-layout.c (start_record_layout): Likewise.

cp:
* class.c (layout_virtual_bases): Avoid signed/unsigned warning.

java:
* jcf-write.c (generate_bytecode_insns): Avoid signed/unsigned
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61389 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Thu, 16 Jan 2003 08:17:35 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61387 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-16 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 16 Jan 2003 08:01:27 +0000 (08:01 +0000)]
2003-01-16  Michael Koch  <konqueror@gmx.de>

* java/net/MulticastSocket.java
(setInterface): Reindented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61379 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/c4x/c4x.md (epilogue): Correct last patch.
m.hayes [Thu, 16 Jan 2003 06:20:27 +0000 (06:20 +0000)]
    * config/c4x/c4x.md (epilogue): Correct last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61378 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 16 Jan 2003 03:11:13 +0000 (03:11 +0000)]
2003-01-15  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/basic_string.tcc (_S_string_copy): Unused, remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61377 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
rth [Thu, 16 Jan 2003 01:50:54 +0000 (01:50 +0000)]
    * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
        also check that GP is being used.
        (alpha_find_lo_sum_using_gp): New.
        (alpha_does_function_need_gp): Use get_attr_usegp.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
        as needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61376 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcse.c (one_cprop_pass): Change function arguments to take both
sayle [Thu, 16 Jan 2003 01:06:33 +0000 (01:06 +0000)]
* gcse.c (one_cprop_pass): Change function arguments to take both
cprop_jumps and bypass_jumps flags instead of just alter_jumps.
(gcse_main): Update calls to one_cprop_pass, disabling bypassing.
(bypass_jumps): New function to perform separate jump bypassing pass.
* rtl.h (bypass_jumps): Add function prototype.
* timevar.def (TV_BYPASS): New timing variable.
* toplev.c (enum dump_file_index): Add new entry DFI_bypass.
(dump_file): New entry for the bypass RTL dump file.
(rest_of_compilation): Insert new jump bypassing optimization
pass after loop.
* doc/passes.texi: Document new pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61374 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 16 Jan 2003 00:50:20 +0000 (00:50 +0000)]
2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (all-local): Add conditional rule to
generate testsuite_wchar_t.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
testsuite_wchar_t is not present in the build directory.
* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
Remove setulimit bits.
* testsuite/26_numerics/complex_value.cc: Set to noopts.
* testsuite/Makefile.am (CLEANFILES): Add.
* testsuite/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61373 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
danglin [Thu, 16 Jan 2003 00:34:45 +0000 (00:34 +0000)]
* som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
* pa.h (TARGET_SOM_SDEF): Define.
* pa-hpux11.h (TARGET_SOM_SDEF): Define.
* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
__hppa__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61372 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Scott Gilbertson <scottg@mantatest.com>
tromey [Wed, 15 Jan 2003 23:53:49 +0000 (23:53 +0000)]
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
* gnu/gcj/xlib/GC.java (fillPolygon): Declare.
* gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
translateY arguments.  Implement.
* gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
down translation arguments.
(drawPolyline, drawPolygon): Fix incorrect tests.
* gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
translateX and translateY arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61369 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Scott Gilbertson <scottg@mantatest.com>
tromey [Wed, 15 Jan 2003 23:34:14 +0000 (23:34 +0000)]
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* Makefile.in: Rebuilt.
* Makefile.am (xlib_includes): New macro.
(INCLUDES): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61366 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
ciceron [Wed, 15 Jan 2003 23:30:40 +0000 (23:30 +0000)]
* config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
allocate 4-bytes of locals on 68HC11.
(expand_epilogue): Likewise.
(m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61364 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * g++.dg/tls/init-2.C: Update error message string.
rth [Wed, 15 Jan 2003 23:27:55 +0000 (23:27 +0000)]
    * g++.dg/tls/init-2.C: Update error message string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61363 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Scott Gilbertson <scottg@mantatest.com>
tromey [Wed, 15 Jan 2003 23:18:58 +0000 (23:18 +0000)]
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
* gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
16-bit display mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61362 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
ciceron [Wed, 15 Jan 2003 22:50:41 +0000 (22:50 +0000)]
* config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
and -mshort-double to the assembler to specify the ABI.
(LINK_SPEC): Likewise.
(CPP_SPEC): Pass HCS12 specific define.
(MASK_M68S12): New define.
(TARGET_M68S12): Likewise.
(TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
(TARGET_VERSION): Update.
* config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
(LINK_SPEC): Update.
(ASM_SPEC): Update.
* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
* doc/invoke.texi (M68hc1x Options): Document -m68hcs12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61358 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-15 Scott Gilbertson <scottg@mantatest.com>
tromey [Wed, 15 Jan 2003 22:47:04 +0000 (22:47 +0000)]
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* java/awt/CardLayout.java (show): Rewrote.
(gotoComponent): Removed `target' argument.  Simplified code.
Don't pre-compute `choice' unless `what' is FIRST or LAST.
Changed all callers.
(NONE): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61357 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/execute/builtin-constant.x: XFAIL the test.
ghazi [Wed, 15 Jan 2003 22:42:26 +0000 (22:42 +0000)]
* gcc.c-torture/execute/builtin-constant.x: XFAIL the test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61354 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/compile/20000804-1.x: Don't execute this test at
ciceron [Wed, 15 Jan 2003 21:26:14 +0000 (21:26 +0000)]
* gcc.c-torture/compile/20000804-1.x: Don't execute this test at
all for HC11/HC12.
* gcc.c-torture/compile/20001205-1.x: Likewise.
* gcc.c-torture/compile/20001226-1.x: Likewise.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/961203-1.x: Likewise.
* gcc.c-torture/compile/20020604-1.x: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61351 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
ciceron [Wed, 15 Jan 2003 20:39:17 +0000 (20:39 +0000)]
* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
the return code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61347 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
zlomek [Wed, 15 Jan 2003 20:16:22 +0000 (20:16 +0000)]
* cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
flag before setting it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61345 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS: Add myself to write-after-approval list.
zlomek [Wed, 15 Jan 2003 19:47:10 +0000 (19:47 +0000)]
* MAINTAINERS: Add myself to write-after-approval list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61343 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoI added myself to the list.
zlomek [Wed, 15 Jan 2003 19:42:36 +0000 (19:42 +0000)]
I added myself to the list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61342 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
sayle [Wed, 15 Jan 2003 17:44:37 +0000 (17:44 +0000)]
* c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
when loop condition is known true, i.e.  "while (1) { ... }".
(genrtl_for_stmt): Similarly for "for" statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61338 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * real.c (real_sqrt): Return a bool result indicating whether
sayle [Wed, 15 Jan 2003 17:40:26 +0000 (17:40 +0000)]
* real.c (real_sqrt): Return a bool result indicating whether
a floating point exception or trap should be raised.
* real.h (real_sqrt): Update function prototype.
* builtins.c (fold_builtin): Only fold non-trapping square
roots unless we're ignoring errno and trapping math.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61337 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * expr.h (emit_conditional_add): Add PARAMS to declaration.
danglin [Wed, 15 Jan 2003 17:36:57 +0000 (17:36 +0000)]
* expr.h (emit_conditional_add): Add PARAMS to declaration.
* gengtype-lex.l (malloc, realloc): Move defines after include of
system.h.  Remove duplicate include of system.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61336 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR middle-end/9009
sayle [Wed, 15 Jan 2003 17:32:38 +0000 (17:32 +0000)]
PR middle-end/9009
* optabs.c (expand_unop):  When manipulating the FP sign bit
using integer operations, account for targets with different
integer and FP word orders.
(expand_abs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61335 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
dje [Wed, 15 Jan 2003 16:08:49 +0000 (16:08 +0000)]
    * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
        file extension in section name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61334 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
rearnsha [Wed, 15 Jan 2003 16:06:47 +0000 (16:06 +0000)]
* flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
constant offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61333 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
rearnsha [Wed, 15 Jan 2003 15:51:11 +0000 (15:51 +0000)]
* arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
(HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
(ARM_PRINT_OPERAND_ADDRESS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61332 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCopyright for 2003.
hpenner [Wed, 15 Jan 2003 13:44:24 +0000 (13:44 +0000)]
Copyright for 2003.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61331 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR f/9258
hubicka [Wed, 15 Jan 2003 12:43:35 +0000 (12:43 +0000)]
PR f/9258
* global.c (struct allocno): Add no_stack_reg.
(global_conflicts): Set no_stack_reg.
(find_reg): Use it.

* convert.c (convert_to_real): Fold - and abs only when profitable.
* fold-const.c (fold): Fold truncates in - and abs.

* gcc.c-torture/compile/20030115-1.c: New test.

* gcc.dg/i386-fpcvt-1.c: New test.
* gcc.dg/i386-fpcvt-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61329 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoI did not know how to write to changelog sone other's patch
zlomek [Wed, 15 Jan 2003 12:12:09 +0000 (12:12 +0000)]
I did not know how to write to changelog sone other's patch
so I'm fixing the Changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61328 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago Segher Boessenkool <segher@koffie.nl>
zlomek [Wed, 15 Jan 2003 12:07:46 +0000 (12:07 +0000)]
Segher Boessenkool  <segher@koffie.nl>

* predict.c (real_inv_br_prob_base): New variable.
(propagate_freq): Use multiply by reciprocal instead of
division.  Don't divide by 1.0 at all.
(estimate_bb_frequencies): Similar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61326 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
aoliva [Wed, 15 Jan 2003 11:24:15 +0000 (11:24 +0000)]
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61325 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoput back entry mistakenly taken out by hpenner
aoliva [Wed, 15 Jan 2003 10:57:14 +0000 (10:57 +0000)]
put back entry mistakenly taken out by hpenner

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61324 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
aoliva [Wed, 15 Jan 2003 10:53:22 +0000 (10:53 +0000)]
* configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61323 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/s390/s390.c (s390_safe_attr_type): New function.
hpenner [Wed, 15 Jan 2003 10:38:01 +0000 (10:38 +0000)]
    * config/s390/s390.c (s390_safe_attr_type): New function.
        (s390_use_dfa_pipeline_interface): New function, return true for z900.
        (s390_issue_rate): New function.
        (s390_agen_dep_p): New function.
        (addr_generation_dependency_p): Use 's390_safe_attr_type'.
        (s390_adjust_cost): Return 'cost' if new DFA is used.
        (s390_adjust_priority): Delete function.
        * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
        * config/s390/s390.md (atype attribute): Attribute 'atype' default
        determined by 'op_type'.
        (type attribute): Added more type attributes.
        * config/s390/2064.md: New DFA description for z900 pipeline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61321 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/i386/i386.c (ix86_expand_vector_move): Validize constant
aoliva [Wed, 15 Jan 2003 09:17:20 +0000 (09:17 +0000)]
* config/i386/i386.c (ix86_expand_vector_move): Validize constant
forced to memory.  Fixes PR bootstrap/9036.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61319 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Wed, 15 Jan 2003 08:17:32 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61318 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
aoliva [Wed, 15 Jan 2003 07:42:21 +0000 (07:42 +0000)]
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
to set $gp before the call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61310 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
rth [Wed, 15 Jan 2003 03:25:50 +0000 (03:25 +0000)]
    * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
        for force_const_mem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61309 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
ghazi [Wed, 15 Jan 2003 01:21:46 +0000 (01:21 +0000)]
cp:
* decl2.c (check_classfn): Fix uninitialized warning.
(build_anon_union_vars): Likewise.
* pt.c (tsubst_copy): Likewise.

gcc:
* genattr.c (main): Rearrange output to avoid prototype warning.
* genautomata.c (transform_3): Fix ambiguous-else warning.
* local-alloc.c (requires_inout): Add parentheses around
assignment used as truth-value.
* timevar.c: Move system includes above local includes.  Include
toplev.h
* Makefile.in (timevar.o): Depend on toplev.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61308 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 14 Jan 2003 21:44:48 +0000 (21:44 +0000)]
2003-01-14  Michael Koch  <konqueror@gmx.de>

* java/net/InetSocketAddress.java
(serialVersionUID): New member variable.
* java/net/NetPermission.java
(NetPermission): Dont implement java.io.Serialization directly.
* java/net/SocketAddress.java:
(serialVersionUID): Documentation added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61305 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Tue, 14 Jan 2003 21:36:20 +0000 (21:36 +0000)]
2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>

Further conform g++'s __vmi_class_type_info to the C++ ABI
specification.
* gcc/cp/rtti.c (dfs_class_hint_mark): Do not set hints not
specified by the specification.
(class_hint_flags): Likewise.
* gcc/testsuite/g++.old-deja/g++.abi/vmihint.C (main): Revise
expected flags per the specification.
* libstdc++-v3/libsupc++/cxxabi.h
(__vmi_class_type_info::__flags_masks): Remove enumerations not
required by the specification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61304 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 14 Jan 2003 21:21:35 +0000 (21:21 +0000)]
2003-01-14  Michael Koch  <konqueror@gmx.de>

* java/awt/Label.java
(Label): Implements javax.accessibility.Accessible;
* java/awt/List.java
(List): Implements javax.accessibility.Accessible;
* java/awt/ScrollPane.java
(ScrollPane): Implements javax.accessibility.Accessible;
* java/awt/Scrollbar.java
(Scrollbar): Implements javax.accessibility.Accessible;
* java/awt/TextComponent.java
(setCaretPosition): Throw exception, documentation added.
* java/awt/Toolkit.java:
Added some newlines in method documentations.
(createButton): Exception documentation added.
(createTextField): Exception documentation added.
(createLabel): Exception documentation added.
(createList): Exception documentation added.
(createCheckbox): Exception documentation added.
(createScrollbar): Exception documentation added.
(createScrollPane): Exception documentation added.
(createTextArea): Exception documentation added.
(createChoice): Exception documentation added.
(createFrame): Exception documentation added.
(createWindow): Exception documentation added.
(createDialog): Exception documentation added.
(createMenuBar): Exception documentation added.
(createMenu): Exception documentation added.
(createMenuItem): Exception documentation added.
(createFileDialog): Exception documentation added.
(createCheckboxMenuItem): Exception documentation added.
(loadSystemColors): Exception documentation added.
(setDynamicLayout): Exception documentation added.
(isDynamicLayoutSet): Exception documentation added.
(isDynamicLayoutActive): Exception documentation added.
(getScreenSize): Exception documentation added.
(getScreenResolution): Exception documentation added.
(getScreenInsets): Exception documentation added.
(getColorModel): Exception documentation added.
(getSystemClipboard): Exception documentation added.
(getSystemSelection): Exception documentation added.
(getMenuShortcutKeyMask): Exception documentation added.
(getSystemEventQueue): Exception documentation added.
* java/awt/Window.java:
Reindented some code.
(Window): Centralized implementation, documentation added.
(finalize): Documentation added.
(hide): Fixed typo in comment.
(getWindowListeners): Documentation added.
* java/awt/color/ColorSpace.java
(toRGB): Documentation added.
* java/awt/color/ICC_ColorSpace.java
(ICC_ColorSpace): Documentation added.
(toRGB): Throw exception, documentation added.
(fromRGB): Throw exception, documentation added.
(toCIEXYZ): Documentation added.
(fromCIEXYZ): Documentation added.
(getMinValue): Documentation added.
(getMaxValue): Documentation added.
* java/awt/geom/Dimension2D.java
(clone): Documentation added.
* java/awt/geom/GeneralPath.java
(clone): Documentation added.
* java/awt/geom/Line2D.java
(clone): Documentation added.
* java/awt/geom/QuadCurve2D.java
(clone): Documentation added.
* java/awt/image/ColorModel.java
(ColorModel): Throw exception, documentation added.
* java/awt/image/ImageFilter.java
(clone): Doesnt throw CloneNotSupportedException.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61303 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config.h.in: Rebuilt.
tromey [Tue, 14 Jan 2003 21:16:20 +0000 (21:16 +0000)]
* config.h.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61302 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
denisc [Tue, 14 Jan 2003 20:25:25 +0000 (20:25 +0000)]
* config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.

* config/ip2k/ip2k.c (ip2k_attribute_table): New table of
        attributes.
(TARGET_ATTRIBUTE_TABLE): New macro.
(valid_machine_type_attribute): Remove.
(valid_machine_decl_attribute): Remove.
(ip2k_handle_progmem_attribute): New function.
(ip2k_handle_fndecl_attribute): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61295 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 19:26:21 +0000 (19:26 +0000)]
2003-01-14  Andrew Haley  <aph@redhat.com>

        * java/lang/natRuntime.cc (_load): StackTrace access needs to be
        in a try block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61293 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * class.c (make_class_data): Check that super is compiled before
tromey [Tue, 14 Jan 2003 18:59:01 +0000 (18:59 +0000)]
* class.c (make_class_data): Check that super is compiled before
building class reference to it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61292 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 18:42:29 +0000 (18:42 +0000)]
2003-01-14  Andrew Haley  <aph@redhat.com>

        * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
        (ffi_prep_cif_machdep): Likewise.
        * src/x86/unix64.S: Add unwind info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61291 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 17:01:04 +0000 (17:01 +0000)]
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61289 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-10 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 15:22:22 +0000 (15:22 +0000)]
2003-01-10  Andrew Haley  <aph@redhat.com>

        * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
        registers to be in correct order.  Add rip.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61287 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 15:03:16 +0000 (15:03 +0000)]
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): Temporarily back out previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61286 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-10 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 14:02:13 +0000 (14:02 +0000)]
2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61285 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-10 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 13:51:15 +0000 (13:51 +0000)]
2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61284 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config-lang.in: Add semantics.c to gtfiles.
lerdsuwa [Tue, 14 Jan 2003 13:40:53 +0000 (13:40 +0000)]
* config-lang.in: Add semantics.c to gtfiles.
* cp-tree.h (flagged_type_tree_s): Remove lookups field.
(saved_scope): Likewise.
(type_lookups): Remove.
(deferred_access): New structure.
(type_access_control): Remove.
(save_type_access_control): Likewise.
(reset_type_access_control): Likewise.
(decl_type_access_control): Likewise.
(push_deferring_access_checks): Declare.
(resume_deferring_access_checks): Likewise.
(stop_deferring_access_checks): Likewise.
(pop_deferring_access_checks): Likewise.
(get_deferred_access_checks): Likewise.
(pop_to_parent_deferring_access_checks): Likewise.
(perform_deferred_access_checks): Likewise.
(perform_or_defer_access_check): Likewise.
* decl.c (make_typename_type): Use perform_or_defer_access_check.
(make_unbound_class_template): Likewise.
(grokdeclarator): Don't call decl_type_access_control.
* parser.c (cp_parser_context): Remove deferred_access_checks
and deferring_access_checks_p fields.
(cp_parser_context_new): Adjust.
(cp_parser): Remove access_checks_lists.
(cp_parser_defer_access_check): Remove.
(cp_parser_start_deferring_access_checks): Remove.
(cp_parser_stop_deferring_access_checks): Remove.
(cp_parser_perform_deferred_access_checks): Remove.
(cp_parser_nested_name_specifier_opt): Use new deferred access
functions.
(cp_parser_simple_declaration): Likewise.
(cp_parser_template_id): Likewise.
(cp_parser_function_definition): Likewise.
(cp_parser_class_specifier): Likewise.
(cp_parser_lookup_name): Likewise.
(cp_parser_single_declaration): Likewise.
(cp_parser_pre_parsed_nested_name_specifier): Likewise.
(cp_parser_parse_tentatively): Likewise.
(cp_parser_parse_definitely): Likewise.
(yyparse): Likewise.
(cp_parser_init_declarator): Remove access_checks parameter.
Use new deferred access functions.
(cp_parser_function_definition_from_specifiers_and_declarator):
Likewise.
(cp_parser_class_head): Remove deferring_access_checks_p and
saved_access_checks parameters.  Use new deferred access functions.
(cp_parser_member_specification_opt): Don't call
reset_type_access_control.
* search.c (type_access_control): Remove.
* semantics.c: Include "gt-cp-semantics.h".
(deferred_type_access_control): Remove.
(deferred_access_stack): New variable.
(deferred_access_free_list): Likewise.
(push_deferring_access_checks): New function.
(resume_deferring_access_checks): Likewise.
(stop_deferring_access_checks): Likewise.
(pop_deferring_access_checks): Likewise.
(get_deferred_access_checks): Likewise.
(pop_to_parent_deferring_access_checks): Likewise.
(perform_deferred_access_checks): New function, adapted from
cp_parser_perform_deferred_access_checks.
(perform_or_defer_access_check): New function, adapted from
cp_parser_defer_access_check.
(current_type_lookups): Remove.
(deferred_type_access_control): Likewise.
(decl_type_access_control): Likewise.
(save_type_access_control): Likewise.
(reset_type_access_control): Likewise.
(begin_function_definition): Adjust.
(begin_class_definiton): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61283 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-10 <aph@host240.cambridge.redhat.com>
aph [Tue, 14 Jan 2003 13:33:03 +0000 (13:33 +0000)]
2003-01-10    <aph@host240.cambridge.redhat.com>

        * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
        registers to be in correct order.  Add rip.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61282 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-14 Andrew Haley <aph@redhat.com>
aph [Tue, 14 Jan 2003 13:31:11 +0000 (13:31 +0000)]
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

        * parse.y (patch_assignment): Copy the rhs of an assignment into a
        temporary if the RHS is a reference.

2003-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.
        * keyword.h: Regenerated.

        * All Files: Convert to ISO C style function definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61281 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
kazu [Tue, 14 Jan 2003 13:11:24 +0000 (13:11 +0000)]
* config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
(*iorsi3_and_lshiftrt_9_sb): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61280 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * convert.c (strip_float_extensions): Look for narrowest type handling
hubicka [Tue, 14 Jan 2003 13:03:47 +0000 (13:03 +0000)]
* convert.c (strip_float_extensions):  Look for narrowest type handling
FP constants.

* fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
float1 CMP float2.
* convert.c (strip_float_extensions): Make global.
* tree.h (strip_float_extensions): Declare.

* gcc.dg/i386-fpcvt-1.c: New test.
* gcc.dg/i386-fpcvt-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61279 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/i386-mmx-3.c: New test.
ebotcazou [Tue, 14 Jan 2003 11:35:02 +0000 (11:35 +0000)]
* gcc.dg/i386-mmx-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61275 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * src/ffitest.c (main): Only use ffi_closures if those are
aj [Tue, 14 Jan 2003 09:50:48 +0000 (09:50 +0000)]
* src/ffitest.c (main): Only use ffi_closures if those are
supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61273 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 14 Jan 2003 08:17:31 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61272 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Make-lang.in (treelang.install-info): Depend only on info files
aj [Tue, 14 Jan 2003 08:03:58 +0000 (08:03 +0000)]
* Make-lang.in (treelang.install-info): Depend only on info files
if BUILD_INFO is set.  Fix install rules.
(treelang.): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61264 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
tromey [Tue, 14 Jan 2003 05:15:21 +0000 (05:15 +0000)]
2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>

* libffi/src/ffitest.c
         add closure testcases

2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>

* libffi/src/powerpc/ffi.c
         fix alignment bug for float (4 byte aligned iso 8 byte)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61263 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 14 Jan 2003 04:56:56 +0000 (04:56 +0000)]
2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>

Renames, namespaces for testsuite utilities.
* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
(gnu_allocator_tracker): Rename to allocation_tracker.
(gnu_new_allocator): Rename to tracker_alloc.
(__set_testsuite_memlimit): Rename to set_memory_limits.
(gnu_assignment_operator): Rename to assignment_operator.
(gnu_destructor): Rename to destructor.
(gnu_copy_tracker): Rename to copy_tracker.
(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
(run_tests_wrapped_locale): New.
(run_tests_wrapped_env): New.
* testsuite/testsuite_hooks.cc: Same.
(class locale_data): Add.
(class enviornment_variable): Add.
(class not_found): Add.
* testsuite/testsuite_allocator.h: Same.
* testsuite/testsuite_allocator.cc: Same.
* testsuite/23_containers/deque_ctor.cc
(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
allocation_tracker.
Change gnu_new_allocator to tracker_alloc.
Change gnu_counting_struct to counter.
Change gnu_copy_tracker to copy_tracker.
Change gnu_copy_constructor to copy_constructor.
Change gnu_assignment_operator to assignment_operator.
Inject.
* testsuite/23_containers/vector_capacity.cc: Same.
* testsuite/23_containers/vector_ctor.cc (test01): Same.
* testsuite/23_containers/list_modifiers.cc: Change
gnu_copy_tracker to copy_tracker.
* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
__set_testsuite_memlimit to set_memory_limits.
* testsuite/21_strings/insert.cc (main): Same.
* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/streambuf.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Additionally handle files two and
three levels deeper in glob patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61261 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * timevar.def: define TV_NAME_LOOKUP.
gdr [Tue, 14 Jan 2003 03:38:24 +0000 (03:38 +0000)]
    * timevar.def: define TV_NAME_LOOKUP.
        * timevar.c (timevar_pop): Be verbose when aborting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61260 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd 2003 copyright notices for constraints string patch, also 2002 notice
amylaar [Mon, 13 Jan 2003 21:37:13 +0000 (21:37 +0000)]
Add 2003 copyright notices for constraints string patch, also 2002 notice
for genoutput.c .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61258 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
schwab [Mon, 13 Jan 2003 20:37:28 +0000 (20:37 +0000)]
* Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
$(parsedir), just move the temporary file at the end.
($(parsedir)/gengtype-yacc.c): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61257 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
aoliva [Mon, 13 Jan 2003 17:23:25 +0000 (17:23 +0000)]
* aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
${ac_tool_prefix} to ADAC or CC.  Protect them from word
splitting.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61254 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
ghazi [Mon, 13 Jan 2003 16:23:31 +0000 (16:23 +0000)]
* config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
internal_mcount): Don't use PARAMS.
(monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
ISO C style.
(internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61253 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
schwab [Mon, 13 Jan 2003 15:38:58 +0000 (15:38 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
directive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61252 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
kazu [Mon, 13 Jan 2003 13:20:27 +0000 (13:20 +0000)]
* config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
(*iorsi3_and_lshiftrt_n_sb): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61251 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/8748
jason [Mon, 13 Jan 2003 09:16:21 +0000 (09:16 +0000)]
    PR c++/8748
        * class.c (build_base_path): Take the address before calling save_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61250 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
jason [Mon, 13 Jan 2003 09:16:06 +0000 (09:16 +0000)]
    * call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
        all the ambiguous conversions are bad.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61249 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * class.c (maybe_warn_about_overly_private_class): Don't stop
jason [Mon, 13 Jan 2003 09:15:29 +0000 (09:15 +0000)]
    * class.c (maybe_warn_about_overly_private_class): Don't stop
        searching when we find a nonprivate method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61248 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/8748
jason [Mon, 13 Jan 2003 09:14:47 +0000 (09:14 +0000)]
    PR c++/8748
        * class.c (build_base_path): Take the address before calling save_expr.

        * call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
        all the ambiguous conversions are bad.

        * class.c (maybe_warn_about_overly_private_class): Don't stop
        searching when we find a nonprivate method.

        * typeck.c (build_class_member_access_expr): Use unary_complex_lvalue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61246 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 13 Jan 2003 08:17:46 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61245 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago Fix for PR libgcj/9139:
tromey [Mon, 13 Jan 2003 00:22:20 +0000 (00:22 +0000)]
Fix for PR libgcj/9139:
* lib/libjava.exp (find_javac): Put value of libgcj_jar into
return value when gcj is used.
* libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61237 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-tree.h (get_arglist_len_in_bytes): Remove.
mmitchel [Mon, 13 Jan 2003 00:16:12 +0000 (00:16 +0000)]
* cp-tree.h (get_arglist_len_in_bytes): Remove.

PR c++/9264
* parser.c (cp_parser_elaborated_type_specifier): Handle erroneous
typeame types more robustly.

PR c++/9172
* g++.dg/parse/typename1.C: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61236 138bc75d-0d04-0410-961f-82ee72b054a4