Jakub Jelinek
76f9db36d5
common.opt (fdebug-types-section): Move earlier.
...
* common.opt (fdebug-types-section): Move earlier.
* doc/invoke.texi: Fix up -fno-debug-types-section documentation.
From-SVN: r171773
2011-03-31 10:50:03 +02:00
Andreas Tobler
b782646572
rs6000.c (rs6000_handle_option): Remove unused isel var.
...
2011-03-31 Andreas Tobler <andreast@fgznet.ch>
* config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel
var.
From-SVN: r171770
2011-03-31 08:50:23 +02:00
Nathan Froyd
1290e54cfe
tree.h (CASE_CHAIN): Define.
...
* tree.h (CASE_CHAIN): Define.
* tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it.
(gimple_redirect_edge_and_branch): Likewise.
From-SVN: r171769
2011-03-31 02:26:18 +00:00
Vladimir Makarov
bddc98e135
re PR middle-end/48367 (200.sixtrack/301.apsi in SPEC CPU 2000 are miscompiled)
...
2011-03-30 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/48367
* ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost
calculation.
From-SVN: r171767
2011-03-31 01:04:43 +00:00
GCC Administrator
23b03b777b
Daily bump.
...
From-SVN: r171766
2011-03-31 00:18:42 +00:00
Jeff Law
b375021361
Add PR marker
...
From-SVN: r171761
2011-03-30 18:05:28 -06:00
Jeff Law
c865e43709
reload1.c (reload): Fix botch in last change.
...
* reload1.c (reload): Fix botch in last change.
* reload.h (struct reload): Fix typo introduced in last change.
From-SVN: r171759
2011-03-30 18:01:53 -06:00
Ian Lance Taylor
0b3189e79f
libgo: Use waitpid on systems which do not have wait4.
...
From-SVN: r171758
2011-03-30 23:05:04 +00:00
Ian Lance Taylor
8955c80a1c
libgo: Support systems which do not have strerror_r.
...
From-SVN: r171757
2011-03-30 22:34:55 +00:00
Ian Lance Taylor
25a182be4f
libgo: Use the right files on Solaris variants.
...
From-SVN: r171753
2011-03-30 21:45:57 +00:00
Ian Lance Taylor
372776deba
Copy env.go from master Go testsuite.
...
From-SVN: r171752
2011-03-30 21:27:37 +00:00
Rainer Orth
786a183b15
go-test.exp (go-set-goarch): Use sparc64 for 64-bit SPARC.
...
* go.test/go-test.exp (go-set-goarch): Use sparc64 for 64-bit
SPARC.
From-SVN: r171751
2011-03-30 21:14:04 +00:00
Joseph Myers
2cdf95749d
arm.opt (mhard-float, [...]): Mark Undocumented.
...
* config/arm/arm.opt (mhard-float, msoft-float): Mark
Undocumented. Remove help text.
* doc/invoke.texi (ARM Options): Don't document -msoft-float and
-mhard-float.
From-SVN: r171750
2011-03-30 22:12:33 +01:00
Jason Merrill
ef5daa257f
re PR c++/48212 ([C++0x] ICE: in non_const_var_error, at cp/semantics.c:6700 on invalid code)
...
PR c++/48212
* semantics.c (non_const_var_error): Just return if DECL_INITIAL
is error_mark_node.
From-SVN: r171748
2011-03-30 16:29:13 -04:00
Jason Merrill
e0f89433aa
re PR c++/48369 ([C++0x] ICE in potential_constant_expression_1, at cp/semantics.c:7746)
...
PR c++/48369
* semantics.c (potential_constant_expression_1): Handle
UNORDERED_EXPR and ORDERED_EXPR.
From-SVN: r171747
2011-03-30 15:51:32 -04:00
Joseph Myers
666a21a299
options.texi (NegativeAlias): Document.
...
* doc/options.texi (NegativeAlias): Document.
(Alias): Mention NegativeAlias.
* opt-functions.awk: Handle NegativeAlias.
* optc-gen.awk: Disallow NegativeAlias with multiple Alias
arguments.
* opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS.
* opts.h (CL_NEGATIVE_ALIAS): Define.
* config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove.
(rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and
OPT_mspe_.
* config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with
Alias entries.
* config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use
mno-spe and mno-isel instead of mspe=no and -misel=no.
From-SVN: r171745
2011-03-30 20:42:51 +01:00
Mark Wielaard
0fa4e35153
Introduce -fno-debug-types-section flag.
...
* common.opt (fdebug-types-section): New flag.
* doc/invoke.texi: Document new -fno-debug-types-section flag.
* dwarf2out.c (use_debug_types): New define.
(struct die_struct): Mark die_id with GTY desc use_debug_types.
(print_die): Guard output of type unit signatures using
use_debug_types.
(build_abbrev_table): Replace assert of dwarf_version >= 4
with assert on use_debug_types.
(size_of_die): Likewise.
(unmark_dies): Likewise.
(value_format): Decide AT_ref_external form on use_debug_types.
(output_die): Replace dwarf_version version check guard with
use_debug_types where appropriate.
(modified_type_die): Likewise.
(gen_reference_type_die): Likewise.
(dwarf2out_start_source_file): Likewise.
(dwarf2out_end_source_file): Likewise.
(prune_unused_types_walk_attribs): Likewise.
(dwarf2out_finish): Likewise.
From-SVN: r171742
2011-03-30 18:21:25 +00:00
Jason Merrill
a63940ba49
re PR c++/48281 ([C++0x] internal compiler error: in record_reference, at cgraphbuild.c:60)
...
PR c++/48281
* semantics.c (finish_compound_literal): Do put static/constant
arrays in static variables.
From-SVN: r171741
2011-03-30 14:07:09 -04:00
Jason Merrill
88d37ae679
call.c (convert_like_real): Build up the initializer_list object directly.
...
* call.c (convert_like_real) [ck_list]: Build up the
initializer_list object directly.
* decl.c (build_init_list_var_init): Adjust.
From-SVN: r171740
2011-03-30 14:07:01 -04:00
Jason Merrill
c06ce6e40e
call.c (convert_like_real): Correct TREE_CONSTANT on CONSTRUCTOR.
...
* call.c (convert_like_real): Correct TREE_CONSTANT on CONSTRUCTOR.
* decl.c (reshape_init_array_1): Likewise.
From-SVN: r171739
2011-03-30 14:06:52 -04:00
Ian Lance Taylor
c019d84956
libgo/Makefile.am: Add missing dependencies for net/net.lo.
...
From-SVN: r171737
2011-03-30 17:37:58 +00:00
Michael Matz
83799a479c
re PR fortran/47516 (testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap))
...
PR fortran/47516
* trans-expr.c (realloc_lhs_loop_for_fcn_call): Take loop as parameter,
don't use local variable.
(gfc_trans_arrayfunc_assign): Adjust caller.
From-SVN: r171736
2011-03-30 17:31:54 +00:00
Vladimir Makarov
4648deb418
ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'.
...
2011-03-30 Vladimir Makarov <vmakarov@redhat.com>
* ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'.
From-SVN: r171735
2011-03-30 16:09:33 +00:00
Richard Biener
8f98453427
tree-dfa.c (renumber_gimple_stmt_uids): Also number PHIs.
...
2011-03-30 Richard Guenther <rguenther@suse.de>
* tree-dfa.c (renumber_gimple_stmt_uids): Also number PHIs.
* lto-streamer-out.c (output_function): Do not use
renumber_gimple_stmt_uids.
* lto-streamer-in.c (input_function): Likewise.
From-SVN: r171734
2011-03-30 15:43:59 +00:00
Richard Sandiford
4f43183531
re PR bootstrap/48332 (optabs changes (PR48263 fix) broke m68k-linux bootstrap)
...
gcc/
PR rtl-optimization/48332
* optabs.c (expand_binop_directly): Set xmodeN to the target-mandated
mode of input operand N and modeN to its actual mode.
From-SVN: r171733
2011-03-30 15:36:45 +00:00
Ian Lance Taylor
f72f416913
Update to current Go library.
...
From-SVN: r171732
2011-03-30 15:33:16 +00:00
Jeff Law
f2034d064c
reload.h (reg_equiv_constant): Move into new structure reg_equivs, define accessor macro.
...
* reload.h (reg_equiv_constant): Move into new structure reg_equivs,
define accessor macro.
(reg_equiv_invariant, reg_equiv_memory_loc): Likewise.
(reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise.
(reg_equiv_init): Likewise.
(reg_equivs_size): New variable.
(reg_equiv_init_size): Remove.
(allocate_initial_values): Move prototype to here from....
* integrate.h (allocate_initial_values): Remove prototype.
* integrate.c: Include reload.h.
(allocate_initial_values): Corresponding changes.
* ira.c (find_reg_equiv_invariant_cost): Corresponding changes.
(fix_reg_equiv_init, no_equiv): Corresponding changes.
(update_equiv_regs): Corresponding changes.
(ira): Corresponding changes.
* reload.c (push_reg_equiv_alt_mem): Corresponding changes.
(push_secondary_reload): Corresponding changes.
(push_reload, find_reloads, find_reloads_toplev): Corresponding changes.
(make_memloc, find_reloads_address): Corresponding changes.
(subst_reg_equivs, subst_indexed_address): Corresponding changes.
(find_reloads_address_1): Corresponding changes.
(find_reloads_subreg_address, subst_reloads): Corresponding changes.
(refers_to_regno_for_reload_p): Corresponding changes.
(reg_overlap_mentioned_for_reload_p): Corresponding changes.
(refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes.
* reload1.c: Include ggc.h.
(grow_reg_equivs): New function.
(replace_pseudos_in, reload): Corresponding changes.
(calculate_needs_all_insns, alter_regs): Corresponding changes.
(eliminate_regs_1, elimination_effects): Corresponding changes.
(emit_input_reload_insns, emit_output_reload_insns): Likewise.
(delete_output_reload): Likewise.
* caller-save.c (mark_referenced_regs): Corresponding changes.
* alpha/alpha.c (resolve_reload_operand): Corresponding changes.
* frv/predicates.md (frv_load_operand): Corresponding changes.
* microblaze/microblaze.c (double_memory_operand): Corresponding
changes.
* avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes.
* xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes.
* mn10300/mn10300.c (mn10300_secondary_reload): Corresponding
changes.
* m68k/m68k.c (emit_move_sequence): Corresponding changes.
* arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding
changes.
* pa/pa.c (emit_move_sequence): Corresponding changes.
* vax/vax.c (nonindexed_address_p): Corresponding changes.
From-SVN: r171731
2011-03-30 09:18:30 -06:00
Richard Sandiford
159b81b00a
re PR target/47551 (ICE when reloading neon registers from out-of-range offsets)
...
gcc/
PR target/47551
* config/arm/arm.c (coproc_secondary_reload_class): Handle
structure modes. Don't check neon_vector_mem_operand for
vector or structure modes.
gcc/testsuite/
PR target/47551
* gcc.target/arm/neon-modes-2.c: New test.
From-SVN: r171730
2011-03-30 15:00:44 +00:00
Richard Sandiford
a621719156
re PR target/43590 (ICE in spill_failure, at reload1.c:2158)
...
gcc/
2011-03-30 Richard Sandiford <richard.sandiford@linaro.org>
Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/43590
* config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove
operand 1 and reshuffle the operands to match.
(neon_vld3<mode>, neon_vld4<mode>): Update accordingly.
Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
From-SVN: r171729
2011-03-30 14:52:38 +00:00
Mike Stump
6955d77104
Fixup PR references.
...
From-SVN: r171728
2011-03-30 14:48:20 +00:00
Christian Schüler
bd837408ee
PR/driver 48208
...
2011-03-30 Christian Schüler <cschueler@gmx.de>
PR/driver 48208
* config/c.opt (F): Added 'Driver' to -F option.
PR/driver 48260
* config/darwin-driver.c (darwin_driver_init): Add '-arch' to
handler function.
* config/darwin.opt: Added '-arch' option.
From-SVN: r171727
2011-03-30 14:45:49 +00:00
Nick Clifton
e9c0470ac5
rx.md: Add peepholes and patterns to combine extending loads and simple arithmetic...
...
* config/rx/rx.md: Add peepholes and patterns to combine
extending loads and simple arithmetic instructions.
* config/rx/rx.h (ADJUST_INSN_LENGTH): Define.
* config/rx/rx-protos.h (rx_adjust_insn_length): Prototype.
* config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI
modes to use pre-decrement and post-increment addressing.
(rx_is_restricted_memory_address): Add range checking of REG+INT
addresses.
(rx_print_operand): Add support for %Q.
Fix handling of %Q.
(rx_memory_move_cost): Adjust cost of stores.
(rx_adjust_insn_length): New function.
From-SVN: r171724
2011-03-30 14:09:09 +00:00
Jakub Jelinek
8a87e7abcb
re PR c/48305 (ice at -O0: verify_gimple failed)
...
PR c/48305
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure
arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to
matching arg00/arg01 types.
* gcc.c-torture/compile/pr48305.c: New test.
From-SVN: r171723
2011-03-30 14:36:18 +02:00
Eric Botcazou
12486e033e
cfglayout.c (insn_locators_alloc): Initialize curr_location and last_location to UNKNOWN_LOCATION.
...
* cfglayout.c (insn_locators_alloc): Initialize curr_location and
last_location to UNKNOWN_LOCATION.
From-SVN: r171722
2011-03-30 12:32:12 +00:00
H.J. Lu
0b99eef6f6
Fix a typo in FLOAT_SSE_REGS.
...
2011-03-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/48349
* config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in
FLOAT_SSE_REGS.
From-SVN: r171718
2011-03-30 03:42:20 -07:00
Joseph Myers
023592aa3b
re PR bootstrap/48337 (options.c doesn't compile on SPARC)
...
2011-03-30 Joseph Myers <joseph@codesourcery.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/48337
* config/sparc/sparc.opt (sparc_cpu_and_features): Add
Init(PROCESSOR_V7).
(sparc_cpu): Likewise.
* config/sparc/sparc.c (sparc_option_override): Replace 0 by
PROCESSOR_V7.
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r171717
2011-03-30 10:01:13 +00:00
Jason Merrill
5453bbef09
re PR c++/48265 ([C++0x] ICE: SIGSEGV (recursion in value_dependent_expression_p) when variable is used uninitialised)
...
PR c++/48265
* pt.c (value_dependent_expression_p) [VAR_DECL]: Make sure
the variable is constant before looking at its initializer.
From-SVN: r171714
2011-03-29 22:16:22 -04:00
Vladimir Makarov
ad3b266ba5
re PR target/48336 (Error in generation of ARM ldrd instruction)
...
2011-03-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/48336
PR middle-end/48342
PR rtl-optimization/48345
* ira-color.c (setup_conflict_profitable_regs): Exclude prohibited
hard regs for given mode from profitable regs when doing secondary
allocation.
From-SVN: r171713
2011-03-30 02:11:04 +00:00
GCC Administrator
99ac3cea6e
Daily bump.
...
From-SVN: r171712
2011-03-30 00:19:05 +00:00
Michael Meissner
34709a5a4e
Merge up to 171704
...
From-SVN: r171707
2011-03-29 23:35:40 +00:00
Jeff Law
633c912638
re PR bootstrap/48327 (Bootstrap comparison failure with ada since r171622)
...
PR bootstrap/48327
* tree-ssa-threadupdate.c (struct redirection_data): Remove
do_not_duplicate field.
(lookup_redirection_data): Corresponding changes.
(create_duplicates): Always create a template block.
(redirect_edges): Remove code which reused the original block
when it was going to become unreachable code.
(thread_block): Don't set do_not_duplicate field.
From-SVN: r171703
2011-03-29 16:49:00 -06:00
Joseph Myers
eb50f63aff
lto-opts.c (register_user_option_p, [...]): Make type argument unsigned.
...
* lto-opts.c (register_user_option_p, lto_register_user_option):
Make type argument unsigned.
* lto-streamer.h (lto_register_user_option): Make type argument
unsigned.
* opth-gen.awk: Make CL_* macros unsigned.
* opts-common.c (find_opt): Make lang_mask argument unsigned.
* opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER,
CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS,
CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED,
CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE,
CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned.
(find_opt): Make lang_mask argument unsigned.
From-SVN: r171701
2011-03-29 22:59:34 +01:00
Vladimir Makarov
76763a6d3f
re PR rtl-optimization/48331 (gcc.c-torture/execute/built-in-setjmp.c FAILs with -O -fira-algorithm=priority -fPIC)
...
2011-03-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/48331
PR rtl-optimization/48334
* ira-color.c (color_allocnos): Call setup_profitable_hard_regs
for any used algorithm.
From-SVN: r171699
2011-03-29 20:51:14 +00:00
Steve Ellcey
ea61eea7fe
pr47917.c: Use -std=gnu99 on HP-UX.
...
2011-03-29 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX.
From-SVN: r171698
2011-03-29 20:41:13 +00:00
Jakub Jelinek
e2eefb55b2
Move ChangeLog entry.
...
From-SVN: r171696
2011-03-29 22:29:30 +02:00
Ian Lance Taylor
8915876911
Update to current master Go testsuite.
...
From-SVN: r171695
2011-03-29 20:29:24 +00:00
Ian Lance Taylor
3c844a6a13
go-test.exp: Handle the test lines used in several new tests.
...
* go.test/go-test.exp: Handle the test lines used in several new
tests.
(errchk): Add opts parameter. Change all callers. Handle parens
in regexps.
From-SVN: r171694
2011-03-29 20:28:07 +00:00
Jakub Jelinek
22d17b1c68
re PR preprocessor/48248 (Wrong error message location when compiling preprocessed code)
...
PR preprocessor/48248
* c-ppoutput.c (print): Add src_file field.
(init_pp_output): Initialize it.
(maybe_print_line): Don't optimize by adding up to 8 newlines
if map->to_file and print.src_file are different file.
(print_line): Update print.src_file.
From-SVN: r171693
2011-03-29 22:25:27 +02:00
Peter Bergner
5d9cd5d0a7
stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__ && __ALTIVEC__.
...
2011-03-29 Peter Bergner <bergner@vnet.ibm.com>
Dominique d'Humieres <dominiq@lps.ens.fr>
* gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__
and __APPLE__ && __PPC__ && __ALTIVEC__.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r171692
2011-03-29 20:16:49 +00:00
Ian Lance Taylor
df740f400a
Fix select setting a map expression.
...
Also fix select parsing when declaring a variable with no
statements.
From-SVN: r171690
2011-03-29 18:54:27 +00:00