Andrew John Hughes
0563022a20
Merge GNU Classpath 0.99 into libjava.
...
From-SVN: r185741
2012-03-23 15:19:26 +00:00
Paolo Carlini
21669dfe20
forward_list.h: Slightly tweak two comments.
...
2012-03-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h: Slightly tweak two comments.
From-SVN: r185737
2012-03-23 13:26:49 +00:00
Martin Jambor
d01f346b75
tree-sra.c (build_accesses_from_assign): Remove FIXME comment.
...
2012-03-23 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (build_accesses_from_assign): Remove FIXME comment.
From-SVN: r185735
2012-03-23 12:45:08 +01:00
Richard Guenther
0ac168a1cd
re PR tree-optimization/52678 (internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842)
...
2012-03-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52678
* tree-vectorizer.h (struct _stmt_vec_info): Add
loop_phi_evolution_part member.
(STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
Use the cached evolution part and the PHI nodes value from
the loop preheader edge instead of re-analyzing the evolution.
* gfortran.dg/pr52678.f: New testcase.
From-SVN: r185734
2012-03-23 11:34:32 +00:00
Janne Blomqvist
6e349de504
Remove unused GFC_MAX_LINE macro.
...
2012-03-23 Janne Blomqvist <jb@gcc.gnu.org>
* gfortran.h (GFC_MAX_LINE): Remove unused macro.
From-SVN: r185728
2012-03-23 10:54:05 +02:00
Richard Guenther
fc0c373aaa
re PR tree-optimization/52638 (ice in build_vector_from_val)
...
2012-03-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52638
* g++.dg/torture/pr52638.C: New testcase.
From-SVN: r185727
2012-03-23 08:32:47 +00:00
William Bader
573ac65eee
c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
...
2012-03-23 William Bader <williambader@hotmail.com>
c-family/
* c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
From-SVN: r185725
2012-03-23 08:17:24 +00:00
Paolo Carlini
48d261d20a
re PR c++/52487 ([C++11] ICE at cp/semantics.c:5613 with lambda capturing reference to incomplete type by value)
...
/cp
2012-03-22 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52487
* class.c (check_field_decls): Call literal_type_p only
on complete types.
/testsuite
2012-03-22 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52487
* g++.dg/cpp0x/lambda/lambda-ice7.C: New.
From-SVN: r185722
2012-03-23 00:35:33 +00:00
GCC Administrator
d7bdd048ed
Daily bump.
...
From-SVN: r185721
2012-03-23 00:18:22 +00:00
Benjamin Kosnik
81df260f06
Makefile.am: XML output names have only .xml suffix.
...
2012-03-22 Benjamin Kosnik <bkoz@redhat.com>
* doc/Makefile.am: XML output names have only .xml suffix.
* doc/Makefile.in: Regenerate.
From-SVN: r185716
2012-03-23 00:00:58 +00:00
Maxim Kuvyrkov
3fd03b9340
mips-tables.opt: Update.
...
* config/mips/mips-tables.opt: Update.
* config/mips/mips.md (processor): Add xlp.
* config/mips/mips-cpus.def: Add xlp.
* config/mips/mips.c (mips_rtx_cost_data): Add costs for XLP, copy from
5KF for now.
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Handle xlp.
* doc/invoke.texi: Mention XLP.
From-SVN: r185712
2012-03-22 21:04:48 +00:00
Jakub Jelinek
d4655dc7dd
re PR c++/52671 (ICE with misplaced attribute on enum)
...
PR c++/52671
* decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION
on CLASS_TYPE_P types.
* g++.dg/ext/attrib44.C: New test.
From-SVN: r185709
2012-03-22 21:25:02 +01:00
Jakub Jelinek
c140ddf392
re PR middle-end/52547 (ICE with openmp with nested function which requires a trampoline)
...
PR middle-end/52547
* tree-nested.c (convert_tramp_reference_stmt): Call declare_vars
on any new_local_var_chain vars declared during recursing on
GIMPLE_OMP_PARALLEL or GIMPLE_OMP_TASK body.
* testsuite/libgomp.c/pr52547.c: New test.
From-SVN: r185707
2012-03-22 20:25:36 +01:00
Richard Earnshaw
e75b54a2d9
* lex.c (search_line_fast): Provide Neon-optimized version for ARM.
...
From-SVN: r185702
2012-03-22 17:54:55 +00:00
Uros Bizjak
b31a2c5a3a
alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
...
* config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
(ASM_OUTPUT_SKIP): Move to config/alpha/vms.h
(ASM_OUTPUT_LOCAL): Ditto.
(ASM_OUTPUT_COMMON): Remove.
* config/alpha/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Use ASM_OUTPUT_DEF.
* config/alpha/vms.h (ASM_OUTPUT_ALIGN): Do not undefine before define.
From-SVN: r185700
2012-03-22 17:11:28 +01:00
Rainer Orth
159bde9821
Fix pthread.h failure (PR other/52626)
...
PR other/52626
* tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
(PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
From-SVN: r185699
2012-03-22 16:07:47 +00:00
Richard Earnshaw
06ea73711d
lib1funcs.asm (ctzsi2): New function.
...
* arm/lib1funcs.asm (ctzsi2): New function.
* arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
* arm/t-linux (LIB1ASMFUNCS): Likewise.
* arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
* arm/t-symbian (LIB1ASMFUNCS): Likewise.
* arm/t-vxworks (LIB1ASMFUNCS): Likewise.
* arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
From-SVN: r185698
2012-03-22 15:14:46 +00:00
Jan Hubicka
b4e93f4518
re PR tree-optimization/51737 (g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook)
...
PR middle-end/51737
* cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE
parameter.
* cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype.
* ipa-inline-transform.c (save_inline_function_body): Remove copied clone
if needed.
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Update.
PR middle-end/51737
* g++.dg/torture/pr51737.C: New testcase
From-SVN: r185694
2012-03-22 14:33:27 +00:00
Richard Guenther
e45381b354
re PR tree-optimization/52666 (FAIL: scal-to-vec1.c)
...
2012-03-22 Richard Guenther <rguenther@suse.de>
PR middle-end/52666
* fold-const.c (fold_ternary_loc): Fix typo.
From-SVN: r185693
2012-03-22 13:52:19 +00:00
Georg-Johann Lay
9423692812
re PR target/52496 (avr-specific built-ins missing memory barrier)
...
PR target/52496
* config/avr/avr.md (unspec): Remove UNSPEC_MEMORY_BARRIER.
(unspecv): Add UNSPECV_MEMORY_BARRIER.
(cli_sei): Use unspec_volatile instead of unspec for memory barrier.
(delay_cycles_1, delay_cycles_2): Ditto.
(delay_cycles_3, delay_cycles_4): Ditto.
(nopv, *nopv): Ditto.
(sleep, *sleep): Ditto.
(wdr, *wdr): Ditto.
From-SVN: r185692
2012-03-22 13:17:16 +00:00
Richard Guenther
cd32bb90f4
re PR tree-optimization/52548 (missed PRE optimization when function call follows to-be hoisted variable)
...
2012-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52548
* tree-ssa-pre.c (valid_in_sets): Remove handling of invalidation
because of clobbers.
(prune_clobbered_mems): New function.
(compute_antic_aux): Use it to prune ANTIC_OUT.
(compute_partial_antic_aux): Use it to prune PA_IN.
(compute_avail): Only insert expressions into EXP_GEN that
are not invalidated when translated up to the beginning of
the block.
* gcc.dg/tree-ssa/ssa-pre-29.c: New testcase.
From-SVN: r185691
2012-03-22 13:14:54 +00:00
Paolo Carlini
4b74f2b44d
array (array<>::at(size_type) const): Fix version for undefined __EXCEPTIONS.
...
2012-03-22 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/array (array<>::at(size_type) const): Fix version
for undefined __EXCEPTIONS.
From-SVN: r185689
2012-03-22 12:33:17 +00:00
Bernhard Reutner-Fischer
0560508e34
fortran-modules.exp (list-module-names-1): Remove warning.
...
2012-03-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* lib/fortran-modules.exp (list-module-names-1): Remove
warning.
From-SVN: r185688
2012-03-22 13:18:16 +01:00
Richard Guenther
418b7df30a
re PR tree-optimization/52638 (ice in build_vector_from_val)
...
2012-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52638
* tree-vect-stmts.c (vect_init_vector_1): New function, split
out from ...
(vect_init_vector): ... here. Handle scalar vector inits.
(vect_get_vec_def_for_operand): Adjust.
(vectorizable_load): Likewise.
From-SVN: r185687
2012-03-22 11:36:46 +00:00
Richard Biener
b0d753d9b3
crontab: Enable snapshots from gcc-4_7-branch.
...
2012-03-23 Richard Guenther <rguenther@suse.de>
* crontab: Enable snapshots from gcc-4_7-branch.
From-SVN: r185680
2012-03-22 09:25:49 +00:00
Jiangning Liu
68489fae1d
re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1)
...
2012-03-22 Jiangning Liu <jiangning.liu@arm.com>
PR tree-optimization/52563
* gcc.dg/tree-ssa/scev-3.c: XFAIL on lp64.
* gcc.dg/tree-ssa/scev-4.c: XFAIL on lp64.
* gcc.dg/tree-ssa/scev-5.c: New.
From-SVN: r185678
2012-03-22 09:17:45 +00:00
Uros Bizjak
8f27fc6bae
config.gcc (alpha*-*-linux*): Add elfos.h to tm_file.
...
* config.gcc (alpha*-*-linux*): Add elfos.h to tm_file.
(alpha*-*-freebsd*): Ditto.
(alpha*-*-netbsd*): Ditto.
(alpha*-*-openbsd*): Ditto.
* config/alpha/elf.h (OBJECT_FORMAT_ELF): Remove.
(DWARF2_DEBUGGING_INFO): Remove.
(PREFERRED_DEBUGGING_TYPE): Remove.
(ASM_FINAL_SPEC): Remove.
(IDENT_ASM_OP): Remove.
(ASM_OUTPUT_IDENT): Remove.
(SKIP_ASM_OP): Remove.
(ASM_OUTPUT_SKIP): Remove.
(ALIGN_ASM_OP): Remove.
(ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
(ASM_OUTPUT_CASE_LABEL): Remove.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Remove.
(COMMON_ASM_OP): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Remove.
(ASCII_DATA_ASM_OP): Remove.
(READONLY_DATA_SECTION_ASM_OP): Remove.
(INIT_SECTION_ASM_OP): Remove.
(FINI_SECTION_ASM_OP): Remove.
(ASM_SECTION_START_OP): Remove.
(ASM_OUTPUT_SECTION_START_FILE): Remove.
(TARGET_ASM_NAMED_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): Remove.
(MAKE_DECL_ONE_ONLY): Remove.
(TYPE_ASM_OP): Remove.
(SIZE_ASM_OP): Remove.
(ASM_WEAKEN_LABEL): Remove.
(TYPE_OPERAND_FMT): Remove.
(ASM_DECLARE_RESULT): Remove.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ASM_FINISH_DECLARE_OBJECT): Remove.
(ELF_ASCII_ESCAPES): Remove.
(ELF_STRING_LIMIT): Remove.
(STRING_ASM_OP): Remove.
(ASM_OUTPUT_EXTERNAL): Remove.
(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Redefine to false.
* config/alpha/alpha.h (PCC_BITFIELD_TYPE_MATTERS): Undefine
before define.
(ASM_DECLARE_FUNCTION_NAME): Ditto.
(ASM_DECLARE_FUNCTION_SIZE): Ditto.
(ASM_GENERATE_INTERNAL_LABEL): Ditto.
(ASM_OUTPUT_SKIP): Ditto.
(READONLY_DATA_SECTION_ASM_OP): Remove.
(USER_LABEL_PREFIX): Remove.
(ASM_OUTPUT_ASCII): Remove.
(ASM_OUTPUT_CASE_LABEL): Remove.
(NO_DOLLAR_IN_LABEL): Undefine.
From-SVN: r185677
2012-03-22 08:41:38 +01:00
Richard Guenther
109a16c2ac
re PR tree-optimization/52459 (PRE performs stupid inserts)
...
2012-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52459
* tree-ssa-pre.c (inhibit_phi_insertion): Do not inhibit
PHI insertion for calls.
From-SVN: r185676
2012-03-22 07:29:30 +00:00
GCC Administrator
4038e6b816
Daily bump.
...
From-SVN: r185627
2012-03-22 00:19:09 +00:00
Steven Bosscher
7b02f4e02b
cse.c (invalidate_from_sets_and_clobbers, [...]): Split out from ...
...
* cse.c (invalidate_from_sets_and_clobbers, try_back_substitute_reg,
find_sets_in_insn, canonicalize_insn): Split out from ...
(cse_insn): ... here.
(invalidate_from_clobbers): Take an insn instead of the pattern.
From-SVN: r185622
2012-03-21 23:01:42 +00:00
Steven Bosscher
05e0ab9a49
objc-act (objc_build_ivar_assignment): Do not call assemble_external.
...
* objc-act (objc_build_ivar_assignment): Do not call assemble_external.
(objc_build_global_assignment): Likewise.
(objc_build_strong_cast_assignment): Likewise.
* objc-next-runtime-abi-01.c: Cleanup commented-out assemble_external.
* objc-next-runtime-abi-02.c: Likewise.
* objc-gnu-runtime-abi-01.c: Likewise.
From-SVN: r185621
2012-03-21 22:18:32 +00:00
Andreas Tobler
ad648ade92
freebsd64.h: Remove duplicated entries from last commit.
...
2012-03-21 Andreas Tobler <andreast@fgznet.ch>
* config/rs6000/freebsd64.h: Remove duplicated entries from last
commit.
* config/rs6000/t-freebsd64: Likewise.
From-SVN: r185620
2012-03-21 22:28:18 +01:00
Oleg Endo
827959d9a5
re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)
...
PR target/50751
* gcc/target/sh/pr50751-1.c: New.
* gcc/target/sh/pr50751-2.c: New.
* gcc/target/sh/pr50751-3.c: New.
From-SVN: r185619
2012-03-21 20:27:50 +00:00
Oleg Endo
0dbc5be552
Fix ChangeLog formatting.
...
From-SVN: r185618
2012-03-21 20:26:00 +00:00
Oleg Endo
e022193eee
re PR target/52479 (SH Target: SH4A DFmode fsca tests failing)
...
PR target/52479
* config/sh/sh-protos.h (sh_fsca_df2int): Remove.
* config/sh/sh.c (sh_fsca_df2int_rtx, sh_fsca_df2int): Remove.
* config/sh/sh.md (sindf2, cosdf2): Remove.
* gcc.target/sh/sh4a-cos.c: Remove.
* gcc.target/sh/sh4a-sin.c: Remove.
* gcc.target/sh/sh4a-sincos.c: Remove.
From-SVN: r185617
2012-03-21 20:24:41 +00:00
Kaz Kojima
6c5bfec01b
PR/target 52642
...
PR/target 52642
* config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of
prologue for unwinder and profiler.
From-SVN: r185616
2012-03-21 20:19:31 +00:00
Andreas Tobler
a26f86dcb1
configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
...
2012-03-21 Andreas Tobler <andreast@fgznet.ch>
* configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
Introduce emul_name to select the right linker emulation for
powerpc64-*-freebsd*.
* configure: Regenerate.
* config.gcc: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd.h (POWERPC_FREEBSD): Define.
* config/rs6000/freebsd64.h: New file.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Use
POWERPC_FREEBSD.
(rs6000_savres_strategy): Likewise.
(rs6000_savres_routine_name): Likewise.
(rs6000_elf_file_end): Likewise.
* config/rs6000/t-freebsd64: New file.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the
rs6000_current_abi for 64-bit FreeBSD to ABI_AIX.
From-SVN: r185615
2012-03-21 21:13:50 +01:00
Andreas Tobler
d82ad50db3
config.host: Add bits to support powerpc64-*-freebsd*.
...
2012-03-21 Andreas Tobler <andreast@fgznet.ch>
* config.host: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd-unwind.h: New file.
* config/rs6000/t-freebsd64: New file.
From-SVN: r185614
2012-03-21 21:12:16 +01:00
Andreas Tobler
f4e017c4b1
31370.cc: Skip this test on powerpc64-*-freebsd*.
...
2013-03-21 Andreas Tobler <andreast@fgznet.ch>
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
Skip this test on powerpc64-*-freebsd*.
From-SVN: r185613
2012-03-21 21:11:14 +01:00
Georg-Johann Lay
03b29b0ae4
re PR rtl-optimization/52543 (lower-subreg.c: code bloat of 300%-400% for multi-word memory splits)
...
PR rtl-optimization/52543
PR target/52461
* config/avr/avr-protos.h (avr_load_lpm): New prototype.
* config/avr/avr.c (avr_mode_dependent_address_p): New function.
(TARGET_MODE_DEPENDENT_ADDRESS_P): New define.
(avr_load_libgcc_p): Restrict to __flash loads.
(avr_out_lpm): Only handle 1-byte loads from __flash.
(avr_load_lpm): New function.
(avr_find_unused_d_reg): Remove.
(avr_out_lpm_no_lpmx): Remove.
(adjust_insn_length): Handle ADJUST_LEN_LOAD_LPM.
* config/avr/avr.md (unspec): Add UNSPEC_LPM.
(load_<mode>_libgcc): Use UNSPEC_LPM instead of MEM.
(load_<mode>, load_<mode>_clobber): New insns.
(mov<mode>): For multi-byte move from non-generic
16-bit address spaces: Expand to load_<mode> resp.
load_<mode>_clobber.
(load<mode>_libgcc): Remove expander.
(split-lpmx): Remove split.
From-SVN: r185605
2012-03-21 13:20:20 +00:00
Richard Earnshaw
baeecefcd2
neon.md (neon_vget_lanev2di): Use gen_lowpart and gen_highpart.
...
* neon.md (neon_vget_lanev2di): Use gen_lowpart and gen_highpart.
* config/arm/neon.ml (Fixed_return_reg): Renamed to fixed_vector_reg.
All callers changed.
(Fixed_core_reg): New feature.
(Vget_lane [sizes S64 and U64]): Add Fixed_core_reg. Allow fmrrd in
disassembly.
* neon-testgen.ml: Handle Fixed_core_reg.
* gcc.target/arm/neon/vgetQ_laneu64.c: Regenerated.
* gcc.target/arm/neon/vgetQ_lanes64.c: Likewise.
From-SVN: r185603
2012-03-21 11:19:23 +00:00
Martin Jambor
216c92c984
re PR testsuite/52641 (Test cases fail for 16-bit int targets)
...
PR testsuite/52641
* gcc.dg/misaligned-expand-1.c (cst): Cast to int.
* gcc.dg/misaligned-expand-2.c (cst): Likewise.
From-SVN: r185602
2012-03-21 10:48:08 +00:00
Andrew Stubbs
021afdb4bb
arm.c (thumb2_reorg): Add complete support for 16-bit instructions.
...
2012-03-21 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/arm/arm.c (thumb2_reorg): Add complete support
for 16-bit instructions.
* config/arm/thumb2.md: Delete obsolete flag-clobbering peepholes.
gcc/testsuite/
* gcc.target/arm/thumb-16bit-ops.c: New file.
* gcc.target/arm/thumb-ifcvt.c: New file.
From-SVN: r185601
2012-03-21 10:41:46 +00:00
Richard Guenther
50eeef0975
re PR tree-optimization/52636 (ICE: tree check: expected integer_cst, have string_cst in tree_to_double_int, at tree.h:4324)
...
2012-03-21 Richard Guenther <rguenther@suse.de>
PR tree-optimizer/52636
* tree-vect-slp.c (vect_get_constant_vectors): Convert constants
to the appropriate type.
From-SVN: r185599
2012-03-21 08:05:51 +00:00
Richard Guenther
be147e848b
Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H) dependencies.
...
2012-03-21 Richard Guenther <rguenther@suse.de>
* Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H)
dependencies.
* cfgexpand.c (gimple_expand_cfg): Fold in pass_init_function,
pass_jump, pass_initial_value_sets and pass_unshare_all_rtl.
* passes.c (init_optimization_passes): Remove pass_init_function,
pass_jump, pass_initial_value_sets and pass_unshare_all_rtl.
* tree-pass.h (pass_init_function): Remove.
(pass_jump): Remove.
(pass_initial_value_sets): Remove.
(pass_unshare_all_rtl): Remove.
* integrate.c (pass_initial_value_sets): Remove.
* emit-rtl.c (pass_unshare_all_rtl): Remove.
* tree.h (init_function_for_compilation): Remove.
* function.c (init_function_for_compilation): Remove.
(pass_init_function): Remove.
* cfgcleanup.c (rest_of_handle_jump): Remove.
(pass_jump): Remove.
From-SVN: r185598
2012-03-21 08:02:21 +00:00
Jason Merrill
552b8185be
c-common.h (enum cxx_dialect): Add cxx1y.
...
* c-common.h (enum cxx_dialect): Add cxx1y.
* c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
test.
* c-cppbuiltin.c (c_cpp_builtins): Likewise.
* c-opts.c (c_common_post_options): Likewise.
(set_std_cxx1y): New.
(c_common_handle_option): Call it.
* c.opt (-std=c++1y, -std=gnu++1y): New flags.
cp/
* lex.c (init_reswords): Use >= for cxx_dialect test.
* parser.c (cp_parser_exception_specification_opt): Likewise.
testsuite/
* lib/target-supports.exp: Add { target c++1y }.
From-SVN: r185596
2012-03-21 01:09:41 -04:00
Jason Merrill
c19267cbaf
mangle.c (write_type): Handle 'auto'.
...
gcc/cp/
* mangle.c (write_type): Handle 'auto'.
* init.c (build_new): Don't do auto deduction where it might
affect template mangling.
libiberty/
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
From-SVN: r185595
2012-03-21 00:04:39 -04:00
GCC Administrator
f17dd5dad3
Daily bump.
...
From-SVN: r185593
2012-03-21 00:17:50 +00:00
Georg-Johann Lay
1c7a6d48b5
re PR testsuite/52641 (Test cases fail for 16-bit int targets)
...
PR testsuite/52641
* gcc.dg/torture/pr48124-1.c: Add dg-require-effective-target
int32plus.
* gcc.dg/torture/pr48124-4.c: Ditto:
* gcc.dg/torture/pr52530.c: Use long instead of int if int=16.
From-SVN: r185588
2012-03-20 19:38:51 +00:00
Jason Merrill
9e291a01a2
re PR c++/52510 (libitm/config/posix/rwlock.cc doesn't compile)
...
PR c++/52510
* decl.c (reshape_init_class): Handle repeated reshaping.
* search.c (lookup_field_1): Add sanity check.
From-SVN: r185587
2012-03-20 15:14:29 -04:00