summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2010-05-27 Richard Guenther <rguenther@suse.de>rguenth2010-05-2733-24/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/44284 * tree-vect-stmts.c (vectorizable_assignment): Handle sign-changing conversions as simple copy. * gcc.dg/vect/vect-118.c: New testcase. * gcc.dg/vect/bb-slp-20.c: Adjust. * gcc.dg/vect/no-section-anchors-vect-36.c: Likewise. * gcc.dg/vect/slp-9.c: Likewise. * gcc.dg/vect/slp-reduc-4.c: Likewise. * gcc.dg/vect/vect-10.c: Likewise. * gcc.dg/vect/vect-109.c: Likewise. * gcc.dg/vect/vect-12.c: Likewise. * gcc.dg/vect/vect-36.c: Likewise. * gcc.dg/vect/vect-7.c: Likewise. * gcc.dg/vect/vect-iv-8.c: Likewise. * gcc.dg/vect/vect-multitypes-10.c: Likewise. * gcc.dg/vect/vect-multitypes-13.c: Likewise. * gcc.dg/vect/vect-multitypes-14.c: Likewise. * gcc.dg/vect/vect-multitypes-15.c: Likewise. * gcc.dg/vect/vect-multitypes-7.c: Likewise. * gcc.dg/vect/vect-multitypes-8.c: Likewise. * gcc.dg/vect/vect-multitypes-9.c: Likewise. * gcc.dg/vect/vect-reduc-dot-s16b.c: Likewise. * gcc.dg/vect/vect-reduc-dot-s8a.c: Likewise. * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. * gcc.dg/vect/vect-reduc-dot-u16b.c: Likewise. * gcc.dg/vect/vect-strided-a-u32-mult.c: Likewise. * gcc.dg/vect/vect-strided-u32-mult.c: Likewise. * gcc.dg/vect/vect-widen-mult-s16.c: Likewise. * gcc.dg/vect/vect-widen-mult-s8.c: Likewise. * gcc.dg/vect/vect-widen-mult-sum.c: Likewise. * gcc.dg/vect/vect-widen-mult-u16.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159920 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr-posix.h (pthread_cancel): Don't declare if compiling againstmkuvyrkov2010-05-272-1/+18
| | | | | | | | | Bionic C library. (__gthread_active_p): Check for pthread_create if compiling against Bionic C library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159919 138bc75d-0d04-0410-961f-82ee72b054a4
* Support compilation for Android platform. Reimplement -mandroid.mkuvyrkov2010-05-278-142/+163
| | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (*linux*): Include linux-android.h and linux-android.opt. (*android*): Set ANDROID_DEFAULT. (arm*-*-linux*): Include linux-android.h. (arm*-*-eabi*): Don't include previous -mandroid implementation. * config/arm/eabi.h: Remove, move Android-specific parts ... * config/linux-android.h: ... here. New file. * config/arm/eabi.opt: Rename to ... * config/linux-android.opt: ... this. (mandroid): Allow -mno-android option. Initialize based on ANDROID_DEFAULT. * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC, LIB_SPEC): Move logic to corresponding LINUX_TARGET_* macros. (TARGET_OS_CPP_BUILTINS): Define __ANDROID__, when appropriate. * config/linux-eabi.h (LINK_SPEC, CC1_SPEC, CC1PLUS_SPEC, LIB_SPEC,) (STARTFILE_SPEC, ENDFILE_SPEC): Define to choose between Linux and Android definitions. (LINUX_TARGET_OS_CPP_BUILTINS): Define __ANDROID__ if TARGET_ANDROID. * doc/invoke.texi (-mandroid, -tno-android-cc, -tno-android-ld): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159918 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for Bionic C librarymkuvyrkov2010-05-2711-53/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * config.gcc (LIBC_GLIBC, LIBC_BIONIC, LIBC_UCLIBC): New tm_define macro. (DEFAULT_LIBC): New tm_define macro set to one of LIBC_*. (bfin*-uclinux, moxie-*-uclinux*, m68k-*-uclinux*): Update. * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define. (LINUX_TARGET_OS_CPP_BUILTINS): Define __gnu_linux__ only for GLIBC. (CHOOSE_DYNAMIC_LINKER1, CHOOSE_DYNAMIC_LINKER): Make it easier to support multiple C libraries. Handle Bionic. (BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,) (BIONIC_DYNAMIC_LINKER64): Define. (LINUX_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): Update. (TARGET_HAS_SINCOS): Enable for Bionic. * config/linux.opt: Rewrite to handle more than 2 C libraries. Make the last option specified on command line take effect. (linux_uclibc): Rename to linux_libc, initialize using DEFAULT_LIBC. (mbionic): New. (mglibc, muclibc): Update. * config/alpha/linux-elf.h, config/rs6000/linux64.h, * config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Update to use DEFAULT_LIBC. * doc/invoke.texi (-mglibc, -muclibc): Update. (-mbionic): Document. gcc/testsuite/ * gcc.dg/glibc-uclibc-1.c, gcc.dg/glibc-uclibc-2.c: Remove, no longer necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159917 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.h (c_register_addr_space): Add prototype.uweigand2010-05-275-27/+45
| | | | | | | | | | | | | | | | (ADDR_SPACE_KEYWORD): Remove. * c-common.c (c_register_addr_space): New function. (c_addr_space_name): Reimplement. (c_common_reswords): Do not include TARGET_ADDR_SPACE_KEYWORDS. * config/spu/spu.h (TARGET_ADDR_SPACE_KEYWORDS): Remove. (REGISTER_TARGET_PRAGMAS): Call c_register_addr_space. * doc/tm.texi (Named Address Spaces): Mention c_register_addr_space. Remove TARGET_ADDR_SPACE_KEYWORDS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159916 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: Fix whitespace.uros2010-05-272-48/+32
| | | | | | | * testsuite/ChangeLog: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159915 138bc75d-0d04-0410-961f-82ee72b054a4
* * input.c: New file.jsm282010-05-277-32/+70
| | | | | | | | | | | | * input.h (main_input_filename): Move declaration to toplev.h. * toplev.c (input_location, line_table): Move to input.c * toplev.h (main_input_filename): Move declaration from input.h. * tree.c (expand_location): Move to input.c. * Makefile.in (OBJS-common): Add input.o. (input.o): Add dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159914 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-27 Richard Guenther <rguenther@suse.de>rguenth2010-05-272-1/+10
| | | | | | | | | * lto-wrapper.c (maybe_unlink_file): Ignore unlink failure for non-existant files. (fork_execute): Mark args_name file as deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159913 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp/ktietz2010-05-277-7/+38
| | | | | | | | | | | | | | | | | | | | | 2010-05-27 Kai Tietz <kai.tietz@onevision.com> PR bootstrap/44287 * rtti.c (emit_support_tinfos): Check for NULL_TREE. * class.c (layout_class_type): Likewise. * decl.c (finish_enum): Likewise. * mangle.c (write_builitin_type): Likewise. gcc/ 2010-05-27 Kai Tietz <kai.tietz@onevision.com> PR bootstrp/44287 * c-lex.c (narrowest_unsigned_type): Check for NULL_TREE. (narrow_signed_type): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159912 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/lto/materialize-1_0.c: New file.hubicka2010-05-273-0/+35
| | | | | | | * gcc.dg/lto/materialize-1_1.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159911 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraphunit.c (verify_cgraph_node): Do checking that DECL matchhubicka2010-05-274-29/+42
| | | | | | | | | | | | | | | edge only when checking is enabled; check using former_clone_of; check inline clones too. (cgraph_materialize_clone): Record former_clone_of pointer. (cgraph_redirect_edge_call_stmt_to_callee): Assert that we are not combining redirections; dump args_to_skip bitmap (cgraph_materialize_all_clones): Do no redirection here. * ipa-inline.c (inline_transform): Do redirection here. * cgraph.h (struct cgraph_node): Add former_clone_of filed (enabled cheking only). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159907 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2010-05-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159906 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/avr/avr-c.c: Do not include regs.h.steven2010-05-264-37/+44
| | | | | | | | | | Include cpplib.h for cpp_define and tree.h for c-common.h. * config/avr/avr-devices.c (avr_mcu_types): Fix initializer. * config/avr/t-avr: Fix dependencies for avr-c.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159901 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:steven2010-05-266-7/+21
| | | | | | | | | | | | | | * explow.c (set_stack_check_libfunc): Adjust to accept name as a string instead of SYMBOL_REF rtx. * rtl.h (set_stack_check_libfunc): Move prototype from here... * libfuncs.h: ...to here. Adjust for explow.c change. ada/ChangeLog: * gcc-interface/trans.c: Do not include rtl.h, insclude libfuncs.h. (gigi): Adjust call to set_stack_check_libfunc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159900 138bc75d-0d04-0410-961f-82ee72b054a4
* * java-tree.h (struct lang_decl_func): Change type of throws_listfroydnj2010-05-264-11/+21
| | | | | | | | | | field to a VEC. * jcf-parse.c (HANDLE_EXCEPTIONS_ATTRIBUTE): Adjust for changed type of DECL_FUNCTION_THROWS. * class.c (make_method_value): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159899 138bc75d-0d04-0410-961f-82ee72b054a4
* * pretty-print.c: Don't include ggc.h.jsm282010-05-265-14/+44
| | | | | | | | | | | | | | (identifier_to_locale_alloc, identifier_to_locale_free): Define. (identifier_to_locale): Use them for allocation. * pretty-print.h (identifier_to_locale_alloc, identifier_to_locale_free): Declare. * toplev.c (alloc_for_identifier_to_locale): New. (general_init): Set identifier_to_locale_alloc and identifier_to_locale_free. * Makefile.in (pretty-print.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159898 138bc75d-0d04-0410-961f-82ee72b054a4
* Move cplusplus parts into cp/ChangeLog and remove them from gcc's.ktietz2010-05-262-9/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159897 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimple.c (gimple_types_compatible_p): Return 0 for aggregate andebotcazou2010-05-265-2/+51
| | | | | | | pointer types if they have different alignment or mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159896 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-25 Sterling Augustine <sterling@tensilica.com>sterling2010-05-263-3/+12
| | | | | | | | * MAINTAINERS (CPU Port Maintainers): Add myself for xtensa port. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159894 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sparc/sparc.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,aesok2010-05-264-44/+73
| | | | | | | | | | | | | | | | | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. * config/sparc/sparc-protos.h (function_value): Remove declaration. * config/sparc/sparc.c (sparc_function_value, sparc_libcall_value, sparc_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. (function_value): Rename to... (sparc_function_value_1): ... this. Make static. Change 'incoming_p' argument to 'outgoing'. (function_arg_record_value, function_arg_union_value, function_arg_vector_value): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159890 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (struct dw_fde_struct): Reorder flags.ebotcazou2010-05-262-34/+45
| | | | | | | | | | (fde_needed_for_eh_p): New predicate. (output_call_frame_info): Use it throughout to decide whether FDEs are needed for EH purpose. (dwarf2out_begin_prologue): Reorder assignments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159889 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not check the if-convertibility of statements that are not predicated.spop2010-05-262-3/+25
| | | | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (if_convertible_gimple_assign_stmt_p): Do not special case loop->header. (is_predicated): New. (if_convertible_loop_p): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159887 138bc75d-0d04-0410-961f-82ee72b054a4
* Reorganize the analysis of basic block predication.spop2010-05-262-163/+161
| | | | | | | | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (add_to_dst_predicate_list): Do not pass a statemet iterator in parameter. Do not generate code during the analysis. (tree_if_convert_cond_stmt): Removed. (tree_if_convert_stmt): Removed. (predicate_bbs): New. (if_convertible_loop_p): Call predicate_bbs. (tree_if_conversion): Simplify the top-level logic as predicate_bbs now contains all the analysis part. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159886 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove conditions in the code generation of if-conversion.spop2010-05-262-31/+44
| | | | | | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (tree_if_convert_cond_stmt): Do not remove statements in the analysis part. (tree_if_convert_stmt): Update comment. (remove_conditions_and_labels): New. (combine_blocks): Call remove_conditions_and_labels. (tree_if_conversion): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159885 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't handle BBs with more than 2 preds or succs.spop2010-05-262-0/+9
| | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (if_convertible_bb_p): Don't handle BBs with more than 2 predecessors or more than 2 successors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159884 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid if-conversion of loops in which the data dependence analysis fails.spop2010-05-262-0/+19
| | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (if_convertible_loop_p): Avoid if-conversion of loops in which the data dependence analysis fails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159883 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not compute/free CDI_POST_DOMINATORS.spop2010-05-262-4/+6
| | | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (if_convertible_loop_p): Do not compute/free CDI_POST_DOMINATORS. (tree_if_conversion): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159882 138bc75d-0d04-0410-961f-82ee72b054a4
* Make tree_if_conversion not return a bool.spop2010-05-262-6/+8
| | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (tree_if_conversion): Do not return a bool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159881 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comments.spop2010-05-262-5/+10
| | | | | | | | | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c: Update copyright years. Fix comments. Fix indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159880 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty/ktietz2010-05-2635-18/+1228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-05-26 Kai Tietz <kai.tietz@onevision.com> * testsuite/demangle-expected: Add tests for __int128 and unsigned __int128 types. gcc/testsuite 2010-05-26 Kai Tietz <kai.tietz@onevision.com> * lib/target-supports.exp (check_effective_target_int128): New function to check if __int128 types are available for target. * testsuite/c-c++-common/int128-types-1.c: New. * testsuite/c-c++-common/int128-1.c: New. * testsuite/c-c++-common/int128-2.c: New. * g++.dg/abi/mangle43.C: New. * g++.dg/init/enum1.C: Handle __int128 case and add -Wno-overflow. * g++.dg/cpp0x/nullptr04.C: Use __SIZE_TYPE__ for getting pointer-wide scalar. * g++.dg/other/pr25632.C: Likewise. * g++.dg/other/large-size-array.C (DIM): Use ULLONG_MAX for win64 case. * g++.dg/warn/pr13358-2.C: Add llp64 for check of special overflow warnings. * g++.dg/warn/pr13358-4.C: Likewise. * g++.dg/warn/Wconversion-null-2.C: Add 'long long' case. * g++.dg/warn/Wconversion-null.C: Likewise. gcc/ 2010-05-26 Kai Tietz <kai.tietz@onevision.com> * builtin-types.def (BT_INT128): New primitive type. (BT_UINT128): Likewise. * c-common.c (c_common_r): Add __int128 keyword. (c_common_type_for_size): Handle __int128. (c_common_type_for_mode): Likewise. (c_common_signed_or_unsigned_type): Likewise. (c_common_nodes_and_builtins): Add builtin type if target supports 128-bit integer scalar. * c-common.h (enum rid): Add RID_INT128. * c-cppbuiltin.c (c_cpp_builtins): Define __SIZEOF_INT128__ if target supports 128-bit integer scalar. * c-decl.c (declspecs_add_type): Handle new keyword __int128. (finish_declspecs): Likewise. * c-parser.c (c_token_starts_typename): Handle RID_INT128. (c_token_starts_declspecs): Likewise. (c_parser_declspecs): Likewise. (c_parser_attributes): Likewise. (c_parser_objc_selector): Likewise. * c-pretty-print.c (pp_c_integer_constant): Handle __int128. * c-tree.h (enum c_typespec_keyword): Add cts_int128. * gimple.c (gimple_signed_or_unsigned_type): Handle int128 types. * tree.c (make_or_reuse_type): Likewise. (make_unsigned_type): Likewise. (build_common_tree_nodes_2): Likewise. * tree.h (enum integer_type_kind): Add itk_int128 and itk_unsigned_int128. (int128_integer_type_node): New define.. (int128_unsigned_type_node): New define. * cp/cp-tree.h (cp_decl_specifier_seq): Add new bifield explicit_int128_p. * cp/decl.c (grokdeclarator): Handle __int128. * cp/parser.c (cp_lexer_next_token_is_decl_specifier_ke): Likewise. (cp_parser_simple_type_specifier): Likewise. * cp/rtti.c (emit_support_tinfos): Add int128 nodes for rtti. * cp/typeck.c (cp_common_type): Handle __int128. * cp/mangle.c (integer_type_codes): Add itk_int128 and itk_unsigned_int128. * doc/extend.texi: Add documentation about __int128 type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159879 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Richard Guenther <rguenther@suse.de>rguenth2010-05-262-62/+70
| | | | | | | | | | | | | * tree-ssa-sccvn.c (copy_nary): Adjust. (copy_phis): Rename to ... (copy_phi): ... this. Adjust. (copy_references): Rename to ... (copy_reference): ... this. Adjust. (process_scc): Use HTAB_FOR_EACH_ELEMENT to insert the result into the valid table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159877 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/spu/spu-c.c: Do not include function.h, rtl.h, expr.h,steven2010-05-262-7/+5
| | | | | | | | insn-config.h, insn-codes.h, recog.h, and optabs.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159876 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com>lauras2010-05-262-2/+5
| | | | | | | | * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159874 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/43382jason2010-05-264-13/+51
| | | | | | | * pt.c (fn_type_unification): Don't get confused by recursive unification. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159873 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Richard Guenther <rguenther@suse.de>rguenth2010-05-262-0/+5
| | | | | | | * opts.c (common_handle_option): Handle OPT_Ofast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159871 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (utf8_decl_list): Delete.froydnj2010-05-265-47/+56
| | | | | | | | | | | | | | | | | | | | (build_utf8_ref): Remove references to it. * java-tree.h (all_class_list): Delete. (predef_filenames): Delete. (enum java_tree_index) [JTI ALL_CLASS_LIST,JTI_PREDEF_FILENAMES]: Delete. * jcf-parse.c (parse_roots): Decrease size to 2. (current_file_list): Convert to a VEC. (all_class_list): Declare. (jcf_parse): Adjust for new type of all_class_list. (java_layout_seen_class_methods): Likewise. (predefined_filenames): Declare. (add_predefined_file): Use it. (predefined_filename_p): Likewise. (java_parse_file): Adjust for new type of current_file_list. * git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159870 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.c: Don't include opts.h.jsm282010-05-2611-68/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (permissive_error_option): Define. (diagnostic_initialize): Take n_opts parameter. Allocate memory for classify_diagnostic. Don't use memset for classify_diagnostic. Initialize new and recently added fields. (diagnostic_classify_diagnostic): Use context->n_opts instead of N_OPTS. (diagnostic_report_diagnostic): Pass context parameter to diagnostic_report_warnings_p. Use option_enabled and option_name hooks from context. (emit_diagnostic): Use permissive_error_option. (permerror): Likewise. * diagnostic.h: Don't include options.h. (struct diagnostic_context): Add n_opts, opt_permissive, inhibit_warnings, warn_system_headers, option_enabled and option_name fields. Change classify_diagnostic to a pointer. * opts-diagnostic.h: New file. * opts.c: Include opts-diagnostic.h. (common_handle_option): Set global_dc fields for -Wfatal-errors, -Wsystem-headers, -fshow-column, -pedantic-errors and -w. (option_name): New function. * c-opts.c (c_common_init_options): Set global_dc->opt_permissive. (c_common_handle_option): Set global_dc->permissive for -fpermissive. * c-common.c (c_cpp_error): Save and restore global_dc->warn_system_headers, not variable warn_system_headers. * toplev.c: Include opts-diagnostic.h. (general_init): Update call to diagnostic_initialize. Set global_dc->show_column, global_dc->option_enabled and global_dc->option_name. (process_options): Don't set global_dc fields here. * Makefile.in (DIAGNOSTIC_H): Remove options.h. (diagnostic.o, opts.o, toplev.o): Update dependencies. fortran: * cpp.c (cb_cpp_error): Save and restore global_dc->warn_system_headers, not variable warn_system_headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159869 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/picochip/picochip.md (movsi): Split a movsi from ahariharans2010-05-262-1/+6
| | | | | | | | const after reload. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159867 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com>lauras2010-05-263-11/+43
| | | | | | | | | | | | | | | | | | | | | | | * ggc-zone.c: Update copyright year. (poison_region): Mark memory for Valgrind as undefined before memset () call and inaccessible afterwards. (ggc_pch_total_size): Change type of i to int. 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> * ggc-common.c (ggc_free_overhead): Allow empty slot. 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> * ggc-common.c: Update copyright year. (ggc_rlimit_bound): Remove prototype. Compile only if !ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT. (ggc_min_heapsize_heuristic): Compile only if !ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT. Make static. (ggc_min_heapsize_heuristic): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159863 138bc75d-0d04-0410-961f-82ee72b054a4
* * lto-lang.c: Do not include expr.h.steven2010-05-262-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159862 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Richard Guenther <rguenther@suse.de>rguenth2010-05-265-10/+84
| | | | | | | | | | | | | | | PR rtl-optimization/44164 * tree-ssa-alias.c (aliasing_component_refs_p): Fix the no-common access-path disambiguation. (indirect_ref_may_alias_decl_p): Adjust. (indirect_refs_may_alias_p): Likewise. (refs_may_alias_p_1): Likewise. * gcc.c-torture/execute/pr44164.c: New testcase. * g++.dg/tree-ssa/pr13146.C: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159861 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c: Do not include expr.h.steven2010-05-262-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159860 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-lang.c: Do not include expr.h.steven2010-05-262-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159859 138bc75d-0d04-0410-961f-82ee72b054a4
* * fortran/f95-lang.c: Do not include libfuncs.h, expr.h, and except.h.steven2010-05-262-5/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159858 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:steven2010-05-2617-22/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtl.h (decl_default_tls_model): Move prototype from here... * output.h: ...to here. * c-decl.c: Do not include rtl.h. * c-pragma.c: Likewise. * c-parser.c: Likewise. * c-gimplify.c: Likewise. And also not hard-reg-set. * c-common.c: Do not include rtl.h. Include tm_p.h and add a FIXME note for it. Add a FIXME note for expr.h. * config/i386/i386-protos.h (ix86_enum_va_list, ix86_fn_abi_va_list, ix86_canonical_va_list_type): Make visible even if RTX_CODE is not defined. cp/ChangeLog: * decl.c: Do not include rtl.h * semantics.c: Likewise. ada/ChangeLog: * gcc-interface/utils.c: Do not include rtl.h. fortran/ChangeLog: * trans-common.c: Do not include rtl.h, include output.h instead. * trans-decl.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159856 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/44199jakub2010-05-263-0/+35
| | | | | | | | | | * config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca or total_size is larger than red zone size for non-V4 ABI, emit a stack_tie resp. frame_tie insn before stack pointer restore. * config/rs6000/rs6000.md (frame_tie): New insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159853 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-05-26 Paul Thomas <pault@gcc.gnu.org>pault2010-05-264-14/+51
| | | | | | | | | | | | | | PR fortran/40011 * resolve.c (resolve_global_procedure): Resolve the gsymbol's namespace before trying to reorder the gsymbols. 2010-05-26 Paul Thomas <pault@gcc.gnu.org> PR fortran/40011 * gfortran.dg/whole_file_19.f90 : New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159852 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2010-05-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159851 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.h (struct function): Add can_throw_non_call_exceptions bit.ebotcazou2010-05-2525-53/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lto-streamer-in.c (input_function): Stream it in. * lto-streamer-out.c (output_function): Stream it out. * function.c (allocate_struct_function): Set it. (expand_function_end): Substitute cfun->can_throw_non_call_exceptions for flag_non_call_exceptions. * cfgbuild.c (control_flow_insn_p): Likewise. (make_edges): Likewise. * cfgexpand.c (expand_stack_alignment): Likewise. * combine.c (distribute_notes): Likewise. * cse.c (cse_extended_basic_block): Likewise. * except.c (insn_could_throw_p): Likewise. * gcse.c (simple_mem): Likewise. * ipa-pure-const.c (check_call): Likewise. (check_stmt ): Likewise. * lower-subreg.c (lower-subreg.c): Likewise. * optabs.c (emit_libcall_block): Likewise. (prepare_cmp_insn): Likewise. * postreload-gcse.c (eliminate_partially_redundant_loads): Likewise. * postreload.c (rest_of_handle_postreload): Likewise. * reload1.c (reload_as_needed): Likewise. (emit_input_reload_insns): Likewise. (emit_output_reload_insns): Likewise. (fixup_abnormal_edges): Likewise. * sel-sched-ir.c (init_global_and_expr_for_insn): Likewise. * store-motion.c (find_moveable_store): Likewise. * tree-eh.c (stmt_could_throw_p): Likewise. (tree_could_throw_p): Likewise. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. * config/arm/arm.c (arm_expand_prologue): Likewise. (thumb1_expand_prologue): Likewise. * config/rx/rx.md (cbranchsf4): Likewise. (cmpsf): Likewise. * config/s390/s390.c (s390_emit_prologue): Likewise. * tree-inline.c (initialize_cfun): Copy can_throw_non_call_exceptions. (inline_forbidden_into_p): New predicate. (expand_call_inline): Use it to forbid inlining. (tree_can_inline_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159847 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386-c.c: Do not include rtl.h.steven2010-05-253-2/+6
| | | | | | | | * config/i386/t-i386: Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159846 138bc75d-0d04-0410-961f-82ee72b054a4