- 13 Nov, 2000 15 commits
-
-
From-SVN: r37424
Joseph Myers committed -
* 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
Joseph Myers committed -
* varasm.c (struct constant_descriptor): Put CONTENTS inside a union to make it well-aligned. Update all uses. From-SVN: r37422
Richard Earnshaw committed -
* 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 committed -
* MAINTAINERS: Remove references to cccp. Change C9X reference to C99. Alphabetise "Write After Approval" list. From-SVN: r37420
Joseph Myers committed -
* 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
Joseph Myers committed -
From-SVN: r37418
Jeff Law committed -
* function.c (assign_parms): When calling put_var_into_stack, make sure that there are no hidden pending sequences. From-SVN: r37417
Mark Mitchell committed -
* 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
Kaveh R. Ghazi committed -
* configure: Turn on libstdc++ V3 by default. * configure.in: Turn on libstdc++ V3 by default. * configure: Regenerated. From-SVN: r37415
Mark Mitchell committed -
* ltcf-c.sh: On Solaris, use `gcc -shared' to build a shared library if we've got GCC. From-SVN: r37414
Mark Mitchell committed -
* include/c/bits/std_cmath.h (abs): Change extern "C" declaration of `abs (double)' to ... (fabs): this. From-SVN: r37413
Mark Mitchell committed -
* config/os/solaris/solaris2.7/bits/os_defines.h: Define __EXTENSIONS__. From-SVN: r37412
Mark Mitchell committed -
From-SVN: r37411
Bruce Korb committed -
From-SVN: r37410
Mark Mitchell committed
-
- 12 Nov, 2000 14 commits
-
-
From-SVN: r37409
Jakub Jelinek committed -
From-SVN: r37408
Joseph Myers committed -
From-SVN: r37407
Nick Clifton committed -
* configure.in: Fix filds test. * configure: Regen. From-SVN: r37406
Marc Espie committed -
* jump.c (delete_computation): Don't assume that just becuase an instruction sets a register, that register is dead. From-SVN: r37405
Mark Mitchell committed -
* 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
Neil Booth committed -
From-SVN: r37403
Jeff Law committed -
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
Mark Mitchell committed -
From-SVN: r37401
Bruce Korb committed -
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined. From-SVN: r37400
Mark Mitchell committed -
* configure.in: Don't add $outputs to all_lang_makefiles. Add $srcdir/$s/Makefile.in if it exists. * configure: Regenerate. From-SVN: r37399
Zack Weinberg committed -
From-SVN: r37398
Mark Mitchell committed -
From-SVN: r37397
Mark Mitchell committed -
* 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
Jason Merrill committed
-
- 11 Nov, 2000 11 commits
-
-
* g++.brendan/err-msg8.C: Avoid capricious line-number issues with error messages. From-SVN: r37395
Mark Mitchell committed -
* decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics in inlines. From-SVN: r37394
Jason Merrill committed -
From-SVN: r37393
Joseph Myers committed -
* g++.mike/p700.C: Don't typedef wchar_t. * g++.mike/p784.C: Likewise. * g++.mike/eb101.C: Don't use __wchar_t. From-SVN: r37392
Mark Mitchell committed -
* fixinc/inclhack.def (avoid_wchar_t_type): New fix. * fininc/fixincl.x: Regenerated. From-SVN: r37391
Mark Mitchell committed -
2000-11-11 Anthony Green <green@redhat.com> * jcf-parse.c (process_zip_dir): Add finput parameter. (jcf_figure_file_type): Call process_zip_dir with appropriate argument. From-SVN: r37390
Anthony Green committed -
2000-11-11 Toon Moene <toon@moene.indiv.nluug.nl> * g77.f-torture/execute/20001111.[fx]: Test premature exit from DO loop. From-SVN: r37389
Toon Moene committed -
From-SVN: r37388
Philip Blundell committed -
From-SVN: r37387
Bernd Schmidt committed -
From-SVN: r37386
Joseph Myers committed -
* cppexp.c (lex): Don't handle CPP_PLACEMARKER. * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer): Similarly. * cpplib.h: Remove CPP_PLACEMARKER. (struct lexer_state): Rename skip_newlines to next_bol. * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER. Simplify prev_white handling as a result. (paste_all_tokens): Don't worry about CPP_PLACEMARKERs. (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs. (parse_args): Similarly. Update argument count tests. (enter_macro_context): Return 2 to indicate an empty macro. (replace_args): Don't bother pre-expanding an empty argument. Handle placemarkers and ## extension during pre-expansion. (cpp_get_token): Handle empty macro expansions. Don't worry about CPP_PLACEMARKERs. (_cpp_create_definition): Empty macros are now empty. (cpp_macro_defintion): Don't special case empty macros. * scan-decls.c: Don't bother with CPP_PLACEMARKERs. * c-lex.c: Similarly. From-SVN: r37385
Neil Booth committed
-