aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-07-15valarray_array.h (__valarray_get_memory, [...]): New functions.Gabriel Dos Reis5-92/+632
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com> * std/valarray_array.h (__valarray_get_memory, __valarray_get_storage, __valarray_release_storage): New functions. (_Array_default_ctor, _Array_init_ctor, _Array_copy_ctor, _Array_copier): New traits classes. (__valarray_default_construct): New function. Implements valarray default construction. (__valarray_fill_construct): New function. Implements valarray construction with initializer. (__valarray_copy_construct): New function. Implements valarray copy construction. (__valarray_destroy_elements): New function. (__valarray_copy, __valarray_fill): Tweak. (__valarray_sum, __valarray_product): New helper functions. (_Array<>::free_data): Remove. (_Array<>::_Array): Tweak. * std/std_valarray.h (valarray<>::product): Remove. (valarray<>::valarray): Use __valarray_get_storage. (valarray<>::shift, valarray<>::cshift, valarray<>::resize): Tweak. * std/cpp_type_traits.h: New file. * valarray.cc (multiplies<>, accumulate, valarray<>::product): Remove explicit instantiation. (__valarray_product): New function. (_Indexer::_Indexer): Use. From-SVN: r35055
2000-07-15ia64-protos.h (ia64_move_ok): Prototype.Richard Henderson4-35/+53
* config/ia64/ia64-protos.h (ia64_move_ok): Prototype. * config/ia64/ia64.c (ia64_move_ok): New function. * config/ia64/ia64.md (movqi, movqi_internal): Use it. (movhi, movsi, movdi, movsf, movdf, movxf): Likewise. From-SVN: r35054
2000-07-15valarray_array.h (__valarray_get_storage): New function.Gabriel Dos Reis4-55/+50
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com> * bits/valarray_array.h (__valarray_get_storage): New function. (_Array<>::Array): Use it. * bits/std_valarray.h (valarray<>::valarray): Likewise. (valarray<>::resize): Likewise. Tweak. * src/valarray-inst.cc (__valarray_product): Tweak. From-SVN: r35053
2000-07-15cpphash.c (save_expansion): Clear PREV_WHITE on tokens immediately following ↵Zack Weinberg6-25/+83
a paste operator. * cpphash.c (save_expansion): Clear PREV_WHITE on tokens immediately following a paste operator. * cppinit.c (sort_options): New function (only for HOST_EBCDIC). (cpp_reader_init): Call it, if HOST_EBCDIC. (cpp_handle_options): Do not sort option list here. (handle_option): Rename to cpp_handle_option and export. * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use _cpp_get_token directly. (cpp_scan_line): Return 0 at EOF, 1 otherwise. * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1. * cpplib.h: Prototype cpp_handle_option. Update prototype of cpp_scan_line. From-SVN: r35052
2000-07-15* gcc.dg/20000715-1.c: New test.Jakub Jelinek2-0/+10
From-SVN: r35051
2000-07-15* gcc.c-torture/execute/20000715-2.c: New test.Jakub Jelinek2-0/+18
From-SVN: r35050
2000-07-15fold-const.c (extract_muldiv): Don't optimize past an unsigned cast around ↵Richard Henderson2-3/+19
an expression. * fold-const.c (extract_muldiv): Don't optimize past an unsigned cast around an expression. Tidy other unsigned tests. From-SVN: r35049
2000-07-15diagnostic.c (doing_line_wrapping, [...]): Remove.Gabriel Dos Reis2-242/+84
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice, v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove. (v_message_with_decl): Rename to ... (format_with_decl): ... this. Tweak (diagnostic_for_decl): New function. (fatal_io_error): Use verbatim in lieu of notice. (announce_function): Use verbatim. (default_print_error_function): Likewise. (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new infratructure. From-SVN: r35048
2000-07-15Warning patch:Kaveh R. Ghazi3-17/+29
* mips.c (function_arg_pass_by_reference): Don't do automatic aggregate initialization. (machine_dependent_reorg): Initialize variable `mode'. * mips.md (absdi2): Change variable `regno1' to unsigned int. (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid conflicts with sys/param.h macro of the same name. (reload_outdi): Likewise. From-SVN: r35047
2000-07-15Fix (<cond> ? FOO++ : BAR++) == 2 from misoptimizing FOO++ into ++FOO ↵Michael Meissner4-8/+152
without bumping up the comparison value From-SVN: r35046
2000-07-15Daily bump.Jeff Law5-5/+5
From-SVN: r35045
2000-07-15commit changelogBryce McKinlay1-0/+7
From-SVN: r35044
2000-07-15README.Portability: Correct example about calling a function through a ↵Neil Booth2-10/+17
pointer to function. * README.Portability: Correct example about calling a function through a pointer to function. Format wide paragraphs. From-SVN: r35043
2000-07-15EventQueue.java (invokeAndWait): Call postEvent() within synchronized block.Bryce McKinlay2-4/+8
* java/awt/EventQueue.java (invokeAndWait): Call postEvent() within synchronized block. * java/awt/event/InvocationEvent (dispatch): Synchronize on notifier before calling notifyAll(). From-SVN: r35042
2000-07-15update portability guideMichael Meissner2-5/+13
From-SVN: r35041
2000-07-15* README.Portability: Small update.Neil Booth2-2/+9
From-SVN: r35040
2000-07-15* README.Portability: New file.Neil Booth2-0/+373
From-SVN: r35039
2000-07-15mh-irix6 (CC): Don't set it.Mark Mitchell5-13/+25
* config/mh-irix6 (CC): Don't set it. * INSTALL: Give special instructions for building GCC on Irix 6. * config/mips/x-iris6 (CC): Don't set it. (OLDCC): Likewise. From-SVN: r35038
2000-07-14tweakJason Merrill1-1/+0
From-SVN: r35037
2000-07-14dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA register in ↵Jason Merrill2-3/+23
the stack and later in another register... * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA register in the stack and later in another register, use the new register. From-SVN: r35036
2000-07-14* std/bastring.h (basic_string<>::clear): Add function.Jean-Francois Panisset2-0/+6
From-SVN: r35035
2000-07-14mips.md: (absdi2): Handle sign_extend for second operand.Clinton Popetz2-1/+12
* config/mips/mips.md: (absdi2): Handle sign_extend for second operand. From-SVN: r35034
2000-07-14* cpplib.c (do_pragma_dependency): Tidy warning messages.Nathan Sidwell2-2/+9
From-SVN: r35033
2000-07-14Daily bump.Jeff Law5-5/+5
From-SVN: r35032
2000-07-14top level:Zack Weinberg6-3/+17
* .cvsignore: Correct typo. cp: * .cvsignore: parse.h and parse.c have no cp- prefix. java: * .cvsignore: New file. From-SVN: r35031
2000-07-14* gcc_update (files_and_dependencies): Remove generated YACC files.Mark Mitchell2-1/+4
From-SVN: r35030
2000-07-14* parse.c: Remove.Mark Mitchell2-17653/+4
From-SVN: r35029
2000-07-14cvsignore: Add generated YACC files.Mark Mitchell5-0/+17
* .cvsignore: Add generated YACC files. * objc/.cvsignore: New file. * .cvsignore: New file. From-SVN: r35028
2000-07-14Add missing filesNick Clifton2-0/+69
From-SVN: r35027
2000-07-13cpplex.c (adjust_column): New funcion.Neil Booth2-15/+36
* cpplex.c (adjust_column): New funcion. (skip_whitespace): Use it. (skip_block_comment): Use it, and warn about /*/* with -Wcomments. From-SVN: r35026
2000-07-13cpphash.c (struct macro_info): Add new members.Neil Booth2-153/+160
* cpphash.c (struct macro_info): Add new members. (_cpp_free_definition): Delete the macro directly. (count_params): Return void, with first token of expansion in struct macro_info on success. (parse_define): Return int. Hoist syntax checking from save_macro_expansion. Leave call to save_expansion to _cpp_create_definition. (alloc_macro): Needs just 2 arguments. (free_macro): Delete. (save_expansion): Don't perform syntax check. (_cpp_create_definition): Call save_expansion. From-SVN: r35025
2000-07-13* genrecog.c (write_header): Split long string.Kaveh R. Ghazi2-3/+6
From-SVN: r35024
2000-07-13* cpphash.c (macro_info): Don't use the `signed' keyword.Kaveh R. Ghazi2-1/+3
From-SVN: r35023
2000-07-13parse.y (fold_constant_for_init): Avoid bullish conversion.Alexandre Petit-Bianco3-8/+6
2000-07-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (fold_constant_for_init): Avoid bullish conversion. (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00506.html) From-SVN: r35022
2000-07-13Reverting incorrectly applied changeTom Tromey1-22/+2
From-SVN: r35021
2000-07-13* system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.Kaveh R. Ghazi2-0/+9
From-SVN: r35020
2000-07-13* objc/hash.h: Include string.h.Kaveh R. Ghazi2-0/+5
From-SVN: r35019
2000-07-13* lang-specs.h: Added %{I*}.Tom Tromey3-3/+27
From-SVN: r35018
2000-07-13calls.c (stored_args_map): New variable.Jakub Jelinek4-5/+164
* calls.c (stored_args_map): New variable. (check_sibcall_argument_overlap_1): New. (check_sibcall_argument_overlap): New. (expand_call): Initialize stored_args_map. Call check_sibcall_argument_overlap. * gcc.c-torture/execute/20000707-1.c: New test. From-SVN: r35017
2000-07-13implement various pre-processor guards around standard typesBruce Korb1-0/+13
From-SVN: r35016
2000-07-13Regenerate fixincl.x, tooBruce Korb1-244/+118
From-SVN: r35015
2000-07-13Obsolete test resultBruce Korb1-28/+0
From-SVN: r35014
2000-07-13fixinc test result changesBruce Korb6-4/+61
From-SVN: r35013
2000-07-13implement various pre-processor guards around standard typesBruce Korb4-119/+252
From-SVN: r35012
2000-07-13diagnostic.c (vline_wrapper_message_with_location, [...]): Remove.Gabriel Dos Reis2-226/+62
2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.c (vline_wrapper_message_with_location, v_message_with_file_and_line, v_error_with_file_and_file, v_error_for_asm, v_warning_for_asm, vfatal, v_warning_with_file_and_line, v_pedwarn_with_file_and_line, vsorry, verror, vwarning, vpedwarn): Remove. (diagnostic_for_asm): New function. (pedwarn, error, warning, pedwarn_with_file_and_line, error_with_file_and_line, warning_with_file_and_line, sorry, error_for_asm, warning_for_asm, fatal): Reimplement. (finish_diagnostic): Clear diagnostic info as well. From-SVN: r35011
2000-07-13c-common.h (flag_digraphs): New.Neil Booth8-8/+106
* c-common.h (flag_digraphs): New. * c-decl.c (c_decode_option): Set flag_digraphs as appropriate. * c-lex.c (yylex): Use flag_digraphs to decide whether to honour digraphs. * testsuite/gcc.dg/cpp/digraph1.c, testsuite/gcc.dg/cpp/digraph2.c, testsuite/gcc.dg/cpp/digraphs.c: New tests. From-SVN: r35010
2000-07-13Daily bump.Jeff Law5-5/+5
From-SVN: r35009
2000-07-13gcc.c (do_spec_1): Add new %B operator.Zack Weinberg11-488/+244
* gcc.c (do_spec_1): Add new %B operator. (set_input): Prepare for %B. (link_command_spec): Move up with the other tm.h- overrideable specs. Factor out the portion conditional on LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc). (struct compiler): Just have a single spec string. All users updated. (default_compilers): Remove unnecessary braces. (static_specs): Update. (trad_capable_cpp, cpp_options, cc1_options, asm_options): New named specs. (C and assembly specs): Use the new named specs, as appropriate. * objc/lang-specs.h, ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h: Use the new named specs. Remove unnecessary braces. From-SVN: r35008
2000-07-13* tradcif.c: Remove.Zack Weinberg2-1543/+2
From-SVN: r35007
2000-07-13gcc.c (execute): If a subprocess gets a fatal signal...Zack Weinberg3-64/+72
* gcc.c (execute): If a subprocess gets a fatal signal, report strsignal() of the signal number, and ask for a bug report. Do not do this for SIGPIPE if there's already been an error. * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE. Delete pipe_closed. From-SVN: r35006