- Feb 04, 2011
-
-
Ralf Corsepius authored
2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org.> * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*. * configure: Regenerate. From-SVN: r169823
-
Ralf Wildenhues authored
libjava/: PR java/21206 * configure.ac (LDLIBICONV): New substituted variable, with instances of '-Wl,' removed from LIBICONV. * configure: Regenerate. * libgcj.spec.in: Use @LDLIBICONV@ not @LIBICONV@. * Makefile.in: Regenerate. * gcj/Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r169822
-
Ian Lance Taylor authored
From-SVN: r169820
-
GCC Administrator authored
From-SVN: r169819
-
- Feb 03, 2011
-
-
Jonathan Wakely authored
2011-02-03 Jonathan Wakely <jwakely.gcc@gmail.com> PR c++/47589 * g++.dg/pr47589.C: New test. From-SVN: r169815
-
Anatoly Sokolov authored
* config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS): Remove. * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, secondary_reload_info, xtensa_secondary_reload): Remove. * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. (xtensa_preferred_reload_class): Make static. Change return and 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. Use CONST_DOUBLE_P predicate. (xtensa_preferred_output_reload_class): New function. (xtensa_secondary_reload): Make static. From-SVN: r169810
-
Joseph Myers authored
* config/microblaze/microblaze.opt (Zxl-mode-bootstrap, Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. From-SVN: r169809
-
Dodji Seketeli authored
Fix PR c++/47398 gcc/cp/ PR c++/47398 * tree.c (cp_tree_equal)<TEMPLATE_PARM_INDEX>: Take the number of template parameters in account. gcc/testsuite/ PR c++/47398 * g++.dg/template/typedef37.C: New test. * g++.dg/template/param1.C: Adjust expected error message. From-SVN: r169807
-
Jakub Jelinek authored
PR middle-end/31490 * output.h (SECTION_RELRO): Define. (SECTION_MACH_DEP): Adjust. (get_variable_section): New prototype. * varpool.c (varpool_finalize_named_section_flags): New function. (varpool_assemble_pending_decls): Call it. * cgraph.h (varpool_finalize_named_section_flags): New prototype. * cgraphunit.c (cgraph_output_in_order): Call varpool_finalize_named_section_flags. * varasm.c (get_section): Allow section flags conflicts between relro and read-only sections if the section hasn't been declared yet. Set SECTION_OVERRIDE after diagnosing section type conflict. (get_variable_section): No longer static. (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for readonly sections that need relocations. (decl_readonly_section_1): New function. (decl_readonly_section): Use it. Revert: 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> Steve Ellcey <sje@cup.hp.com> PR middle-end/31490 * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask if section attribute used. * gcc.dg/pr31490-2.c: New test. * gcc.dg/pr31490-3.c: New test. * gcc.dg/pr31490-4.c: New test. From-SVN: r169804
-
Jakub Jelinek authored
* config/darwin.h (SECTION_NO_ANCHOR): Remove. * config/darwin.c (SECTION_NO_ANCHOR): Define. (darwin_init_sections): Remove assertion. From-SVN: r169802
-
Nathan Froyd authored
gcc/c-family/ PR c++/46890 * c-common.h (keyword_is_decl_specifier): Declare. * c-common.c (keyword_is_decl_specifier): Define. (keyword_is_function_specifier): New function. gcc/cp/ PR c++/46890 * parser.c (cp_parser_class_specifier): Fix setting of want_semicolon. gcc/testsuite/ PR c++/46890 * g++.dg/parser/semicolon3.C: Adjust. * g++.dg/parser/semicolon4.C: New testcase. * g++.dg/pr46890.C: New testcase. Co-Authored-By:
Jakub Jelinek <jakub@redhat.com> From-SVN: r169797
-
Paolo Carlini authored
2011-02-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/29571 * g++.dg/init/pr29571.C: New. From-SVN: r169796
-
H.J. Lu authored
2011-02-03 H.J. Lu <hongjiu.lu@intel.com> * gfortran.dg/graphite/vect-pr40979.f90: Require vect_double instead of vect_int. From-SVN: r169790
-
Eric Botcazou authored
* gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of GNAT_FORMAL. * gcc-interface/utils2.c (fill_vms_descriptor): Move from here to... * gcc-interface/utils.c (fill_vms_descriptor): ...here. Take GNU_TYPE instead of GNAT_FORMAL. Protect the expression against multiple uses. Do not generate the check directly, instead instantiate the template check present in the descriptor. (make_descriptor_field): Move around. (build_vms_descriptor32): Build a template check in the POINTER field. (build_vms_descriptor): Remove useless suffixes. * gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call. From-SVN: r169788
-
Nick Clifton authored
* config/rx/predicates.md (rx_zs_comparison_operator): Remove lt and ge. * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes instead of "n" and "pz". (flags_from_code): LT and GE tests need CC_FLAG_O as well as CC_FLAG_S. From-SVN: r169787
-
Jakub Jelinek authored
re PR target/47312 (ICE: in expand_ternary_op, at optabs.c:656 with -flto -mno-sse -mxop and __builtin_fmaf()) PR target/47312 * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand fma, expand FMA_EXPR as fma{,f,l} call. * gcc.target/i386/pr47312.c: New test. From-SVN: r169786
-
Jakub Jelinek authored
PR lto/47274 * lto-streamer-out.c (write_symbol): When writing kind and visibility, copy them into a unsigned char variable and pass address of it to lto_output_data_stream. From-SVN: r169785
-
Jakub Jelinek authored
PR target/47564 * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx around backend_init_target and lang_dependent_init_target calls. * cgraphunit.c (cgraph_debug_gimple_stmt): New function. (verify_cgraph_node): Don't call set_cfun here. Use cgraph_debug_gimple_stmt instead of debug_gimple_stmt. Set error_found for incorrectly represented calls to thunks. * gcc.target/i386/pr47564.c: New test. From-SVN: r169784
-
Ralf Wildenhues authored
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate. From-SVN: r169783
-
Alexandre Oliva authored
PR debug/43092 PR rtl-optimization/43494 * rtl.h (for_each_inc_dec_fn): New type. (for_each_inc_dec): Declare. * rtlanal.c (struct for_each_inc_dec_ops): New type. (for_each_inc_dec_find_inc_dec): New fn. (for_each_inc_dec_find_mem): New fn. (for_each_inc_dec): New fn. * dse.c (struct insn_size): Remove. (replace_inc_dec, replace_inc_dec_mem): Remove. (emit_inc_dec_insn_before): New fn. (check_for_inc_dec): Use it, along with for_each_inc_dec. (canon_address): Pass mem modes to cselib_lookup. * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. (cselib_lookup_from_insn): Likewise. (cselib_subst_to_values): Likewise. * cselib.c (find_slot_memmode): New var. (cselib_find_slot): New fn. Use it instead of htab_find_slot_with_hash everywhere. (entry_and_rtx_equal_p): Use find_slot_memmode. (autoinc_split): New fn. (rtx_equal_for_cselib_p): Rename and implement in terms of... (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. Deal with autoinc. Special-case recursion into MEMs. (cselib_hash_rtx): Likewise. (cselib_lookup_mem): Infer pmode from address mode. Distinguish address and MEM modes. (cselib_subst_to_values): Add memmode, pass it on. Deal with autoinc. (cselib_lookup): Add memmode argument, pass it on. (cselib_lookup_from_insn): Add memmode. (cselib_invalidate_rtx): Discard obsolete push_operand handling. (struct cselib_record_autoinc_data): New. (cselib_record_autoinc_cb): New fn. (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM mode to cselib_lookup. Reset autoinced REGs here instead of... (cselib_process_insn): ... here. * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode to cselib_lookup. (add_uses): Likewise, also to cselib_subst_to_values. (add_stores): Likewise. * sched-deps.c (add_insn_mem_dependence): Pass mode to cselib_subst_to_values. (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. * gcse.c (do_local_cprop): Adjusted. * postreload.c (reload_cse_simplify_set): Adjusted. (reload_cse_simplify_operands): Adjusted. * sel-sched-dump (debug_mem_addr_value): Pass mode. From-SVN: r169782
-
Alexandre Oliva authored
re PR tree-optimization/45122 (-funsafe-loop-optimizations causes FAIL: gcc.c-torture/execute/pr27285.c execution) gcc/ChangeLog: PR tree-optimization/45122 * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make unsafe assumptions when there's more than one loop exit. gcc/testsuite/ChangeLog: PR tree-optimization/45122 * gcc.dg/tree-ssa/pr45122.c: New. From-SVN: r169781
-
Michael Meissner authored
From-SVN: r169780
-
Joseph Myers authored
* config/pa/pa-hpux10.opt: New. * config/hpux11.opt (pthread): New Driver option. * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. From-SVN: r169779
-
Joseph Myers authored
* config/ia64/vms.opt: New. * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. From-SVN: r169778
-
Ian Lance Taylor authored
From-SVN: r169777
-
Michael Meissner authored
From-SVN: r169776
-
GCC Administrator authored
From-SVN: r169775
-
- Feb 02, 2011
-
-
Joseph Myers authored
From-SVN: r169771
-
Gerald Pfeifer authored
* config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): Move to the unsupported targets list. From-SVN: r169770
-
Peter Bergner authored
re PR rtl-optimization/47525 (DCE fails to eliminate a dead call to a pure function when compiled with -maltivec) PR rtl-optimization/47525 * df-scan.c: Update copyright years. (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE and non-clobber DF_REF_REG_DEF for calls to const and pure functions. From-SVN: r169768
-
Janus Weil authored
2011-02-02 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/47082 * trans-expr.c (gfc_trans_class_init_assign): Add call to gfc_get_derived_type. * module.c (read_cleanup): Do not use unique_symtrees for vtabs or vtypes. 2011-02-02 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/47082 * gfortran.dg/class_37.f03 : New test. Co-Authored-By:
Paul Thomas <pault@gcc.gnu.org> From-SVN: r169767
-
Ian Lance Taylor authored
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00008.html From-SVN: r169766
-
Rainer Orth authored
* config/i386/sysv4.h (TARGET_VERSION): Remove. (SUBTARGET_RETURN_IN_MEMORY): Remove. (ASM_OUTPUT_ASCII): Remove. * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. From-SVN: r169534
-
Jeff Law authored
PR middle-end/47543 * reload.c (find_reloads_address): Handle reg+d address where both components are invalid by reloading the entire address. From-SVN: r169533
-
Sebastian Pop authored
2011-02-02 Sebastian Pop <sebastian.pop@amd.com> Richard Guenther <rguenther@suse.de> PR tree-optimization/40979 PR bootstrap/47044 * passes.c (init_optimization_passes): After LIM call copy_prop and DCE to clean up. * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. * gcc.dg/graphite/graphite.exp (DEFAULT_VECTCFLAGS): Add -ffast-math. * gcc.dg/graphite/pr35356-2.c: Adjust pattern. * gfortran.dg/graphite/graphite.exp: Run vect_files conditionally to check_vect_support_and_set_flags. * gfortran.dg/graphite/vect-pr40979.f90: New. Co-Authored-By:
Richard Guenther <rguenther@suse.de> From-SVN: r169531
-
Sebastian Pop authored
2011-02-02 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/47576 PR tree-optimization/47555 * doc/invoke.texi (scev-max-expr-complexity): Documented. * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. * tree-scalar-evolution.c (follow_ssa_edge): Use PARAM_SCEV_MAX_EXPR_COMPLEXITY. From-SVN: r169530
-
Ian Lance Taylor authored
From-SVN: r169529
-
Rainer Orth authored
* configure.ac: Don't use libdl on mips-sgi-irix6*. * configure: Regenerate. From-SVN: r169522
-
Rainer Orth authored
* configure.ac: Don't use libdl on mips-sgi-irix6*. * configure: Regenerate. From-SVN: r169521
-
Janus Weil authored
2011-02-02 Janus Weil <janus@gcc.gnu.org> PR fortran/47572 * resolve.c (resolve_fl_variable): Handle polymorphic allocatables. 2011-02-02 Janus Weil <janus@gcc.gnu.org> PR fortran/47572 * gfortran.dg/class_36.f03: New. From-SVN: r169520
-