- 13 Nov, 2000 7 commits
-
-
* 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 17 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 -
From-SVN: r37384
Jeff Law committed -
* gcc.texi, invoke.texi: Add new section discussing language standards; link to it where appropriate; refer to ISO C instead of ANSI C. From-SVN: r37383
Joseph Myers committed -
From-SVN: r37382
Jeff Law committed -
* builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY into account. From-SVN: r37381
Alexandre Oliva committed -
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP modes. From-SVN: r37380
Alexandre Oliva committed -
2000-11-10 Phil Edwards <pme@sources.redhat.com> * include/bits/codecvt.h (__iconv_adaptor): New adaptor function, courtesy of Alexandre Oliva, to handle const/non-const signatures. (codecvt::do_out): Use. (codecvt::do_in): And here. From-SVN: r37379
Phil Edwards committed
-
- 10 Nov, 2000 2 commits
-
-
From-SVN: r37378
Rodney Brown committed -
2000-11-10 Toon Moene <toon@moene.indiv.nluug.nl> * root.texi: Remove non-historical EGCS reference. Set current g77 version to 0.5.26. From-SVN: r37377
Toon Moene committed
-