Commit Graph

124289 Commits

Author SHA1 Message Date
Matthias Klose
ab0e837971 libgcc2.c: Don't include <limits.h>.
2013-07-15  Matthias Klose  <doko@ubuntu.com>

        * libgcc2.c: Don't include <limits.h>.

From-SVN: r200963
2013-07-15 18:33:06 +00:00
Peter Bergner
0258b6e466 acinclude.m4 (LIBITM_CHECK_AS_HTM): New.
libitm/
        * acinclude.m4 (LIBITM_CHECK_AS_HTM): New.
        * configure.ac: Use it.
	(AC_CHECK_HEADERS): Check for sys/auxv.h.
	(AC_CHECK_FUNCS): Check for getauxval.
        * config.h.in, configure: Rebuild.
	* configure.tgt (target_cpu): Add -mhtm to XCFLAGS.
	* config/powerpc/target.h: Include sys/auxv.h and htmintrin.h.
	(USE_HTM_FASTPATH): Define.
	(_TBEGIN_STARTED, _TBEGIN_INDETERMINATE, _TBEGIN_PERSISTENT,
	_HTM_RETRIES) New macros.
	(htm_abort, htm_abort_should_retry, htm_available, htm_begin, htm_init,
	htm_begin_success, htm_commit, htm_transaction_active): New functions.

gcc/
	* config.gcc (powerpc*-*-*): Install htmintrin.h and htmxlintrin.h.
	* config/rs6000/t-rs6000 (MD_INCLUDES): Add htm.md.
	* config/rs6000/rs6000.opt: Add -mhtm option.
	* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_HTM.
	(ISA_2_7_MASKS_SERVER): Add OPTION_MASK_HTM.
	* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
	__HTM__ if the HTM instructions are available.
	* config/rs6000/predicates.md (u3bit_cint_operand, u10bit_cint_operand,
	htm_spr_reg_operand): New define_predicates.
	* config/rs6000/rs6000.md (define_attr "type"): Add htm.
	(TFHAR_REGNO, TFIAR_REGNO, TEXASR_REGNO): New define_constants.
	Include htm.md.
	* config/rs6000/rs6000-builtin.def (BU_HTM_0, BU_HTM_1, BU_HTM_2,
	BU_HTM_3, BU_HTM_SPR0, BU_HTM_SPR1): Add support macros for defining
	HTM builtin functions.
	* config/rs6000/rs6000.c (RS6000_BUILTIN_H): New macro.
	(rs6000_reg_names, alt_reg_names): Add HTM SPR register names.
	(rs6000_init_hard_regno_mode_ok): Add support for HTM instructions.
	(rs6000_builtin_mask_calculate): Likewise.
	(rs6000_option_override_internal): Likewise.
	(bdesc_htm): Add new HTM builtin support.
	(htm_spr_num): New function.
	(htm_spr_regno): Likewise.
	(rs6000_htm_spr_icode): Likewise.
	(htm_expand_builtin): Likewise.
	(htm_init_builtins): Likewise.
	(rs6000_expand_builtin): Add support for HTM builtin functions.
	(rs6000_init_builtins): Likewise.
	(rs6000_invalid_builtin, rs6000_opt_mask): Add support for -mhtm option.
	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mhtm.
	(TARGET_HTM, MASK_HTM): Define macros.
	(FIRST_PSEUDO_REGISTER): Adjust for new HTM SPR registers.
	(FIXED_REGISTERS): Likewise.
	(CALL_USED_REGISTERS): Likewise.
	(CALL_REALLY_USED_REGISTERS): Likewise.
	(REG_ALLOC_ORDER): Likewise.
	(enum reg_class): Likewise.
	(REG_CLASS_NAMES): Likewise.
	(REG_CLASS_CONTENTS): Likewise.
	(REGISTER_NAMES): Likewise.
	(ADDITIONAL_REGISTER_NAMES): Likewise.
	(RS6000_BTC_SPR, RS6000_BTC_VOID, RS6000_BTC_32BIT, RS6000_BTC_64BIT,
	RS6000_BTC_MISC_MASK, RS6000_BTM_HTM): New macros.
	(RS6000_BTM_COMMON): Add RS6000_BTM_HTM.
	* config/rs6000/htm.md: New file.
	* config/rs6000/htmintrin.h: New file.
	* config/rs6000/htmxlintrin.h: New file.

gcc/testsuite/
        * lib/target-supports.exp (check_effective_target_powerpc_htm_ok): New
        function to test if HTM is available.
	* gcc.target/powerpc/htm-xl-intrin-1.c: New test.
	* gcc.target/powerpc/htm-builtin-1.c: New test.

From-SVN: r200960
2013-07-15 12:23:49 -05:00
Marcus Shawcroft
87dd8ab0f2 [AArch64] -mcmodel=tiny -fPIC GOT support.
From-SVN: r200956
2013-07-15 11:27:39 +00:00
Tobias Burnus
abc2d8074a trans-array.h (gfc_deallocate_alloc_comp_no_caf, [...]): New prototype.
2013-07-15  Tobias Burnus  <burnus@net-b.de>

        * trans-array.h (gfc_deallocate_alloc_comp_no_caf,
        gfc_reassign_alloc_comp_caf): New prototype.
        * trans-array.c (enum): Add DEALLOCATE_ALLOC_COMP_NO_CAF
        and COPY_ALLOC_COMP_CAF.
        (structure_alloc_comps): Handle it.
        (gfc_reassign_alloc_comp_caf,
        gfc_deallocate_alloc_comp_no_caf): New function.
        (gfc_alloc_allocatable_for_assignment): Call it.
        * trans-expr.c (gfc_trans_scalar_assign,
        gfc_trans_arrayfunc_assign, gfc_trans_assignment_1): Ditto.
        * parse.c (parse_derived): Correctly set coarray_comp.
        * resolve.c (resolve_symbol): Improve error wording.

2013-07-15  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/coarray_lib_realloc_1.f90: New.
        * gfortran.dg/coarray/lib_realloc_1.f90: New.
        * gfortran.dg/coarray_6.f90: Add dg-error.

From-SVN: r200955
2013-07-15 10:25:48 +02:00
Tobias Burnus
895a0c2df3 re PR fortran/37336 ([F03] Finish derived-type finalization)
2013-07-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * trans.c (gfc_add_comp_finalizer_call): New function.
        * trans.h (gfc_add_comp_finalizer_call): New prototype.
        * trans-array.c (structure_alloc_comps): Call it.

2013-07-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/37336
        * gfortran.dg/finalize_18.f90: New.

From-SVN: r200954
2013-07-15 10:17:24 +02:00
GCC Administrator
0768ca33ac Daily bump.
From-SVN: r200953
2013-07-15 00:16:48 +00:00
Thomas Koenig
38945cfe6a re PR fortran/52669 (No warning in unused private variable in modules)
2013-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
	    Tobias Burnus  <burnus@gcc.gnu.org>

	PR fortran/52669
	* trans-decl.c (gfc_finish_var_decl):  Move setting of
	PRIVATE for a module variable if the module has a private
	default or -fmodule-private is given to...
	(gfc_create_module_variable): here. Optionally
	warn about private module variable which is not used.

2013-07-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/52669
	* fortran.dg/module_variable_1.f90:  New test.
	* fortran.dg/module_variable_2.f90:  New test.


Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>

From-SVN: r200950
2013-07-14 19:16:56 +00:00
Adam Butcher
a960e80813 Extract lambda functions from semantics.c.
* gcc/cp/semantics.c (build_lambda_expr),
	(build_lambda_object), (begin_lambda_type), (lambda_return_type),
	(lambda_function), (lambda_capture_field_type), (is_capture_proxy),
	(is_normal_capture_proxy), (insert_capture_proxy),
	(insert_pending_capture_proxies), (lambda_proxy_type),
	(build_capture_proxy), (vla_capture_type),
	(register_capture_members), (add_default_capture),
	(lambda_expr_this_capture), (maybe_resolve_dummy),
	(nonlambda_method_basetype), (maybe_add_lambda_conv_op) and
	(is_lambda_ignored_entity): Moved definitions into ...
	* gcc/cp/lambda.c: ... this new file.

From-SVN: r200948
2013-07-14 13:29:55 -04:00
Marc Glisse
07298ffd6f call.c (build_conditional_expr_1): Handle the case with 1 vector and 2 scalars.
2013-07-14  Marc Glisse  <marc.glisse@inria.fr>

gcc/cp/
	* call.c (build_conditional_expr_1): Handle the case with 1 vector
	and 2 scalars. Call save_expr before building a vector.
	* typeck.c (cp_build_binary_op): Check complain before complaining.

gcc/testsuite/
	* g++.dg/ext/vector19.C: Adapt.
	* g++.dg/ext/vector23.C: New testcase.

From-SVN: r200947
2013-07-14 08:36:47 +00:00
Tobias Grosser
52d676b6c2 graphite: Do not depend on 2D + 1 form in parallelism check
PR tree-optimization/54094
    * graphite-clast-to-gimple.c (translate_clast_for_loop): Derive the
      scheduling dimension for the parallelism check from the polyhedral
      information in the AST.
    * graphite-dependences.c (carries_deps): Do not assume the schedule is
      in 2D + 1 form.

From-SVN: r200946
2013-07-14 06:45:08 +00:00
GCC Administrator
25d7bb75cf Daily bump.
From-SVN: r200944
2013-07-14 00:16:24 +00:00
Lubos Lunak
2a99e5e633 re PR c++/55203 (No unused warning for variables of non-trivial types)
PR c++/55203
c-family/
	* c-common.c (c_common_attribute_table): Add warn_unused.
	(handle_warn_unused_attribute): New.
cp/
	* init.c (build_aggr_init): Check for warn_unused attribute.
	* decl.c (poplevel): Likewise.

From-SVN: r200941
2013-07-13 19:16:18 -04:00
Jason Merrill
286e8fc16f print-tree.c (debug_vec_tree): Use debug_raw.
* print-tree.c (debug_vec_tree): Use debug_raw.
	(debug_raw (vec<tree, va_gc> &)): New.
	(debug_raw (vec<tree, va_gc> *)): New.
	* tree.h: Declare them.

From-SVN: r200940
2013-07-13 19:10:29 -04:00
Jason Merrill
16b53405ad re PR c++/57402 (ICE: in make_decl_rtl, at varasm.c:1147 when initializing variable-sized array)
PR c++/57402
	* init.c (build_vec_init): Use {} for arrays of class type.
	(build_vec_delete): Don't take the address of the array.

From-SVN: r200939
2013-07-13 19:10:24 -04:00
Jason Merrill
26d40c3d4b re PR c++/57793 (ICE with bitfields in get_bit_range)
PR c++/57793
c/
	* c-decl.c (finish_struct): Check for too-large class.
cp/
	* class.c (layout_class_type): Check for too-large class.

From-SVN: r200938
2013-07-13 19:10:17 -04:00
Jason Merrill
53db1bc08e call.c (can_convert): Allow user-defined conversions.
* call.c (can_convert): Allow user-defined conversions.
	(can_convert_standard): New.
	* cp-tree.h: Declare it.
	* cvt.c (convert_to_reference): Use it.
	* pt.c (convert_nontype_argument): Likewise.
	* search.c (check_final_overrider): Likewise.
	Don't worry about user-defined conversions.

From-SVN: r200937
2013-07-13 19:10:12 -04:00
Bin Cheng
e43257e817 ifcvt.c (ifcvt_after_combine): New static variable.
* ifcvt.c (ifcvt_after_combine): New static variable.
	(cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing
	for size.
	(if_convert): New parameter after_combine.  Set ifcvt_after_combine.
	(rest_of_handle_if_conversion, rest_of_handle_if_after_combine,
	rest_of_handle_if_after_reload): Pass new argument for if_convert.

From-SVN: r200936
2013-07-13 08:51:18 +00:00
GCC Administrator
937060bda4 Daily bump.
From-SVN: r200935
2013-07-13 00:16:49 +00:00
Maciej W. Rozycki
da582d461b * config/mips/mips.c (mips_expand_call): Remove empty statement.
From-SVN: r200928
2013-07-12 21:06:42 +00:00
Michael Matz
18b0ea8fce re PR middle-end/55771 (Negation and type conversion incorrectly exchanged)
PR middle-end/55771
	* convert.c (convert_to_real): Reject non-float inner types.

testsuite/
	* c-c++-common/pr55771.c: New test.

From-SVN: r200926
2013-07-12 15:41:49 +00:00
Tejas Belagod
e4f0f84d56 2013-07-12 Tejas Belagod <tejas.belagod@arm.com>
gcc/
	* config/aarch64/aarch64-protos.h
	(aarch64_simd_immediate_valid_for_move): Remove.
	* config/aarch64/aarch64.c (simd_immediate_info): New member.
	(aarch64_simd_valid_immediate): Recognize idioms for shifting ones
	cases.
	(aarch64_output_simd_mov_immediate): Print the correct shift specifier.

testsuite/

	* gcc.target/aarch64/vect-movi.c: New.

From-SVN: r200922
2013-07-12 13:50:23 +01:00
Kaushik Phatak
dd4afcc2f0 config/rl78/constraints.md (U): New constraint.
From-SVN: r200919
2013-07-12 08:38:24 +00:00
GCC Administrator
8a2f89ddd0 Daily bump.
From-SVN: r200918
2013-07-12 00:16:24 +00:00
Steve Ellcey
765000222f mips.c (mips_conditional_register_usage): Do not use t[0-7] registers in MIPS16 mode when optimizing for size.
2013-07-11  Steve Ellcey  <sellcey@mips.com>

	* config/mips/mips.c (mips_conditional_register_usage): Do not
	use t[0-7] registers in MIPS16 mode when optimizing for size.

From-SVN: r200914
2013-07-11 22:25:44 +00:00
Sriraman Tallam
7803973465 re PR c++/57362 (unsupported __attribute__((target())) values appear to cause loop and/or pathological behavior)
PR 57362

	PR target/57362
	* config/i386/i386.c (dispatch_function_versions): Fix array
	indexing of function_version_info to match actual_versions.

	PR target/57362
	* g++.dg/ext/pr57362.C: New.

From-SVN: r200913
2013-07-11 22:09:55 +00:00
Joseph Myers
2c6215249d * fi.po: Update.
From-SVN: r200911
2013-07-11 22:47:04 +01:00
Teresa Johnson
7b24b67537 This patch adds a call to ggc_free from va_gc::release, which is called by vec_free.
This patch adds a call to ggc_free from va_gc::release, which is
called by vec_free. This restores the functionality of the old VEC_free
and reduces the memory footprint during compilation.

2013-07-11  Teresa Johnson  <tejohnson@google.com>

	* vec.h (struct va_gc): Move release out-of-line.
	(va_gc::release): Call ggc_free on released vec.

From-SVN: r200909
2013-07-11 21:32:14 +00:00
Ulrich Weigand
85d4cbb878 rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"): Require GOT register as additional operand in UNSPEC.
* config/rs6000/rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"):
	Require GOT register as additional operand in UNSPEC.
	("*tls_ld_low<TLSmode:tls_abi_suffix>"): Likewise.
	("*tls_got_dtprel_low<TLSmode:tls_abi_suffix>"): Likewise.
	("*tls_got_tprel_low<TLSmode:tls_abi_suffix>"): Likewise.
	("*tls_gd<TLSmode:tls_abi_suffix>"): Update splitter.
	("*tls_ld<TLSmode:tls_abi_suffix>"): Likewise.
	("tls_got_dtprel_<TLSmode:tls_abi_suffix>"): Likewise.
	("tls_got_tprel_<TLSmode:tls_abi_suffix>"): Likewise.

From-SVN: r200904
2013-07-11 16:36:09 +00:00
Georg-Johann Lay
52b3f9e2ed re PR target/57631 (Use assembler name for sanity checking of ISR names provided it is set)
gcc/
	PR target/57631
	* config/avr/avr.c (avr_set_current_function): Sanity-check signal
	name seen by assembler/linker rather if available.

gcc/testsuite/
	PR target/57631
	* gcc.target/avr/torture/pr57631.c: New test.

From-SVN: r200901
2013-07-11 08:41:13 +00:00
Andreas Schwab
3f3e266e20 Define _REENTRANT with -pthread on aarch64-linux
* config/aarch64/aarch64-linux.h (CPP_SPEC): Define.

From-SVN: r200900
2013-07-11 07:03:26 +00:00
Vladimir Makarov
21231ca600 lra-constraints.c (curr_insn_transform): Switch off optional reloads.
2013-07-10  Vladimir Makarov  <vmakarov@redhat.com>

	* lra-constraints.c (curr_insn_transform): Switch off optional
	reloads.

From-SVN: r200899
2013-07-11 02:12:00 +00:00
GCC Administrator
a12a4d7b3f Daily bump.
From-SVN: r200896
2013-07-11 00:16:16 +00:00
Joseph Myers
673c2f63be tm.texi.in: Move hook documentation to ....
* doc/tm.texi.in: Move hook documentation to ....
	* target.def: ... here.

From-SVN: r200893
2013-07-11 00:24:24 +01:00
Paolo Carlini
adcffce38c re PR c++/57827 (compiler segmentation fault)
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57827
	* g++.dg/cpp0x/constexpr-ice7.C: New.

From-SVN: r200892
2013-07-10 23:16:38 +00:00
Joseph Myers
d331d37480 tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray text on @hook line.
* doc/tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray
	text on @hook line.
	* doc/tm.texi: Regenerate.

From-SVN: r200891
2013-07-10 22:36:12 +01:00
Jack Howarth
bff7cdf66d re PR target/57792 (toplevel configure should enable "--with-sysroot="xcrun --show-sdk-path"" for darwin13 and later)
2013-07-10  Jack Howarth  <howarth@bromo.med.uc.edu>

	PR target/57792
	* configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
	* configure: Regenerated.

From-SVN: r200890
2013-07-10 21:22:34 +00:00
Janis Johnson
9a5be7f963 20020118-1.c: Force 128-bit stack alignment for EABI targets.
* gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment
	for EABI targets.
	* gcc.c-torture/execute/nest-align-1.x: New.

From-SVN: r200887
2013-07-10 21:02:17 +00:00
Jack Howarth
be1a0d71ea re PR target/57792 (toplevel configure should enable "--with-sysroot="xcrun --show-sdk-path"" for darwin13 and later)
2013-07-10  Jack Howarth  <howarth@bromo.med.uc.edu>

	    PR target/57792
	    * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
	    * configure: Regenerated.

From-SVN: r200886
2013-07-10 20:52:45 +00:00
Graham Stott
6a2fa4b28e * Corrected missinge blank line in gcc/ChangeLog Entries
and move one entry to c-family/ChangeLog

From-SVN: r200881
2013-07-10 18:17:56 +00:00
Paolo Carlini
1fe62960d3 re PR c++/57874 (No SFINAE on ADL lookup failure)
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57874
	* g++.dg/cpp0x/sfinae48.C: New.

From-SVN: r200880
2013-07-10 17:45:43 +00:00
Jakub Jelinek
d5e48350b4 re PR preprocessor/57824 (Raw string literals not handled correctly in macro arguments or deferred pragmas)
PR preprocessor/57824
	* lex.c (lex_raw_string): Allow reading new-lines if
	in_deferred_pragma or if parsing_args and there is still
	data in the current buffer.

	* c-c++-common/raw-string-17.c: New test.
	* c-c++-common/gomp/pr57824.c: New test.

From-SVN: r200879
2013-07-10 18:52:19 +02:00
Jakub Jelinek
c26302d535 c-ppoutput.c (scan_translation_unit): Call account_for_newlines for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT.
* c-ppoutput.c (scan_translation_unit): Call account_for_newlines
	for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT.

	* include/cpplib.h (cpp_token_val_index): Change parameter type to
	const cpp_token *.
	* lex.c (cpp_token_val_index): Likewise.

	* c-c++-common/raw-string-18.c: New test.
	* c-c++-common/raw-string-19.c: New test.

From-SVN: r200878
2013-07-10 18:49:24 +02:00
Paolo Carlini
dfeadaa00b re PR c++/57869 ([C++11] Casting a object pointer to a function pointer should not warn about a forbidden conversion)
/c-family
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57869
	* c.opt: Add Wconditionally-supported.

/cp
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57869
	* typeck.c (build_reinterpret_cast_1): With -Wconditionally-supported
	warn about casting between pointer-to-function and pointer-to-object.

/gcc
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57869
	* doc/invoke.texi: Document -Wconditionally-supported.

/testsuite
2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57869
	* g++.dg/cpp0x/reinterpret_cast1.C: New.
	* g++.dg/warn/Wconditionally-supported-1.C: Likewise.
	* g++.dg/conversion/dr195.C: Update.
	* g++.dg/expr/cast2.C: Likewise.

From-SVN: r200876
2013-07-10 16:45:25 +00:00
Jakub Jelinek
87e356bada re PR preprocessor/57757 (CPP extra inserted whitespace needs to be reviewed for C++11 user-defined literals)
PR preprocessor/57757
	* lex.c (cpp_avoid_paste): Avoid pasting CPP_{,W,UTF8}STRING
	or CPP_STRING{16,32} with CPP_NAME or SPELL_LITERAL token that
	starts if a-zA-Z_.

	* g++.dg/cpp/paste1.C: New test.
	* g++.dg/cpp/paste2.C: New test.

From-SVN: r200875
2013-07-10 18:40:49 +02:00
Georg-Johann Lay
bb6f2bacbb re PR target/57844 (ICE: unrecognizable addqi3 insn with -msp8 and frame size of 128 bytes)
PR target/57844
	* config/avr/avr.c (avr_prologue_setup_frame): Trunk -size to mode
	of my_fp.

From-SVN: r200872
2013-07-10 12:39:18 +00:00
Georg-Johann Lay
5219b2325d re PR target/57506 ([avr] Some devices are present twice in avr-mcus.def)
PR target/57506
	* config/avr/avr-mcus.def (atmega16hva, atmega16hva2, atmega16hvb)
	(atmega16m1, atmega16u4, atmega32a, atmega32c1, atmega32hvb)
	(atmega32m1, atmega32u4, atmega32u6, atmega64c1, atmega64m1):
	Remove duplicate devices.
	* config/avr/gen-avr-mmcu-texi.c (print_mcus): Fail on duplicate MCUs.
	* config/avr/t-multilib: Regenerate.
	* config/avr/avr-tables.opt: Regenerate.
	* doc/avr-mmcu.texi: Regenerate.

From-SVN: r200870
2013-07-10 12:32:05 +00:00
Georg-Johann Lay
283045c0b4 re PR target/56987 (gcc/config/avr/avr.opt:80: "change" -> "changed"?)
PR target/56987
	* config/avr/avr.opt (Waddr-space-convert): Fix typo.

From-SVN: r200869
2013-07-10 11:21:41 +00:00
Graham Stott
ceb2d59f8c mips.c (mips_rtx_costs): Very slightly increase the cost of MULT when optimizing for size.
* config/mips/mips.c (mips_rtx_costs): Very slightly increase
	the cost of MULT when optimizing for size.

	* gcc.target/mips/mulsize-1.c: New.
	* gcc.target/mips/mulsize-2.c: New.
	* gcc.target/mips/mulsize-3.c: New.
	* gcc.target/mips/mulsize-4.c: New.

From-SVN: r200867
2013-07-10 09:26:13 +00:00
Jan-Benedict Glaw
055e0a992c cr16-protos.h: Don't include target.h.
2013-07-10  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

gcc/
	* config/cr16/cr16-protos.h: Don't include target.h.

From-SVN: r200865
2013-07-10 08:08:07 +00:00
Jason Merrill
06b76c7fa8 re PR c++/57402 (ICE: in make_decl_rtl, at varasm.c:1147 when initializing variable-sized array)
PR c++/57402
	* init.c (build_vec_init): Don't take shortcuts when initializing
	a VLA.

From-SVN: r200860
2013-07-09 20:37:49 -04:00