Andrew Haley
69baf0a35d
download_prerequisites: New script.
...
2010-06-02 Andrew Haley <aph@redhat.com>
* download_prerequisites: New script.
From-SVN: r160146
2010-06-02 11:14:19 +00:00
Steven Bosscher
f66d6761ee
gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" change from yesterday.
...
* gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling"
change from yesterday.
From-SVN: r160144
2010-06-02 09:12:50 +00:00
Steven Bosscher
a8cd9c51a0
* c-ada-spec.c: Clean up redundant includes.
...
From-SVN: r160143
2010-06-02 08:15:38 +00:00
Iain Sandoe
0a63468495
lto.exp (lto-link-and-maybe-run): Show the options in the link fail message.
...
* lib/lto.exp (lto-link-and-maybe-run): Show the options in
the link fail message.
From-SVN: r160141
2010-06-02 07:29:54 +00:00
Tobias Burnus
aac18c0250
re PR fortran/44360 (wrong-code: host-associated procedure wrongly favoured to use-associated one)
...
2010-06-02 Tobias Burnus <burnus@net-b.de>
PR fortran/44360
* parse.c (gfc_fixup_sibling_symbols): Do not "fix"
use-associated symbols.
2010-06-02 Tobias Burnus <burnus@net-b.de>
PR fortran/44360
* gfortran.dg/use_13.f90: New test case.
From-SVN: r160138
2010-06-02 07:55:19 +02:00
Jerry DeLisle
a76135dc57
re PR fortran/44371 (STOP parsing rejects valid code)
...
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* gfortran.dg/error_stop_2.f08: Minor update.
From-SVN: r160135
2010-06-02 05:02:07 +00:00
Jerry DeLisle
df842ed971
re PR fortran/44371 (STOP parsing rejects valid code)
...
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* gfortran.dg/error_stop_1.f08: New test.
* gfortran.dg/error_stop_2.f08: New test.
From-SVN: r160134
2010-06-02 04:46:38 +00:00
Jerry DeLisle
022d926033
re PR fortran/44371 (STOP parsing rejects valid code)
...
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* match.c (gfc_match_stopcode): Move gfc_match_eos call inside
condition block.
From-SVN: r160133
2010-06-02 04:42:41 +00:00
Jason Merrill
4c9b38955a
DR 990
...
DR 990
* call.c (add_list_candidates): Prefer the default constructor.
(build_aggr_conv): Treat missing initializers like { }.
* typeck2.c (process_init_constructor_record): Likewise.
* init.c (expand_default_init): Use digest_init for
direct aggregate initialization, too.
* call.c (add_list_candidates): Split out...
(build_user_type_conversion_1): ...from here.
(build_new_method_call): And here.
(implicit_conversion): Propagate LOOKUP_NO_NARROWING.
From-SVN: r160132
2010-06-01 23:55:42 -04:00
Jason Merrill
e590156063
re PR c++/44358 ([C++0x] initializer list can't convert to map)
...
PR c++/44358
* call.c (build_list_conv): Set list-initialization flags properly.
From-SVN: r160131
2010-06-01 23:55:28 -04:00
GCC Administrator
591c890c93
Daily bump.
...
From-SVN: r160130
2010-06-02 00:17:21 +00:00
Rafael Avila de Espindola
621e1f2e99
plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
...
2010-06-01 Rafael Espindola <espindola@google.com>
* plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.
From-SVN: r160126
2010-06-02 00:08:58 +00:00
Steven Bosscher
2eb79bbbb3
gimplify.c: Do not include except.h and optabs.h.
...
* gimplify.c: Do not include except.h and optabs.h.
(gimplify_body): Do not initialize RTL profiling.
* gimple-low.c: Do not include rtl.h, diagnostic.h, langhooks.h,
langhooks-def.h, timevar.h, except.h, hashtab.h, and expr.h.
* gimple-fold.c: Do not include rtl.h, tm_p.h, ggc.h, basic-block.h,
output.h, expr.h, diagnostic.h, timevar.h, value-prof.h, and
langhooks.h.
* tree-pretty-print.h: Include pretty-print.h.
* gimple-pretty-print.h: Include pretty-print.h.
* tree-pretty-print.c: Do not include diagnostic.h.
* tree-vrp.c: Likewise.
* tree-tailcall.c: Likewise
* tree-scalar-evolution.c: Likewise
* tree-ssa-dse.c: Likewise
* tree-chrec.c: Likewise
* tree-ssa-sccvn.c: Likewise
* tree-ssa-copyrename.c: Likewise
* tree-nomudflap.c: Likewise
* tree-call-cdce.c: Likewise
* tree-stdarg.c: Likewise
* tree-ssa-math-opts.c: Likewise
* tree-nrv.c: Likewise
* tree-ssa-sink.c: Likewise
* tree-browser.c: Likewise
* tree-ssa-loop-ivcanon.c: Likewise
* tree-ssa-loop.c: Likewise
* tree-parloops.c: Likewise
* tree-ssa-address.c: Likewise
* tree-ssa-ifcombine.c: Likewise
* tree-if-conv.c: Likewise
* tree-data-ref.c: Likewise
* tree-affine.c: Likewise
* tree-ssa-phiopt.c: Likewise
* tree-ssa-coalesce.c: Likewise
* tree-ssa-pre.c: Likewise
* tree-ssa-live.c: Likewise
* tree-predcom.c: Likewise
* tree-ssa-forwprop.c: Likewise
* tree-ssa-dce.c: Likewise
* tree-ssa-ter.c: Likewise
* tree-ssa-loop-prefetch.c: Likewise
* tree-optimize.c: Likewise
* tree-ssa-phiprop.c: Likewise
* tree-object-size.c: Likewise
* tree-outof-ssa.c: Likewise
* tree-ssa-structalias.c: Likewise
* tree-switch-conversion.c: Likewise
* tree-ssa-reassoc.c: Likewise
* tree-ssa-operands.c: Likewise
* tree-vectorizer.c: Likewise
* tree-vect-data-refs.c: Likewise
* tree-vect-generic.c: Likewise
* tree-vect-stmts.c: Likewise
* tree-vect-patterns.c: Likewise
* tree-vect-slp.c: Likewise
* tree-vect-loop.c: Likewise
* tree-ssa-loop-ivopts.c: Likewise
* tree-ssa-loop-im.c: Likewise
* tree-ssa-loop-niter.c: Likewise
* tree-ssa-loop-unswitch.c: Likewise
* tree-ssa-loop-manip.c: Likewise
* tree-ssa-loop-ch.c: Likewise
* tree-dump.c: Likewise
* tree-complex.c: Likewise
* tree-into-ssa.c: Do not include diagnostic.h and expr.h.
* tree-ssa-uninit.c: Likewise
* tree-ssa-threadupdate.c: Likewise
* tree-ssa-uncprop.c: Likewise
* tree-ssa-ccp.c: Likewise
* tree-ssa-dom.c: Likewise
* tree-ssa-propagate.c: Likewise
* tree-ssa-alias.c: Likewise
* tree-dfa.c: Likewise
* tree-cfgcleanup.c: Likewise
* tree-sra.c: Likewise
* tree-ssa-copy.c: Likewise
* tree-ssa.c: Likewise
* tree-profile.c: Likewise
* tree-cfg.c: Likewise
* tree-ssa-threadedge.c: Likewise
* tree-vect-loop-manip.c: Likewise
* tree-inline.c: Do not include diagnostic.h and expr.h.
Include rtl.h.
(copy_decl_for_dup_finish): Do not use NULL_RTX.
* tree-loop-linear.c: Do not include diagnostic.h, expr.h,
and optabs.h.
* tree-loop-distribution.c: Likewise.
From-SVN: r160125
2010-06-01 22:00:56 +00:00
Jan Hubicka
73add7fe29
ipa-pure-const.c (local_pure_const): Do NORETURN discovery.
...
* ipa-pure-const.c (local_pure_const): Do NORETURN discovery.
* testsuite/gcc.dg/noreturn-8.c: New testcase.
From-SVN: r160124
2010-06-01 21:55:49 +00:00
Jan Hubicka
a669ca47cb
noreturn-1_1.c: Remove dg-do annotations.
...
* testsuite/gcc.dg/lto/noreturn-1_1.c: Remove dg-do annotations.
* testsuite/gcc.dg/lto/noreturn-1_0.c: Move it here.
From-SVN: r160123
2010-06-01 21:40:43 +00:00
Jan Hubicka
566d09eff6
tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; remove return value.
...
* tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...;
remove return value.
(split_bbs_on_noreturn_calls) .... here.
* tree-optimize.c (execute_fixup_cfg): Fixup noreturn calls too.
* tree-flow.h (fixup_noreturn_call): New.
* testsuite/gcc.dg/lto/noreturn-1_1.c: New testcase.
* testsuite/gcc.dg/lto/noreturn-1_0.c: New testcase.
From-SVN: r160122
2010-06-01 20:35:08 +00:00
Jan Hubicka
fb9ef4c18e
* emit-rtl.c (remove_insn): Fix thinko in prevoius patch.
...
From-SVN: r160121
2010-06-01 20:29:41 +00:00
Nathan Froyd
6594b49de9
tree.h (build_nt_call_list): Delete.
...
* tree.h (build_nt_call_list): Delete.
* tree.c (build_nt_call_list): Delete.
From-SVN: r160120
2010-06-01 19:34:57 +00:00
Nathan Froyd
f038ec69cc
* typeck2.c (build_x_arrow): Make types_memoized a VEC.
...
From-SVN: r160119
2010-06-01 19:33:57 +00:00
Nathan Froyd
bb9a7f511a
objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type instead of a zero-argument type.
...
* objc-act.c (build_next_objc_exception_stuff): Give setjmp a
varargs type instead of a zero-argument type.
From-SVN: r160112
2010-06-01 15:54:39 +00:00
Jan Hubicka
5936d944f8
fwprop.c: Make emit-rtl.h include last.
...
* fwprop.c: Make emit-rtl.h include last.
* rtlanal.c: Include emit-rtl.h.
* genautomata.c: Output emit-rtl include into insn-automata.c
* df-scan.c: Include emit-rtl.h.
* haifa-sched.c: Indlude emit-rtl.h.
* mode-switching.c: Indlude emit-rtl.h.
* graph.c: Indlude emit-rtl.h.
* sel-sched.c: Include emit-rtl.h.
* sel-sched-ir.c: Include emit-rtl.h.
* ira-build.c: Include emit-rtl.h.
* emit-rtl.c: (first_insn, last_insn): Remove defines.
(get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid):
Move to emit-rtl.h.
(set_new_first_and_last_insn, get_last_insn_anywhere, get_first_nonnote_insn,
get_last_nonnote_insn, try_split, make_call_insn_raw, add_insn_after,
add_insn_before, remove_insn, delete_insns_since, reorder_insns_nobb,
emit_insn_after_1, emit_debug_insn_before, emit_insn, start_sequence,
push_to_sequence, push_to_sequence2, push_topmost_sequence, end_sequence,
copy_insn): Use accessor functions.
* emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
mem_expr_equal_p): Move here from rtl.h
(get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid):
Move here from emit-rtl.c; make inline.
* cfglayout.h: Include emit-rtl.h
* rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn,
gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value,
set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode,
mem_expr_equal_p, get_insns, set_first-insn, get_last_insn, set_last_insn,
get_max_uid): Move to emit-rtl.h.
* reg-stack.c: Include emit-rtl.h
* dce.c: Likewise.
From-SVN: r160111
2010-06-01 15:49:37 +00:00
Jan Hubicka
9138228807
cgraph.h (tree_function_versioning): Update prototype.
...
* cgraph.h (tree_function_versioning): Update prototype.
(cgraph_function_versioning): Update prototype.
* cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy
bitmap.
(cgraph_function_versioning): Accept new_entry_block and bbs_to_copy.
(cgraph_materialize_clone, save_inline_function_body): Update use of
tree_function_versioning.
* tree-inline.c (copy_bb): Look for previous copied block to link after;
fix debug output.
(copy_cfg_body): Accept new_entry_block and bbs_to_copy.
(copy_body): Likewise.
(expand_call_inline): Update use of copy_body.
(tree_function_versioning): Update use of copy body; accept
blocks_to_copy and new_entry.
From-SVN: r160110
2010-06-01 15:43:27 +00:00
Jan Hubicka
6ac9d3a3c3
gegenrtl.c: Remove unnecesary prototypes.
...
* gegenrtl.c: Remove unnecesary prototypes.
(gendecl): Remove.
(gendef): Produce static inline.
(gencode): Remove.
(main): Do not decode parameters; generate header only.
* Makefile.in (genrtl.c): Remove.
From-SVN: r160108
2010-06-01 14:21:57 +00:00
Diego Novillo
558c51c59d
Undo inadvertent commit in rev 160105.
...
From-SVN: r160107
2010-06-01 10:20:24 -04:00
Jan Hubicka
2e3b48853d
* tree-switch-conversion.c (build_one_array): Make it readonly.
...
From-SVN: r160106
2010-06-01 14:15:42 +00:00
Diego Novillo
7bab65434c
richi's fixes for c++ bootstrap
...
From-SVN: r160105
2010-06-01 10:05:17 -04:00
Arnaud Charlet
41361b9fe5
Fix typo.
...
From-SVN: r160104
2010-06-01 15:20:13 +02:00
Arnaud Charlet
36a549b86c
Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.
...
* Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.
* decl2.c: Include langhooks.h and c-ada-spec.h.
(cpp_check, collect_source_refs, collect_ada_namespace,
collect_all_refs): New functions.
(cp_write_global_declarations): Add handling of -fdump-ada-spec.
* lang-specs.h: Ditto.
Co-Authored-By: Matthew Gingell <gingell@adacore.com>
From-SVN: r160103
2010-06-01 15:00:50 +02:00
Richard Guenther
0641fa9781
optabs.c (init_optabs): Guard all accesses to reinit.
...
2010-06-01 Richard Guenther <rguenther@suse.de>
* optabs.c (init_optabs): Guard all accesses to reinit.
* ipa-pure-const.c (propagate): Fix another typo.
* opts.c (common_handle_option): Split assignment to bool.
* c-opts.c (c_common_handle_option): Likewise.
From-SVN: r160102
2010-06-01 13:00:46 +00:00
Arnaud Charlet
c4e09c3f8b
* gnat_ugn.texi: Improve doc on -fdump-ada-spec, mention limitations.
...
From-SVN: r160101
2010-06-01 14:59:09 +02:00
Arnaud Charlet
9cc549409b
invoke.texi: Mention -fdump-ada-spec.
...
* doc/invoke.texi: Mention -fdump-ada-spec.
* tree-dump.c (dump_files): Add ada-spec.
(FIRST_AUTO_NUMBERED_DUMP): Bump to 8.
* tree-pass.h (tree_dump_index): Add TDI_ada.
* gcc.c: Add support for -C without -E and for -fdump-ada-spec.
(cpp_unique_options): Do not reject -C or -CC when -E isn't present.
(default_compilers) <@c-header>: Allow -fdump-ada-spec on header files.
* c-decl.c: Include c-ada-spec.h.
(collect_source_ref_cb, collect_all_refs, for_each_global_decl): New
functions.
(c_write_global_declarations): Add handling of -fdump-ada-spec.
* c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT.
* Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o.
* c-ada-spec.h, c-ada-spec.c: New files.
Co-Authored-By: Matthew Gingell <gingell@adacore.com>
From-SVN: r160100
2010-06-01 14:57:57 +02:00
Richard Guenther
97d45cef59
re PR middle-end/43853 (FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o)
...
2010-06-01 Richard Guenther <rguenther@suse.de>
PR lto/43853
* ipa-pure-const.c (get_function_state): Hand back varying state
if we do not have one.
(has_function_state): New function.
(duplicate_node_data): Adjust.
(remove_node_data): Likewise.
(pure_const_write_summary): Likewise.
(propagate): Likewise. Fix typo.
From-SVN: r160099
2010-06-01 12:09:16 +00:00
Jan Hubicka
f7fbb475ad
tree-cfg.c (verify_stmt): Do not skip could_throw test.
...
* tree-cfg.c (verify_stmt): Do not skip could_throw test.
* passes.c (execute_function_todo): Do not make implicit verify_ssa.
(execute_all_ipa_transforms): Do not play with the states.
From-SVN: r160098
2010-06-01 11:59:18 +00:00
Maxim Kuvyrkov
1322b0503c
Move changelog entry to correct ChangeLog.
...
From-SVN: r160097
2010-06-01 09:59:06 +00:00
Maxim Kuvyrkov
aa6a73b9da
acinclude.m4, [...]: Support Bionic C library.
...
* acinclude.m4, configure.host: Support Bionic C library.
* configure: Regenerate.
* config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
* config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
New files, based on config/os/newlib/*.
From-SVN: r160096
2010-06-01 09:54:08 +00:00
Maxim Kuvyrkov
d47a371cf3
t-linux-androideabi: New.
...
* config/arm/t-linux-androideabi: New.
* config.gcc (arm*-*-linux-androideabi): Include multilib configuration.
From-SVN: r160095
2010-06-01 09:52:10 +00:00
Jan Hubicka
613f61fce4
tree-inline.c (estimate_num_insns): For stdarg functions look into call statement to count cost of argument passing.
...
* tree-inline.c (estimate_num_insns): For stdarg functions look
into call statement to count cost of argument passing.
From-SVN: r160094
2010-06-01 09:36:21 +00:00
Kai Tietz
42ad7bc8a5
2010-06-01 Kai Tietz
...
* config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX
argument for fprintf.
(ix86_output_addr_diff_elt): Likewise.
(x86_function_profiler): Likewise.
* config/cygming.h (LOCAL_LABEL_PREFIX): Fix
for x64 no-underscore.
(LPREFIX): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
From-SVN: r160093
2010-06-01 10:13:24 +02:00
GCC Administrator
d7581cea43
Daily bump.
...
From-SVN: r160092
2010-06-01 00:17:22 +00:00
Steven G. Kargl
871875393d
gfortran.texi: Fix typos in description of variable-format- expressions.
...
2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/gfortran.texi: Fix typos in description of variable-format-
expressions.
From-SVN: r160086
2010-05-31 20:29:05 +00:00
Thomas Koenig
e211356514
re PR fortran/36928 (array temporary for interleaving assignment with non-constant start values)
...
2010-05-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36928
* dependency.c (gfc_check_section_vs_section): Check
for interleaving array assignments without conflicts.
2010-05-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36928
* gfortran.dg/dependency_27.f90: New test.
* gfortran.dg/array_assign_1.F90: New test.
From-SVN: r160085
2010-05-31 20:22:10 +00:00
Jakub Jelinek
c71ad61ee0
re PR target/44338 (-mno-fused-madd causes FAIL: gcc.target/i386/sse-23.c (internal compiler error))
...
PR target/44338
* config/i386/sse.md (fma4i_fmadd<mode>4256, fma4i_fmsub<mode>4256,
fma4i_fnmadd<mode>4256, fma4i_fnmsub<mode>4256, fma4i_fmadd<mode>4,
fma4i_fmsub<mode>4, fma4i_fnmadd<mode>4, fma4i_fnmsub<mode>4,
fma4i_vmfmadd<mode>4, fma4i_vmfmsub<mode>4, fma4i_vmfnmadd<mode>4,
fma4i_vmfnmsub<mode>4, fma4i_fmaddsubv8sf4, fma4i_fmaddsubv4df4,
fma4i_fmaddsubv4sf4, fma4i_fmaddsubv2df4, fma4i_fmsubaddv8sf4,
fma4i_fmsubaddv4df4, fma4i_fmsubaddv4sf4, fma4i_fmsubaddv2df4):
Guard only with TARGET_FMA4 instead of TARGET_FMA4 &&
TARGET_FUSED_MADD.
* gcc.target/i386/sse-24.c: New test.
From-SVN: r160083
2010-05-31 21:42:07 +02:00
Jonathan Wakely
4585cf7236
re PR libstdc++/43820 (auto_ptr used with incomplete type no longer triggers warning)
...
2010-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/43820
* include/bits/shared_ptr_base.h: Require complete type.
* include/tr1/shared_ptr.h: Likewise.
* testsuite/20_util/shared_ptr/cons/43820.cc: New.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
From-SVN: r160082
2010-05-31 18:41:33 +00:00
Jan Hubicka
63f1c6992d
* tree.h (tree_range_check_failed): Declare noreturn.
...
From-SVN: r160081
2010-05-31 16:57:03 +00:00
Jan Hubicka
c54c785d41
gimple.c (gimple_call_builtin_p): New function.
...
* gimple.c (gimple_call_builtin_p): New function.
* gimple.h (gimple_call_builtin_p): Declare.
* tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN
to exit.
(execute_warn_function_return): BUILT_IN_RETURN is return.
(split_critical_edges): Return edges are not critical.
(is_ctrl_altering_stmt): Builtin_in_return is altering.
(gimple_verify_flow_info): Handle built_in_return.
(execute_warn_function_return): Handle built_in_return.
* ipa-pure-const.c (check_call): Ignore builtin_return.
* gcc.dg/builtin-apply4.c: Compile with -Wmissing-return.
From-SVN: r160079
2010-05-31 16:25:35 +00:00
Jan Hubicka
4892422a06
gimple.c (gimple_call_builtin_p): New function.
...
* gimple.c (gimple_call_builtin_p): New function.
* gimple.h (gimple_call_builtin_p): Declare.
* tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN
to exit.
(execute_warn_function_return): BUILT_IN_RETURN is return.
(split_critical_edges): Return edges are not critical.
(is_ctrl_altering_stmt): Builtin_in_return is altering.
(gimple_verify_flow_info): Handle built_in_return.
(execute_warn_function_return): Handle built_in_return.
* ipa-pure-const.c (check_call): Ignore builtin_return.
* gcc.dg/builtin-apply4.c: Compile with -Wmissing-return.
From-SVN: r160078
2010-05-31 16:13:24 +00:00
Jakub Jelinek
6a866023b7
re PR middle-end/44337 (ICE: in expand_assignment, at expr.c:4276)
...
PR middle-end/44337
* expr.c (expand_assignment): Don't store anything for out-of-bounds
array accesses with non-MEM.
* gcc.dg/pr44337.c: New test.
From-SVN: r160076
2010-05-31 17:42:10 +02:00
Jakub Jelinek
90a7788bbc
re PR tree-optimization/44182 (-fcompare-debug failure (length) with -O1)
...
PR tree-optimization/44182
* tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that
newly needs to end a bb is followed by debug stmts, instead return
true from the function at the end.
(maybe_move_debug_stmts_to_successors): New function.
(copy_cfg_body): Call it if copy_edges_for_bb returned true.
* g++.dg/debug/pr44182.C: New test.
From-SVN: r160074
2010-05-31 17:38:35 +02:00
Paolo Carlini
1e2c0906ee
basic_string.h (front, back): Add.
...
2010-05-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (front, back): Add.
* include/debug/string: Adjust.
* include/ext/vstring.h (front, back): Tweak the implementation
to follow more closely the letter of the specs.
* testsuite/21_strings/basic_string/element_access/char/
front_back.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/
front_back.cc: Likewise.
* config/abi/pre/gnu.ver: Export new symbols.
* testsuite/util/testsuite_abi.cc: Adjust.
* configure.ac: Bump minor version to 6:15:0.
* configure: Regenerate.
From-SVN: r160071
2010-05-31 14:14:42 +00:00
Kai Tietz
877a19bfb8
re PR target/44161 (__attribute__((__target__)) resets pic flag causing spurious warnings)
...
2010-05-31 Kai Tietz <kai.tietz@onevision.com>
PR target/44161
* config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
flag_pic.
From-SVN: r160070
2010-05-31 16:06:41 +02:00