Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
From-SVN: r53714
|
|
* 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 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Fix a typo.
From-SVN: r53710
|
|
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
|
|
* reload1.c (do_output_reload): Run delete_output_reload
only if optimizing.
From-SVN: r53707
|
|
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
|
|
From-SVN: r53705
|
|
From-SVN: r53704
|
|
* 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 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_pair.h: Tweak comment markup.
From-SVN: r53700
|
|
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
From-SVN: r53699
|
|
2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
From-SVN: r53698
|
|
From-SVN: r53697
|
|
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
|
|
* 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
|
|
From-SVN: r53694
|
|
* reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
unspec names, not numbers.
From-SVN: r53693
|
|
From-SVN: r53692
|
|
copy-assigning arrays.
* init.c (build_vec_init): Test for trivial copy-assignment when
copy-assigning arrays.
From-SVN: r53691
|
|
updating for new...
* doc/sourcebuild.texi: Mention snapshot-README and
snapshot-index.html as needing updating for new front ends.
From-SVN: r53690
|
|
From-SVN: r53689
|
|
From-SVN: r53688
|
|
checking, and avoid multiple evaluation of RTX.
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.
From-SVN: r53687
|
|
* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.
From-SVN: r53686
|
|
* profile.c (gen_edge_profiler): Set alias set before the memory is
used.
From-SVN: r53685
|
|
2002-05-20 David S. Miller <davem@redhat.com>
* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.
From-SVN: r53684
|
|
From-SVN: r53683
|
|
2002-05-20 Duraid Madina <duraid@fl.net.au>
* tradcpp.c (fixup_newlines): Use old-style function header.
From-SVN: r53677
|
|
From-SVN: r53675
|
|
2002-05-20 H.J. Lu (hjl@gnu.org)
Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
* config/mips/mips.h (DFMODE_NAN): Defined.
(SFMODE_NAN): Likewise.
From-SVN: r53674
|
|
From-SVN: r53671
|
|
* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
From-SVN: r53670
|
|
2002-05-20 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html (5.4): Recommend against -I options for
finding the ext headers.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r53669
|
|
2002-05-20 H.J. Lu (hjl@gnu.org)
* gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
From-SVN: r53668
|
|
assembler, do not abbreviate them.
* config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
switches straight on to the assembler, do not abbreviate them.
* config/arm/elf.h (ASM_SPEC): As above.
* config/arm/semi.h (ASM_SPEC): As above.
* config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
* config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
-mcpu=xscale on to the assembler by default.
* config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
From-SVN: r53667
|
|
* libF77/Makefile.in (SHELL): Set to @SHELL@.
* libI77/Makefile.in (SHELL): Likewise.
* libU77/Makefile.in (SHELL): Likewise.
From-SVN: r53666
|
|
* cse.c (canon_hash): Reorder do_not_record test. Always
allow pic_offset_table_rtx.
From-SVN: r53665
|
|
* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).
From-SVN: r53662
|
|
From-SVN: r53660
|
|
2002-05-20 Toon Moene <toon@moene.indiv.nluug.nl>
* Makefile.in: Use @SHELL@, not /bin/sh for SHELL
definition.
From-SVN: r53659
|
|
* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.
* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).
* gcc.c-torture/execute/strcpy-1.c: New test.
From-SVN: r53658
|
|
From-SVN: r53657
|
|
* call.c (any_strictly_viable): New.
(build_new_op): Use it for COMPOUND_EXPR and ADDR_EXPRs.
From-SVN: r53656
|
|
2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
* optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
(expand_binop): Ditto (3 times).
From-SVN: r53655
|
|
* Makefile.in (distclean): Remove QMTest stuff.
(QMTEST_PATH): New variable.
(QMTESTFLAGS): Likewise.
(QMTESTRUNFLAGS): Likewise.
(QMTEST): Likewise.
(QMTEST_GPP_TESTS): Likewise.
(QMTEST_DIR): Likewise.
(QMTEST_DIR/context): New target.
(qmtest-g++): Likeise.
(qmtest-gui): Likewise.
(QMTEST_DIR/gpp-expected.qmr): Likewise.
* README.QMTEST: New file.
From-SVN: r53654
|
|
From-SVN: r53653
|
|
From-SVN: r53648
|
|
TARGET_ALTIVEC.
2002-05-19 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
an altivec register if TARGET_ALTIVEC.
* config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
to ALTIVEC_VECTOR_MODE.
(rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
(rs6000_va_arg): Vectors may go in registers if they are not
altivec vectors.
From-SVN: r53645
|
|
From-SVN: r53644
|