- 23 May, 2002 25 commits
-
-
2002-05-23 David S. Miller <davem@redhat.com> * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use regsets. From-SVN: r53793
David S. Miller committed -
2002-05-23 Benjamin Kosnik <bkoz@redhat.com> * configure.in (release_VERSION): Update to 3.1.1. (libtool_VERSION): Update to 4:1:0. * configure: Regenerate. From-SVN: r53791
Benjamin Kosnik committed -
* c-common.c (warn_nonnull): Declare. (c_common_attribute_table): Add "nonnull" attribute. (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p, check_nonnull_arg, get_nonnull_operand, check_function_arguments, check_function_arguments_recurse): New functions. * c-common.h (warn_nonnull): Declare extern. (check_function_arguments, check_function_arguments_recurse): New prototypes. * c-decl.c (c_decode_option): Add -Wnonnull option. * c-format.c (set_Wformat): Set warn_nonnull if enabling format checking. (format_check_context): New structure. (check_format_info_recurse): Remove recursion and rename to... (check_format_arg): ...this. Update comment. (check_format_info): Use check_function_arguments_recurse. * c-typeck.c (build_function_call): Call check_function_arguments instead of check_function_format. * doc/extend.texi: Document "nonnull" attribute. * doc/invoke.texi: Docuemnt -Wnonnull option. * testsuite/gcc.dg/nonnull-1.c: New test. * testsuite/gcc.dg/nonnull-2.c: New test. From-SVN: r53790
Jason Thorpe committed -
2002-05-23 David S. Miller <davem@redhat.com> * basic-block.h (CLEANUP_NO_INSN_DEL): Define it. * cfgcleanup.c (cleanup_cfg): If it is set do not attempt to delete trivially dead insns. * except.c (finish_eh_generation): Pass it to cleanup_cfg. * toplev.c (rest_of_compilation): Document non-trivial aspect the RTL before optimize_save_area_alloca is run. From-SVN: r53789
David S. Miller committed -
* c-lex.c (indent_level): Remove. (cb_file_change, c_lex): Remove indent level handling. * c-lex.h (indent_level): Remove. * input.h (struct file_stack): Remove indent_level. * toplev.c (push_srcloc): Remove indent_level handling. cp: * spew.c (yyungetc, snarf_block): Remove indent_level handling. From-SVN: r53786
Neil Booth committed -
* gcc.dg/weak-2.c: Allow optional leading underscore in scan-assembler symbol name. * gcc.dg/weak-3.c: Likewise. * gcc.dg/weak-4.c: Likewise. * gcc.dg/weak-5.c: Likewise. From-SVN: r53785
J"orn Rennecke committed -
PR target/6753 * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead of x in constraints for clarity. (sse_mov?fcc split): abort if op2 == op3. (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3, sse_movsfcc_const0_4): Add earlyclobber. (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3, sse_movdfcc_const0_4): Likewise. Use DFmode, not SFmode. Use Y instead of x in constraints. * gcc.dg/20020523-1.c: New test. From-SVN: r53784
Jakub Jelinek committed -
* doc/extend.texi (C99 Thread-Local Edits): New subsection. (C++98 Thread-Local Edits): New subsection. From-SVN: r53781
Richard Henderson committed -
* config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace. (ix86_arch): Set type to enum processor_type. From-SVN: r53779
Richard Henderson committed -
* config/i386/i386.md (movsi_1, movdi_1_rex64): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST. From-SVN: r53778
Richard Henderson committed -
* configure.in: Fix as version test for binutils 2.12.1 releases (without dates). * configure: Rebuilt. From-SVN: r53775
Jakub Jelinek committed -
* config/i386/i386.c (get_pic_label_name): New. (load_pic_register): Remove. (output_set_got): New. (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD. * config/i386/i386.md (UNSPEC_SET_GOT): New. (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove. (prologue_set_got, prologue_get_pc): Remove. (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New. (builtin_setjmp_receiver): Use gen_set_got. * config/i386/i386-protos.h: Update. From-SVN: r53773
Richard Henderson committed -
From-SVN: r53772
Jan Hubicka committed -
From-SVN: r53771
GCC Administrator committed -
* dbxout.c (dbxout_class_name_qualifiers): New function. (dbxout_symbol): Output class/struct qualifiers for a .stabs entry. From-SVN: r53766
Kevin Buettner committed -
* cpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT. * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/. (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR. * cpplib.c (do_include_common): Use DL_ERROR. * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove. (DL_ICE): Renumber. * fix-header.c (read_scan_file): Update. From-SVN: r53765
Neil Booth committed -
testsuite: * objc.dg/const-str-2.m: Update now that we stop after a command line error. From-SVN: r53764
Neil Booth committed -
* config/i386/i386.c (ix86_expand_call): New function, extracted from md call patterns. Add pic_offset_table_rtx to CALL_INSN_FUNCTION_USAGE when needed. * config/i386/i386.md (call_pop, call): Use ix86_expand_call. (call_value_pop, call_value, untyped_call): Likewise. (call_exp, call_value_exp): Remove. * config/i386/i386-protos.h: Update. From-SVN: r53763
Richard Henderson committed -
From-SVN: r53762
Richard Henderson committed -
* 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
Richard Henderson committed -
* Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first. * Makefile.in: Rebuilt. From-SVN: r53760
Bryce McKinlay committed -
* libjava.lang/PR6729.java: New file. * libjava.lang/PR6729.out: New file. From-SVN: r53759
Bryce McKinlay committed -
From-SVN: r53758
Bryce McKinlay committed -
* 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
David Edelsohn committed -
From-SVN: r53755
Bruce Korb committed
-
- 22 May, 2002 15 commits
-
-
* 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
Richard Henderson committed -
* varasm.c (default_section_type_flags): Handle tls data and default sections. (default_unique_section): Handle tls sections. From-SVN: r53753
Richard Henderson committed -
* 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
Alan Modra committed -
* 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
Kazu Hirata committed -
* 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
Jakub Jelinek committed -
* fixinc/inclhack.def (thread_keyword): Match __thread as last arg. * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. From-SVN: r53749
Richard Henderson committed -
PR c/6643 * emit-rtl.c (widen_memory_access): Only call compare_tree_int if DECL_SIZE_UNIT is INTEGER_CST. From-SVN: r53748
Jakub Jelinek committed -
* configure.in: Fix typo in the code checking for sys_errlist. * configure: Regenerated. From-SVN: r53747
Roman Lechtchinsky committed -
From-SVN: r53746
Richard Henderson committed -
* fixinc/inclhack.def (thread_keyword): Allow as any prototype arg. * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild. From-SVN: r53745
Richard Henderson committed -
* config.guess: Update to 2002-05-22 version. * config.sub: Likewise. From-SVN: r53742
Jason Thorpe committed -
From-SVN: r53741
J"orn Rennecke committed -
From-SVN: r53740
J"orn Rennecke committed -
From-SVN: r53739
Jakub Jelinek committed -
* t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c. (embed-bb.c): New rule. * config/sh/embed_bb.c: Delete. From-SVN: r53737
J"orn Rennecke committed
-