aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-04-21mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.Alexandre Oliva2-2/+8
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0. From-SVN: r33327
2000-04-21mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves.Alexandre Oliva2-1/+14
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves. From-SVN: r33326
2000-04-21mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers.Alexandre Oliva2-1/+14
* config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers. From-SVN: r33325
2000-04-21mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps.Alexandre Oliva2-7/+12
* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps. From-SVN: r33324
2000-04-21mn10300-protos.h (mn10300_address_cost): Declare.Alexandre Oliva4-0/+91
* config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare. * config/mn10300/mn10300.h (ADDRESS_COST): New macro. * config/mn10300/mn10300.c (mn10300_address_cost): New function. From-SVN: r33323
2000-04-21Update. Build with the same version of bison.Jeff Law2-506/+507
From-SVN: r33322
2000-04-21mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant.Alexandre Oliva2-8/+21
* config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant. From-SVN: r33321
2000-04-21reload.c (find_equiv_reg): Checks all valueno and regno regs as a ↵Denis Chertykov2-10/+22
call-clobbered regs. * reload.c (find_equiv_reg): Checks all valueno and regno regs as a call-clobbered regs. From-SVN: r33320
2000-04-21re GNATS gcj/124 (protected constructor for InvocationTargetException still ↵Tom Tromey3-238/+178
visible) * parse.y (not_accessible_p): Use member's class, not current class, when doing inheritance check for protected reference. Fixes PR gcj/124. From-SVN: r33315
2000-04-21rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.Richard Kenner10-13/+25
* rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG. * rtl.h: Likewise. * rtl.def: Update comment. * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER. * integrate.c (expand_inline_function): Likewise. * profile.c (branch_prob): Likewise. * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG. * print-rtl.c (print_rtx): Likewise. * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise. (reemit_notes): Likewise; also use enum insn_note. From-SVN: r33314
2000-04-21Add missing blankRichard Kenner1-1/+1
From-SVN: r33313
2000-04-21stor-layout.c (layout_decl): Only set DECL_MODE if not already set.Richard Kenner2-5/+13
* stor-layout.c (layout_decl): Only set DECL_MODE if not already set. (place_field): Properly compute know and actual alignment. From-SVN: r33312
2000-04-21gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.Richard Kenner2-1/+5
* gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format. From-SVN: r33311
2000-04-21cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.Richard Kenner2-16/+23
* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1. From-SVN: r33310
2000-04-21cpphash.c (struct arg, [...]): Const-ify strings.Zack Weinberg6-512/+396
* cpphash.c (struct arg, struct arglist): Const-ify strings. (warn_trad_stringify, duplicate_arg_p): New helper functions. (collect_expansion): Rewrite to scan over a token list. Remove -traditional support. (collect_formal_parameters): Rename to collect_params; rewrite to scan over a token list. (_cpp_create_definition): Adjust to scan a token list. (_cpp_macroexpand): Remove -traditional support. (_cpp_compare_defs): Whitespace is now canonicalized. (comp_def_part): Delete function. * cpphash.h: Update prototypes. * cpplex.c (init_token_list): Don't set lineno if there is no buffer. (pedantic_whitespace): New function. (_cpp_scan_line): Mark tokens that had hspace before. Don't consume a newline. Use pedantic_whitespace. (_cpp_lex_token): Remove support for -traditional macros. (_cpp_get_define_token): Delete. (_cpp_get_directive_token): Do the real work here. Use pedantic_whitespace. (_cpp_init_input_buffer): Initialize pfile->directbuf. * cpplib.c (get_macro_name): Delete. (do_define): Read the entire line into pfile->directbuf, then feed the token list to _cpp_create_definition. * cpplib.h (HSPACE_BEFORE): new define. (struct cpp_reader): Add a toklist member, "directbuf". From-SVN: r33309
2000-04-21predict.c (estimate_probability): New heuristic...Zack Weinberg2-6/+33
* predict.c (estimate_probability): New heuristic: if a jump branches around a block with no successors, predict it taken. Disentangle control flow. From-SVN: r33308
2000-04-21typoAlexandre Oliva1-1/+1
From-SVN: r33305
2000-04-21Daily bump.Jeff Law2-2/+2
From-SVN: r33304
2000-04-20* loop.c (emit_iv_add_mult): Revert last change.Richard Henderson2-51/+9
From-SVN: r33302
2000-04-20jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.Jason Schroeder2-1/+5
Thu Apr 20 18:20:58 2000 Jason Schroeder <shrode@subnature.com> * jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction. From-SVN: r33301
2000-04-2120000420-2.c: New test for stack misalignment when optimizing...Greg McGary2-0/+16
* compile/20000420-2.c: New test for stack misalignment when optimizing, but without sibling-call optimizations (-O1). From-SVN: r33299
2000-04-20cpplib.h (enum cpp_ttype): Add token types for all punctuators.Zack Weinberg8-81/+391
* cpplib.h (enum cpp_ttype): Add token types for all punctuators. Distinguish pp-numbers from valid C numbers. Give some tokens better names. Initialize from macro. (struct cpp_name, cpp_token, cpp_toklist): New data structures. Update prototypes. * cpplex.c (bump_column, expand_name_space, expand_token_space, init_token_list, cpp_output_list, _cpp_scan_line): New functions. (output_line_command): Add third argument, new line number. * cpphash.h: Update prototypes. * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new token names. From-SVN: r33289
2000-04-20* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.Richard Henderson2-0/+6
From-SVN: r33288
2000-04-20* gcc.dg/20000420-1.c: New test.Jeffrey A Law2-0/+23
From-SVN: r33286
2000-04-20c-common.c (decl_attributes): Set TREE_USED on the object pointed to.Zack Weinberg3-0/+24
* c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the object pointed to. From-SVN: r33284
2000-04-20loop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note ↵Jan Hubicka2-5/+54
explaining the calculated value. * loop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining the calculated value. From-SVN: r33283
2000-04-20ptrflags.C: New test.Nathan Sidwell3-3/+105
* g++.abi/ptrflags.C: New test. * g++.eh/catchptr1.C: Test incomplete pointer chains. From-SVN: r33282
2000-04-20rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.Nathan Sidwell5-31/+128
* rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi. (target_incomplete_p): New function. (tinfo_base_init): Create comdat NTBS name variable. (ptr_initializer): Add non_public parameter. Calculate it. (ptmd_initializer): Likewise. (synthesize_tinfo_var): Adjust. Emit incomplete class tinfo. (create_real_tinfo_var): Add non_public parameter. Use it. Push proxy into global namespace. * inc/cxxabi.h (__pointer_type_info::incomplete_class_mask): New enumeration. * inc/typeinfo (type_info::before, type_info::operator==): Compare __name addresses. * tinfo2.cc: Remove new-abi builtins comment. From-SVN: r33281
2000-04-20calls.c (expand_call): Avoid unnecesary precalculation and outgoing ↵Jan Hubicka2-86/+86
parameters space guarding for... * calls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space guarding for sibling calls. (store_one_arg): Likewise. From-SVN: r33280
2000-04-20toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.Richard Kenner3-21/+48
* toplev.c (enum dump_file_index, dump_file): Add DFI_sibling. (rest_of_compilation): Write sibling dump file and account for time as jump time. * invoke.texi: Update documentation on dump flags. From-SVN: r33279
2000-04-20Fix copuyright noticeRichard Kenner1-16/+16
From-SVN: r33278
2000-04-20Fix whitespace in one placeRichard Kenner1-2/+2
From-SVN: r33277
2000-04-20Daily bump.Jeff Law2-2/+2
From-SVN: r33276
2000-04-20updateJason Merrill1-1/+1
From-SVN: r33275
2000-04-20fix last changeJason Merrill1-1/+2
From-SVN: r33274
2000-04-20typeck.c (build_x_function_call): Resolve an OFFSET_REF.Jason Merrill4-6/+17
* typeck.c (build_x_function_call): Resolve an OFFSET_REF. * call.c (joust): Exit early if we get the same function, too. * decl2.c (key_method): Return NULL_TREE for template classes. (import_export_class): Don't need to check for template classes. From-SVN: r33273
2000-04-19parse.y (yyerror): `msg' can be null, don't use it in that case.Alexandre Petit-Bianco3-2/+6
2000-04-19 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (yyerror): `msg' can be null, don't use it in that case. From-SVN: r33270
2000-04-19typoJason Merrill1-1/+1
From-SVN: r33269
2000-04-19* avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.Marek Michalkiewicz2-2/+5
From-SVN: r33268
2000-04-19cpphash.c (special_symbol): Represent an empty macro with "\r \r " not just ↵Zack Weinberg4-14/+46
"\r ". * cpphash.c (special_symbol): Represent an empty macro with "\r \r " not just "\r ". (_cpp_macroexpand): Correct condition for the foo ( ) special case. (unsafe_chars): Handle EOF as second argument. (push_macro_expansion): Simplify test for removing escape at end. Do not trim both escapes if there is no text in between. * gcc.dg/20000419-1.c: New test. From-SVN: r33267
2000-04-19Doc fix.Jim Blandy1-1/+1
From-SVN: r33266
2000-04-19*** empty log message ***Jim Blandy1-0/+5
From-SVN: r33265
2000-04-19dwarf2out.c (DWARF2_ADDR_SIZE): New macro.Jim Blandy1-28/+43
* dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead of PTR_SIZE, when appropriate. From-SVN: r33264
2000-04-19system.h (ONLY_INT_FIELDS): Make sure it is defined.Mark Mitchell2-1/+14
* system.h (ONLY_INT_FIELDS): Make sure it is defined. (USE_ENUM_BITFIELDS): Fix typo. From-SVN: r33263
2000-04-19* stor-layout.c (place_field): Set rli->offset_align properly.Richard Kenner2-3/+8
From-SVN: r33262
2000-04-19* gjavah.c (cxx_keyword_subst): Avoid potential infinite loop.Tom Tromey2-4/+11
From-SVN: r33261
2000-04-19conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.Richard Kenner2-8/+5
* gcc/conflict.c (conflict_graph_add): Pass enum type to htab_find_slot. * gcc/cpperror.c (hashtab.h): Now include. * gcc/cppexp.c (hashtab.h): Likewise. * gcc/cpplex.c (hashtab.h): Likewise. * gcc/cppfiles.c (hashtab.h): Likewise. (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type to htab_find_slot_with_hash. * gcc/cpphash.c (hashtab.h): Now include. (_cpp_lookup_slot): INSERT is now enum insert_option. * gcc/cpphash.h (_cpp_lookup_slot): Likewise. * gcc/cppinit.c (hashtab.h): Include earlier. (initialize_builtins): Pass enum to htab_find_slot. * gcc/cpplib.c (hashtab.h): Now include. (do_define, do_undef): Pass enum type to _cpp_lookup_slot. (do_pragma_poison, do_assert): Likewise. * gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to htab_find_slot_with_hash. * gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise. * gcc/tree.c (type_hash_add): Likewise. (build1): Minor cleanup. * include/hashtab.h (enum insert_option): New type. (htab_find_slot, htab_find_slot_with_hash): Use it. * libiberty/hashtab.c: Various minor cleanups. (htab_find_slot_with_hash): INSERT is now enum insert_option. (htab_find_slot): Likewise. From-SVN: r33260
2000-04-19mips.h (BITS_PER_WORD, [...]): Remove unnecessary casts.Kaveh R. Ghazi2-8/+14
* mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY, PARM_BOUNDARY): Remove unnecessary casts. From-SVN: r33259
2000-04-19calls.c (precompute_arguments): Remove must_preallocate and args_size calls.Jan Hubicka2-20/+14
* calls.c (precompute_arguments): Remove must_preallocate and args_size calls. (expand_call): Update call of precompute_arguments. From-SVN: r33258
2000-04-19check for NO_TRAMPOLINES.Catherine Moore2-0/+6
From-SVN: r33257