- 17 Jul, 2003 5 commits
-
-
mmitchel authored
* cp-tree.h (DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P): New macro. (DECL_PRETTY_FUNCTION_P): Use VAR_DECL_CHECK. * decl.c (duplicate_decls): Merge DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. * parser.c (cp_parser_postfix_expression): Adjust call to cp_parser_initializer_list and cp_parser_parenthesized_expression_list. (cp_parser_parenthesized_expression_list): Add non_constant_p. (cp_parser_new_placement): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_direct_new_declarator): Likewise. (cp_parser_conditional_expression): Remove. (cp_parser_constant_expression): Parse an assignment-expression, not a conditional-expression. (cp_parser_simple_declaration): Resolve expression/declaration ambiguity more quickly. (cp_parser_mem_initializer): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_init_declarator): Keep track of whether or not the initializer is a constant-expression. (cp_parser_initializer): Add non_constant_p parameter. (cp_parser_initializer_clause): Likewise. (cp_parser_initializer_list): Likewise. (cp_parser_attribute_list): Adjust call to cp_parser_parenthesized_expression_list. (cp_parser_functional_cast): Likewise. * pt.c (tsubst_decl): Copy DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. (tsubst_expr): Tweak use of DECL_PRETTY_FUNCTION_P. * semantics.c (finish_id_expression): Use DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. PR c++/11547 * g++.dg/parse/constant3.C: New test. * g++.dg/parse/crash7.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69493 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-07-16 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pod_char_traits.h: Add state template argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69492 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-07-16 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX. (num_get::_M_convert_int): To _M_insert_int. (num_get::_M_convert_float): To _M_insert_float. * include/bits/locale_facets.tcc (num_get::_M_extract_float): Use caches for ctype, num_get. (num_get::_M_extract_int): Same. (num_get::get(bool)): Same. (__verify_grouping): Use size_t. * src/locale-inst.cc: Update. * src/locale.cc: Adjust _S_atoms_in. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69491 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
instead of struct loop_info * as argument. Accept BIVs with increment +/- 1 provided there is a friendly exit test against a loop-invariant value. (strength_reduce): Adapt call to check_ext_dependent_givs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69489 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69487 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 Jul, 2003 29 commits
-
-
pme authored
* docs/doxygen/mainpage.html: Move building/writing instructions... * docs/doxygen/guide.html: ...to here. New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69485 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> Con Bradley <con.bradley@superh.com> * sh-protos.h (sh_get_pr_initial_val): Declare. * sh.c (regno_reg_class): Make its elements type enum reg_class. (output_stack_adjust): Remove emit_fn argument. Add epilogue_p and live_regs_mask arguments. Changed all callers. (save_schedule_s): New structure. (save_schedule): New typedef. (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions. (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p. In interrupts handlers, also save registers that are usually partially saved, and make sure there is at least one general purpose register saved if a target register needs saving. Add casts in comparisons to avoid warnings. (sh_media_register_for_return): return -1 for interrupt handlers. (MAX_SAVED_REGS, MAX_TEMPS): New defines. (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp registers used are available. Set RTX_FRAME_RELATED_P where appropriate. Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing. (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves. (initial_elimination_offset): Likewise. * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4. (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings. (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO. (XD_REGISTER_P, TARGET_REGISTER_P): Likewise. (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15, and for target registers. (RETURN_IN_MEMORY): Add parentheses to avoid warnings. (regno_reg_class): Make its elements type enum reg_class. (CONSTRAINT_LEN): Don't use isdigit. (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings. (FUNCTION_ARG): Add parentheses to avoid warnings. (RETURN_ADDR_RTX): Use sh_get_pr_initial_val. (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5. (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings. (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings. * sh.md (xordi3+1): Remove unused variable regno. (return_media): Check that tr0 is available before using it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69480 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69478 138bc75d-0d04-0410-961f-82ee72b054a4
-
neil authored
cp: * lang-options.h: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69477 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* combine.c (subst): Also handle (subreg (const_double ...)) case if created by a substitution, by using the original inner mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69476 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined. (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69475 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
* doc/install.texi (--without-headers): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69474 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
Partial Fix PR/10129 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>". (machopic_output_function_base_name): New; print the true pic label. (machopic_classify_ident): Pic Base is always a defined data. * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label. * config/darwin-proto.h (machopic_output_function_base_name): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69472 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
* gcse.c (gcse_constant_p): COMPARE of the same registers is a constant if they are not floating point registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69471 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
ChangeLog: PR c/10962 * ggc.h: Add header guards. * c-decl.c (finish_struct): Sort fields if number greater than 15 and there are no anonymous structs/unions. * c-common.h: Include ggc.h. (sorted_fields_type): New struct. (field_decl_cmp): New prototype. (resort_sorted_fields): New prototype. (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro. * c-tree.h: (lang_type): Use pointer to sorted_fields_type as s, removing other fields. * c-typeck.c (lookup_field): Use s in lang_type. These were mostly moved from cp/class.c: * c-common.c (field_decl_cmp): New static function. (field_decl_cmp): New function. (resort_sorted_fields): New function. cp/ChangeLog: * class.c (field_decl_cmp): Remove. (resort_field_decl_cmp): Remove. (resort_sorted_fields): Remove. (add_fields_to_vec): Rename to ... (add_fields_to_record_type): this. (finish_struct_1): Change to be using sorted_fields_type's fields. * cp-tree.h (lang_decl): In lang_decl_u3 change sorted_fields to be a pointer to sorted_fields_type. (resort_sorted_fields): Remove prototype. * search.c (lookup_field_1): Change to be using sorted_fields_type's fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69470 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
PR target/11008 * gcc.dg/i386-pentium4-not-mull.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69469 138bc75d-0d04-0410-961f-82ee72b054a4
-
geoffk authored
to do most of the work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69468 138bc75d-0d04-0410-961f-82ee72b054a4
-
pinskia authored
* MAINTAINERS: Move self from Bug database only accounts to write-after-approval. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69467 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
* config/mmix/mmix.c: Convert functions to ISO C90. (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak formatting. (mmix_get_hard_reg_initial_val): Tweak section head comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69466 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
* docs/html/ext/howto.html: Update URL for SGI STL docs. * docs/html/faq/index.html: Same. * docs/html/faq/index.txt: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69463 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
* c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK. gcc/testsuite: * gcc.dg/asm-names.c (ymain): Make it weak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69459 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR libstdc++/11528 * include/bits/locale_facets.tcc (money_get::do_get): Strip only _leading_ zeros. * testsuite/22_locale/money_get/get/char/11528.cc: Add. * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69458 138bc75d-0d04-0410-961f-82ee72b054a4
-
lerdsuwa authored
* decl.c (grokdeclarator): Handle TEMPLATE_ID_EXPR if friend is a member of other class. * friend.c (do_friend): Don't build TEMPLATE_DECL if friend is a specialization of function template. * g++.dg/template/friend21.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69457 138bc75d-0d04-0410-961f-82ee72b054a4
-
gerald authored
semicolons from __glibcxx_class_requires3 entries. * include/ext/hash_set (class hash_set): Ditto. (class hash_multiset): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69451 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
(uw_update_context_1): Use it. * config/rs6000/rs6000.c (insn_after_throw): Remove. (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location in parent frame if _Unwind_* called directly instead of through .plt. (rs6000_emit_eh_toc_restore): Remove. (rs6000_emit_prologue): Update stack pointer before doing any saving if current_function_calls_eh_return. Generate unwind info for $r2. (rs6000_emit_epilogue): Restore stack pointer after doing all restoring if current_function_calls_eh_return. Restore $r2. * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove. * config/rs6000/rs6000.md (eh_return): Remove call to rs6000_emit_eh_toc_restore. * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define. * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define. * gcc.dg/cleanup-8.c: New test. * gcc.dg/cleanup-9.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69450 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
(clear_storage): Test against const0_rtx instead of comparing INTVAL against 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69441 138bc75d-0d04-0410-961f-82ee72b054a4
-
davem authored
* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only emit nop if the last real insn is CALL_INSN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69440 138bc75d-0d04-0410-961f-82ee72b054a4
-
neroden authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69439 138bc75d-0d04-0410-961f-82ee72b054a4
-
gdr authored
* pt.c (convert_nontype_argument): Fix thinko in diagnostic. Improve. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69435 138bc75d-0d04-0410-961f-82ee72b054a4
-
dannysmith authored
as "nul". * config/i386/xm-mingw32.h: Change GNU CC to GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69434 138bc75d-0d04-0410-961f-82ee72b054a4
-
dannysmith authored
* g++.dg/ext/dllexport-MI1.C: New file. * g++.dg/ext/dllimport-MI1.C: New file. ChangeLog: Remove 'testsuite/' from 2003-07-04 entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69432 138bc75d-0d04-0410-961f-82ee72b054a4
-
dannysmith authored
affected by the import/export status of their class unless they are COMDAT. (i386_pe_dllimport_p): Do not mark artificial methods as dllimport. * config/i386/winnt.c: Fix GCC copyright comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69431 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69429 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* cp-tree.h (cp_id_kind): Add CP_ID_KIND_UNQUALIFIED_DEPENDENT. (LOOKUP_EXPR_GLOBAL): Remove. (get_bindings): Remove. (is_aggr_type_2): Remove. * call.c (resolved_scoped_fn_name): Remove support for LOOKUP_EXPR. * decl.c (grokfndecl): Likewise. (grokdeclarator): Likewise. * error.c (dump_decl): Likewise. (dump_expr): Likewise. * friend.c (do_friend): Likewise. * init.c (build_offset_ref): Likewise. * lex.c (unqualified_fn_lookup_error): Use pedwarn. Do not create LOOKUP_EXPRs * mangle.c (write_expression): Remove support for LOOKUP_EXPR. * parser.c (cp_parser_postfix_expression): Modify Koenig lookup test. * pt.c (get_bindings): Give it internal linkage. (check_explicit_specialization): Remove support for LOOKUP_EXPR. (lookup_template_function): Likewise. (for_each_tempalte_parm_r): Likewise. (tsubst_decl): Likewise. (tsubst_qualified_id): Handle template template parameters. (tsubst_copy): Remove support for LOOKUP_EXPR. (tsubst_copy_and_build): Likewise. (most_general_template): Likewise. (value_dependent_expression_p): Likewise. (type_dependent_expression_p): Note that IDENTIFIER_NODEs are always dependent. * semantics.c (perform_koenig_lookup): Do not create IDENTIFIER_NODEs. (finish_fname): Likewise. (finish_id_expression): Likewise. * tree.c (is_aggr_type_2): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69427 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Jul, 2003 6 commits
-
-
gdr authored
* diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're not recursing on hard error. (diagnostic_for_decl): Likewise. * diagnostic.def: Rearrange. cp/ * typeck.c (check_return_expr): Fix thinko in diagnostic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69425 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> Richard Henderson <rth@redhat.com> * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table to decide if to access a _Unwind_Ptr or a _Unwind_Word. (_Unwind_SetGR): Likewise. (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions. (Unwind_SpTmp): New typedef. (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr. (uw_update_context): Use _Unwind_GetPtr. (init_dwarf_reg_size_table): Move above uw_init_context_1. (uw_init_context_1): Initialize dwarf_reg_size_table if necessary. Use _Unwind_SetSpColumn. (uw_install_context_1): Don't initialize dwarf_reg_size_table. Use _Unwind_GetPtr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69424 138bc75d-0d04-0410-961f-82ee72b054a4
-
neil authored
* toplev.c (documented_lang_options): Remove all local help strings. treelang: * lang-options.h: Remove. * lang.opt: Document some options. Remove --help. * tree1.c (treelang_handle_option): Remove OPT__help case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69423 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
it does not have cmpstrsi patterns (just cmpmemsi). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69422 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/char_traits.h (char_traits<wchar_t>::move): Change last parameter from int_type to size_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69415 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of base classes. PR debug/11473 * g++.dg/debug/debug8.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69414 138bc75d-0d04-0410-961f-82ee72b054a4
-