- Nov 13, 2000
-
-
Neil Booth authored
* cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF cases return without MI check. * cpplib.c (do_diagnostic): Take boolean of whether to print the directive name. (do_error, do_warning): Update. (do_pragma_dependency): Use it. * cpplib.h (VARARGS_FIRST): Delete. (struct cpp_token): Delete integer. * cppmacro.c (enter_macro_context): Move disabled check to _cpp_get_token. (_cpp_get_token): Simplify into a single loop. From-SVN: r37434
-
Richard Earnshaw authored
From-SVN: r37433
-
Richard Earnshaw authored
* configure.in: Use 'test -f' not '[ -e'. * configure: Regenerated. From-SVN: r37432
-
DJ Delorie authored
* config/mn10300/mn10300.md (store_movm): Note which registers are really used or clobbered. From-SVN: r37431
-
Jakub Jelinek authored
From-SVN: r37430
-
Joseph Myers authored
* c-parse.in (ends_in_label): Remove from %union and %type. (decls, stmts, lineno_stmt_or_labels, xstmts, lineno_stmt_or_label, stmt_or_label): Remove. (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt, lineno_stmt_decl_or_labels_ending_decl, lineno_stmt_decl_or_labels_ending_label, lineno_stmt_decl_or_labels_ending_error, lineno_stmt_decl_or_labels, compstmt_contents_nonempty, lineno_stmt, lineno_label): New. (compstmt_nostart): Use compstmt_contents_nonempty. testsuite: * gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests. From-SVN: r37429
-
Joseph Myers authored
* c-common.c (boolean_increment): New function. * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE, CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE. (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define. (boolean_increment): Declare. * c-convert.c (convert): Allow for BOOLEAN_TYPE. * c-decl.c (init_decl_processing): Create boolean nodes. (finish_struct): Allow for _Bool bitfields. * c-parse.in (reswords): Add _Bool. (rid_to_yy): Allow for RID_BOOL. * c-typeck.c (default_conversion): Make booleans promote to int. (convert_arguments, build_unary_op, build_modify_expr, convert_for_assignment): Allow for booleans. * ginclude/stdbool.h: Make conforming to C99. cp: * typeck.c (build_unary_op): Use boolean_increment from c-common.c, moving the relevant code there. testsuite: * gcc.dg/c99-bool-1.c: New test. From-SVN: r37428
-
Joseph Myers authored
* c-parse.in (c99_block_start, c99_block_end, c99_block_lineno_labeled_stmt): New. (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt. (stmt): Split off selection and iteration statements into... (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt. testsuite: * gcc.dg/c99-scope-1.c: Remove xfail. * gcc.dg/c99-scope-2.c: New test. From-SVN: r37427
-
Joseph Myers authored
* invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps, -time): Update. From-SVN: r37426
-
Richard Earnshaw authored
* arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change. Rewrite to avoid use of match_dup. Don't try to tie registers that are not in the same mode. From-SVN: r37425
-
Joseph Myers authored
From-SVN: r37424
-
Joseph Myers authored
* configure: Provide the original toplevel configure arguments (including $0) to subprocesses in the environment rather than through gcc/configargs.h. gcc: * configure.in: Take toplevel configure arguments from the environment to create configargs.h and substitute gcc_config_arguments, taking account of any existing configargs.h if reconfiguring. * configure: Regenerate. * gccbug.in: Include toplevel configure arguments in gccbug. From-SVN: r37423
-
Richard Earnshaw authored
* varasm.c (struct constant_descriptor): Put CONTENTS inside a union to make it well-aligned. Update all uses. From-SVN: r37422
-
Joseph Myers authored
* c-parse.in (initelt): Give appropriate pedantic warnings, depending on flag_isoc99, for non-ISO syntax and for C99 syntax outside C99 mode. (designator): If pedantic, pedwarn for a designator specifying a range of elements. * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for these cases. * extend.texi: Document the C99 syntax as the preferred syntax, and the pre-2.5 syntax as obsolete. Mention use of designator lists for nested subobjects. From-SVN: r37421
-
Joseph Myers authored
* MAINTAINERS: Remove references to cccp. Change C9X reference to C99. Alphabetise "Write After Approval" list. From-SVN: r37420
-
Joseph Myers authored
* diagnostic.c (vbuild_message_string, output_do_printf, vnotice): Add ATTRIBUTE_PRINTF. * tradcpp.c (v_message, warning, error, fatal, error_with_line): Add ATTRIBUTE_PRINTF*. java: * parse.y (issue_warning_error_from_context): Add ATTRIBUTE_PRINTF. From-SVN: r37419
-
Jeff Law authored
From-SVN: r37418
-
Mark Mitchell authored
* function.c (assign_parms): When calling put_var_into_stack, make sure that there are no hidden pending sequences. From-SVN: r37417
-
Kaveh R. Ghazi authored
* builtins.c (expand_builtin): Handle BUILT_IN_INDEX and BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and BUILT_IN_STRRCHR. * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries. * c-common.c (c_common_nodes_and_builtins): Declare index and rindex when nonansi builtins are allowed. * extend.texi (index, rindex): Document new builtins. testsuite: * gcc.c-torture/execute/string-opt-3.c: Also test builtin rindex. * gcc.c-torture/execute/string-opt-4.c: Also test builtin index. From-SVN: r37416
-
Mark Mitchell authored
* configure: Turn on libstdc++ V3 by default. * configure.in: Turn on libstdc++ V3 by default. * configure: Regenerated. From-SVN: r37415
-
Mark Mitchell authored
* ltcf-c.sh: On Solaris, use `gcc -shared' to build a shared library if we've got GCC. From-SVN: r37414
-
Mark Mitchell authored
* include/c/bits/std_cmath.h (abs): Change extern "C" declaration of `abs (double)' to ... (fabs): this. From-SVN: r37413
-
Mark Mitchell authored
* config/os/solaris/solaris2.7/bits/os_defines.h: Define __EXTENSIONS__. From-SVN: r37412
-
Bruce Korb authored
From-SVN: r37411
-
Mark Mitchell authored
From-SVN: r37410
-
- Nov 12, 2000
-
-
Jakub Jelinek authored
From-SVN: r37409
-
Joseph Myers authored
From-SVN: r37408
-
Nick Clifton authored
From-SVN: r37407
-
Marc Espie authored
* configure.in: Fix filds test. * configure: Regen. From-SVN: r37406
-
Mark Mitchell authored
* jump.c (delete_computation): Don't assume that just becuase an instruction sets a register, that register is dead. From-SVN: r37405
-
Neil Booth authored
* cppexp.c: Don't worry about pfile->skipping. * cpplib.c (struct if_stack): Make was_skipping unsigned char. (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer for handled directives. (skip_rest_of_line): Use _cpp_lex_token after popping contexts and releasing lookaheads. (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping. (do_else, do_elif, push_conditional): Update logic. (do_endif): Set buffer->was_skipping rather than pfile->skipping. (unwind_if_stack): Inline into cpp_pop_buffer. (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive. * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle multiple-include optimisation. * cpplib.h (struct cpp_buffer): New member was_skipping. * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This works because skipping == 0 in directives. (_cpp_release_lookahead): Renamed from release_lookahead. (cpp_get_token): No need to check skipping as _cpp_get_token does this for us. No need to handle MI optimisation. From-SVN: r37404
-
Jeff Law authored
From-SVN: r37403
-
Mark Mitchell authored
inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEPTION' in their prototypes, too. * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEPTION' in their prototypes, too. * fixinc/fixincl.x: Regenerated. From-SVN: r37402
-
Bruce Korb authored
From-SVN: r37401
-
Mark Mitchell authored
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined. From-SVN: r37400
-
Zack Weinberg authored
* configure.in: Don't add $outputs to all_lang_makefiles. Add $srcdir/$s/Makefile.in if it exists. * configure: Regenerate. From-SVN: r37399
-
Mark Mitchell authored
From-SVN: r37398
-
Mark Mitchell authored
From-SVN: r37397
-
Jason Merrill authored
* function.c (assign_parms): If TREE_ADDRESSABLE is set, try to give the parm a register and then call put_var_into_stack. * stmt.c (expand_decl): Likewise. cp/ * typeck.c (mark_addressable): Don't call put_var_into_stack. From-SVN: r37396
-
- Nov 11, 2000
-
-
Mark Mitchell authored
* g++.brendan/err-msg8.C: Avoid capricious line-number issues with error messages. From-SVN: r37395
-