aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1999-12-01i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.Jan Hubicka2-12/+35
* i386.md (neg?f2_if): Split "r" and "f" to separate alternatives. (abs?f2_if): Likewise. From-SVN: r30738
1999-12-01Daily bump.Jeff Law2-2/+2
From-SVN: r30735
1999-12-01ggc.h (ggc_test_and_set_mark): New macro.Alex Samuel3-71/+100
* ggc.h (ggc_test_and_set_mark): New macro. (ggc_mark_rtx): Use ggc_test_and_set_mark. (ggc_mark_tree): Likewise. (ggc_mark_rtvec): Likewise. * ggc-common.c (ggc_mark_rtx_children): Reduce recursion. From-SVN: r30734
1999-11-30dwarf2out.c (scope_die_for): Only handle types.Jason Merrill2-135/+79
* dwarf2out.c (scope_die_for): Only handle types. Only search for containing types. (decl_scope_table): Just an array of trees now. (push_decl_scope): Simplify. (dwarf2out_init): Adjust. (local_scope_p): New fn. (gen_inlined_enumeration_type_die): Don't call scope_die_for. (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise. (gen_typedef_die): Likewise. (gen_lexical_block_die): Don't call push/pop_decl_scope. (gen_inlined_subroutine_die): Likewise. (gen_abstract_function): Set current_function_decl temporarily. (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration. Handle block extern declarations. Don't call push/pop_decl_scope. (gen_decl_die): Fix logic for block externs. From-SVN: r30733
1999-11-30calls.c (special_function_p): Remove `realloc' and add `strdup' to the list ↵Kaveh R. Ghazi2-2/+9
of functions which have attribute... * calls.c (special_function_p): Remove `realloc' and add `strdup' to the list of functions which have attribute malloc by default. From-SVN: r30731
1999-11-30c-lex.c (yylex): With -Wtraditional...Kaveh R. Ghazi3-1/+19
* c-lex.c (yylex): With -Wtraditional, when the ANSI type of an integer constant does not match the traditional type, limit the warnings to cases where the base of the type is ten. * invoke.texi (-Wtraditional): Document it. From-SVN: r30730
1999-11-30combine.c (try_combine): Only pass SET or CLOBBER to SET_DESTFranz Sirl3-3/+15
* combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST * rs6000.md: Only access a CONST_INT with INTVAL From-SVN: r30729
1999-11-30lcm.c (compute_laterin): Cast bb->aux to size_t not int.Richard Henderson3-4/+11
* lcm.c (compute_laterin): Cast bb->aux to size_t not int. (compute_nearerout): Likewise. * ggc-page.c (ggc_page_print_statistics): Explicitly cast size_t to unsigned long for formatting. From-SVN: r30728
1999-11-30Jakub Jelinek <jakub@redhat.com>Jakub Jelinek4-75/+220
* config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE): Allow the user to override call-used/fixed state of %g2-5 registers from the command line (with the exception of %g4 for embedded model). (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that there is a higher chance of having a leaf function. (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros for ARCH64 which has %ccr register. * config/sparc/sparc.md (return_losum_si, return_losum_di): New patterns. * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return insn accept into delay slot any insn which does not use %[ol] registers. Accept some LO_SUM and shift left by 1 for the normal restore case. (output_function_epilogue): Likewise. (epilogue_renumber): Added argument which inhibits any renumbering and just tests if the rtx does not use any %[ol] registers. (output_return): Reflect above change. From-SVN: r30727
1999-11-30sparc.c (sparc_va_arg): Fix sparc64 va_arg aggregate passing for sizes <= 16 ↵Jakub Jelinek2-12/+22
bytes. * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg aggregate passing for sizes <= 16 bytes. From-SVN: r30726
1999-11-30fix typoBrendan Kehoe1-1/+1
From-SVN: r30724
1999-11-30Delete obsolete macrosBernd Schmidt11-130/+16
From-SVN: r30723
1999-11-30sparc.h (MASK_FASTER_STRUCTS, [...]): Define.Brendan Kehoe4-9/+78
* sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define. (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags. (ROUND_TYPE_ALIGN): Use better value of -mfaster-structs. * sparc.md (sparclite86x_branch, sparclite86x_shift): New function units for the sparclite86x chip. (flush): Revert October 14th change; add SImode specifically. (flushdi): Copy of flush, but DImode, to avoid genrecog warnings. * invoke.texi: Document it. From-SVN: r30722
1999-11-30Fix psimode truncation patterns to not accept MEMs that are not valid forNick Clifton4-2/+30
PSImode. From-SVN: r30721
1999-11-30flow.c (flow_nodes_print, [...]): New functions.Michael Hayes6-4/+818
* flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions. (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise. (flow_loop_exits_find, flow_loop_nodes_find): Likewise. (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise. (flow_loop_tree_node_add, flow_loops_tree_build): Likewise. (flow_loop_level_compute, low_loops_level_compute): Likewise. (flow_loops_find, flow_loop_outside_edge_p): Likewise. * basic-block.h: Protect from multiple inclusion. (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes. (struct loops, struct loop): Define structures. * sbitmap.c (sbitmap_a_subset_b_p): New function. * sbitmap.h: Protect from multiple inclusion. (sbitmap_a_subset_b_p): Add prototype. * Makefile.in (LOOP_H): New macro. (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H. From-SVN: r30720
1999-11-30Daily bump.Jeff Law2-2/+2
From-SVN: r30719
1999-11-30cppinit.c (CAT): The argument list of this macro may not contain spaces !Philippe De Muyter2-1/+6
* cppinit.c (CAT): The argument list of this macro may not contain spaces ! From-SVN: r30718
1999-11-29Move quantity tables and register equivalence chains intoDavid S. Miller2-284/+371
per-qty and per-register structure arrays respectively. From-SVN: r30717
1999-11-29* pt.c (tsubst_decl): Robustify.Mark Mitchell3-1/+18
From-SVN: r30716
1999-11-29Install proper changeRichard Kenner1-2/+3
From-SVN: r30715
1999-11-29fold-const.c (extract_muldiv, [...]): Reverse operation if C is negative.Richard Kenner2-19/+54
* fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse operation if C is negative. (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects. (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive law for some divisions if constant is negative and change other divisions to the opposite rounding. From-SVN: r30714
1999-11-29expr.c (store_constructor_field): If bit position is not multiple of ↵Richard Kenner2-3/+11
alignment of TARGET's mode, use BLKmode. * expr.c (store_constructor_field): If bit position is not multiple of alignment of TARGET's mode, use BLKmode. From-SVN: r30713
1999-11-29expr.c (expand_expr_unaligned): Add more code from full case that is needed ↵Richard Kenner2-4/+65
when OP0 is in a register. * expr.c (expand_expr_unaligned): Add more code from full case that is needed when OP0 is in a register. From-SVN: r30712
1999-11-29parse.y (catch_clause_parameter:): Still set `$$' to NULL_TREE in case of error.Alexandre Petit-Bianco2-8/+16
Tue Nov 23 10:55:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (catch_clause_parameter:): Still set `$$' to NULL_TREE in case of error. Error message tuned. This fixes a catch clause error handling reported on the java-discuss mailing list: http://sourceware.cygnus.com/ml/java-discuss/1999-q4/msg00358.html From-SVN: r30710
1999-11-29Fix for gcc.c-torture/noncompile/920824-1.c on SH (and mips?)J"orn Rennecke2-0/+14
Fix for gcc.c-torture/noncompile/920824-1.c on SH (and mips?) * dwarfout.c (field_byte_offset): Size can be zero if there was an error. From-SVN: r30708
1999-11-29hu Nov 4 16:27:01 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>Alexandre Petit-Bianco2-1/+16
* parse.y (resolve_qualified_expression_name): Handle PLUS_EXPR. (qualify_ambiguous_name): Likewise. (This patch fixes the gcj PR #55.) From-SVN: r30707
1999-11-29Delete unused vars.Bernd Schmidt2-6/+4
From-SVN: r30706
1999-11-29Add missing return typesBernd Schmidt2-0/+9
From-SVN: r30705
1999-11-29don't skip GLIBC files any more, more C++ header testing, corrected spelling ↵Bruce Korb7-64/+43
of mach From-SVN: r30704
1999-11-29New test: gcc.dg/991129-1.cBernd Schmidt2-0/+19
From-SVN: r30703
1999-11-29Verify class is ok when allocating reload reg in push_reloadBernd Schmidt2-5/+18
From-SVN: r30702
1999-11-29Fix bug in reloads_conflictBernd Schmidt2-1/+5
From-SVN: r30701
1999-11-29Clean up parts of the schedulerBernd Schmidt2-534/+431
From-SVN: r30700
1999-11-29Delete useless patternsBernd Schmidt2-91/+3
From-SVN: r30699
1999-11-29Fix abort in loop_iterationsBernd Schmidt2-4/+7
From-SVN: r30698
1999-11-29Make ChangeLog entry clearerMark Mitchell1-2/+2
From-SVN: r30697
1999-11-29Daily bump.Jeff Law2-2/+2
From-SVN: r30696
1999-11-29sparc.c (init_cumulative_args): Fix type of third arg.David S. Miller3-2/+8
1999-11-29 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (init_cumulative_args): Fix type of third arg. * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE. From-SVN: r30695
1999-11-28Fix a typo.Jeff Law1-1/+1
From-SVN: r30694
1999-11-29com.c (ffecom_file_, [...]): Constify a char*.Kaveh R. Ghazi6-23/+41
* com.c (ffecom_file_, ffecom_file, file_buf, ffecom_open_include_): Constify a char*. (ffecom_possible_partial_overlap_): Mark parameter `expr2' with ATTRIBUTE_UNUSED. (ffecom_init_0): Use a fully prototyped cast in call to bsearch. (lang_print_error_function): ANSI-fy. * com.h (ffecom_file): Constify a char*. * fini.c (main): Call return, not exit. * g77spec.c (lang_specific_driver): Use non-const *in_argv in assignment. * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away const-ness. From-SVN: r30693
1999-11-29com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.Kaveh R. Ghazi7-219/+99
* com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses. (ffecom_char_enhance_arg_, ffecom_do_entry_, ffecom_f2c_make_type_, ffecom_gen_sfuncdef_, ffecom_start_progunit_, ffecom_start_progunit_, ffecom_start_progunit_, ffecom_sym_transform_assign_, ffecom_transform_equiv_, ffecom_transform_namelist_, ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label): Adjust accordingly. * com.h (ffecom_get_invented_identifier): Likewise. * sts.c (ffests_printf): New function taking ellipses. (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s, ffests_printf_2Us): Delete. * sts.h: Likewise. * std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_, ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_, ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'. * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_, ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise. From-SVN: r30692
1999-11-28sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn table from .fini into ↵Robert Lipe2-1/+6
.dtor. * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn table from .fini into .dtor. From-SVN: r30690
1999-11-28tree.h (struct tree_decl): Add malloc_flag.Anthony Green5-8/+44
* tree.h (struct tree_decl): Add malloc_flag. (DECL_IS_MALLOC): Define. * c-common.c (attrs): Add A_MALLOC attribute. (init_attributes): Add this attribute to the table. (decl_attributes): Handle malloc attribute. * calls.c (special_function_p): Check for the malloc attribute. * extend.texi (Function Attributes): Document malloc attribute. From-SVN: r30689
1999-11-28* pa.md (reload shift-add patterns): Remove.Jeffrey A Law2-41/+4
From-SVN: r30688
1999-11-28* reorg.c (dbr_schedule) Print more statistics. CorrectedHerman A.J. ten Brugge2-1/+60
problem when printing info when 3 delay slots are filled. From-SVN: r30687
1999-11-28Daily bump.Jeff Law2-2/+2
From-SVN: r30686
1999-11-28combine.c (setup_incoming_promotions): Pass an outgoing regno to ↵Jakub Jelinek2-1/+12
FUNCTION_ARG_REGNO_P which it expects. * combine.c (setup_incoming_promotions): Pass an outgoing regno to FUNCTION_ARG_REGNO_P which it expects. From-SVN: r30685
1999-11-28* mips/linux.h (CPP_PREDEFINES): Undefine before redefining.Andreas Jaeger2-0/+5
From-SVN: r30684
1999-11-28* cccp.c (do_include): Avoid initialization of automatic variable.Philippe De Muyter2-1/+5
From-SVN: r30682
1999-11-28integrate.c (mark_stores): Function definition made void, to match previous ↵Philippe De Muyter4-3/+10
declaration. * integrate.c (mark_stores): Function definition made void, to match previous declaration. * regclass.c (dump_regclass): Ditto. * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'. From-SVN: r30681