aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-16cfgloop.c (flow_loops_find): Fix handling of abnormal edges.Zdenek Dvorak2-8/+13
2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> * cfgloop.c (flow_loops_find): Fix handling of abnormal edges. From-SVN: r61393
2003-01-16dbxout.c (lastfile, cwd): Fix `unused' warning.Kaveh Ghazi5-18/+45
* 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. From-SVN: r61392
2003-01-16dbxout.c (lastfile, cwd): Fix `unused' warning.Kaveh Ghazi1-0/+12
* 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. From-SVN: r61391
2003-01-16arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.Kaveh R. Ghazi3-7/+10
* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP. * arm.h (ROUND_UP_WORD): Likewise. From-SVN: r61390
2003-01-16arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning.Kaveh R. Ghazi16-18/+44
* 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. From-SVN: r61389
2003-01-16Daily bump.GCC Administrator2-2/+2
From-SVN: r61387
2003-01-162003-01-16 Michael Koch <konqueror@gmx.de>Michael Koch2-5/+10
* java/net/MulticastSocket.java (setInterface): Reindented. From-SVN: r61379
2003-01-16* config/c4x/c4x.md (epilogue): Correct last patch.Herman A.J. ten Brugge2-1/+5
From-SVN: r61378
2003-01-16basic_string.tcc (_S_string_copy): Unused, remove.Phil Edwards2-12/+4
2003-01-15 Phil Edwards <pme@gcc.gnu.org> * include/bits/basic_string.tcc (_S_string_copy): Unused, remove. From-SVN: r61377
2003-01-15alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; also check that GP ↵Richard Henderson4-19/+50
is being used. * 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. From-SVN: r61376
2003-01-16gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps ↵Roger Sayle6-15/+179
and bypass_jumps flags... * 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. From-SVN: r61374
2003-01-16acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute ↵Benjamin Kosnik9-1175/+1279
GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library. 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. From-SVN: r61373
2003-01-16som.h (SUPPORTS_WEAK, [...]): Define.John David Anglin6-3/+79
* 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__. From-SVN: r61372
2003-01-15natGC.cc (fillPolygon): New method.Scott Gilbertson6-19/+52
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. From-SVN: r61369
2003-01-15Makefile.in: Rebuilt.Scott Gilbertson3-3/+13
2003-01-15 Scott Gilbertson <scottg@mantatest.com> * Makefile.in: Rebuilt. * Makefile.am (xlib_includes): New macro. (INCLUDES): Use it. From-SVN: r61366
2003-01-16m68hc11.c (expand_prologue): Use push/pop to allocate 4-bytes of locals on ↵Stephane Carrez2-3/+10
68HC11. * 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. From-SVN: r61364
2003-01-15* g++.dg/tls/init-2.C: Update error message string.Richard Henderson2-1/+5
From-SVN: r61363
2003-01-15XToolkit.java (getColorModel): Implemented.Scott Gilbertson3-12/+35
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. From-SVN: r61362
2003-01-15m68hc11.h (ASM_SPEC): Handle -m68hcs12...Stephane Carrez5-17/+64
* 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. From-SVN: r61358
2003-01-15CardLayout.java (show): Rewrote.Scott Gilbertson2-21/+34
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. From-SVN: r61357
2003-01-15* gcc.c-torture/execute/builtin-constant.x: XFAIL the test.Kaveh R. Ghazi2-0/+15
From-SVN: r61354
2003-01-1520000804-1.x: Don't execute this test at all for HC11/HC12.Stephane Carrez7-9/+19
* 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. From-SVN: r61351
2003-01-15m68hc11.md ("return"): Use emit_jump_insn to emit the return code.Stephane Carrez2-8/+13
* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit the return code. From-SVN: r61347
2003-01-15cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU flag ↵Josef Zlomek2-3/+12
before setting it. * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU flag before setting it. From-SVN: r61345
2003-01-15* MAINTAINERS: Add myself to write-after-approval list.Josef Zlomek1-0/+4
From-SVN: r61343
2003-01-15I added myself to the list.Josef Zlomek1-0/+1
From-SVN: r61342
2003-01-15c-semantics.c (genrtl_while_stmt): Improve initial RTL generation when loop ↵Roger Sayle2-12/+24
condition is known true, i.e. * 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. From-SVN: r61338
2003-01-15real.c (real_sqrt): Return a bool result indicating whether a floating point ↵Roger Sayle4-16/+24
exception or trap... * 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. From-SVN: r61337
2003-01-15expr.h (emit_conditional_add): Add PARAMS to declaration.John David Anglin3-7/+13
* 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. From-SVN: r61336
2003-01-15re PR middle-end/9009 (floating-point negate and abs optimizations incorrect ↵Roger Sayle2-1/+25
for ARM) 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. From-SVN: r61335
2003-01-15rs6000.c (rs6000_gen_section_name): Do not include file extension in section ↵David Edelsohn2-0/+8
name. * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include file extension in section name. From-SVN: r61334
2003-01-15flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with constant offset.Richard Earnshaw2-0/+11
* flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with constant offset. From-SVN: r61333
2003-01-15arm.h (HAVE_PRE_MODIFY_DISP, [...]): Define.Richard Earnshaw2-135/+174
* 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. From-SVN: r61332
2003-01-15Copyright for 2003.Hartmut Penner4-4/+4
From-SVN: r61331
2003-01-15re PR rtl-optimization/9258 (ICE in compensate_edge, at reg-stack.c:2589)Jan Hubicka7-5/+79
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. From-SVN: r61329
2003-01-15I did not know how to write to changelog sone other's patchJosef Zlomek1-1/+3
so I'm fixing the Changelog entry From-SVN: r61328
2003-01-15Segher Boessenkool <segher@koffie.nl>Segher Boessenkool2-20/+31
* 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. From-SVN: r61326
2003-01-15configure.in (noconfigdirs): Don't skip gas on IRIX 6.Alexandre Oliva3-45/+67
* configure.in (noconfigdirs): Don't skip gas on IRIX 6. * configure: Rebuilt. From-SVN: r61325
2003-01-15put back entry mistakenly taken out by hpennerAlexandre Oliva1-0/+3
From-SVN: r61324
2003-01-15configure.in (libgcc_visibility): Force disabled on IRIX 6 too.Alexandre Oliva3-24/+37
* configure.in (libgcc_visibility): Force disabled on IRIX 6 too. * configure: Rebuilt. From-SVN: r61323
2003-01-15s390.c (s390_safe_attr_type): New function.Hartmut Penner5-522/+607
* 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. From-SVN: r61321
2003-01-15re PR bootstrap/9036 (2002-12-21 trunk version fails to bootstrap for Pentium4)Alexandre Oliva2-1/+4
* config/i386/i386.c (ix86_expand_vector_move): Validize constant forced to memory. Fixes PR bootstrap/9036. From-SVN: r61319
2003-01-15Daily bump.GCC Administrator2-2/+2
From-SVN: r61318
2003-01-15mips.h (CRT_CALL_STATIC_FUNCTION): Define so as to set $gp before the call.Alexandre Oliva2-0/+33
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as to set $gp before the call. From-SVN: r61310
2003-01-14alpha.c (alpha_expand_mov): Use correct mode for force_const_mem.Richard Henderson2-1/+6
* config/alpha/alpha.c (alpha_expand_mov): Use correct mode for force_const_mem. From-SVN: r61309
2003-01-15decl2.c (check_classfn): Fix uninitialized warning.Kaveh R. Ghazi9-22/+43
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. From-SVN: r61308
2003-01-142003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch4-1/+17
* 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. From-SVN: r61305
2003-01-14Further conform g++'s __vmi_class_type_info to the C++ ABI specification.Jeffrey D. Oldham6-23/+33
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. From-SVN: r61304
2003-01-142003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch16-33/+317
* 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. From-SVN: r61303
2003-01-14* config.h.in: Rebuilt.Tom Tromey2-4/+14
From-SVN: r61302