aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-04ios.cc (ios_base::_M_init): Remove _M_callbacks initialization.Jerry Quinn2-1/+5
2003-04-04 Jerry Quinn <jlquinn@optonline.net> * src/ios.cc (ios_base::_M_init): Remove _M_callbacks initialization. From-SVN: r65242
2003-04-04sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE).J"orn Rennecke3-3/+11
* sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE). * sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE. From-SVN: r65241
2003-04-04contrib.texi (Contributors): Add entries for Wolfgang Bangerth...Gerald Pfeifer2-2/+44
* doc/contrib.texi (Contributors): Add entries for Wolfgang Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor, Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt, Danny Smith, and Ulrich Weigand. Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's entry. From-SVN: r65238
2003-04-04config/sparc/sol2-bi.h: Revert previous delta.Nick Clifton3-6/+11
config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO. From-SVN: r65237
2003-04-04(expand_prologue): Only use register save helper functions if long calls are ↵Nick Clifton3-26/+42
not being used. (expand_prologue): Only use register save helper functions if long calls are not being used. Add a clobber of r11 id using long calls. (prolog pattern): Do not use this pattern for v850e's. From-SVN: r65236
2003-04-04stor-layout.c (layout_decl): Avoid syntax error in last change when ↵Andreas Schwab2-5/+13
PCC_BITFIELD_TYPE_MATTERS is defined but... * stor-layout.c (layout_decl): Avoid syntax error in last change when PCC_BITFIELD_TYPE_MATTERS is defined but not EMPTY_FIELD_BOUNDARY. From-SVN: r65234
2003-04-04Oops, asm-fs-1.c works as expected on darwin.Mike Stump1-2/+0
From-SVN: r65231
2003-04-04Oops, this works as expected now.Mike Stump1-2/+2
From-SVN: r65230
2003-04-03re PR c/10175 (-Wunreachable-code doesn't work for single lines)Jason Merrill1-0/+17
PR c/10175 * jump.c (never_reached_warning): Revert patch of 2002-11-02. Look backwards for a line note. From-SVN: r65229
2003-04-03re PR c/10175 (-Wunreachable-code doesn't work for single lines)Jason Merrill2-2/+18
PR c/10175 * jump.c (never_reached_warning): Revert patch of 2002-11-02. Look backwards for a line note. From-SVN: r65227
2003-04-04asm-fs-1.c: Expect failure on darwin.Mike Stump3-12/+21
* gcc.dg/asm-fs-1.c: Expect failure on darwin. * lib/scanasm.exp (scan-assembler): Add xfail processing for target arg. (scan-assembler-times, scan-assembler-not): Likewise. (scan-assembler-dem, scan-assembler-dem-not): Likewise. From-SVN: r65225
2003-04-04Daily bump.GCC Administrator2-2/+2
From-SVN: r65224
2003-04-03Make-lang.in (cp-warn): Add $(STRICT_WARN).Kaveh R. Ghazi3-6/+7
* Make-lang.in (cp-warn): Add $(STRICT_WARN). * cp-tree.h: Don't insist on having GNUC. From-SVN: r65217
2003-04-03* fix-header.c (read_scan_file): Defer switch processing.Neil Booth2-4/+9
From-SVN: r65216
2003-04-03cpppch.c (reset_ht): Remove.Matt Austern5-23/+58
* cpppch.c (reset_ht): Remove. (cpp_read_state): Remove loop to reset hashtable identifiers. * ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool after pch file is written. * ggc.h (gt_pch_fixup_stringpool): Declare. * stringpool.c (ht_copy_and_clear): Define. Callback. Copy hashnode's value to another hashtable, then clear the original. (saved_ident_hash): Define. (gt_pch_save_stringpool): Create saved_ident_hash, use it to store definitions in ident_hash, and clear ident_hash. (gt_pch_fixup_stringpool): Define. Restore definitions from saved_ident_hash to ident_hash, then destroy saved_ident_hash. From-SVN: r65215
2003-04-03* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.Jan Hubicka2-1/+6
From-SVN: r65214
2003-04-03cvt.c (ocp_convert): Only abort if we try to convert an object of ↵Jason Merrill2-1/+5
TREE_ADDRESSABLE type. * cvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE type. From-SVN: r65212
2003-04-03re PR rtl-optimization/10157 ([Sparc] internal compiler error: in ↵Eric Botcazou6-33/+74
extract_insn, at recog.c:2188) PR optimization/10157 * gcse.c (can_copy_p): Rename it to can_copy. (can_copy_init_p): Remove. (compute_can_copy): Use can_copy instead of can_copy_p. (can_copy_p): New exported function. Call compute_can_copy. (hash_scan_set): Use it. (gcse_main): Don't call compute_can_copy. (bypass_jumps): Don't call compute_can_copy. * rtl.h (can_copy_p): Declare. * loop.c (scan_loop): Don't move the source and add a reg-to-reg copy if the mode doesn't support copy operations. From-SVN: r65210
2003-04-03* Makefile.in (unstrap): Also remove stage_last.Jason Merrill2-1/+3
From-SVN: r65209
2003-04-03dwarf2out.c (lookup_filename): Don't check for "<internal>".Jason Merrill2-6/+5
* dwarf2out.c (lookup_filename): Don't check for "<internal>". (dwarf2out_source_line): Don't do anything if line==0. From-SVN: r65208
2003-04-03stor-layout.c (do_type_align): New fn, split out from...Jason Merrill9-166/+147
* stor-layout.c (do_type_align): New fn, split out from... (layout_decl): ...here. Do all alignment calculations for FIELD_DECLs here. (update_alignment_for_field): Not here. (start_record_layout, debug_rli): Remove unpadded_align. * tree.h (struct record_layout_info_s): Remove unpadded_align. * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN or DECL_MODE on the CONST_DECLs. (finish_struct): Don't mess with DECL_ALIGN. * cp/class.c (build_vtable): Set DECL_ALIGN here. (get_vtable_decl): Not here. (layout_vtable_decl): Or here. (create_vtable_ptr): Or here. (layout_class_type): Or here. (check_bitfield_decl): Don't mess with field alignment. * ada/misc.c (gnat_adjust_rli): #if 0. From-SVN: r65207
2003-04-03* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.Jan Hubicka2-4/+6
From-SVN: r65205
2003-04-03sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an ↵J"orn Rennecke2-5/+9
interrupt handler. * sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler. From-SVN: r65204
2003-04-03* Avoid clash of temp register for restoring target registersJ"orn Rennecke2-4/+16
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin fashion. From-SVN: r65202
2003-04-03gengtype-lex.l (IWORD): Add CHAR_BITFIELD.Kaveh R. Ghazi11-53/+115
gcc: * gengtype-lex.l (IWORD): Add CHAR_BITFIELD. * system.h (CHAR_BITFIELD): New. cp: * operators.def (DEF_SIMPLE_OPERATOR, DEF_ASSN_OPERATOR, DEF_ASSN_OPERATOR): Delete spurious semi-colon. * rtti.c (dfs_class_hint_mark): Likewise. * decl.c (push_local_name, push_class_level_binding, maybe_inject_for_scope_var): Don't use POP_TIMEVAR_AND_RETURN in functions returning void. * decl2.c (add_using_namespace): Likewise. * decl.c (print_binding_level, print_other_binding_stack, print_binding_stack): Cast argument of %p specifier to void*. * ptree.c (cxx_print_decl): Likewise. * cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK, VAR_FUNCTION_OR_PARM_DECL_CHECK, VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK, RECORD_OR_UNION_TYPE_CHECK, BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK, LANG_TYPE_CLASS_CHECK, LANG_TYPE_PTRMEM_CHECK, LANG_DECL_U2_CHECK): Add __extension__. * decl.c (set_current_binding_level): New macro. Use throughout when setting the current binding level. * cp-tree.h (cp_lvalue_kind, base_access): Delete trailing comma in enum. * method.c (mangling_flags): Likewise. * cp-tree.h (lang_type_header): Add __extension__ and use CHAR_BITFIELD for members. From-SVN: r65201
2003-04-03h8300.md (a peephole2): Generalize to accept GT and LE.Kazu Hirata2-10/+34
* config/h8300/h8300.md (a peephole2): Generalize to accept GT and LE. (another peephole2): Likewise. From-SVN: r65199
2003-04-03sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.Nick Clifton2-4/+9
* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO. (DEF_ARCH64_SPEC): Likewise. From-SVN: r65198
2003-04-03i386.c (constant_address_p): Use legitimate_constant_p.Jan Hubicka2-27/+13
* i386.c (constant_address_p): Use legitimate_constant_p. (legitimate_address_p): Do not use CONSTANT_ADDRESS_P. From-SVN: r65196
2003-04-03Index: testsuite/ChangeLogGeoffrey Keating7-7/+32
2003-04-02 Geoffrey Keating <geoffk@apple.com> * g++.dg/pch/system-2.C: New. * g++.dg/pch/system-2.Hs: New. Index: cp/ChangeLog 2003-04-02 Geoffrey Keating <geoffk@apple.com> * mangle.c: Include gt-cp-mangle.h. (subst_identifiers): Mark with GTY. * config-lang.in (gtfiles): Add cp/mangle.c. * Make-lang.in: (gt-cp-mangle.h): New rule. (cp/mangle.o): Depends on gt-cp-mangle.h. From-SVN: r65194
2003-04-03h8300-protos.h: Add a prototype for gtle_operator.Kazu Hirata5-4/+37
* config/h8300/h8300-protos.h: Add a prototype for gtle_operator. * config/h8300/h8300.c (gtle_operator): New. * config/h8300/h8300.h (PREDICATE_CODES): Add an entry for gtle_operator. * config/h8300/h8300.md (a peephole2): Generalize to accept GT and LE. From-SVN: r65192
2003-04-02libgcc-std.ver (_Unwind_GetCFA): New.Richard Henderson6-0/+38
* libgcc-std.ver (_Unwind_GetCFA): New. * unwind-dw2.c (_Unwind_GetCFA): New. * unwind-libunwind.c (_Unwind_GetCFA): New. * unwind-sjlj.c (_Unwind_GetCFA): New. * unwind.h: Declare it. From-SVN: r65190
2003-04-03Daily bump.GCC Administrator2-2/+2
From-SVN: r65189
2003-04-02re PR inline-asm/8808 (Internal compiler error in extract_constrain_insn_cached)Jan Hubicka2-4/+9
PR inline-asm/8088 * i386.c (ix86_hard_regno_mode_ok): Return 0 for MMX/SSE registers when MMX/SSE is not available. From-SVN: r65181
2003-04-02* doc/install.texi (Specific): Update pointers to apple.com.Mike Stump2-7/+5
From-SVN: r65180
2003-04-02i386.c (override_options): Disable red zone by default on i386.Jan Hubicka2-5/+19
* i386.c (override_options): Disable red zone by default on i386. (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory): Do not test TARGET_64BIT together with TARGET_RED_ZONE From-SVN: r65178
2003-04-02* config/h8300/h8300.md (a peephole2): Tighten the condition.Kazu Hirata2-3/+15
From-SVN: r65174
2003-04-02* longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.Richard Henderson2-4/+5
From-SVN: r65173
2003-04-02* config/h8300/h8300.md (a peephole2): New.Kazu Hirata2-0/+49
From-SVN: r65172
2003-04-02except.c (sjlj_find_directly_reachable_regions): Recognize when ↵Richard Henderson2-0/+7
must-not-throw region has been deleted. * except.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region has been deleted. From-SVN: r65170
2003-04-02dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization ↵Richard Henderson2-7/+14
when flag_exceptions not enabled. * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization when flag_exceptions not enabled. From-SVN: r65169
2003-04-022003-04-02 Vladimir Makarov <vmakarov@redhat.com>Vladimir Makarov3-47/+91
* config/rs6000/rs6000.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the macros. (rs6000_issue_rate): Add case for 8540. (rs6000_use_sched_lookahead): New function. * config/rs6000/8540.md: Rename SIU units into SU ones and MIU units into MU ones. (ppc8540_branch, ppc8540_cr_logical): Add one cycle in the reservation before retirement. (ppc8540_multiply, ppc8540_load, ppc8540_store, ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store): Remove additional cycle in the reservation before retirement. (ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed reservation of ppc8540_issue. From-SVN: r65167
2003-04-02simd-2.C (vecfunc): Fix typo.Aldy Hernandez3-2/+8
2003-04-02 Aldy Hernandez <aldyh@redhat.com> * g++.dg/eh/simd-2.C (vecfunc): Fix typo. * g++.dg/eh/simd-1.C (vecfunc): Same. From-SVN: r65165
2003-04-02fixJason Merrill1-4/+6
From-SVN: r65163
2003-04-02* real.c (decode_ieee_single): Fix decoding of SNaN bit.Andreas Schwab2-1/+6
From-SVN: r65161
2003-04-01except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for ↵Richard Henderson7-24/+314
nothrow calls if flag_forced_unwind_exceptions. * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for nothrow calls if flag_forced_unwind_exceptions. (build_post_landing_pads): Mind flag_forced_unwind_exceptions. (sjlj_find_directly_reachable_regions): Likewise. (reachable_handlers): Likewise. (can_throw_external): Likewise. (collect_one_action_chain): Record cleanups after catch-all and must-not-throw if flag_forced_unwind_exceptions. * flags.h (flag_forced_unwind_exceptions): Declare. * toplev.c (flag_forced_unwind_exceptions): New. (lang_independent_options): Add it. * doc/invoke.text: Add it. * g++.dg/eh/forced1.C: New. * g++.dg/eh/forced2.C: New. From-SVN: r65158
2003-04-02Daily bump.GCC Administrator2-2/+2
From-SVN: r65157
2003-04-01crti.asm: Clean up trailing whitespace.David Mosberger5-206/+209
* config/ia64/crti.asm: Clean up trailing whitespace. Remove trailing hashes (#) from identifiers. * config/ia64/crtn.asm: Ditto. * config/ia64/crtend.asm: Remove trailing hashes (#) from identifiers. (__do_global_ctors_aux): Align to 32-byte boundary. Add unwind directives. Drop explicit bundling---it just makes the code harder to read. Don't save/restore gp needlessly. * config/ia64/crtbegin.asm: Remove trailing hashes (#) from identifiers (they're only needed if the identifier would clash with a register name otherwise). (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind directives. Drop explicit bundling---it just makes the code harder to read. (__do_jv_register_classes): Ditto. (.fini_array): Remove "progbits" (newer assemblers don't like wrong section-types). (.init_array): Ditto. From-SVN: r65150
2003-04-01re PR fortran/9974 (Test g77.f-torture/noncompile/check0.f fails)Roger Sayle4-4/+89
PR fortran/9974 * gcse.c (reg_killed_on_egde): New function to test whether the given reg is overwritten by any instruction queued on an edge. (bypass_block): Ignore substitutions killed on incoming edges. Don't bypass outgoing edges that have queued instructions. * gcc.c-torture/execute/20030401-1.c: New test case. From-SVN: r65148
2003-04-01defs.m: New.Ziemowit Laski2-1/+71
2003-04-01 Ziemowit Laski <zlaski@apple.com> * objc.dg/defs.m: New. From-SVN: r65147
2003-04-01real.h (EXP_BITS): Make room for...Alexandre Oliva10-28/+218
* real.h (EXP_BITS): Make room for... (struct real_value): ... added canonical bit. (struct real_format): Added pnan. (mips_single_format, mips_double_format, mips_extended_format, mips_quad_format): New. * real.c: Copy p to pnan in all formats. (get_canonical_qnan, get_canonical_snan): Set canonical bit. (real_nan): Use pnan to compute significand's shift. (real_identical): Disregard significand in canonical NaNs. (real_hash): Likewise. Take signalling into account. (encode_ieee_single, encode_ieee_double, encode_ieee_quad): Disregard significand bits in canonical NaNs. Set all bits of canonical NaN if !qnan_msb_set. (encode_ibm_extended, decode_ibm_extended): Likewise. Use qnan_msb_set to tell the base double format. (ibm_extended_format): Use 53 as pnan. (mips_single_format, mips_double_format, mips_extended_format, mips_quad_format): Copied from the corresponding ieee/ibm formats, with qnan_msb_set false. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format. * config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format. * config/mips/mips.c (override_options): Use mips_single_format and mips_double_format. Default TFmode to mips_quad_format. * config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED. * config/mips/t-irix6: Likewise. * config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise. * config/fp-bit.c (pack_d, unpack_d): Obey it. From-SVN: r65146