summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * cpperror.c: Update comments and copyright.neil2002-01-0312-106/+99
| | | | | | | | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48522 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (main): Use strcmp when testing for "-shared".danglin2002-01-032-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48520 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppmacro.c: Don't include intl.h. Update comments.neil2002-01-033-42/+63
| | | | | | | | | (new_number_token): Allocate enough buffer for 64-bit unsigned integers; update prototype. * cppmain.c: Update comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48518 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct ChangeLog entry: toc_section -> ASM_FILE_START.dje2002-01-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48517 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.h (struct function): Add profile.wcohen2002-01-0327-40/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (current_function_profile): New. doc/extend.texi: Update documentation. * final.c (final_start_function): Use current_function_profile instead of profile_flag. (profile_after_prologue): Likewise. * function.c (expand_function_start): Likewise. (expand_function_start): Likewise. * config/alpha/alpha.c (direct_call_operand): (alpha_does_function_need_gp): Likewise. (alpha_expand_prologue): Likewise. * config/arm/arm.c (arm_expand_prologue): Likewise. thumb_expand_prologue: Likewise. * config/d30v/d30v.c (d30v_stack_info): Likewise. * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. (fr30_expand_prologue): Likewise. * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. * config/i386/i386.h (FINALIZE_PIC): Likewise. * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. * config/i960/i960.c (i960_output_function_prologue): Likewise. * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. (m32r_expand_prologue): Likewise. * config/m88k/m88k.c (m88k_layout_frame): Likewise. (m88k_expand_prologue): Likewise. * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. * config/mips/mips.c (compute_frame_size): Likewise. (mips_expand_prologue): Likewise. (mips_can_use_return_insn): Likewise. * config/pa/elf.h (ASM_FILE_START): Likewise. * config/pa/pa-linux.h (ASM_FILE_START): Likewise. * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. * config/pa/som.h (ASM_FILE_START): Likewise. * config/romp/romp.c (romp_using_r14): Likewise. * config/rs6000/rs6000.c (first_reg_to_save): Likewise. (rs6000_stack_info): Likewise. * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. * config/rs6000/xcoff.h (toc_section): Likewise. * config/v850/v850.c (compute_register_save_size): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48515 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify-rtx.c (simplify_binary_operation) [DIV]: Ifjakub2002-01-034-1/+38
| | | | | | | | | gen_lowpart_common fails, use gen_lowpart_SUBREG. * gcc.c-torture/compile/20020103-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48514 138bc75d-0d04-0410-961f-82ee72b054a4
* * darwin.c (machopic_output_possible_stub_label): Don't generateturly2002-01-032-0/+6
| | | | | | | stub routines for pseudo-stubs which we've just defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48513 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c: Fix formatting.kazu2002-01-036-25/+33
| | | | | | | | | | * c-typeck.c: Likewise. * combine.c: Likewise. * expr.c: Likewise. * loop.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48512 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/other/debug2.C: New test.jakub2002-01-032-0/+47
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48508 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppfiles.c (_cpp_pop_file_buffer): Change return type to boolschwab2002-01-034-5/+20
| | | | | | | | | | | and return true if _cpp_push_next_buffer pushed a new include file. * cpplib.c (_cpp_pop_buffer): Only call obstack_free if _cpp_pop_file_buffer did not push a new file. * cpphash.h (_cpp_pop_file_buffer): Update declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48507 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-02 Eric Christopher <echristo@redhat.com>echristo2002-01-034-17/+24
| | | | | | | | | | * final.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call. Update copyright. * loop.c (canonicalize_condition): Ditto. * reorg.c (delete_scheduled_jump): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48506 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-01-032-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48504 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (compile_resource_file): Update copyright date.grahams2002-01-032-4/+5
| | | | | | | | | Constify filename parameter. java-tree.h: Update copyright date. (compile_resource_file): Constify filename parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48503 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcse.c: Fix formatting.kazu2002-01-032-42/+47
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48502 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/jcf-parse.c: Update copyright date.grahams2002-01-031-0/+5
| | | | | | | (yyparse): Constify resource_filename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48500 138bc75d-0d04-0410-961f-82ee72b054a4
* * mkconfig.sh: Output to config.h, hconfig.h and tconfig.hgrahams2002-01-033-13/+32
| | | | | | | | | | | | forward defs for struct tags rtx_def, union_tree, rtvec_def also output corresponding typedefs for rtxm, tree, and rtvcec. * system.h: Move forward defs for struct tags rtx_def, union_tree, rtvec_def along with corresponding typedefs for rtx, tree, and rtvcec to config.h, hconfig.h, tconfig.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48499 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h: Update copyright date.grahams2002-01-033-36/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (IS_EXPR_CODE_CLASS): Add parenthesis. (TREE_SET_CODE): Add whitespace. (TREE_CHECK): Add parenthesis. (TREE_CLASS_CODE): Add parenthesis and wrap long line. (CST_OR_CONSTRUCTOR_CHECK): (EXPR_CHECK): Add parenthis, whitespace and wrap line. (TREE_SYMBOL_REFERENCED): Whitespace. (INT_CST_LT): Likewise. (INT_CST_LT_UNSIGNED): Likewise. (tree_real_cst): Unwrap comment. (tree_string): Likewise. (tree_complex): Likewise. (IDENTIFIER_POINTER): correct cast. (SAVE_EXPR_CONTEXT): Whitespace. (EXPR_WFL_FILENAME_NODE): Likewise. (EXPR_WFL_FILENAME): Remove parenthesis. (DECL_ORIGIN): Add parenthesis. (DECL_FROM_INLINE): Use NULL_TREE. (build_int_2): Whitespace. (build_type_variant): Add parenthesis. * gcc/jcf-parse.c: Update copyright date. (yyparse): Constify resource_filename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48498 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h: Update copyright date.grahams2002-01-032-98/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (RTL_CHECK1): Wrap long line. (RTL_CHECK2): Likewise. (RTL_CHECKC1): Wrap long line and whitespace. (RTL_CHECKC2): Likewise. (XWINT): Whitespace. (XINT): Likewise. (XSTR): Likewise. (XEXP): Likewise. (XVEC): Likewise. (XMODE): Likewise. (XBITMAP): Likewise. (XTREE): Likewise. (XBBDEF): Likewise. (XTMPL): Likewise. (X0WINT): Likewise. (X0INT):Likewise. (X0UINT): Likewise. (X0STR): Likewise. (X0EXP): Likewise. (X0VEC): Likewise. (X0MODE): Likewise. (X0BITMAP): Likewise. (X0TREE): Likewise. (X0BBDEF): Likewise. (X0ADVFLAGS): Likewise. (X0CSELIB): Likewise. (X0MEMATTR): Likewise. (XCWINT): Likewise. (XCINT): Likewise. (XCUINT): Likewise. (XCSTR): Likewise. (XCEXP): Likewise. (XCVEC): Likewise. (XCMODE): Likewise. (XCBITMAP): Likewise. (XCTREE): Likewise. (XCBBDEF): Likewise. (XCADVFLAGS): Likewise. (XCCSELIB): Likewise. (XC2EXP): Likewise. (INSN_UID): Likewise. (PREV_INSN): Likewise. (PATTERN): Likewise. (INSN_CODE): Likewise. (PUT_REG_NOTE_KIND): Likewise. (CODE_LABEL_NUMBER): Likewise. (NOTE_SOURCE_FILE): Likewise. (NOTE_BLOCK): Likewise. (NOTE_EH_HANDLER): Likewise. (NOTE_RANGE_INFO): Likewise. (NOTE_LIVE_INFO): Likewise. (NOTE_BASIC_BLOCK): Likewise. (NOTE_EXPECTED_VALUE): Likewise. (NOTE_LINE_NUMBER): Likewise. (LABEL_NAME): Likewise. (LABEL_NUSES): Likewise. (LABEL_ALTERNATE_NAME): Likewise. (ADDRESSOF_DECL): Likewise. (JUMP_LABEL): Likewise. (LABEL_NEXTREF): Likewise. (REGNO): Likewise. (ORIGINAL_REGNO: Likewise. (HARD_REGISTER_NUM_P): Add parenthesis. (SUBREG_REG): Whitespace. (SUBREG_BYTE): Likewise. (ASM_OPERANDS_TEMPLATE): Remove parenthesis. (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. (ASM_OPERANDS_OUTPUT_IDX): Likewise. (ASM_OPERANDS_INPUT_VEC): Likewise. (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. (ASM_OPERANDS_INPUT): Likewise. (ASM_OPERANDS_INPUT_LENGTH): Likewise. (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. (ASM_OPERANDS_INPUT_MODE): Likewise. (ASM_OPERANDS_SOURCE_FILE): Likewise. (ASM_OPERANDS_SOURCE_LINE): Likewise. (MEM_SET_IN_STRUCT_P): Minor reformat. (TRAP_CONDITION): Whitespace. (TRAP_CODE): Likewise. (COND_EXEC_TEST): Likewise. (COND_EXEC_CODE): Likewise. (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. (PHI_NODE_P): Add parenthesis. (plus_constant): Whitespace and add paraenthese. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48497 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/avr/avr.c: Fix comment typos.kazu2002-01-0316-33/+54
| | | | | | | | | | | | | | | | | | | | * config/c4x/c4x.md: Likewise. * config/dsp16xx/dsp16xx.h: Likewise. * config/dsp16xx/dsp16xx.md: Likewise. * config/i386/i386.md: Likewise. * config/ia64/ia64.c: Likewise. * config/m32r/m32r.h: Likewise. * config/m68hc11/m68hc11.md: Likewise. * config/mmix/mmix.c: Likewise. * config/mn10200/mn10200.c: Likewise. * config/romp/romp.c: Likewise. * config/sh/sh.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. * config/stormy16/stormy16.md: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48496 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h: Update copyright date.grahams2002-01-032-4/+11
| | | | | | | | | (LOOP_MOVABLES): Fix typo. (LOOP_REGS): Likewise. (LOOP_IVS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48494 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2002-01-032-9/+14
| | | | | | | | | PR c/5226 * invoke.texi (-mthreads): Remove from documented RS/6000 options. (-pthread) Add to RS/6000 options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48491 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppinit.c: Update copyright date.grahams2002-01-033-5/+12
| | | | | | | | | Don't include output.h * Makefile.in: Update copyright date. Update dependency. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48490 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.c: Fix comment typos.kazu2002-01-035-8/+15
| | | | | | | | | * loop.c: Likewise. * varasm.c: Likewise. * doc/tm.texi: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48488 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c (output_init_element): Allow initializing static storagejakub2002-01-024-1/+32
| | | | | | | | | duration objects with compound literals. * gcc.dg/gnu89-init-1.c: Added new tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48487 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/objc-act.c (hack_method_prototype): Clear current_function_declrth2002-01-022-1/+10
| | | | | | | after abusing it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48486 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (default_compilers): Const-ify.ghazi2002-01-0211-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | * mips-tdump.c (stab_names): Likewise. * mips-tfile.c (map_coff_types, map_coff_storage, map_coff_sym_type, map_coff_derived_type, stabs_symbol, pseudo_ops_t, pseudo_ops): Likewise. * protoize.c (default_include): Likewise f: * com.c (clear_binding_level): Const-ify. (ffecom_arglist_expr_): Likewise. * info.c (ffeinfo_types_): Don't needlessly zero init. * lex.c (ffelex_hash_kludge): Const-ify. java: * parse.y (src_parse_roots): Don't needlessly zero init. libiberty: * cp-demangle.c (long_options): Const-ify. * cplus-dem.c (long_options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48485 138bc75d-0d04-0410-961f-82ee72b054a4
* * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.ghazi2002-01-022-191/+240
| | | | | | | | | | | | | | | | | | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. Add array size in declaration. (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, emtens, make_nan): Const-ify. (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48484 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (ia64-*-*): Set extra_headers.jsm282002-01-024-5/+14
| | | | | | | | | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. * config/alpha/t-osf: Remove. * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48483 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/t-aix43: Revert previous change.dje2002-01-022-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48481 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (c_expand_body): Call outlining_inline_function whenrth2002-01-024-2/+22
| | | | | | | | | | emitting an inline function out of line. * semantics.c (expand_body): Call outlining_inline_function when emitting an inline function out of line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48479 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (limbo_die_node): Add created_for member.rth2002-01-022-42/+87
| | | | | | | | | | | (new_die): New argument created_for. Update all callers. (mark_limbo_die_list): New. (dwarf2out_init): Register limbo_die_list as a root. (dwarf2out_finish): Force insert limbo dies into their function context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48478 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-024-70/+8
| | | | | | | | | | | PR c++/5116, c++/764 reversion * call.c (build_new_op): Revert the instantiations. They are incorrect. testsuite: * g++.dg/template/friend2.C: Remove as patch is reverted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48474 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/5089nathan2002-01-026-5/+36
| | | | | | | | | | | | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. cp: PR c++/5089 * decl2.c (reparse_absdcl_as_casts): Don't warn about casts to void. testsuite: * g++.dg/warn/oldcast1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48472 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-025-10/+91
| | | | | | | | | | | | | | PR c++/3716 * pt.c (tsubst_aggr_type): Move pmf handling into tsubst. (tsubst, case POINTER_TYPE): Handle pmfs here. (tsubst, case OFFSET_TYPE): Check it is not an offset to reference. If it is offset to FUNCTION_TYPE, create a METHOD_TYPE. testsuite: * g++.dg/template/ptrmem1.C: New test. * g++.dg/template/ptrmem2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48471 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-025-13/+54
| | | | | | | | | | | | | | | | PR c++/35 * cp-tree.h (DECL_LANG_FLAG_0): Used for PARM_DECL too. (DECL_TEMPLATE_PARM_P): A PARM_DECL might be one too. * pt.c (process_template_parm): SET_DECL_TEMPLATE_PARM_P on the PARM_DECL. (tsubst_template_parms): Break up loop statements. (tsubst_decl, case PARM_DECL): Copy DECL_TEMPLATE_PARM_P. Template parm PARM_DECLs don't get promoted. testsuite: * g++.dg/template/ntp.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48470 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-024-7/+64
| | | | | | | | | | | | PR c++/5123 * typeck.c (build_component_ref): Cope with a TEMPLATE_ID_EXPR. (build_x_function_call): Cope with a COMPONENT_REF containing a TEMPLATE_ID_EXPR. testsuite: * g++.dg/other/component1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48469 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-024-18/+56
| | | | | | | | | | | PR c++/5213 * pt.c (convert_template_argument): Be more careful determining when RECORD_TYPE templates are or are not templates. testsuite: * g++.dg/template/ttp3.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48468 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-027-185/+234
| | | | | | | | | | | | | | | | | | | | | | | PR c++/775 * cp-tree.h (handle_class_head): Adjust prototype. * decl2.c (handle_class_head): Add DEFN_P and NEW_TYPE_P parameters. Use for all class heads. * parse.y (named_class_head_sans_basetype, named_class_head, named_complex_class_head_sans_basetype, named_class_head_sans_basetype_defn, unnamed_class_head): Remove. (class_head, class_head_apparent_template): Recognize class heads (class_head_decl, class_head_defn): New reductions. Process class heads. (structsp): Adjust class definition and class declaration reductions. (maybe_base_class_list): Give diagnostic on empty list. testsuite: * g++.dg/template/friend2.C: New test. * g++.old-deja/g++/brendan/crash8.C: Adjust location of error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48466 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-025-4/+141
| | | | | | | | | | | | | | PR c++/4379 * typeck.c (build_x_unary_op): Don't destroy the OFFSET_REF on a single non-static member. (unary_complex_lvalue): If it cannot be a pointer to member, don't make it so. Check it is not pointer to reference. testsuite: * g++.dg/other/ptrmem1.C: New test. * g++.dg/other/ptrmem2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48465 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-024-6/+42
| | | | | | | | | | | PR c++/5132 * decl2.c (reparse_absdcl_as_casts): Don't digest_init if we are processing a template decl. testsuite: * g++.dg/template/ctor1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48464 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2002-01-024-8/+87
| | | | | | | | | | | PR c++/5116, c++/764 * call.c (build_new_op): Make sure template class operands are instantiated. Simplify arglist construction. testsuite: * g++.dg/template/friend2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48463 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-01-022-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48461 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/fixunssfsi.c: Update copyright.kazu2002-01-023-8/+18
| | | | | | | | | | Fix comment typos. Fix formatting. * config/h8300/h8300.c: Update copyright. Eliminate warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48460 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/romp/romp.c: Fix comment formatting.kazu2002-01-027-53/+62
| | | | | | | | | | | * config/romp/romp.h: Likewise. * config/romp/romp.md: Likewise. * config/s390/s390.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48459 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for rs6000_emit_allocate_stack's use of rs6000_emit_set_long_const for ↵trix2002-01-022-5/+39
| | | | | | ppc64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48458 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.h (genrtl_expr_stmt_value): Declare.aoliva2002-01-028-41/+124
| | | | | | | | | | | | | | | | | | | | | | | * c-semantics.c (genrtl_goto_stmt): Redirect to... (genrtl_goto_stmt_value): ... this new function. Pass new argument down to expand_expr_stmt_value, taking TREE_ADDRESSABLE into account. * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a STMT_EXPR as addressable, i.e., one whose result we want. * expr.c (expand_expr): Don't save expression statement value of labeled_blocks or loop_exprs. * stmt.c (expand_expr_stmt): Redirect to... (expand_expr_stmt_value): ... this new function. Use new argument to tell whether to save expression value. (expand_end_stmt_expr): Reset last_expr_type and last_expr_value if we don't have either. * tree-inline.c (declare_return_variable): Mark its use statement as addressable. * tree.h: Document new use of TREE_ADDRESSABLE. (expand_expr_stmt_value): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48456 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead ofjsm282002-01-017-14/+24
| | | | | | | | | | | | ${srcdir}/ginclude/ to every entry in extra_headers. * configure: Regenerate. * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. * ginclude/proto.h: Rename to config/convex/proto.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48454 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix corrupted hunkkenner2002-01-011-395/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48453 138bc75d-0d04-0410-961f-82ee72b054a4
* * attribs.c (handle_vector_size_attribute): Use host_integerpkenner2002-01-015-23/+37
| | | | | | | | | | | and tree_int_cst; remove warnings. * caller-save.c (insert_restore): Add cast to get rid of warning. (insert_save): Likewise. * emit-rtl.c (adjust_address_1, offset_address): Likewise. * regmove.c (find_matches): Add temporary var to kill a warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48452 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,kenner2002-01-015-7/+518
| | | | | | | | | | | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o (vms-dwarf2eh.o): Add Makefile rule. * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. * config/alpha/vms-dwarf2eh.asm: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48451 138bc75d-0d04-0410-961f-82ee72b054a4