- 03 Apr, 2003 14 commits
-
-
From-SVN: r65209
Jason Merrill committed -
* dwarf2out.c (lookup_filename): Don't check for "<internal>". (dwarf2out_source_line): Don't do anything if line==0. From-SVN: r65208
Jason Merrill committed -
* 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
Jason Merrill committed -
From-SVN: r65205
Jan Hubicka committed -
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler. From-SVN: r65204
J"orn Rennecke committed -
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin fashion. From-SVN: r65202
J"orn Rennecke committed -
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
Kaveh R. Ghazi committed -
* config/h8300/h8300.md (a peephole2): Generalize to accept GT and LE. (another peephole2): Likewise. From-SVN: r65199
Kazu Hirata committed -
* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO. (DEF_ARCH64_SPEC): Likewise. From-SVN: r65198
Nick Clifton committed -
* i386.c (constant_address_p): Use legitimate_constant_p. (legitimate_address_p): Do not use CONSTANT_ADDRESS_P. From-SVN: r65196
Jan Hubicka committed -
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
Geoffrey Keating committed -
* 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
Kazu Hirata committed -
* 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
Richard Henderson committed -
From-SVN: r65189
GCC Administrator committed
-
- 02 Apr, 2003 14 commits
-
-
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
Jan Hubicka committed -
From-SVN: r65180
Mike Stump committed -
* 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
Jan Hubicka committed -
From-SVN: r65174
Kazu Hirata committed -
From-SVN: r65173
Richard Henderson committed -
From-SVN: r65172
Kazu Hirata committed -
except.c (sjlj_find_directly_reachable_regions): Recognize when 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
Richard Henderson committed -
dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization 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
Richard Henderson committed -
* 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
Vladimir Makarov committed -
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
Aldy Hernandez committed -
From-SVN: r65163
Jason Merrill committed -
From-SVN: r65161
Andreas Schwab committed -
except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for 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
Richard Henderson committed -
From-SVN: r65157
GCC Administrator committed
-
- 01 Apr, 2003 12 commits
-
-
* 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
David Mosberger committed -
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
Roger Sayle committed -
2003-04-01 Ziemowit Laski <zlaski@apple.com> * objc.dg/defs.m: New. From-SVN: r65147
Ziemowit Laski committed -
* 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
Alexandre Oliva committed -
* unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New. (live_image_destructor): Reset image to initial state. (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE. From-SVN: r65145
Geoffrey Keating committed -
* config/sparc/sparc.c (input_operand): Accept bare CONSTANT_P_RTX operands. From-SVN: r65143
Eric Botcazou committed -
2003-04-01 Andrew Pinski <pinskia@physics.uc.edu> * config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c after \$(srcdir)/cp/name-lookup.h. * name-lookup.c: (cxx_binding_make): Use ggc_alloc_clearedinstead of ggc_alloc. Include gt-cp-name-lookup.h at the end of the file. * Make-lang.in: (gt-cp-name-lookup.h): is generated by the gtype. (cp/name-lookup.o): depends on gt-cp-name-lookup.h. From-SVN: r65142
Andrew Pinski committed -
* gcse.c (struct ls_expr): Added pattern_regs field. (ldst_entry): Initialize it. (extract_mentioned_regs, extract_mentioned_regs_helper): New. (store_ops_ok): Use regs precomputed by them. (find_loads, store_killed_in_insn, load_kills_store): Change return type to bool. (store_killed_before, store_killed_after): Take position of register set in account. (reg_set_info): Store position of the setter. (gcse_main): Enable store motion. (mems_conflict_for_gcse_p): Enable load motion of non-symbol mems. (pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl sharing. (simple_mem): Enable store motion of non-symbol mems. (regvec): Type changed. (LAST_AVAIL_CHECK_FAILURE): New. (compute_store_table_current_insn): New. (build_store_vectors): Computation of availability and anticipatability moved ... (compute_store_table, find_moveable_store): ... here. (delete_store): Remove senseless comment. (store_motion): Reorganize. From-SVN: r65141
Zdenek Dvorak committed -
From-SVN: r65140
Kazu Hirata committed -
* config/mips/mips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM. * config/mips/mips.h (MD_DBX_FIRST): Define. From-SVN: r65139
Kevin Buettner committed -
2003-04-01 Aldy Hernandez <aldyh@redhat.com> * g++.dg/eh/simd-1.C: New. * g++.dg/eh/simd-2.C: New. From-SVN: r65138
Aldy Hernandez committed -
2003-04-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * combine.c (merge_outer_ops): Fix typo. * varasm.c (make_decl_one_only): Revert 2003-03-09 patch. From-SVN: r65136
Franz Sirl committed
-