- 23 Sep, 2009 25 commits
-
-
2009-09-23 Basile Starynkevitch <basile@starynkevitch.net> Rafael Avila de Espindola <espindola@google.com> * gengtype.c (nb_plugin_files): Make it unsigned to match num_gt_files. Adjust other variables to avoid warnings. (main): Allocate an all zero lang_bitmap before each plugin file name to match regular file names. Co-Authored-By: Rafael Avila de Espindola <espindola@google.com> From-SVN: r152106
Basile Starynkevitch committed -
* doc/tm.texi (STATIC_CHAIN, STATIC_CHAIN_INCOMING): Remove. (TARGET_STATIC_CHAIN): Mention that this hook must be used for static chain passed in memory. * system.h (STATIC_CHAIN, STATIC_CHAIN_INCOMING): Poison. * targhooks.c (default_static_chain): Don't handle STATIC_CHAIN, STATIC_CHAIN_INCOMING. Issue a sorry if there's no STATIC_CHAIN_REGNUM defined. * config/picochip/picochip-protos.h: s/class/klass/. * config/picochip/picochip.c (TARGET_STATIC_CHAIN): New. (picochip_static_chain): New. * config/picochip/picochip.h (STATIC_CHAIN): Remove. (STATIC_CHAIN_INCOMING): Remove. * config/xtensa/xtensa.c (TARGET_STATIC_CHAIN): New. (xtensa_static_chain): New. * config/xtensa/xtensa.h (STATIC_CHAIN, STATIC_CHAIN_INCOMING): * Remove. From-SVN: r152104
Richard Henderson committed -
* config/pa/pa.h (FUNCTION_VALUE): Remove macro. * config/pa/pa-protos.h (function_value): Remove. * config/pa/pa.c (pa_function_value): Rename from function_value. Make static, add 'outgoing' argument. (TARGET_FUNCTION_VALUE): Define. From-SVN: r152094
Anatoly Sokolov committed -
* config/avr/avr.c (avr_regs_to_save): Use current_function_is_leaf instead of cfun->machine->is_leaf. * config/avr/avr.h (machine_function): Remove is_leaf field. From-SVN: r152093
Anatoly Sokolov committed -
PR debug/41439 * dwarf2out.c (address_of_int_loc_descriptor): Don't emit DW_OP_piece after DW_OP_stack_value, adjust size calculations for it, when DW_OP_stack_value and DW_OP_implicit_value has the same size, prefer DW_OP_stack_value. (loc_descriptor, loc_list_for_address_of_addr_expr_of_indirect_ref, loc_list_from_tree): Don't emit DW_OP_piece after DW_OP_stack_value. From-SVN: r152091
Jakub Jelinek committed -
PR debug/41353 * var-tracking.c (add_with_sets): Sort MO_VAL_LOC last among uses. From-SVN: r152088
Alexandre Oliva committed -
gcc/ChangeLog: PR debug/41248 * cfgexpand.c (convert_debug_memory_address): New. (expand_debug_expr): Convert base address and offset to the same mode. Use it to convert addresses to other modes. Accept ptr_mode addresses. gcc/testsuite/ChangeLog: PR debug/41248 * gcc.dg/pr41248.c: New. From-SVN: r152087
Alexandre Oliva committed -
Fix PR debug/41065 gcc/ChangeLog: PR debug/41065 * function.h (types_used_by_vars_hash): Declare new hash table. (types_used_by_vars_eq, types_used_by_var_decl_insert): Declare equality and hash function for the hash table. (types_used_by_cur_var_decl): Declare a new global chained list. (types_used_by_var_decl_insert): Declare new function. * function.c (types_used_by_vars_hash): Define the hashtable ... (types_used_by_vars_eq, types_used_by_vars_do_hash): ... as well as its equality and hash functions. (hash_types_used_by_vars_entry): New hash helper. (types_used_by_cur_var_decl): Define the global chained list. (used_types_insert): Update the list of types used by the global variable being parsed. (types_used_by_var_decl_insert): Define new function. * c-common.h (record_types_used_by_current_var_decl): Declare ... * c-common.c (record_types_used_by_current_var_decl): ... new function. * c-decl.c (finish_decl): Record the types used by the global variable declaration we've just parsed. * dwarf2out.c (premark_used_types): Insert a new line between comment and function. (premark_used_types_helper): Fix comment. (premark_types_used_by_global_vars_helper, premark_types_used_by_global_vars): New functions. (prune_unused_types): Do not prune types used by global variables. gcc/cp/ChangeLog: PR debug/41065 * decl.c (cp_finish_decl): Record the types used by the global variable declaration we've just parsed. gcc/testsuite/ChangeLog: PR debug/41065 * gcc.dg/debug/dwarf2/global-used-types.c: New test. From-SVN: r152085
Dodji Seketeli committed -
alias.c (ao_ref_from_mem): Correct for negative MEM_OFFSET produced for bigendian targets with promoted... 2009-09-23 Richard Guenther <rguenther@suse.de> * alias.c (ao_ref_from_mem): Correct for negative MEM_OFFSET produced for bigendian targets with promoted subregs. From-SVN: r152083
Richard Guenther committed -
2009-09-23 Richard Guenther <rguenther@suse.de> * value-prof.c (gimple_ic): Purge old EH edges only after building the new ones. From-SVN: r152082
Richard Guenther committed -
2009-09-23 Loren J. Rittle <ljrittle@acm.org> * configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h. * configure: Rebuilt. From-SVN: r152081
Loren J. Rittle committed -
From-SVN: r152080
Nick Clifton committed -
PR bootstrap/41405 * doc/invoke.texi: Document -gstrict-dwarf and -gno-strict-dwarf. From-SVN: r152076
Jakub Jelinek committed -
2009-09-23 Matthias Klose <doko@ubuntu.com> PR libffi/40242, PR libffi/41443 * src/arm/sysv.S (__ARM_ARCH__): Define for processors __ARM_ARCH_6T2__, __ARM_ARCH_6M__, __ARM_ARCH_7__, __ARM_ARCH_7A__, __ARM_ARCH_7R__, __ARM_ARCH_7M__. Change the conditionals to __SOFTFP__ || __ARM_EABI__ for -mfloat-abi=softfp to work. From-SVN: r152075
Matthias Klose committed -
* lib/profopt.exp (profopt-get-options): Set tool_flags for current_compiler_flags. Fix typos. From-SVN: r152068
Andreas Schwab committed -
PR bootstrap/41436 * cgraphunit.c (cgraph_lower_function): Set DECL_NO_STATIC_CHAIN on non-nested functions. From-SVN: r152067
Jakub Jelinek committed -
From-SVN: r152065
Nick Clifton committed -
2009-09-23 Yuri Gribov <tetra2005@googlemail.com> * gcc.c-torture/execute/980526-2.c: Skip if sizeof (int) > 4. From-SVN: r152063
Yuri Gribov committed -
From-SVN: r152062
Tristan Gingold committed -
2009-09-23 Johannes Singler <singler@ira.uka.de> * include/parallel/algobase.h: Uglify internal identifiers; correct line breaks. * include/parallel/algo.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/workstealing.h: Likewise. From-SVN: r152061
Johannes Singler committed -
2009-09-23 Matthew Gingell <gingell@adacore.com> * cplus-dem.c (ada_demangle): Ensure demangled is freed. From-SVN: r152060
Matthew Gingell committed -
* dwarf2out.c (loc_list_plus_const): Only define if DWARF2_DEBUGGING_INFO. (address_of_int_loc_descriptor): Likewise. PR debug/41411 * dwarf2out.c (mem_loc_descriptor): Handle HIGH. From-SVN: r152059
Jakub Jelinek committed -
PR c/39779 * c-typeck.c (build_binary_op) <short_shift>: Check that integer constant is more than zero. testsuite/ChangeLog: PR c/39779 * gcc.c-torture/compile/pr39779.c: New test. From-SVN: r152058
Uros Bizjak committed -
PR target/40473 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't call final to emit non-scheduled prologue, instead insert at entry. From-SVN: r152056
Alan Modra committed -
From-SVN: r152055
GCC Administrator committed
-
- 22 Sep, 2009 15 commits
-
-
2009-09-22 Loren J. Rittle <ljrittle@acm.org> Joseph S. Myers <joseph@codesourcery.com> * doc/install.texi (*-*-freebsd*): Add proper format codes. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r152051
Loren J. Rittle committed -
2009-09-22 Loren J. Rittle <ljrittle@acm.org> * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Remove stray $$r/. * Makefile.in: Rebuilt. From-SVN: r152050
Loren J. Rittle committed -
2009-09-22 Basile Starynkevitch <basile@starynkevitch.net> Rafael Avila de Espindola <espindola@google.com> * gengtype.c (is_file_equal): New function. (close_output_files): Use is_file_equal. Free of->buf. Co-Authored-By: Rafael Avila de Espindola <espindola@google.com> From-SVN: r152049
Basile Starynkevitch committed -
2009-09-22 Basile Starynkevitch <basile@starynkevitch.net> Rafael Avila de Espindola <espindola@google.com> * gengtype.c (write_types, write_local): Add the output_header argument. Update all callers. Co-Authored-By: Rafael Avila de Espindola <espindola@google.com> From-SVN: r152046
Basile Starynkevitch committed -
Fix for PR debug/41266 ChangeLog: * include/dwarf2.h (enum dwarf_tag): Add DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack. gcc/ChangeLog: * dwarf2out.c (template_parameter_pack_die, gen_formal_parameter_pack_die ): New functions. (make_ith_pack_parameter_name): Remove this function. (dwarf_tag_name): Support printing DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack. (gen_generic_params_dies): Represent each template parameter pack by a DW_TAG_template_parameter_pack DIE. Argument pack elements are represented by usual DW_TAG_template_*_parameter DIEs that are children of the DW_TAG_template_parameter_pack element DIE. (generic_parameter_die): This doesn't deal with parameter pack names anymore. Don't generate DW_AT_name for some DIEs, e.g. children of parameter pack DIEs. (gen_formal_parameter_die): Add a flag to not emit DW_AT_name in certain cases, e.g. for pack elements. (gen_formal_types_die, gen_decl_die): Adjust usage of gen_formal_parameter_die. (gen_subprogram_die): Represent each function parameter pack by a DW_TAG_formal_parameter_pack DIE. Arguments of of the pack are represented by usual DW_TAG_formal_parameter DIEs that are children of the DW_TAG_formal_parameter_pack DIE. Remove references to ____builtin_va_alist decls as no part of the compiler uses those anymore. * langhooks.h (struct lang_hooks_for_decls): Add function_parm_expanded_from_pack_p, get_generic_function_decl and function_parameter_pack_p hooks. Fix comment for get_innermost_generic_parms hook. * langhooks-def.h (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P, LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P ): Declare new hook macros and use them to initialize lang_hook. gcc/cp/ChangeLog: * cp-lang.c (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P, LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P, LANG_HOOKS_GET_GENERIC_FUNCTION_DECL): Initialize these hooks for the c++ FE. * cp-tree.h (function_parameter_pack_p, get_function_template_decl, function_parameter_expanded_from_pack_p): Declare ... * pt.c (function_parameter_pack_p, get_function_template_decl, function_parameter_expanded_from_pack_p): ... new hooks. (get_template_info): Make this more robust. (template_args_variadic_p, make_ith_pack_parameter_name): Add a new line between comment and function. (get_template_argument_pack_elems): Fix comment. (tsubst_decl): Arguments of function parameter packs are not parameter packs themselves. gcc/testsuite/ChangeLog: * g++.dg/debug/dwarf2/template-func-params-4.C: Adjust. * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. * g++.dg/debug/dwarf2/template-params-4.C: Likewise. From-SVN: r152043
Dodji Seketeli committed -
* system.h (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Poison. (TRAMPOLINE_ADJUST_ADDRESS): Poison. * target-def.h (TARGET_ASM_TRAMPOLINE_TEMPLATE): Don't conditionalize on TRAMPOLINE_TEMPLATE. (TARGET_TRAMPOLINE_ADJUST_ADDRESS): Don't conditionalize on TRAMPOLINE_ADJUST_ADDRESS. * targhooks.c (default_asm_trampoline_template): Remove. (default_trampoline_adjust_address): Remove. (default_trampoline_init): Don't handle INITIALIZE_TRAMPOLINE. * targhooks.h: Update decls. From-SVN: r152042
Richard Henderson committed -
gcc/ChangeLog * config/i386/cygming.h (TARGET_USE_JCR_SECTION): Enable. * config/i386/cygwin.h (LIBGCJ_SONAME): Define. * config/i386/mingw32.h (LIBGCJ_SONAME): Likewise. libjava/ChangeLog * configure.host (enable_libgcj_sublibs_default): New variable, set for Cygwin and MinGW. * configure.ac (--enable-libgcj-sublibs): New command-line switch. (BUILD_SUBLIBS): New AM_CONDITIONAL relating to it. (libgcj_spec_lgcj_override): New variable, define if building sublibs. (libgcj_spec_lgcj_bc_override): Likewise for when USE_LIBGCJ_BC. (LIBGCJ_SPEC_LGCJ): New variable to abstract "-lgcj" from specs. (LIBGCJ_SPEC_LGCJ_BC): Likewise for when USE_LIBGCJ_BC. (LIBGCJ_SPEC): Use them. * configure: Regenerate. * Makefile.am (LOWER_PACKAGE_FILES_LO): New variable. (ALL_PACKAGE_SOURCE_FILES_LO): Likewise. (NONCORE_PACKAGE_SOURCE_FILES_LO): Likewise. (CORE_PACKAGE_SOURCE_FILES_LO): Likewise. (toolexeclib_LTLIBRARIES): Add libgcj-noncore.la if building sublibs. (libgcj_noncore_la_LIBADD_SUBOBJECTS): New variable. (libgcj_la_LIBADD_SUBOBJECTS): Likewise. (libgcj_la_LDFLAGS_NOUNDEF): Likewise. (libgij_la_LDFLAGS): Add DLL-related options. (libgcj_la_LDFLAGS): Use libgcj_la_LDFLAGS_NOUNDEF and libgcj_la_LIBADD_SUBOBJECTS. (libgcj_la_DEPENDENCIES): Adjust to match. (libgcj_noncore_la_SOURCES, libgcj_noncore_la_LDFLAGS, libgcj_noncore_la_LIBADD, libgcj_noncore_la_DEPENDENCIES, libgcj_noncore_la_LINK): New automake variables for sublibrary. (libgcj_tools_la_LDFLAGS): Add DLL-related flags. (libgcj_tools_la_LIBADD): New variable. (libjvm_la_LDFLAGS): Add DLL-related flags. (lib_gnu_awt_xlib_la_LDFLAGS): Likewise. (libgcj_bc_la_LDFLAGS): Likewise. (libgij_la_DEPENDENCIES): Add dependency on libgcj-noncore.la when building sublibs. (libgcj_tools_la_DEPENDENCIES, libjvm_la_DEPENDENCIES, lib_gnu_awt_xlib_la_DEPENDENCIES, jv_convert_DEPENDENCIES, gcj_dbtool_DEPENDENCIES, gc_analyze_DEPENDENCIES, ecjx_DEPENDENCIES): Likewise. * Makefile.in: Regenerate. * sysdep/i386/backtrace.h (MAIN_FUNC): New #define for main function, set appropriately for Cygwin on that platform or to "main" elsewhere. (fallback_backtrace): Use it to limit stack unwind. libjava/libltdl/ChangeLog: * ltdl.h (LT_SCOPE): Change conditional to avoid breaking auto-export during libgcj DLL linking. * Makefile.am (libltdl_la_LDFLAGS): Remove -bindir switch. * Makefile.in: Regenerate. From-SVN: r152041
Dave Korn committed -
gcc/ChangeLog: PR debug/41295 * reload1.c (reload): Reset debug insns with pseudos without equivalences. gcc/testsuite/ChangeLog: PR debug/41295 * gcc.dg/pr41295.c: New. From-SVN: r152040
Alexandre Oliva committed -
* gcc.target/mips/code-readable-1.c: Change \. to \\. when matching assembly. * gcc.target/mips/code-readable-2.c: Likewise. * gcc.target/mips/code-readable-3.c: Likewise. From-SVN: r152039
Adam Nemet committed -
/: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate. From-SVN: r152037
Ralf Wildenhues committed -
2009-09-22 Neil Vachharajani <nvachhar@google.com> * testsuite/gcc.dg/pr40209.c: Add test case. From-SVN: r152032
Neil Vachharajani committed -
* MAINTAINERS (OS Port Maintainers): Add myself as Solaris maintainer. From-SVN: r152031
Rainer Orth committed -
* config/i386/i386.c (ix86_scalar_mode_supported_p): Don't return unconditional true for decimal float modes. * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Ditto. * config/s390/s390.c (s390_scalar_mode_supported_p): Ditto. * lib/target-supports.exp (check_effective_target_dfp_nocache): Check support via mode instead of C type. (check_effective_target_dfprt_nocache): Ditto. (check_effective_target_hard_dfp): Ditto. From-SVN: r152030
Janis Johnson committed -
2009-09-22 Ozkan Sezer <sezeroz@gmail.com> * choose-temp.c: Include unistd.h for mingw targets. From-SVN: r152029
Ozkan Sezer committed -
2009-09-22 Loren J. Rittle <ljrittle@acm.org> * doc/install.texi (*-*-freebsd*): Update target information. From-SVN: r152028
Loren J. Rittle committed
-