David Edelsohn
48c1db3d6f
- improve wording of previous change
...
From-SVN: r56235
2002-08-12 14:25:54 -04:00
David Edelsohn
032613dfb5
trouble.texi (Disappointments): Add static constructor and destructor dependency information for AIX.
...
* doc/trouble.texi (Disappointments): Add static constructor and
destructor dependency information for AIX.
From-SVN: r56234
2002-08-12 14:21:26 -04:00
Neil Booth
a37374818c
cpphash.h (struct printer): New from cppmain.c.
...
* cpphash.h (struct printer): New from cppmain.c.
(cpp_reader): New member.
* cppmain.c (struct printer): Move to cpphash.h.
(options, print): Remove.
(account_for_newlines, print_line, maybe_print_line,
cpp_preprocess_file, setup_callbacks, scan_translation_unit,
scan_translation_unit_trad, cb_line_change, cb_ident,
cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
cb_def_pragma): Make reentrant.
From-SVN: r56233
2002-08-12 17:21:52 +00:00
Kaveh R. Ghazi
d71f770043
real.c (ieee_64): Always define.
...
* real.c (ieee_64): Always define.
(ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
(dec_h): Not used yet, hide it.
(emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
macro controlling use.
(TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
From-SVN: r56232
2002-08-12 15:50:43 +00:00
Jan Hubicka
c16576e6c6
i386.md (tablejump): Sign extend the operand.
...
* i386.md (tablejump): Sign extend the operand.
* i386.c (classify_argument): Fix missed case from previous patch.
From-SVN: r56231
2002-08-12 10:50:02 +00:00
GCC Administrator
cbd1032a3a
Daily bump.
...
From-SVN: r56230
2002-08-12 07:17:19 +00:00
Neil Booth
460bd0e32d
c-common.c (STDC_0_IN_SYSTEM_HEADERS, [...]): Move to c-copts.c.
...
* c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
to c-copts.c.
(warn_multichar): Die.
(cb_register_builtins): Export.
* c-common.h (warn_multichar, preprocess_file): Remove.
(cb_register_builtins): New.
* c-lang.c (c_init): Remove.
(LANG_HOOKS_INIT): Use c_objc_common_init.
* c-lex.c (init_c_lex): Don't canonicalize filename.
* c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
(preprocess_file): Make static. Update for cpplib.
(c_common_decode_option): Remove warn_multichar. Use in_fname.
(c_common_post_options): Set some cpp options here.
(c_common_init): Move from c-common.c.
* cppinit.c (cpp_post_options): Don't canonicalize in_fname.
* cpplib.h (struct cpp_options): Remove in_fname.
(cpp_preprocess_file): Update.
* cppmain.c (cpp_preprocess_file): Update for new prototypes.
From-SVN: r56223
2002-08-12 06:02:53 +00:00
Kaveh R. Ghazi
f3f268dd79
* config.gcc (mips*-*-netbsd*): Include ${tm_file}.
...
From-SVN: r56222
2002-08-12 03:40:15 +00:00
Kaveh R. Ghazi
f0201fbae6
i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment preceeding macro definition.
...
* i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
backslash in comment preceeding macro definition.
* i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
From-SVN: r56221
2002-08-12 03:10:43 +00:00
Hans-Peter Nilsson
e56fc090cb
expr.c (store_expr): In condition for checking if value is generated in TARGET...
...
* expr.c (store_expr): In condition for checking if value is
generated in TARGET, move call to expr_size last.
From-SVN: r56217
2002-08-12 00:57:55 +00:00
Neil Booth
76c3e73e32
c-common.c (c_common_init): Call preprocess_file instead.
...
* c-common.c (c_common_init): Call preprocess_file instead.
(c_common_finish): Move to c-opts.c.
* c-common.h (preprocess_file): new.
* c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
check_deps_environment_vars, c_common_finish): New.
(c_common_decode_option): Update for out_fname and dependencies.
* cppinit.c (init_dependency_output, output_deps): Remove.
(cpp_destroy): Update prototype.
(cpp_add_dependency_target): New.
(cpp_read_main_file): Don't overlay a buffer.
(cpp_finish): Take a deps output stream and write deps to it.
Return the error count.
(cpp_post_options): Don't canonicalize out_fname, or do anything
with dependencies.
* cpplib.h (struct cpp_options): Remove out_fname and
preprocess_only.
(cpp_add_dependency_target): New.
(cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
* cppmain.c (cpp_preprocess_file): Update prototype. Don't
set preprocess_only. Don't handle the output stream directly.
From-SVN: r56214
2002-08-11 22:22:28 +00:00
Kaveh R. Ghazi
e0c32c62d5
dsp16xx.c (print_operand): Fix format specifier.
...
* dsp16xx.c (print_operand): Fix format specifier.
* dsp16xx.md: Avoid automatic aggregate initialization.
* frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
* h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
integer constant modifier.
* ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
* mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
guards.
* sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
* v850.c (v850_select_section): Mark parameter with
ATTRIBUTE_UNUSED.
* global.c (global_alloc): Const-ify.
* ra-colorize.c (hardregset_to_string): Fix format specifier.
From-SVN: r56212
2002-08-11 19:24:09 +00:00
Kaveh R. Ghazi
7ae8cf75da
darwin-c.c (darwin_pragma_options): Const-ify.
...
* darwin-c.c (darwin_pragma_options): Const-ify.
* darwin.c (machopic_non_lazy_ptr_name,
machopic_validate_stub_or_non_lazy_ptr): Likewise.
(machopic_indirect_data_reference): Wrap variables in macros
controlling their use.
(machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
(machopic_select_section): Use parentheses around && within ||.
* i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
From-SVN: r56211
2002-08-11 19:14:26 +00:00
Kaveh R. Ghazi
8819cab5c3
ip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype.
...
* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
mdr_try_remove_redundant_insns, track_w_reload,
mdr_try_wreg_elim): Make function static to match prototype.
* mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
parameter with ATTRIBUTE_UNUSED.
From-SVN: r56210
2002-08-11 18:52:38 +00:00
Kaveh R. Ghazi
ab2877a39b
arc.c (arc_init): Don't use ISO C style function definitions.
...
* arc.c (arc_init): Don't use ISO C style function definitions.
* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
arm_get_strip_length, arm_strip_name_encoding): Likewise.
* avr.h (progmem_section): Likewise.
* h8300.c h8300_asm_insn_count): Likewise.
* m32r.c (init_idents): Likewise.
* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
* sh.c (sh_cfun_interrupt_handler_p): Likewise.
* xtensa.c (xtensa_build_va_list): Likewise.
From-SVN: r56209
2002-08-11 18:48:52 +00:00
Kaveh R. Ghazi
e65e6212f7
decl2.c (build_call_from_tree): Fix uninitialized variable.
...
* decl2.c (build_call_from_tree): Fix uninitialized variable.
* parse.y (parse_finish_call_expr): Likewise.
* repo.c (old_args, old_dir, old_main): Const-ify.
From-SVN: r56208
2002-08-11 18:30:25 +00:00
Mark Wielaard
636b5d0c4c
Resurrect from Attic as should have been done in original commit.
...
From-SVN: r56207
2002-08-11 16:34:44 +00:00
Gabriel Dos Reis
3e72ec9a0c
decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.
...
* decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.
* optimize.c (maybe_clone_body): Likewise.
* pt.c (tsubst_enum): Likewise.
(lookup_template_class): Likewise.
* tree.c (cp_copy_res_decl_for_inlining): Likewise.
From-SVN: r56206
2002-08-11 16:05:27 +00:00
Neil Booth
08767a6fcd
* Forgotten commit.
...
From-SVN: r56205
2002-08-11 15:49:11 +00:00
Jan Hubicka
db01f48085
* i386.c (classify_argument): Fix computing of field's offsets.
...
From-SVN: r56204
2002-08-11 12:44:21 +00:00
Mark Wielaard
caad61a13c
Reenable patch since shared library troubles on powerpc are solved:
...
* gnu/java/security/provider/Gnu.java: Reference all implementation
classes by using Class.getName().
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: New classes
* Makefile.am (ordinary_java_source_files): Add above files.
* Makefile.in: Regenerate.
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): Don't maintain static class variable of Permissions.
* gnu/java/security/provider/SHA.java
(engineUpdate): algorithm change.
(engineDigest): algorithm change.
From-SVN: r56203
2002-08-11 12:08:03 +00:00
Andreas Jaeger
a770199512
re PR target/7531 (-mcmodel not documented for x86-64)
...
PR target/7531:
* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
From-SVN: r56198
2002-08-11 11:47:47 +02:00
Neil Booth
b4a9390491
c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
...
* c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
* c-opts.c (parse_option): Rename find_opt.
(set_std_c99): New function.
(COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
(missing_arg): Remove OPT_std_bad. Handle -o.
(c_common_decode_option): Handle input and output file names,
-o and -remap. Clean up -std= handling.
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
(cpp_handle_option): Similarly. Don't handle filenames.
From-SVN: r56197
2002-08-11 07:32:19 +00:00
GCC Administrator
982f35d62b
Daily bump.
...
From-SVN: r56196
2002-08-11 07:17:08 +00:00
Ziemowit Laski
2516f23628
alpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with flag_objc.
...
2002-08-10 Ziemowit Laski <zlaski@apple.com>
* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
reference to clk_objective_c with flag_objc.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
Likewise.
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
From-SVN: r56189
2002-08-11 06:20:08 +00:00
Neil Booth
f749a36bbe
c-opts.c (set_std_cxx98, [...]): New.
...
* c-opts.c (set_std_cxx98, set_std_c89): New.
(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
(c_common_decode_option): Handle new switches from cppinit.c.
Add -std=gnu++98.
* cppinit.c (set_lang): Rename cpp_set_lang. Export.
(no_arg, no_num): Remove.
(COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
switches apart from -lang-objc and lang-asm.
(cpp_handle_option): Similarly.
* cpplib.h (cpp_set_lang): New.
* doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
-std=gnu++98.
* objc/lang-specs.h: Remove -ansi.
cp:
* lang-specs.h: Remove -ansi.
From-SVN: r56185
2002-08-10 20:58:45 +00:00
Jan Hubicka
77abb5d87d
cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors.
...
* cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
errors.
From-SVN: r56184
2002-08-10 18:00:54 +00:00
Nathan Sidwell
3ebf520442
tree.c (maybe_dummy_object): Replace // with /* */e
...
cp:
* tree.c (maybe_dummy_object): Replace // with /* */e
testsuite:
* gcc.dg/bitfld-4.c: Add blank options.
From-SVN: r56183
2002-08-10 13:11:43 +00:00
Kaveh R. Ghazi
d950dee3a5
emit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable.
...
* emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
emit_jump_insn): Fix uninitialized variable.
* gcov.c (init_line_info): Likewise.
* genautomata.c (transform_3): Add braces around ambiguous
else.
* ifcvt.c (cond_exec_process_insns): Mark parameter with
ATTRIBUTE_UNUSED.
* ra-build.c (parts_to_webs_1): Fix uninitialized variable.
* regrename.c (copyprop_hardreg_forward): Fix uninitialized
variable.
From-SVN: r56182
2002-08-10 12:30:34 +00:00
Kaveh R. Ghazi
fac37dc497
gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output files.
...
* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
warnings in output files.
From-SVN: r56181
2002-08-10 12:23:12 +00:00
GCC Administrator
c2c967fd25
Daily bump.
...
From-SVN: r56180
2002-08-10 07:17:07 +00:00
David Edelsohn
c15b529fe0
- fix formatting of previous patch.
...
From-SVN: r56174
2002-08-09 22:20:24 -04:00
Ziemowit Laski
0f7866e7ba
c-common.c (flag_objc): New.
...
2002-08-09 Ziemowit Laski <zlaski@apple.com>
* c-common.c (flag_objc): New.
* c-common.h (c_language_kind): Get rid of clk_objective_c
enum value.
(flag_objc): New extern declaration.
* c-decl.c (implicitly_declare): Call objc_check_decl
instead of maybe_objc_check_decl.
(finish_decl): Likewise.
(grokfield): Likewise.
(finish_struct): Likewise.
* c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
(maybe_objc_comptypes): Rename to objc_comptypes.
(maybe_building_objc_message_expr): Rename to
objc_message_selector.
* c-lex.c (lex_charconst): Remove uses of clk_objective_c,
replace with flag_objc as needed.
* c-opts.c (c_common_init_options): Likewise.
(c_common_decode_option): Likewise.
* c-parse.in (init_reswords): Likewise.
* c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
(maybe_objc_comptypes): Rename to objc_comptypes.
(maybe_building_objc_message_expr): Rename to
objc_message_selector.
* c-typeck.c (comptypes): Call objc_comptypes instead of
maybe_objc_comptypes, and/or objc_message_selector instead of
(comp_target_types): Likewise.
(convert_for_assignment): Likewise.
(warn_for_assignment): Likewise.
* cppinit.c (init_builtins): Set __OBJC__ manifest constant
independently of those for other languages.
* objc/objc-act.c (maybe_objc_comptypes): Delete.
(maybe_objc_check_decl): Delete.
(maybe_building_objc_message_expr): Rename to
objc_message_selector.
* objc/objc-lang.c (objc_init_options): Use clk_c instead of
clk_objective_c; set flag_objc flag.
From-SVN: r56173
2002-08-10 02:18:28 +00:00
Mark Mitchell
9e259dd1ff
call.c (standard_conversion): Use build_ptrmem_type.
...
* call.c (standard_conversion): Use build_ptrmem_type.
* cp-tree.h (build_ptrmem_type): New function.
(adjust_result_of_qualified_name_lookup): Likewise.
* decl.c (grokvardecl): Do not look for OFFSET_TYPEs to indicate
static data members.
(build_ptrmem_type): New function.
(grokdeclarator): Do not use build_offset_type when encountering a
qualified name.
* parse.y (parse_finish_call_expr): Use
adjust_result_of_qualified_name_lookup.
* search.c (adjust_result_of_qualified_name_lookup): New function.
* typeck.c (qualify_type_recursive): Use TYPE_PTRMEM_* rather than
accessing OFFSET_TYPEs directly.
* g++.dg/template/crash1.C: New test.
From-SVN: r56169
2002-08-09 19:57:01 +00:00
Toshiyasu Morita
c512fd7b33
* ifcvt.c (find_if_case_2): Test correct basic block for size.
...
From-SVN: r56167
2002-08-09 11:04:31 -07:00
Dale Johannesen
5e1bf043ab
Add sibcall handling for rs6000 target.
...
From-SVN: r56166
2002-08-09 17:52:50 +00:00
Phil Edwards
3971a4d235
deque.tcc, [...]: Re-indent contents of namespace std, re-wrap comment lines as necessary.
...
2002-08-09 Phil Edwards <pme@gcc.gnu.org>
* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_map.h,
include/bits/stl_multimap.h, include/bits/stl_queue.h,
include/bits/stl_stack.h, include/bits/stl_vector.h,
include/bits/vector.tcc: Re-indent contents of namespace std,
re-wrap comment lines as necessary.
From-SVN: r56165
2002-08-09 16:51:15 +00:00
Nathan Sidwell
2043c38e8d
profile.c (da_file_name): New static var.
...
* profile.c (da_file_name): New static var.
(init_branch_prob): Initialize it.
(end_branch_prob): Remove da file.
* Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
* configure.in (coverage_flags) default to nothing.
* configure: Rebuilt.
From-SVN: r56164
2002-08-09 08:51:27 +00:00
Bryce McKinlay
42127f5178
Commit missing files from AWT merge.
...
From-SVN: r56163
2002-08-09 09:34:17 +01:00
GCC Administrator
f08b2b3b2e
Daily bump.
...
From-SVN: r56161
2002-08-09 07:17:18 +00:00
Neil Booth
4b7091eb62
Makefile.in (c-opts.o): Update
...
* Makefile.in (c-opts.o): Update
* c-opts.c: Include intl.h.
(print_help): Move from cppinit.c. Remove unused options.
(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
(missing_arg): Complain for switches without an argument.
(c_common_decode_option): Reject missing joined arguments.
Handle new switches from cppinit.c.
* cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
(cpp_handle_option): Similarly.
(print_help): Moved to c-opts.c.
* cpplib.h (struct cpp_options): Remove help_only.
* gcc.c (cpp_unique_options): Remove -$.
* doc/cppopts.texi: Undocument -h.
From-SVN: r56155
2002-08-09 06:19:08 +00:00
Danny Smith
f45f9aedfc
istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.
...
2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.
* testsuite/27_io/narrow_stream_objects.cc (test10): Add.
From-SVN: r56154
2002-08-09 06:00:46 +00:00
Danny Smith
a2554733cc
istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.
...
2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r56153
2002-08-09 06:00:18 +00:00
Bryce McKinlay
55202bee3c
[multiple changes]
...
2002-08-09 Mark Wielaard <mark@klomp.org>
* java/awt/image/MemoryImageSource.java: Change constructor to take
int[] not byte[].
* java/awt/Graphics2D.java: Uncomment methods that can now be
compiled.
* java/awt/GridBagLayout.java: New stub implementation.
* javax/swing/text/html/HTML.java: Stub implementation.
* javax/swing/text/html/parser/ParserDelegator.java: New stub
implementation.
2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
methods in Graphics2D.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
From-SVN: r56152
2002-08-09 06:52:52 +01:00
Bryce McKinlay
ef1c32c637
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56151
2002-08-09 05:45:29 +01:00
Bryce McKinlay
df74f07755
Correct ChangeLog for XToolkit changes.
...
From-SVN: r56150
2002-08-09 05:36:05 +01:00
Bryce McKinlay
084ef9cf09
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56149
2002-08-09 05:32:43 +01:00
Bryce McKinlay
8f5c92a0a3
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56148
2002-08-09 05:29:59 +01:00
Bryce McKinlay
7bde45b2eb
AWT/Swing merge from GNU Classpath.
...
From-SVN: r56147
2002-08-09 05:26:17 +01:00
Bryce McKinlay
097684ce62
jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes.
...
2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jcf-write.c (get_access_flags): Return correct access flags for
private and protected inner classes.
From-SVN: r56146
2002-08-09 04:52:23 +01:00