summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.Jeff Law1999-04-181-1/+1
| | | | From-SVN: r26542
* fix crashes on I/O statements involving COMMON variablesCraig Burley1999-04-183-1/+9
| | | | From-SVN: r26540
* cppfiles.c (find_position, [...]): Use `unsigned long' variables ↵Zack Weinberg1999-04-182-6/+12
| | | | | | | | | | consistently to count line and column numbers. 1999-04-18 17:46 -0400 Zack Weinberg <zack@rabi.columbia.edu> * cppfiles.c (find_position, read_and_prescan): Use `unsigned long' variables consistently to count line and column numbers. From-SVN: r26539
* output.h (current_function_is_leaf, [...]): Declare.John Wehle1999-04-1814-30/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * output.h (current_function_is_leaf, current_function_uses_only_leaf_regs): Declare. * function.c (current_function_is_leaf, current_function_uses_only_leaf_regs): Define. (init_function_start): Initialize current_function_is_leaf and current_function_uses_only_leaf_regs. * final.c (leaf_function): Don't define. (final_start_function): Replace uses of leaf_function with current_function_uses_only_leaf_regs. * toplev.c (rest_of_compilation): Set current_function_is_leaf prior to invoking local register allocation. (rest_of_compilation): Replace uses of leaf_function with current_function_uses_only_leaf_regs. * dbxout.c (dbxout_symbol, dbxout_parms): Likewise. * dwarf2out.c (add_location_or_const_vaule_attribute): Likewise. * dwarfout.c (add_location_or_const_value_attribute): Likewise. * sdbout.c (sdbout_symbol): Likewise. * sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise. * sparc.c (eligible_for_epilogue_delay, output_return, sparc_return_peephole_ok): Likewise. * sparc.md (leaf_function attribute, untyped_return): Likewise. * i386.c (ix86_compute_frame_size): Don't align the stack for leaf functions which don't allocate any stack slots. * tm.texi: Update documentation. From-SVN: r26538
* cp-tree.h (finish_class_definition): Add parameter.Mark Mitchell1999-04-185-380/+388
| | | | | | | | | * cp-tree.h (finish_class_definition): Add parameter. * parse.y (structsp): Use it. Don't call pop_scope here. * parse.c: Regenerated. * semantics.c (finish_class_definition): Pop it here. From-SVN: r26537
* Bump for snapshotJeffrey A Law1999-04-172-1/+5
| | | | From-SVN: r26534
* Misapplied patch.Richard Henderson1999-04-171-1/+0
| | | | From-SVN: r26533
* Daily bump.Jeff Law1999-04-171-1/+1
| | | | From-SVN: r26532
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure ↵Richard Henderson1999-04-172-14/+20
| | | | | | | | | FP_BASE_P registers are only used with an integer. * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P registers are only used with an integer. From-SVN: r26531
* alpha.h (REG_OK_FP_BASE_P): New macro.Richard Henderson1999-04-173-7/+47
| | | | | | | | | | * alpha.h (REG_OK_FP_BASE_P): New macro. (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Use it. * alpha.md (adddi3+1): New insn to handle large constants off the soft frame pointer. (adddi3+2): Don't split soft frame pointer or arg pointer additions. From-SVN: r26530
* c4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile ↵Michael Hayes1999-04-173-10/+38
| | | | | | | | | | | | forcing a constant into a register. * config/c4x/c4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing a constant into a register. * config/c4x/c4x.h (CONST_COSTS): An integer value of 255 or 65535 used with a logical and or an integer value of 16 or 24 used with a right shift has zero cost on the C40. From-SVN: r26529
* Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>Bernd Schmidt1999-04-172-2/+13
| | | | | | | | Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> * gcse.c (compute_local_properties): If setp is nonzero, clear TRANSP instead of setting it to all ones. From-SVN: r26528
* i386.c (i386_preferred_stack_boundary_string): New global variable.Jan Hubicka1999-04-174-37/+87
| | | | | | | | | | | | * i386.c (i386_preferred_stack_boundary_string): New global variable. (i386_preferred_stack_boundary): New global variable. (override_functions): Set it. Tidy option setting code. * i386.h (TARGET_OPTIONS): New command line option. (i386_preferred_stack_boundary_string): Declare it. (i386_preferred_stack_boundary): Likewise. (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary. From-SVN: r26527
* * i386.c (k6_cost): Take into account the decoding time.Jan Hubicka1999-04-172-2/+11
| | | | From-SVN: r26526
* Donn Terry <donn@interix.com>Richard Henderson1999-04-175-9/+29
| | | | | | | | | | | Donn Terry <donn@interix.com> * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _. * i386.c (print_operand): New %_ operator. (load_pic_register): Proper number of leading _ in GOT literal. * i386.md (prologue_get_pc_and_set_got): Likewise. * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise. From-SVN: r26525
* alpha.c (alpha_expand_prologue): Use gen_adddi3 instead of ↵Richard Henderson1999-04-173-21/+71
| | | | | | | | | | | emit_move_insn+plus_constant. * alpha.c (alpha_expand_prologue): Use gen_adddi3 instead of emit_move_insn+plus_constant. For NT, don't use the stack probe loop pointer to allocate stack space. * alpha.md (adddi3): Always use lda to set the stack pointer. From-SVN: r26524
* c-aux-info.c, [...]: Include toplev.h for real declaration of trim_filename.Zack Weinberg1999-04-1712-12/+33
| | | | | | | | | | 1999-04-17 20:11 -0400 Zack Weinberg <zack@rabi.columbia.edu> * c-aux-info.c, emit-rtl.c, explow.c, expmed.c, gcse.c, haifa-sched.c, optabs.c, reorg.c, resource.c, sched.c: Include toplev.h for real declaration of trim_filename. * Makefile.in: Update dependencies. From-SVN: r26523
* uninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need ↵Richard Henderson1999-04-172-1/+6
| | | | | | | | | for a prototype to... * gcc.dg/uninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need for a prototype to supress a warning. From-SVN: r26522
* decl.c (xref_tag): Revise handling of nested template declarations.Mark Mitchell1999-04-174-69/+154
| | | | | | | | | | | * decl.c (xref_tag): Revise handling of nested template declarations. * pt.c (check_explicit_specialization): Tweak handling of friend templates in template classes. (tsubst_friend_class): Handle friend declarations for nested member template classes. From-SVN: r26520
* remove -fugly, other doc fixesCraig Burley1999-04-178-248/+298
| | | | From-SVN: r26519
* forgot to add ffe.texi, the actual g77 front-end internals docsCraig Burley1999-04-171-0/+883
| | | | From-SVN: r26518
* Check for circularity only if ENABLE_CHECKING is definedCraig Burley1999-04-172-0/+7
| | | | From-SVN: r26517
* add g77 front-end internals docsCraig Burley1999-04-173-1/+16
| | | | From-SVN: r26516
* rewrite to use block/scope structure of GBECraig Burley1999-04-1713-2736/+3844
| | | | From-SVN: r26515
* cccp.c: Make fatal non-static.Zack Weinberg1999-04-172-2/+6
| | | | | | | 1999-04-17 10:15 -0400 Zack Weinberg <zack@rabi.columbia.edu> * cccp.c: Make fatal non-static. From-SVN: r26514
* c4x.md (*andqi3_255_clobber,*andqi3_65535_clobber): New logical and patterns ↵Michael Hayes1999-04-172-3/+77
| | | | | | | | | | | | using C40 bit-field insert instructions. * config/c4x/c4x.md (*andqi3_255_clobber,*andqi3_65535_clobber): New logical and patterns using C40 bit-field insert instructions. (*lshrqi3_24_clobber,*ashrqi3_24_clobber,*lshrqi3_16_clobber, *ashrqi3_16_clobber): New shift patterns using C40 bit-field insert instructions. From-SVN: r26513
* Daily bump.Jeff Law1999-04-161-1/+1
| | | | From-SVN: r26512
* system.h: Always prototype abort.Zack Weinberg1999-04-1621-83/+89
| | | | | | | | | | | | | | | | | | | 1999-04-16 22:44 -0400 Zack Weinberg <zack@rabi.columbia.edu> * system.h: Always prototype abort. Prototype fatal. Define abort to call fatal, not fprintf/exit. Define a stub macro for trim_filename. * toplev.c: Define DIR_SEPARATOR. (trim_filename): New function. * toplev.h: Prototype trim_filename, and #undef system.h's stub. * gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c: Make fatal non-static. * gcov.c, gengenrtl.c, protoize.c: #undef abort after including system.h. * config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code relating to abort. From-SVN: r26511
* class.c (finish_struct): Remove unused variable.Mark Mitchell1999-04-165-8/+46
| | | | | | | | | | | | * class.c (finish_struct): Remove unused variable. (pushclass): Likewise. (invalidate_class_lookup_cache): Likewise. * cp-tree.def (TYPENAME_TYPE): Improve documentation. * decl.c (build_typename_type): Make sure TYPENAME_TYPE_FULLNAME doesn't get obliterated. (make_typename_type): Handle template classes correctly. From-SVN: r26507
* tweak spellingJason Merrill1999-04-161-1/+1
| | | | From-SVN: r26506
* c4x.md (mulqf3_clrqf_clobber, [...]): New patterns to support parallel ↵Michael Hayes1999-04-162-1/+36
| | | | | | | | | multiply and load of zero. * config/c4x/c4x.md (mulqf3_clrqf_clobber, mulqi3_clrqi_clobber): New patterns to support parallel multiply and load of zero. From-SVN: r26492
* cp-tree.h (TREE_NONLOCAL_FLAG): Remove.Mark Mitchell1999-04-168-76/+106
| | | | | | | | | | | | | | | | | * cp-tree.h (TREE_NONLOCAL_FLAG): Remove. (storetags): Declare. * class.c (finish_struct): Don't use TREE_NONLOCAL_FLAG. (pushclass): Likewise. Use storetags to install tag declarations, not pushtag. (invalidate_class_lookup_cache): Don't use TREE_NONLOCAL_FLAG. * decl.c (storetags): Make it global. (push_class_binding): Set INHERITED_VALUE_BINDING_P for an implicit typename declaration. (pushtag): Tidy. Don't use TREE_NONLOCAL_FLAG. * method.c (hack_identifier): Likewise. * search.c (lookup_member): Likewise. From-SVN: r26491
* tree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE ↵Jason Merrill1999-04-152-0/+13
| | | | | | | | | | within a POINTER_TYPE and we don't get a... * tree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE within a POINTER_TYPE and we don't get a decl, update the POINTER_TYPE. From-SVN: r26489
* Daily bump.Jeff Law1999-04-151-1/+1
| | | | From-SVN: r26488
* decl.c (warn_about_implicit_typename_lookup): New function.Mark Mitchell1999-04-164-49/+113
| | | | | | | | * decl.c (warn_about_implicit_typename_lookup): New function. (lookup_name_real): Use it. Rework handling of implicit typename extension. From-SVN: r26487
* Revert accidental checkin of the FCOMI patch that I was testing.Jeff Law1999-04-151-105/+59
| | | | From-SVN: r26486
* * i386.c (x86_adjust_cost): Move break statement to correct place.Jan Hubicka1999-04-152-61/+110
| | | | From-SVN: r26485
* expr.c (expand_assignment): Force pointers to proper mode if ↵Donn Terry1999-04-152-1/+11
| | | | | | | | | POINTERS_EXTEND_UNSIGNED is defined. * expr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED is defined. From-SVN: r26484
* xm-alpha.h (alloca.h): Add Interix to list of special machines that don't ↵Donn Terry1999-04-152-1/+4
| | | | | | | | | like alloca.h... * xm-alpha.h (alloca.h): Add Interix to list of special machines that don't like alloca.h, pending using autoconf results. From-SVN: r26483
* pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.Jerry Quinn1999-04-151-4/+4
| | | | | | | | | � * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from 8000 to PROCESSOR_8000. From-SVN: r26482
* pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.Jerry Quinn1999-04-151-0/+6
| | | | | | | | | � * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from 8000 to PROCESSOR_8000. From-SVN: r26481
* except.c (start_catch_hadler): Be sure rtime_address is Pmode if ↵Donn Terry1999-04-152-0/+6
| | | | | | | | | POINTERS_EXTEND_UNSIGNED. * except.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSIGNED. From-SVN: r26478
* except.c (expand_eh_return): Force pointers to proper mode if ↵Donn Terry1999-04-152-0/+11
| | | | | | | | | POINTERS_EXTEND_UNSIGNED. * except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED. From-SVN: r26477
* cp-tree.h (lookup_nested_field): Remove.Mark Mitchell1999-04-156-73/+26
| | | | | | | | | | | | * cp-tree.h (lookup_nested_field): Remove. * class.c (push_nested_class): Handle UNION_TYPEs. (pop_nested_class): Likewise. * decl.c (lookup_name_real): Don't call lookup_nested_field. (start_decl): Use push_nested_class, not just pushclass. (cp_finish_decl): Use pop_nested_class, not just popclass. * search.c (lookup_nested_field): Remove. From-SVN: r26476
* cp-tree.h (lang_type): Add documentation.Mark Mitchell1999-04-159-4160/+4263
| | | | | | | | | | | | | | | | | | | | * cp-tree.h (lang_type): Add documentation. * decl2.c (handle_class_head): Create template declarations here, as appropriate. * parse.y (class_head): Return whether or not we entered a new scope, as well as the type named. (named_class_head): Likewise. (named_complex_class_head_sans_basetype): Likewise. (structsp): Adjust accordingly. Pop scope when required. * parse.c: Regenerated. * pt.c (check_default_tmpl_args): Robustify. (redeclare_class_template): Likewise. (instantiate_class_template): An instantiation of an anonymous union is itself an anonymous union. * semantics.c (begin_class_definition): Don't create template declarations here. From-SVN: r26475
* gjavah.c: New prototypes for java_float_finite and java_double_finite.Anthony Green1999-04-152-0/+8
| | | | | | | | Thu Apr 15 13:08:03 1999 Anthony Green <green@cygnus.com> * gjavah.c: New prototypes for java_float_finite and java_double_finite. From-SVN: r26474
* remove conflict indicatorsJason Merrill1999-04-151-41/+1
| | | | From-SVN: r26473
* parse.y (after_type_declarator_intern): New nonterminal.Jason Merrill1999-04-155-3820/+3972
| | | | | | | | | | | | | * parse.y (after_type_declarator_intern): New nonterminal. (after_type_declarator): Use it. (direct_after_type_declarator): Likewise. Move above nonnested_type to fix reduce/reduce conflict resolution. (declmods): Reducing from just 'attributes' has EMPTY precedence. * Makefile.in (CONFLICTS): Update. * decl.c (define_label): Downgrade error for jumping over a non-POD decl to pedwarn. From-SVN: r26472
* newJason Merrill1999-04-152-2/+23
| | | | From-SVN: r26471
* c4x.h: Tweaked comment formatting.Michael Hayes1999-04-153-28/+33
| | | | | | | * config/c4x/c4x.h: Tweaked comment formatting. * config/c4x/c4x.c: Likewise. From-SVN: r26470