Richard Henderson
c32dd1ef25
* g++.dg/dg.exp: Fix typo in test pruneing.
...
From-SVN: r53762
2002-05-22 22:14:20 -07:00
Richard Henderson
6f001fdf2b
varasm.c (default_section_type_flags): Check for VAR_DECL before using DECL_THREAD_LOCAL.
...
* varasm.c (default_section_type_flags): Check for VAR_DECL
before using DECL_THREAD_LOCAL.
* decl.c (obscure_complex_init): Check for VAR_DECL
before using DECL_THREAD_LOCAL.
From-SVN: r53761
2002-05-22 22:14:02 -07:00
Bryce McKinlay
a70b54fd56
Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first.
...
* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.
From-SVN: r53760
2002-05-23 05:18:35 +01:00
Bryce McKinlay
30def3f537
re PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)
...
* libjava.lang/PR6729.java: New file.
* libjava.lang/PR6729.out: New file.
From-SVN: r53759
2002-05-23 04:32:05 +01:00
Bryce McKinlay
851ac95734
Test case for PR 6729.
...
From-SVN: r53758
2002-05-23 04:30:13 +01:00
David Edelsohn
cbaaba19a4
aix43.h (LINK_SPEC): Add PE initializer.
...
* config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
(STARTFILE_SPEC): Delete PE crt0.o.
* config/rs6000/aix51.h: Same.
* config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
function descriptor symbol. Use RS6000_OUTPUT_BASENAME.
(ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
* config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
From-SVN: r53756
2002-05-22 22:26:47 -04:00
Bruce Korb
1671e363a6
more README clarifications
...
From-SVN: r53755
2002-05-23 01:44:15 +00:00
Richard Henderson
7a1f3f5f3b
decl.c (check_tag_decl): Handle RID_THREAD.
...
* decl.c (check_tag_decl): Handle RID_THREAD.
(obscure_complex_init): Reject run-time init of tls.
(grokvardecl, grokdeclarator): Handle RID_THREAD.
* lex.c (reswords): Add __thread.
(rid_to_yy): Map RID_THREAD to SCSPEC.
* g++.dg/dg.exp: Prune the tls subdirectory.
* g++.dg/tls/tls.exp, g++.dg/tls/trivial.C: New.
* g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C: New.
* g++.dg/tls/init-1.C: New.
From-SVN: r53754
2002-05-22 16:42:57 -07:00
Richard Henderson
c711ba8e2e
varasm.c (default_section_type_flags): Handle tls data and default sections.
...
* varasm.c (default_section_type_flags): Handle tls data and
default sections.
(default_unique_section): Handle tls sections.
From-SVN: r53753
2002-05-22 16:31:48 -07:00
Alan Modra
343f59d980
configure.in (CROSS): Define NATIVE_CROSS.
...
* configure.in (CROSS): Define NATIVE_CROSS.
* configure: Regenerate.
* gcc.c (STARTFILE_PREFIX_SPEC): Define.
(startfile_prefix_spec): New var.
(static_specs): Add startfile_prefix_spec.
(do_spec_2): Split out from..
(do_spec): ..here.
(main): Process startfile_prefix_spec.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
dynamic linker.
(STARTFILE_PREFIX_SPEC): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
absolute paths.
From-SVN: r53752
2002-05-23 07:39:18 +09:30
Kazu Hirata
df38348381
cpperror.c: Fix formatting.
...
* cpperror.c: Fix formatting.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* cppmain.c: Likewise.
* cppspec.c: Likewise.
From-SVN: r53751
2002-05-22 22:02:16 +00:00
Jakub Jelinek
2dd36f90d8
combine.c (force_to_mode): Use gen_int_mode.
...
* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.
* gcc.dg/20020517-1.c: New test.
From-SVN: r53750
2002-05-22 23:35:56 +02:00
Richard Henderson
8dc02d7f19
inclhack.def (thread_keyword): Match __thread as last arg.
...
* fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
* fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
From-SVN: r53749
2002-05-22 14:29:38 -07:00
Jakub Jelinek
45f797836b
re PR c/6643 (gcc fails in tree check for assignment to variable sized array)
...
PR c/6643
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.
From-SVN: r53748
2002-05-22 23:06:16 +02:00
Roman Lechtchinsky
9f3dbd92d2
configure.in: Fix typo in the code checking for sys_errlist.
...
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.
From-SVN: r53747
2002-05-22 16:57:15 -04:00
Richard Henderson
19f71cd70f
* flow.c (life_analysis): Delete broken reg_label check.
...
From-SVN: r53746
2002-05-22 13:30:31 -07:00
Richard Henderson
d5bcfcce1d
inclhack.def (thread_keyword): Allow as any prototype arg.
...
* fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
* fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
From-SVN: r53745
2002-05-22 13:02:16 -07:00
Jason Thorpe
ac30211cb9
config.guess: Update to 2002-05-22 version.
...
* config.guess: Update to 2002-05-22 version.
* config.sub: Likewise.
From-SVN: r53742
2002-05-22 18:44:13 +00:00
J"orn Rennecke
985d311b09
* t-sh64 (LIB2FUNCS_EXTRA): Don't change.
...
From-SVN: r53741
2002-05-22 18:49:45 +01:00
J"orn Rennecke
2727afb551
* c-common.c (cb_register_builtins): Don't indent '#' of #define.
...
From-SVN: r53740
2002-05-22 18:39:18 +01:00
Jakub Jelinek
0fe1cd7062
Fix a typo.
...
From-SVN: r53739
2002-05-22 18:42:52 +02:00
J"orn Rennecke
5ff9435403
t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
...
* t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
(embed-bb.c): New rule.
* config/sh/embed_bb.c: Delete.
From-SVN: r53737
2002-05-22 17:24:44 +01:00
Jason Merrill
c324db0adf
add initial newline
...
From-SVN: r53736
2002-05-22 12:00:34 -04:00
Kazu Hirata
f6d45746ef
* config/h8300/h8300.md (*andorqi3): New.
...
From-SVN: r53732
2002-05-22 11:21:31 +00:00
GCC Administrator
3396b5c88e
Daily bump.
...
From-SVN: r53730
2002-05-22 07:19:32 +00:00
Neil Booth
e5f3b786ed
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
...
PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
From-SVN: r53724
2002-05-22 05:40:22 +00:00
Bruce Korb
fd0a39154f
regen: Use c_fix = format instead of sed
...
From-SVN: r53722
2002-05-22 03:04:28 +00:00
Bruce Korb
021c1f34a9
Use c_fix = format instead of sed
...
From-SVN: r53721
2002-05-22 02:59:19 +00:00
Bruce Korb
4c526be3eb
add fix check
...
From-SVN: r53720
2002-05-22 02:55:06 +00:00
Bruce Korb
6994ac8522
describe how to fix up the results after adding/changing an inclhack.
...
From-SVN: r53719
2002-05-22 02:38:27 +00:00
Jeff Law
c7539aa0a6
optabs.c (expand_binop): For double-word integer multiplies...
...
* optabs.c (expand_binop): For double-word integer multiplies,
do not compute intermediate results into something that is
not a register (such as a SUBREG or MEM).
From-SVN: r53718
2002-05-21 19:54:40 -06:00
Kazu Hirata
f87c27b4ab
cfgbuild.c: Fix formatting.
...
* cfgbuild.c: Fix formatting.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgloop.c: Likewise.
* cfgrtl.c: Likewise.
From-SVN: r53717
2002-05-22 01:27:34 +00:00
Richard Henderson
ec221d715c
tls.exp, [...]: New directory and files.
...
* gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.
From-SVN: r53716
2002-05-21 18:12:13 -07:00
Richard Henderson
3d78f2e96e
c-common.h (enum rid): Add RID_THREAD.
...
* c-common.h (enum rid): Add RID_THREAD.
* c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
(grokdeclarator): Grok __thread.
* c-parse.in (reswords): Add __thread.
(rid_to_yy): Add RID_THREAD.
* cp/lex.c (rid_to_yy): Add RID_THREAD.
* tree.h (DECL_THREAD_LOCAL): New.
(struct tree_decl): Add thread_local_flag.
* print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
* tree.c (staticp): TLS variables are not static.
* target-def.h (TARGET_HAVE_TLS): New.
* target.h (have_tls): New.
* output.h (SECTION_TLS): New.
* varasm.c (assemble_variable): TLS variables can't be common for now.
(default_section_type_flags): Handle .tdata and .tbss.
(default_elf_asm_named_section): Handle SECTION_TLS.
(categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
* flags.h (flag_tls_default): Declare.
* toplev.c (flag_tls_default): Define.
(display_help): Display help for it.
(decode_f_option): Set it.
* doc/extend.texi (Thread-Local): New node describing language-level
thread-local storage.
* doc/invoke.texi (-ftls-model): Document.
* fixinc/inclhack.def (thread_keyword): New.
* fixinc/fixincl.x: Rebuild.
From-SVN: r53715
2002-05-21 18:11:29 -07:00
Zdenek Dvorak
f5eb2fc83e
More verbose changelog entry.
...
From-SVN: r53714
2002-05-22 00:10:33 +00:00
Jeff Law
a151daf04f
i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
...
* i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
(ix86_sched_reorder): Make sure to initialize scheduling
data even when there's only one insn in the ready queue.
From-SVN: r53713
2002-05-21 17:51:59 -06:00
Vladimir Makarov
96b1f73b81
genautomata.c (reserv_sets_hash_value): Fix a typo.
...
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Fix a typo.
From-SVN: r53710
2002-05-21 23:27:04 +00:00
Vladimir Makarov
dceb2b7510
genautomata.c (reserv_sets_hash_value): Define hash_value as set_el_t.
...
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Define hash_value as
set_el_t. Transform the hash value into unsigned.
(output_cycle_reservs): Fix bug with output of repeated `nothing'.
(transform_3): Add code to process `(A,B)+(D,E)'.
From-SVN: r53709
2002-05-21 23:11:57 +00:00
NIIBE Yutaka
159d596446
reload1.c (do_output_reload): Run delete_output_reload only if optimizing.
...
* reload1.c (do_output_reload): Run delete_output_reload
only if optimizing.
From-SVN: r53707
2002-05-21 15:40:53 -07:00
Roger Sayle
cf5124f688
re PR middle-end/6600 (i960 toolchain hits abort in c_readstr)
...
PR middle-end/6600
* expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
larger than INTEGER_CST. (store_by_pieces_1): Use it here...
(can_store_by_pieces): ... and here to limit the largest mode used.
Add a comment to document this function.
From-SVN: r53706
2002-05-21 22:38:00 +00:00
Richard Henderson
380e6adea2
* flow.c (life_analysis): Fix test for deleted label.
...
From-SVN: r53705
2002-05-21 15:35:04 -07:00
Neil Booth
1f95326c13
* doc/tm.texi: Fix typo.
...
From-SVN: r53704
2002-05-21 22:26:18 +00:00
Zack Weinberg
2a1dc0d87e
c-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.
...
* c-common.c (c_common_init): Set options->unsigned_char from
flag_signed_char.
(cb_register_builtins): Define __STRICT_ANSI__ and
__CHAR_UNSIGNED__ here...
* cppinit.c (init_builtins): Not here.
(cpp_create_reader): unsigned_char option defaults to 0, not
!DEFAULT_SIGNED_CHAR.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
and -funsigned-char.
* cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
* cpphash.c (_cpp_init_hashtable): Don't set it.
* cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
directly. Clarify comment.
From-SVN: r53703
2002-05-21 21:55:37 +00:00
Phil Edwards
d476dcad7f
stl_pair.h: Tweak comment markup.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_pair.h: Tweak comment markup.
From-SVN: r53700
2002-05-21 21:09:11 +00:00
Phil Edwards
844f9ba6ad
stdio_filebuf.h: Add header guards.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
From-SVN: r53699
2002-05-21 20:53:36 +00:00
Phil Edwards
59f801a0dc
user.cfg.in (EXCLUDE): Add 'CVS'.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
From-SVN: r53698
2002-05-21 20:45:00 +00:00
Zdenek Dvorak
d29146f290
Changelog entry for my commit.
...
From-SVN: r53697
2002-05-21 20:41:32 +00:00
Phil Edwards
e4c62b265d
stl_vector.h: Reformat to follow C++STYLE.
...
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_vector.h: Reformat to follow C++STYLE.
Doxygenate all public members. Reorder to follow 14882.
(vector::push_back(void)): Remove previously-deprecated fn.
(vector::insert(iterator), vector::_M_insert_aux(iterator)):
Deprecate for removal in 3.3.
From-SVN: r53696
2002-05-21 20:41:06 +00:00
Zdenek Dvorak
f6366fc7ad
bb-reorder.c (make_reorder_chain_1): Modified.
...
* bb-reorder.c (make_reorder_chain_1): Modified.
* cfganal.c (can_fallthru, flow_call_edges_add,
flow_preorder_transversal_compute): Modified.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Modified.
* cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Modified.
* cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Modified.
* cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Modified.
* combine.c (this_basic_block): Type changed to basic_block.
(combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
nonzero_bits, num_sign_bit_copies, get_last_value_validate,
get_last_value, distribute_notes, distribute_links): Modified.
* final.c (compute_alignments): Modified.
* flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Modified.
* function.c (thread_prologue_and_epilogue_insns): Modified.
* gcse.c (compute_code_hoist_vbeinout): Modified.
* global.c (build_insn_chain): Modified.
* ifcvt.c (find_if_block, find_cond_trap): Modified.
* predict.c (last_basic_block_p, note_prediction_to_br_prob): Modified.
* regmove.c (regmove_optimize): Modified.
* resource.c (find_basic_block): Modified.
* sched-ebb.c (schedule_ebbs): Modified.
* ssa-dce.c (find_control_dependence, find_pdom): Modified.
From-SVN: r53695
2002-05-21 20:37:43 +00:00
Andreas Jaeger
68bd6dd688
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
...
From-SVN: r53694
2002-05-21 22:09:00 +02:00