Mark Mitchell
274077a44c
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
...
From-SVN: r35063
2000-07-16 21:02:37 +00:00
Mark Mitchell
96eab8e2dd
Fix name
...
From-SVN: r35062
2000-07-16 19:25:48 +00:00
Mark Mitchell
90b65165dd
* gcc_build: New script.
...
From-SVN: r35061
2000-07-16 18:08:33 +00:00
Mark Mitchell
b9faa6b6c7
* gcc_build: New script.
...
From-SVN: r35060
2000-07-16 18:05:46 +00:00
Kaveh R. Ghazi
fd589a2a86
* fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
...
From-SVN: r35059
2000-07-16 17:17:46 +00:00
Neil Booth
f67798e710
cpplex.c: Update comments.
...
* cpplex.c: Update comments.
* README.Portability: Small update.
From-SVN: r35058
2000-07-16 13:35:23 +00:00
Jeff Law
bf4467813b
Daily bump.
...
From-SVN: r35057
2000-07-16 01:45:07 -06:00
Neil Booth
59a5130c3c
* README.Portability: Small update.
...
From-SVN: r35056
2000-07-16 02:14:14 +00:00
Gabriel Dos Reis
5b2ff385d5
valarray_array.h (__valarray_get_memory, [...]): New functions.
...
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-15 21:54:06 +00:00
Richard Henderson
557b9df529
ia64-protos.h (ia64_move_ok): Prototype.
...
* 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-15 13:31:27 -07:00
Gabriel Dos Reis
d4c4ae6f2f
valarray_array.h (__valarray_get_storage): New function.
...
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-15 20:07:45 +00:00
Zack Weinberg
2c0accc920
cpphash.c (save_expansion): Clear PREV_WHITE on tokens immediately following 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 19:29:14 +00:00
Jakub Jelinek
a8c12308a0
* gcc.dg/20000715-1.c: New test.
...
From-SVN: r35051
2000-07-15 20:14:29 +02:00
Jakub Jelinek
91f4790ccd
* gcc.c-torture/execute/20000715-2.c: New test.
...
From-SVN: r35050
2000-07-15 20:08:48 +02:00
Richard Henderson
eff9c80d3e
fold-const.c (extract_muldiv): Don't optimize past an unsigned cast around 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-15 10:22:26 -07:00
Gabriel Dos Reis
b27ca4d10b
diagnostic.c (doing_line_wrapping, [...]): Remove.
...
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-15 16:50:31 +00:00
Kaveh R. Ghazi
404e48547a
Warning patch:
...
* 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-15 15:13:52 +00:00
Michael Meissner
4d06bcc527
Fix (<cond> ? FOO++ : BAR++) == 2 from misoptimizing FOO++ into ++FOO without bumping up the comparison value
...
From-SVN: r35046
2000-07-15 14:58:53 +00:00
Jeff Law
bbed132f32
Daily bump.
...
From-SVN: r35045
2000-07-15 01:45:12 -06:00
Bryce McKinlay
c180a82d69
commit changelog
...
From-SVN: r35044
2000-07-15 06:12:47 +01:00
Neil Booth
46b6bb9549
README.Portability: Correct example about calling a function through a pointer to function.
...
* README.Portability: Correct example about calling a function
through a pointer to function. Format wide paragraphs.
From-SVN: r35043
2000-07-15 04:59:42 +00:00
Bryce McKinlay
1b0bd03b7f
EventQueue.java (invokeAndWait): Call postEvent() within synchronized block.
...
* 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-15 05:42:47 +01:00
Michael Meissner
ae0e50e87b
update portability guide
...
From-SVN: r35041
2000-07-15 04:18:47 +00:00
Neil Booth
7de515541f
* README.Portability: Small update.
...
From-SVN: r35040
2000-07-15 03:03:11 +00:00
Neil Booth
9139939530
* README.Portability: New file.
...
From-SVN: r35039
2000-07-15 02:56:01 +00:00
Mark Mitchell
245aefecd3
mh-irix6 (CC): Don't set it.
...
* 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-15 00:15:18 +00:00
Jason Merrill
a41129f3ce
tweak
...
From-SVN: r35037
2000-07-14 13:41:26 -04:00
Jason Merrill
626d1efd40
dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA register in 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 13:40:38 -04:00
Jean-Francois Panisset
30f747d077
* std/bastring.h (basic_string<>::clear): Add function.
...
From-SVN: r35035
2000-07-14 16:27:45 +00:00
Clinton Popetz
12a345cd3f
mips.md: (absdi2): Handle sign_extend for second operand.
...
* config/mips/mips.md: (absdi2): Handle sign_extend for
second operand.
From-SVN: r35034
2000-07-14 11:25:10 -04:00
Nathan Sidwell
ecd3655737
* cpplib.c (do_pragma_dependency): Tidy warning messages.
...
From-SVN: r35033
2000-07-14 08:55:21 +00:00
Jeff Law
c77a300fd4
Daily bump.
...
From-SVN: r35032
2000-07-14 01:45:08 -06:00
Zack Weinberg
bfbbc0807a
top level:
...
* .cvsignore: Correct typo.
cp:
* .cvsignore: parse.h and parse.c have no cp- prefix.
java:
* .cvsignore: New file.
From-SVN: r35031
2000-07-14 07:13:19 +00:00
Mark Mitchell
1735b35f78
* gcc_update (files_and_dependencies): Remove generated YACC files.
...
From-SVN: r35030
2000-07-14 06:38:49 +00:00
Mark Mitchell
649c914299
* parse.c: Remove.
...
From-SVN: r35029
2000-07-14 06:37:40 +00:00
Mark Mitchell
83a9071715
cvsignore: Add generated YACC files.
...
* .cvsignore: Add generated YACC files.
* objc/.cvsignore: New file.
* .cvsignore: New file.
From-SVN: r35028
2000-07-14 05:41:33 +00:00
Nick Clifton
0755f29a38
Add missing files
...
From-SVN: r35027
2000-07-14 00:57:58 +00:00
Neil Booth
52fadca815
cpplex.c (adjust_column): New funcion.
...
* 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-13 22:55:04 +00:00
Neil Booth
b30892f96d
cpphash.c (struct macro_info): Add new members.
...
* 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 21:49:33 +00:00
Kaveh R. Ghazi
3f6790bf93
* genrecog.c (write_header): Split long string.
...
From-SVN: r35024
2000-07-13 20:33:09 +00:00
Kaveh R. Ghazi
af0d1578e4
* cpphash.c (macro_info): Don't use the `signed' keyword.
...
From-SVN: r35023
2000-07-13 20:09:55 +00:00
Alexandre Petit-Bianco
ee97d3542d
parse.y (fold_constant_for_init): Avoid bullish conversion.
...
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-13 12:27:49 -07:00
Tom Tromey
185ce11b15
Reverting incorrectly applied change
...
From-SVN: r35021
2000-07-13 19:23:57 +00:00
Kaveh R. Ghazi
2021c8d296
* system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
...
From-SVN: r35020
2000-07-13 19:09:23 +00:00
Kaveh R. Ghazi
8dd8d754d2
* objc/hash.h: Include string.h.
...
From-SVN: r35019
2000-07-13 18:56:49 +00:00
Tom Tromey
44fadf1e3a
* lang-specs.h: Added %{I*}.
...
From-SVN: r35018
2000-07-13 18:25:37 +00:00
Jakub Jelinek
c67846f282
calls.c (stored_args_map): New variable.
...
* 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-13 20:19:27 +02:00
Bruce Korb
7dec90a1bc
implement various pre-processor guards around standard types
...
From-SVN: r35016
2000-07-13 15:23:51 +00:00
Bruce Korb
b5e2063345
Regenerate fixincl.x, too
...
From-SVN: r35015
2000-07-13 15:20:45 +00:00
Bruce Korb
c1ef5d297d
Obsolete test result
...
From-SVN: r35014
2000-07-13 15:16:39 +00:00