summaryrefslogtreecommitdiff
path: root/gcc/extend.texi
Commit message (Collapse)AuthorAgeFilesLines
* * extend.texi (Bound member functions): Document.jason1999-01-041-1/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24483 138bc75d-0d04-0410-961f-82ee72b054a4
* manfred1999-01-011-0/+1
| | | | | | | * extend.texi (__builtin_constant_p): Add missing @smallexample. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24460 138bc75d-0d04-0410-961f-82ee72b054a4
* Richard Kenner <kenner@vlsi1.ultra.nyu.edu>:rth1998-12-291-0/+52
| | | | | | | | | | | | | | | * rtl.def (CONSTANT_P_RTX): Clarify commentary. * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to consider constant CONSTRUCTOR constant and to defer some cases to cse. * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX. * regclass.c (reg_scan_mark_refs, case CONST): Likewise. Richard Henderson <rth@cygnus.com> * expr.c (init_expr_once): Kill can_handle_constant_p recognition. * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24439 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing @section.drepper1998-12-021-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24057 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (declare_function_name): Declare predefinied variablerth1998-12-011-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `__func__'. * c-decl.c (flag_isoc9x): Set to 1 by default. (c_decode_option): Handle -std= option. Remove -flang-isoc9x. (grokdeclarator): Always emit warning about implicit int for ISO C 9x. * c-parse.in: Allow constructors in ISO C 9x. Rewrite designator list handling. Allow [*] parameters. Don't warn about comma at end of enum definition for ISO C 9x. * cccp.c (c9x): New variable. (rest_extension): New variable. (print_help): Document new -std= option. (main): Recognize -std= option. Set c9x appropriately. (create_definition): Recognize ISO C 9x vararg macros. * gcc.c (default_compilers): Adjust specs for -std options. (option_map): Add --std. (display_help): Document -std. * toplev.c (documented_lang_options): Add -std and remove -flang-isoc9x. * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF or REAL_VALUE_HTOF based on base of the constants. * fold-const.c (real_hex_to_f): New function. Replacement function for hex FP conversion if REAL_ARITHMETIC is not defined. * real.c (asctoeg): Add handling of hex FP constants. * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or real_hex_to_f. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24049 138bc75d-0d04-0410-961f-82ee72b054a4
* * extend.texi: Clarify proper uses for register clobbers in asms.law1998-11-041-0/+8
| | | | | | | 1 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23531 138bc75d-0d04-0410-961f-82ee72b054a4
* Fine-grained control of -fcheck-memory-usage with new no_check_memory_usageraeburn1998-10-111-0/+13
| | | | | | | attribute. Misc minor bugfixes and tests for it too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22983 138bc75d-0d04-0410-961f-82ee72b054a4
* * iomanip.h: Use __extension__ for `extern' explicit templatemmitchel1998-08-231-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instantiations. * sinst.cc: Don't explicitly instantiation string_char_traits<char>. * cinst.cc: Likewiwse, for complex<float>, complex<double>, complex<long double>. * extend.texi: Remove description of extension to explicit instantiation that is now endorsed by standard C++. * decl2.c (grok_array_decl): Add comment. (mark_used): Don't instantiate an explicit instantiation. * friend.c (make_friend_class): Remove bogus comment. Fix check for partial specializations. * pt.c (check_explicit_specialization): Don't SET_DECL_EXPLICIT_INSTANTIATION here. (mark_decl_instantiated): Or here. (do_decl_instantiation): Do it here, instead. Add checks for duplicate explicit instantiations, etc. Tidy. (do_type_instantiation): Likewise. (instantiate_decl): Improve comments. Complain about explicit instantiations where no definition is available. * cp-tree.h (ansi_null_node): Remove. * call.c (build_over_call): Warn about converting NULL to an arithmetic type. * cvt.c (build_expr_type_conversion): Likewise. Use null_ptr_cst_p instead of expanding it inline. * decl.c (ansi_null_node): Remove. (init_decl_processing): Make null_node always have integral type. * except.c (build_throw): Warn about converting NULL to an arithmetic type. * lex.c (init_parse): Remove handling of ansi_null_node. * pt.c (type_unification_real): Don't convert NULL to void* type. * typeck.c (build_binary_op_nodefault): Fix NULL warnings. (convert_for_assignment): Warn about converting NULL to an arithmetic type. (convert_for_initialization): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21915 138bc75d-0d04-0410-961f-82ee72b054a4
* Function entry/exit profiling instrumentation:raeburn1998-07-301-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * expr.h (profile_function_entry_libfunc, profile_function_exit_libfunc): Declare new variables. * optabs.c: Define them here. (init_optabs): Initialize them. * tree.h (struct tree_decl): New flag no_instrument_function_entry_exit. (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro. * c-decl.c (duplicate_decls): Merge it. * c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION. (init_attributes): Use it for "no_instrument_function". (decl_attributes): Handle it, for functions that have not yet been compiled. Set decl flag. * flags.h (flag_instrument_function_entry_exit): Declare new variable. * toplev.c (flag_instrument_function_entry_exit): Define it here. (f_options): New option "instrument-functions". * function.h (struct function): New field instrument_entry_exit. * function.c (current_function_instrument_entry_exit): New variable. (push_function_context_to, pop_function_context_from): Save and restore. (expand_function_start): Set current_ variable, maybe emit return label and entry profile call. (expand_function_end): Maybe emit exit profile call. Testsuite: * gcc.c-torture/special/eeprof-1.c: New test, for -finstrument-functions. * gcc.c-torture/special/special.exp: Run it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21495 138bc75d-0d04-0410-961f-82ee72b054a4
* (law1998-07-161-2/+2
| | | | | | | | * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may be deleted" git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21221 138bc75d-0d04-0410-961f-82ee72b054a4
* * extend.texi: Clarify some issues related to local variableslaw1998-07-141-1/+7
| | | | | | | assigned to explicit registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21159 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-parse.in (struct_head, union_head, enum_head): New nonterminals.law1998-07-061-0/+3
| | | | | | | | (structsp): Use them. Update files generated from c-parse.in. * extend.texi (Type Attributes): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20971 138bc75d-0d04-0410-961f-82ee72b054a4
* * extend.texi: Bring back reference to trampoline paper.law1998-05-301-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20146 138bc75d-0d04-0410-961f-82ee72b054a4
* This change is from an idea suggested by Arthur David Olson.law1998-04-121-12/+14
| | | | | | | | | | | | | | | | | | | | | * c-common.c (decl_attributes, record_function_format, check_format_info, init_function_format_info): Add support for strftime format checking. (enum format_type): New type. (record_function_format): Now static, and takes value of type enum format_type instead of int. (time_char_table): New constant. (struct function_format_info): format_type member renamed from is_scan. (check_format_info): Use `warning' rather than sprintf followed by `warning', to avoid mishandling `%' in warnings. Change `pedwarn' to `warning', since these warnings do not necessarily mean the program does not conform to the C Standard, as the code need not be executed. * c-tree.h (record_function_format): Remove decl; no longer extern. * extend.texi: Add documentation for strftime format checking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19151 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12law1998-04-041-7/+8
| | | | | | | | | for details. * haifa-sched.c: Mirror recent changes from gcc2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix mismatched parens.law1998-01-251-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17471 138bc75d-0d04-0410-961f-82ee72b054a4
* Bring in final gcc-2.8.0 changes.law1998-01-141-108/+120
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from gcc-2.8law1997-12-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -frepo docs.law1997-11-141-2/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16478 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~115~merrill1997-04-301-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13993 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~114~merrill1997-04-241-24/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13976 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~113~dje1997-03-241-0/+42
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13782 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~112~kenner1997-01-191-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13515 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~110~brendan1996-10-211-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12981 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly extend.texi.~109~kenner1996-10-091-18/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12929 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1996-09-231-0/+3414
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12786 138bc75d-0d04-0410-961f-82ee72b054a4