summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* PR c++/6695mmitchel2002-06-274-1/+45
| | | | | | | | | | | * pt.c (tsubst_friend_class): Substitute into the context of the friend before using it. PR c++/6695 * g++.dg/template/friend7.C: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55041 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/d30v/d30v.h: Remove commented out STACK_REGS #defines.sayle2002-06-273-29/+9
| | | | | | | | | | * config/stormy16/stormy16.h: Likewise. * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef with #define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55039 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Binaries): Add Sinix/Reliant Unix. Movegerald2002-06-272-9/+17
| | | | | | | Hitachi entry. Make punctuation more consistent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55037 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-27 Aldy Hernandez <aldyh@redhat.com>aldyh2002-06-272-1/+6
| | | | | | | | * gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55035 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi: Change ` bit' to `-bit'.kraai2002-06-274-6/+12
| | | | | | | | * doc/md.texi: Change `-bits' to `-bit'. * doc/tm.texi: Change `-bits' to ` bits'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55033 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcse.c (hoist_code): Rewrite to only get list of dominatedlaw2002-06-272-10/+22
| | | | | | | | blocks once per BB. Also fix reversed test (by removing need for the test at all). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55031 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements toamylaar2002-06-272-2/+7
| | | | | | | avoid division by zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55030 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-06-273-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55027 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpphash.h (_cpp_set_trad_context): Remove.neil2002-06-274-56/+45
| | | | | | | | | | | | | | * cpplib.c (prepare_directive_trad): Do nothing for #define. (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context. * cpptrad.c: Update comments. (_cpp_read_logical_line_trad): Let scan_logical_line handle updating the current context. (scan_logical_line): Update the current context. (_cpp_create_trad_definition): Similarly. (_cpp_set_trad_context): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55022 138bc75d-0d04-0410-961f-82ee72b054a4
* PR preprocessor/7070neil2002-06-274-9/+30
| | | | | | | | | * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF. testsuite: * gcc.dg/Wunknownprag.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55021 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.bwilson2002-06-275-18/+57
| | | | | | | | | config/xtensa/xtensa.c (xtensa_return_addr): New function. config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr. config/xtensa/xtensa.md (fix_return_addr): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55020 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips.c (coprocessor_operand, coprocessor2_operand,ghazi2002-06-273-6/+10
| | | | | | | | | symbolic_operand): Move prototypes from here... * mips-protos.h (coprocessor_operand, coprocessor2_operand, symbolic_operand): ...to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55018 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.y (check_modifiers, declare_local_variables): Avoidghazi2002-06-272-4/+8
| | | | | | | incorrect hardcoded constant 10. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55017 138bc75d-0d04-0410-961f-82ee72b054a4
* * lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.ghazi2002-06-273-3/+8
| | | | | | | * parse.y (mark_parser_ctxt): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55016 138bc75d-0d04-0410-961f-82ee72b054a4
* * lex.c (java_read_char): Avoid "comparison is always true"ghazi2002-06-262-2/+7
| | | | | | | warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55014 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (xref_tag): Change prototype.mmitchel2002-06-267-65/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | (handle_class_head): Likewise. (build_x_component_ref): Likewise. * decl.c (cxx_init_decl_processing): Adjust call to xref_tag. (xref_tag): Take attributes as a separate parameter. (xref_tag_from_type): Adjust call to xref_tag. * decl2.c (build_expr_from_tree): Adjust call to build_x_component_ref. (handle_class_head): Take attributes as a separate parameter. * parse.y (parse_xref_tag): New function. (parse_handle_class_head): Likewise. (primary): Use parse_xref_tag. (class_head_decl): Use parse_handle_class_head. (class_head_defn): Likewise. * rtti.c (init_rtti_processing): Adjust call to xref_tag. (build_dynamic_cast_1): Likewise. (create_pseudo_type_info): Likewise. (emit_support_tinfos): Likewise. * typeck.c (build_object_ref): Adjust call to build_x_component_ref. (build_x_component_ref): Remove protect parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55013 138bc75d-0d04-0410-961f-82ee72b054a4
* ld:amylaar2002-06-262-7/+5
| | | | | | | | | | | | | | | * emulparams/shelf.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Define. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. (OTHER_SECTIONS): Undef. newlib: * libc/sys/sh/crt0.S: Remove vestigial .section directive. gcc: * config/sh/crt1.asm: remove _stack label definition and sentinel value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55011 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c: Include real.h before output.h.ghazi2002-06-262-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55010 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-26 Aldy Hernandez <aldyh@redhat.com>aldyh2002-06-262-2/+6
| | | | | | | | * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to check for TARGET_ALTIVEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55009 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-06-263-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55008 138bc75d-0d04-0410-961f-82ee72b054a4
* Obselete vax-*-vms*neroden2002-06-262-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55002 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (warn_std): Delete.ghazi2002-06-262-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55000 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/extend.texi: Fix formatting of last checkin.ljrittle2002-06-252-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54999 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leadingro2002-06-252-2/+7
| | | | | | | underscore from __IEEE_FP and __IEEE_FP_INEXACT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54998 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 Aldy Hernandez <aldyh@redhat.com>aldyh2002-06-252-0/+24
| | | | | | | | * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document discrepancies from motorola's documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54997 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:amylaar2002-06-254-8/+70
| | | | | | | | | | * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD. gcc/testsuite: * gcc.c-torture/execute/simd-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54994 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/lib1funcs.asm (udivdi3): Make first divide stepamylaar2002-06-252-27/+43
| | | | | | | | | | | | | | | produce a 32 bit result before normalization, then normalize with a left shift. Compute approximative error of 2nd reciprocal approximation in 2's complement. Fix mask generation from upper longword of second divide stage result. For large divisor, fix shift count used to truncate first stage divide result; make decision if to adjust upwards based on comparison of higher parts of normalized values. (udivdi): Likewise. Undo normalization of result for large divisor case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54993 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (build_op_delete_call): Use BASELINK_FUNCTIONS.mmitchel2002-06-2511-38/+72
| | | | | | | | | | | | | | | | | | | | | | | | * class.c (handle_using_decl): Likewise. (instantiate_type): Likewise. * cp-tree.h (BASELINK_FUNCTIONS): New macro. (xref_basetypes): Change prototype. (begin_mem_initializers): New function. (get_overloaded_fn): Likewise. * decl.c (xref_basetypes): Simplify. * error.c (dump_expr): Use BASELINK_FUNCTIONS. * init.c (build_offset_ref): Likewise. * parse.y (base_init): Use begin_mem_initializers(). (structsp): Adjust call to xref_basetypes. * pt.c (determine_specialization): Use BASELINK_FUNCTIONS. (instantiate_class_template): Adjust call to xref_basetypes. * semantics.c (begin_mem_initializers): New function. * tree.c (is_overloaded_fn): Use BASELINK_FUNCTIONS. (really_overlaoded_fn): Likewise. (get_overloaded_fn): New function.' (get_first_fn): USe BASELINK_FUNCTIONS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54989 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-25 David S. Miller <davem@redhat.com>davem2002-06-252-497/+501
| | | | | | | * config/sparc/sparc.md: Change \\{t,n} to \{t,n}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54988 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (JSR): Avoid undefined operation on PC.schwab2002-06-252-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54987 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-06-253-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54983 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c (do_include_common): Revert to correct line numberneil2002-06-2539-2/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if -traditional. * cpptrad.c (scan_out_logical_line): Treat null directive as white space. Invlidate MI optimization for non-whitespace text outside a directive. testsuite: * gcc.dg/cpp/mi7.c, gcc.dg/cpp/mi7a.h, gcc.dg/cpp/mi7b.h, gcc.dg/cpp/trad/builtins.c, gcc.dg/cpp/trad/builtins.h, gcc.dg/cpp/trad/cmdlne-C.c, gcc.dg/cpp/trad/cmdlne-C2.c, gcc.dg/cpp/trad/maccom1.c, gcc.dg/cpp/trad/maccom2.c, gcc.dg/cpp/trad/maccom3.c, gcc.dg/cpp/trad/maccom4.c, gcc.dg/cpp/trad/maccom6.c, gcc.dg/cpp/trad/mi1.c, gcc.dg/cpp/trad/mi1c.h, gcc.dg/cpp/trad/mi1nd.h, gcc.dg/cpp/trad/mi1ndp.h, gcc.dg/cpp/trad/mi1x.h, gcc.dg/cpp/trad/mi2.c, gcc.dg/cpp/trad/mi2a.h, gcc.dg/cpp/trad/mi2b.h, gcc.dg/cpp/trad/mi2c.h gcc.dg/cpp/trad/mi3.c, gcc.dg/cpp/trad/mi3.def, gcc.dg/cpp/trad/mi3.h, gcc.dg/cpp/trad/mi4.c, gcc.dg/cpp/trad/mi5.c, gcc.dg/cpp/trad/mi6.c, gcc.dg/cpp/trad/mi6a.h, gcc.dg/cpp/trad/mi6b.h, gcc.dg/cpp/trad/mi6c.h, gcc.dg/cpp/trad/mi6d.h, gcc.dg/cpp/trad/mi6e.h, gcc.dg/cpp/trad/mi7.c, gcc.dg/cpp/trad/mi7a.h, gcc.dg/cpp/trad/mi7b.h: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54978 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ghazi2002-06-255-3/+10
| | | | | | | | | | | * Makefile.in (SHELL): Set to @SHELL@. * fixinc/Makefile.in (SHELL): Likewise. gcc/ada: * Makefile.in (SHELL): Set to @SHELL@. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54976 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,ghazi2002-06-252-4/+18
| | | | | | | | fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate initialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54975 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Copyright.amylaar2002-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54967 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c (propagate_one_insn): When removing an insnlaw2002-06-242-8/+30
| | | | | | | | with a REG_LIBCALL note but not the entire libcall sequence, delete the associated REG_RETVAL note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54966 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.amylaar2002-06-244-56/+560
| | | | | | | | | | | | | | (udivsi3): Likewise. Rewrite SH1 implementation. (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions. * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants. (udivsi3_i1_media, divsi3_i1_media): Fix clobber list. * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add. (_moddi3): Likewise. * lib1funcs.asm (ic_invalidate): Add data cache line writeback. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54965 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 David S. Miller <davem@redhat.com>davem2002-06-243-1/+7
| | | | | | | | | * Makefile.in (GTFILES): Add basic-block.h * basic-block.h (label_value_list, tail_recursion_label_list): Mark with GTY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54964 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (SCALAR_TYPE_P): New macro.mmitchel2002-06-248-60/+122
| | | | | | | | | | | | | | | | | | | (check_for_out_of_scope_variable): New function. (at_class_scope_p): Likewise. (finish_fname): Likewise. * class.c (finish_struct): Use at_function_scope_p. * decl.c (check_for_out_of_scope_variable): New function, split out from do_identifier. (finish_enum): Use at_function_scope_p. * lex.c (do_identifier): Use check_for_out_of_scope_variable. * parse.y (VAR_FUNC_NAME): Give it <ttype>. Use finish_fname. (primary): Use at_function_scope_p. * search.c (at_class_scope_p): New function. * semantics.c (finish_fname): Likewise. (check_multiple_declarators): Use at_function_scope_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54962 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACKamylaar2002-06-242-3/+12
| | | | | | | arguments into account for stack_regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54961 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'kraai2002-06-242-22/+27
| | | | | | | in examples. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54960 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 Art Haas <ahaas@neosoft.com>kraai2002-06-243-3/+8
| | | | | | | | * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'. * doc/tm.texi (Frame Layout): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54957 138bc75d-0d04-0410-961f-82ee72b054a4
* changelog entry for generic simd patchaldyh2002-06-241-0/+39
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54956 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.sje2002-06-242-1/+6
| | | | | | | Set float_format to i128. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54953 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 David S. Miller <davem@redhat.com>davem2002-06-242-467/+305
| | | | | | | | * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54952 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 David S. Miller <davem@redhat.com>davem2002-06-242-398/+181
| | | | | | | * config/sparc/sparc.md: Use define_insn_and_split. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54951 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-24 David S. Miller <davem@redhat.com>davem2002-06-243-2/+24
| | | | | | | | | | | * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL. * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift optabs if op1 is const0_rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54950 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-06-243-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54948 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpptrad.c (scan_out_logical_line): Check recursing only whenneil2002-06-2411-13/+183
| | | | | | | | | | | | | | | | we know we have a macro invocation in the function-like case. Only call _cpp_handle_directive if we know we have a good directive, or we want to reject a bad directive. testsuite: * gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c, gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c, gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c: New tests. * gcc.dg/cpp/trad/directive.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54942 138bc75d-0d04-0410-961f-82ee72b054a4
* * doloop.c (doloop_valid_p): Correct comment.amodra2002-06-242-45/+30
| | | | | | | | (doloop_modify_runtime <abs_inc != 1>): Simplify. (doloop_modify_runtime <do-while>): Don't emit code when NE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54938 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud