Ian Lance Taylor
de90644af8
libgo: Set name of test when using DejaGNU tests.
...
From-SVN: r171805
2011-03-31 23:03:20 +00:00
Joseph Myers
300d83d9de
opts.h (cl_option): Add comments to fields.
...
* opts.h (cl_option): Add comments to fields. Add bit-fields for
various flags.
(CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK,
CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE,
CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK,
CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove.
(CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions.
* opt-functions.awk (flag_init, switch_bit_fields): New.
(switch_flags): Don't handle flags moved to bit-fields. Don't
generate CL_MISSING_OK or CL_SAVE.
* optc-gen.awk: Update to generate bit-field output as well as
flags field.
* gcc.c (driver_wrong_lang_callback): Use cl_reject_driver
bit-field instead of CL_REJECT_DRIVER flag.
* opts-common.c (generate_canonical_option,
decode_cmdline_option): Use bit-fields instead of CL_* flags.
* opts.c (maybe_default_option): Use cl_reject_negative bit-field
instead of CL_REJECT_NEGATIVE flag.
* toplev.c (print_switch_values): Use cl_report bit-field instead
of CL_REPORT flag.
From-SVN: r171804
2011-03-31 23:37:14 +01:00
Ian Lance Taylor
4bce572db2
re PR go/48242 (gotest needs timeout mechanism)
...
PR go/48242
libgo: Add timeout for tests.
From-SVN: r171803
2011-03-31 22:36:10 +00:00
Ian Lance Taylor
c9103dde96
libgo: Remove unnecessary EINTR checks.
...
We always use SA_RESTART with signals, so
read/write/etc. should never return EINTR.
From-SVN: r171802
2011-03-31 22:19:54 +00:00
Jason Merrill
c689d49e08
re PR c++/48277 (ICE for g++.dg/ext/altivec-cell-1.C on powerpc*-*-*)
...
PR c++/48277
* semantics.c (finish_call_expr): Remove assert.
From-SVN: r171801
2011-03-31 18:03:50 -04:00
Eric Botcazou
d4d73ce26b
tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop a zero minimum index only if it is redundant.
...
* tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop
a zero minimum index only if it is redundant.
From-SVN: r171800
2011-03-31 20:52:41 +00:00
Ian Lance Taylor
35ca26acc6
libgo/syscalls: Use _C_long as the type of the select bits array.
...
From-SVN: r171799
2011-03-31 20:37:31 +00:00
Jason Merrill
c454d74afc
re PR c++/48280 ([C++0x] ICE: tree check: expected var_decl or function_decl, have template_decl in check_bases_and_members, at cp/class.c:4695)
...
PR c++/48280
* method.c (defaultable_fn_check): Templates are not defaultable.
From-SVN: r171797
2011-03-31 16:29:49 -04:00
Jason Merrill
4e36c2131f
parser.c (cp_parser_init_declarator): Avoid redundant cp_finish_decl for member declarations.
...
* parser.c (cp_parser_init_declarator): Avoid redundant
cp_finish_decl for member declarations.
From-SVN: r171796
2011-03-31 16:28:31 -04:00
Vladimir Makarov
b8faca75e7
re PR rtl-optimization/48381 (internal compiler error: in check_allocation, at ira.c:2094)
...
2011-03-31 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/48381
* ira-color.c (assign_hard_reg): Use hard reg set intersection
instead of ira_class_hard_reg_index for calculating conflicting
hard registers.
From-SVN: r171795
2011-03-31 19:54:02 +00:00
Steven Bosscher
7d11cebe9a
cprop.c: Clean up hash table building.
...
* cprop.c: Clean up hash table building.
(reg_avail_info): Remove.
(oprs_available_p): Remove.
(record_last_reg_set_info): Remove.
(record_last_set_info): Remove.
(reg_available_p): New function.
(gcse_constant_p): Do not treat unfolded conditions as constants.
(make_set_regs_unavailable): New function.
(hash_scan_set): Simplify with new reg_available_p.
(compute_hash_table_work): Traverse insns stream only once.
Do not compute reg_avail_info. Traverse insns in reverse order.
Record implicit sets after recording explicit sets from the block.
From-SVN: r171794
2011-03-31 19:48:11 +00:00
Ian Lance Taylor
b5ad7facf3
libgo Makefile: Fix typo in test case name.
...
From-SVN: r171793
2011-03-31 16:49:36 +00:00
Ian Lance Taylor
9ebd2806f6
Taking a slice of an array requires moving the array to the heap.
...
From-SVN: r171792
2011-03-31 16:47:17 +00:00
Ian Lance Taylor
34ccb9c02a
libgo: Generate DejaGNU like .sum and .log files for "make check".
...
From-SVN: r171791
2011-03-31 16:11:56 +00:00
Paolo Carlini
246428c2d4
re PR libstdc++/48382 (ctype_noninline.h should not be installed)
...
2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/48382
* src/ctype.cc: Do not include <bits/ctype_noninline.h>.
* src/Makefile.am: Add ctype_configure_char.cc to host_sources.
* src/Makefile.in: Regenerate.
* include/Makefile.am: Remove ctype_noninline.h from host_headers.
* include/Makefile.in: Regenerate.
* doc/xml/manual/internals.xml: Update.
* config/os/newlib/ctype_noninline.h: Fixup and rename to...
* config/os/newlib/ctype_configure_char.cc: ... this.
* config/os/aix/ctype_noninline.h: Likewise.
* config/os/aix/ctype_configure_char.cc: Likewise.
* config/os/vxworks/ctype_noninline.h: Likewise.
* config/os/vxworks/ctype_configure_char.cc
* config/os/hpux/ctype_noninline.h: Likewise.
* config/os/hpux/ctype_configure_char.cc: Likewise.
* config/os/gnu-linux/ctype_noninline.h: Likewise.
* config/os/gnu-linux/ctype_configure_char.cc: Likewise.
* config/os/mingw32/ctype_noninline.h: Likewise.
* config/os/mingw32/ctype_configure_char.cc: Likewise.
* config/os/tpf/ctype_noninline.h: Likewise.
* config/os/tpf/ctype_configure_char.cc: Likewise.
* config/os/uclibc/ctype_noninline.h: Likewise.
* config/os/uclibc/ctype_configure_char.cc: Likewise.
* config/os/bionic/ctype_noninline.h: Likewise.
* config/os/bionic/ctype_configure_char.cc: Likewise.
* config/os/djgpp/ctype_noninline.h: Likewise.
* config/os/djgpp/ctype_configure_char.cc: Likewise.
* config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
* config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
* config/os/bsd/netbsd/ctype_noninline.h: Likewise.
* config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
* config/os/bsd/darwin/ctype_noninline.h: Likewise.
* config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
* config/os/bsd/freebsd/ctype_noninline.h: Likewise.
* config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
* config/os/irix/irix6.5/ctype_noninline.h: Likewise.
* config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
* config/os/generic/ctype_noninline.h: Likewise.
* config/os/generic/ctype_configure_char.cc: Likewise.
* config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
* config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
From-SVN: r171790
2011-03-31 16:06:12 +00:00
Michael Matz
98faf84fde
builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc.
...
* builtins.c (build_va_arg_indirect_ref): Use
build_simple_mem_ref_loc.
From-SVN: r171789
2011-03-31 15:59:10 +00:00
Jeff Law
10c519833f
reload1.c (elimination_effects): Fix typo in recent change.
...
* reload1.c (elimination_effects): Fix typo in recent change.
From-SVN: r171788
2011-03-31 09:55:19 -06:00
Anatoly Sokolov
f52d97dada
h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro.
...
* config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro.
* config/h8300/h8300-protos.h (h8300_get_index): Remove.
* config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
(h8300_mode_dependent_address_p): New function.
(h8300_get_index): Make static.
From-SVN: r171787
2011-03-31 19:22:32 +04:00
Rainer Orth
9ba60cb3ff
re PR target/16292 (Test power.f90 fails on irix6.5 for complex**real)
...
PR target/16292
* gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
with -O0.
From-SVN: r171784
2011-03-31 15:02:33 +00:00
Tristan Gingold
5499e3463e
dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
...
2011-03-31 Tristan Gingold <gingold@adacore.com>
* dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
From-SVN: r171781
2011-03-31 14:02:39 +00:00
Jeff Law
e16b6fd0f7
tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid typo potentially leading to null pointer dereference.
...
* tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid
typo potentially leading to null pointer dereference.
* caller-save.c (new_saved_hard_reg): Eliminate return value.
(setup_save_areas): Corresponding changes to avoid useless
assignments.
* jump.c (reversed_comparison_code_parts): Avoid successive return
statements when REVERSE_CONDITION is defined.
* expr.c (expand_assignment): Avoid useless assignments.
(expand_expr_real_1): Likewise.
(expand_expr_real_2): Avoid useless statements.
* tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement.
* cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless
statements.
* stmt.c (expand_expr_stmt): Avoid useless assignment.
From-SVN: r171780
2011-03-31 07:28:29 -06:00
Joseph Myers
eb1eb91413
re PR target/47109 (m68k-netbsdelf: collect2 build fails with undefined reference to m68k_cpu_flags)
...
PR target/47109
* doc/tm.texi.in (TARGET_VERSION): Remove.
* doc/tm.texi: Regenerate.
* system.h (TARGET_VERSION, MACHINE_TYPE): Poison.
* collect2.c (main): Don't use TARGET_VERSION.
* mips-tdump.c (main): Don't use TARGET_VERSION.
* mips-tfile.c (main): Don't use TARGET_VERSION.
* config.gcc (powerpc-wrs-vxworksae): Don't use
rs6000/vxworksae.h.
* config/rs6000/vxworksae.h: Remove.
* config/alpha/alpha.h (TARGET_VERSION): Remove.
* config/alpha/freebsd.h (TARGET_VERSION): Remove.
* config/alpha/linux-elf.h (TARGET_VERSION): Remove.
* config/alpha/netbsd.h (TARGET_VERSION): Remove.
* config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove.
* config/arm/arm.h (TARGET_VERSION): Remove.
* config/arm/coff.h (TARGET_VERSION): Remove.
* config/arm/ecos-elf.h (TARGET_VERSION): Remove.
* config/arm/elf.h (TARGET_VERSION): Remove.
* config/arm/freebsd.h (TARGET_VERSION): Remove.
* config/arm/linux-elf.h (TARGET_VERSION): Remove.
* config/arm/netbsd-elf.h (TARGET_VERSION): Remove.
* config/arm/pe.h (TARGET_VERSION): Remove.
* config/arm/rtems-elf.h (TARGET_VERSION): Remove.
* config/arm/semi.h (TARGET_VERSION): Remove.
* config/arm/uclinux-elf.h (TARGET_VERSION): Remove.
* config/arm/unknown-elf.h (TARGET_VERSION): Remove.
* config/arm/vxworks.h (TARGET_VERSION): Remove.
* config/avr/avr.h (TARGET_VERSION): Remove.
* config/bfin/bfin.h (TARGET_VERSION): Remove.
* config/fr30/fr30.h (TARGET_VERSION): Remove.
* config/frv/frv.h (TARGET_VERSION): Remove.
* config/h8300/h8300.h (TARGET_VERSION): Remove.
* config/i386/cygwin.h (TARGET_VERSION): Remove.
* config/i386/darwin.h (TARGET_VERSION): Remove.
* config/i386/darwin64.h (TARGET_VERSION): Remove.
* config/i386/djgpp.h (TARGET_VERSION): Remove.
* config/i386/freebsd.h (TARGET_VERSION): Remove.
* config/i386/freebsd64.h (TARGET_VERSION): Remove.
* config/i386/gnu.h (TARGET_VERSION): Remove.
* config/i386/i386-interix.h (TARGET_VERSION): Remove.
* config/i386/i386elf.h (TARGET_VERSION): Remove.
* config/i386/linux.h (TARGET_VERSION): Remove.
* config/i386/linux64.h (TARGET_VERSION): Remove.
* config/i386/lynx.h (TARGET_VERSION): Remove.
* config/i386/mingw32.h (TARGET_VERSION): Remove.
* config/i386/netbsd-elf.h (TARGET_VERSION): Remove.
* config/i386/netbsd64.h (TARGET_VERSION): Remove.
* config/i386/netware.h (TARGET_VERSION): Remove.
* config/i386/nto.h (TARGET_VERSION): Remove.
* config/i386/openbsd.h (TARGET_VERSION): Remove.
* config/i386/vxworks.h (TARGET_VERSION): Remove.
* config/ia64/elf.h (TARGET_VERSION): Remove.
* config/ia64/freebsd.h (TARGET_VERSION): Remove.
* config/ia64/hpux.h (TARGET_VERSION): Remove.
* config/ia64/linux.h (TARGET_VERSION): Remove.
* config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove.
* config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE,
TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
* config/lm32/lm32.h (TARGET_VERSION): Remove.
* config/lm32/uclinux-elf.h (TARGET_VERSION): Remove.
* config/m32c/m32c.h (TARGET_VERSION): Remove.
* config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove.
* config/m32r/m32r.h (TARGET_VERSION): Remove.
* config/m68k/linux.h (TARGET_VERSION): Remove.
* config/m68k/m68k.h (TARGET_VERSION): Remove.
* config/m68k/netbsd-elf.h (TARGET_VERSION): Remove.
* config/m68k/uclinux.h (TARGET_VERSION): Remove.
* config/mcore/mcore-elf.h (TARGET_VERSION): Remove.
* config/mep/mep.h (TARGET_VERSION): Remove.
* config/microblaze/microblaze.h (MICROBLAZE_VERSION,
MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
* config/mips/iris6.h (MACHINE_TYPE): Remove.
* config/mips/linux.h (TARGET_VERSION): Remove.
* config/mips/netbsd.h (MACHINE_TYPE): Remove.
* config/mips/vxworks.h (TARGET_VERSION): Remove.
* config/mmix/mmix.h (TARGET_VERSION): Remove.
* config/mn10300/linux.h (TARGET_VERSION): Remove.
* config/mn10300/mn10300.h (TARGET_VERSION): Remove.
* config/pa/pa.h (TARGET_VERSION): Remove.
* config/pdp11/pdp11.h (TARGET_VERSION): Remove.
* config/picochip/picochip.h (TARGET_VERSION): Remove.
* config/rs6000/aix.h (TARGET_VERSION): Remove.
* config/rs6000/darwin.h (TARGET_VERSION): Remove.
* config/rs6000/darwin64.h (TARGET_VERSION): Remove.
* config/rs6000/eabi.h (TARGET_VERSION): Remove.
* config/rs6000/eabialtivec.h (TARGET_VERSION): Remove.
* config/rs6000/eabisim.h (TARGET_VERSION): Remove.
* config/rs6000/eabispe.h (TARGET_VERSION): Remove.
* config/rs6000/freebsd.h (TARGET_VERSION): Remove.
* config/rs6000/linux.h (TARGET_VERSION): Remove.
* config/rs6000/linux64.h (TARGET_VERSION): Remove.
* config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove.
* config/rs6000/linuxspe.h (TARGET_VERSION): Remove.
* config/rs6000/lynx.h (TARGET_VERSION): Remove.
* config/rs6000/netbsd.h (TARGET_VERSION): Remove.
* config/rs6000/sysv4.h (TARGET_VERSION): Remove.
* config/rs6000/vxworks.h (TARGET_VERSION): Remove.
* config/s390/linux.h (TARGET_VERSION): Remove.
* config/s390/s390.h (TARGET_VERSION): Remove.
* config/s390/tpf.h (TARGET_VERSION): Remove.
* config/score/score.h (TARGET_VERSION): Remove.
* config/sh/linux.h (TARGET_VERSION): Remove.
* config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN,
TARGET_VERSION_CPU, TARGET_VERSION): Remove.
* config/sh/sh.h (TARGET_VERSION): Remove.
* config/sh/sh64.h (TARGET_VERSION): Remove.
* config/sh/superh.h (TARGET_VERSION): Remove.
* config/sh/vxworks.h (TARGET_VERSION): Remove.
* config/sparc/freebsd.h (TARGET_VERSION): Remove.
* config/sparc/linux.h (TARGET_VERSION): Remove.
* config/sparc/linux64.h (TARGET_VERSION): Remove.
* config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64,
TARGET_NAME32, TARGET_NAME): Remove.
* config/sparc/openbsd64.h (TARGET_VERSION): Remove.
* config/sparc/sp-elf.h (TARGET_VERSION): Remove.
* config/sparc/sp64-elf.h (TARGET_VERSION): Remove.
* config/sparc/sysv4.h (TARGET_VERSION): Remove.
* config/sparc/vxworks.h (TARGET_VERSION): Remove.
* config/spu/spu.h (TARGET_VERSION): Remove.
* config/stormy16/stormy16.h (TARGET_VERSION): Remove.
* config/v850/v850.h (TARGET_VERSION): Remove.
* config/vax/linux.h (TARGET_VERSION): Remove.
* config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove.
* config/xtensa/elf.h (TARGET_VERSION): Remove.
* config/xtensa/linux.h (TARGET_VERSION): Remove.
From-SVN: r171779
2011-03-31 13:13:13 +01:00
Eric Botcazou
ace31bca4a
re PR target/48142 (miscompilation with -Os -mpreferred-stack-boundary=5 -fstack-check)
...
PR target/48142
* config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate
frame-related from frame-unrelated adjustments to the stack pointer.
From-SVN: r171777
2011-03-31 11:10:59 +00:00
Tristan Gingold
178aa0f648
makefile.vms (OBJS): Add filename_cmp.obj
...
2011-03-31 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Add filename_cmp.obj
From-SVN: r171776
2011-03-31 11:09:09 +00:00
Richard Guenther
d2b3fe1871
re PR lto/48246 (ICE in lto_wpa_write_files)
...
2011-03-31 Richard Guenther <rguenther@suse.de>
PR lto/48246
* lto.c (lto_wpa_write_files): Disable assert for non-empty
partitions when checking is not enabled.
From-SVN: r171775
2011-03-31 10:02:00 +00:00
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