Skip to content
Snippets Groups Projects
  1. Feb 04, 2011
  2. Feb 03, 2011
    • Jonathan Wakely's avatar
      re PR c++/47589 (internal compiler error: Segmentation fault) · a7a87177
      Jonathan Wakely authored
      2011-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	PR c++/47589
      	* g++.dg/pr47589.C: New test.
      
      From-SVN: r169815
      a7a87177
    • Anatoly Sokolov's avatar
      xtensa.h (PREFERRED_RELOAD_CLASS, [...]): Remove. · a6e508f9
      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
      a6e508f9
    • Joseph Myers's avatar
      microblaze.opt (Zxl-mode-bootstrap, [...]): New Driver options. · 82dc0de3
      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
      82dc0de3
    • Dodji Seketeli's avatar
      re PR c++/47398 (tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500) · 25aea4e9
      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
      25aea4e9
    • Jakub Jelinek's avatar
      re PR middle-end/31490 (Compile error section type conflict) · 7fece979
      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
      7fece979
    • Jakub Jelinek's avatar
      darwin.h (SECTION_NO_ANCHOR): Remove. · d18d5478
      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
      d18d5478
    • Nathan Froyd's avatar
      re PR c++/46890 (Failed to compile scummvm's player_v4a.cpp) · ba9e6dd5
      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: default avatarJakub Jelinek <jakub@redhat.com>
      
      From-SVN: r169797
      ba9e6dd5
    • Paolo Carlini's avatar
      re PR c++/29571 (ICE with invalid static const member) · 4ba67a06
      Paolo Carlini authored
      2011-02-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/29571
      	* g++.dg/init/pr29571.C: New.
      
      From-SVN: r169796
      4ba67a06
    • H.J. Lu's avatar
      Require vect_double on gfortran.dg/graphite/vect-pr40979.f90. · f43010c7
      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
      f43010c7
    • Eric Botcazou's avatar
      gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of GNAT_FORMAL. · 31a5a547
      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
      31a5a547
    • Nick Clifton's avatar
      predicates.md (rx_zs_comparison_operator): Remove lt and ge. · 6479ed4b
      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
      6479ed4b
    • Jakub Jelinek's avatar
      re PR target/47312 (ICE: in expand_ternary_op, at optabs.c:656 with -flto... · 65450d64
      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
      65450d64
    • Jakub Jelinek's avatar
      re PR lto/47274 (ICE in lto_varpool_replace_node, at lto-symtab.c:306) · 7d58701c
      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
      7d58701c
    • Jakub Jelinek's avatar
      re PR target/47564 (internal compiler error in memory_address_addr_space, at explow.c:504) · 89843f5d
      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
      89843f5d
    • Ralf Wildenhues's avatar
      libiberty: documentation markup and order fixes. · 996c0cb0
      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
      996c0cb0
    • Alexandre Oliva's avatar
      re PR debug/43092 (Wrong debuginfo with VTA and -fomit-frame-pointer/-mno-accumulate-outgoing-args) · 4deef538
      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
      4deef538
    • Alexandre Oliva's avatar
      re PR tree-optimization/45122 (-funsafe-loop-optimizations causes FAIL:... · 1551d44a
      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
      1551d44a
    • Michael Meissner's avatar
      Fix PR target/47272 · c9485473
      Michael Meissner authored
      From-SVN: r169780
      c9485473
    • Joseph Myers's avatar
      pa-hpux10.opt: New. · b24d1acf
      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
      b24d1acf
    • Joseph Myers's avatar
      vms.opt: New. · aa18dd0f
      Joseph Myers authored
      	* config/ia64/vms.opt: New.
      	* config.gcc (ia64-hp-*vms*): Use ia64/vms.opt.
      
      From-SVN: r169778
      aa18dd0f
    • Ian Lance Taylor's avatar
      Check whether we are using setjmp/longjmp exceptions. · 0c521d18
      Ian Lance Taylor authored
      From-SVN: r169777
      0c521d18
    • Michael Meissner's avatar
      Fix PR target/47580 · 28fc3eee
      Michael Meissner authored
      From-SVN: r169776
      28fc3eee
    • GCC Administrator's avatar
      Daily bump. · 1fb4a788
      GCC Administrator authored
      From-SVN: r169775
      1fb4a788
  3. Feb 02, 2011
Loading