Kai Tietz
17e7cb8550
ChangeLog for libcpp
...
2009-11-11 Kai Tietz <kai.tietz@onevision.com>
* directives.c (do_pragma_push_macro): New pragma handler.
(do_pragma_pop_macro): Likewise.
(_cpp_init_internal_pragmas): Add push_macro and
pop_macro handler to internal pragmas.
(lex_macro_node_from_str): Removed.
(cpp_push_definition): Replace lex_macro_node_from_str
by _cpp_lex_identifier.
(cpp_pop_definition): Likewise.
* internal.h (_cpp_lex_identifier): New prototype.
(def_pragma_macro): New structure.
(cpp_reader): New member pushed_macros.
* lex.c (_cpp_lex_identifier): New function.
(lex_identifier_intern): New function.
* init.c (cpp_create_reader): Initialize pushed_macros
member.
(cpp_destroy): Free elements in pushed_macros member.
* pch.c (_cpp_save_pushed_macros): New function.
(_cpp_restore_pushed_macros): Likewise.
(_cpp_restore_pushed_macros): Use _cpp_save_pushed_macros.
(cpp_read_state): Use _cpp_restore_pushed_macros.
ChangeLog for gcc
2009-11-11 Kai Tietz <kai.tietz@onevision.com>
* config/i386/cygming.h (HANDLE_PRAGMA_PUSH_POP_MACRO):
Removed.
* c-pragma.c (def_pragma_macro_value): Likewise.
(def_pragma_macro): Likewise.
(pushed_macro_table): Likewise.
(HANDLE_PRAGMA_PUSH_POP_MACRO): Remove guarded
code.
* doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO):
Removed.
ChangeLog for gcc/testsuite
2009-11-11 Kai Tietz <kai.tietz@onevision.com>
* g++.dg/torture/pushpop_macro.C: New testcase.
* gcc.c-torture/execute/pushpop_macro.c: New testcase.
* gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all
targets.
From-SVN: r154098
2009-11-11 19:37:19 +01:00
Basile Starynkevitch
110532c838
plugins.texi (Registering custom attributes): section renamed as (Registering custom attributes or pragmas).
...
2009-11-11 Basile Starynkevitch <basile@starynkevitch.net>
* gcc/doc/plugins.texi (Registering custom attributes): section
renamed as (Registering custom attributes or pragmas).
Mentions custom attributes & pragmas, and c_register_pragma, with
a small example.
* gcc/doc/cpp.texi (Pragmas): Mentions that plugins can provide their
pragmas.
* gcc/doc/extend.texi (Function Attributes): Mentions that plugin can
provide their attributes.
From-SVN: r154097
2009-11-11 17:52:46 +00:00
Jon Beniston
aa4945c138
config.gcc: Add lm32 elf and uclinux targets.
...
gcc/
2009-11-11 Jon Beniston <jon@beniston.com>
* config.gcc: Add lm32 elf and uclinux targets.
* config/lm32: New directory.
* config/lm32/lm32.c: New file.
* config/lm32/lm32.h: New file.
* config/lm32/lm32.md: New file.
* config/lm32/lm32.opt: New file.
* config/lm32/lm32-protos.h: New file.
* config/lm32/constraints.md: New file.
* config/lm32/predicates.md: New file.
* config/lm32/sfp-machine.h: New file.
* config/lm32/t-fprules-softfp: New file.
* config/lm32/uclinux-elf.h: New file.
* doc/invoke.texi: Document lm32 options.
* doc/contrib.texi: Document lm32 porter.
* doc/install.texi: Document lm32 targets.
gcc/testsuite/
2009-11-11 Jon Beniston <jon@beniston.com>
* lib/target-supports.exp (check_profiling_available): lm32 target
doesn't support profiling.
* gcc.dg/20020312-2.c: Add lm32 support.
* g++.dg/other/packed1.C: Expect to fail on lm32.
* g++.old-deja/g++.jason/thunk3.C: Likewise.
libgcc/
2009-11-11 Jon Beniston <jon@beniston.com>
* config.host: Add lm32 targets.
* config/lm32: New directory.
* config/lm32/libgcc_lm32.h: New file.
* config/lm32/_mulsi3.c: New file.
* config/lm32/_udivmodsi4.c: New file.
* config/lm32/_divsi3.c: New file.
* config/lm32/_modsi3.c: New file.
* config/lm32/_udivsi3.c: New file.
* config/lm32/_umodsi3.c: New file.
* config/lm32/_lshrsi3.S: New file.
* config/lm32/_ashrsi3.S: New file.
* config/lm32/_ashlsi3.S: New file.
* config/lm32/crti.S: New file.
* config/lm32/crtn.S: New file.
* config/lm32/t-lm32: New file.
* config/lm32/t-elf: New file.
* config/lm32/t-uclinux: New file.
From-SVN: r154096
2009-11-11 16:43:06 +00:00
Martin Jambor
05d3aa37b3
re PR lto/41932 (LTO ICE when compiling ocaml trunk (incompatible type))
...
2009-11-11 Martin Jambor <mjambor@suse.cz>
PR lto/41932
* ipa-prop.c (ipa_update_after_lto_read): Call
ipa_check_create_node_params and ipa_check_create_edge_args. Also
call ipa_initialize_node_params instead of ipa_populate_param_decls.
From-SVN: r154095
2009-11-11 16:07:18 +01:00
Daniel Jacobowitz
814a4c3b35
arm.c (neon_vdup_constant, [...]): New.
...
gcc/
* config/arm/arm.c (neon_vdup_constant, neon_make_constant): New.
(neon_expand_vector_init): Use them. Also handle non-constant
vectors with identical elements and vectors with only one
non-constant element.
(arm_print_operand): Handle 'y' modifier.
* config/arm/arm-protos.h (neon_make_constant): Declare.
* config/arm/neon.md (neon_vdup_n<mode>): Split into two
patterns. Use VX instead of VDQW for the first one. Allow
a VFP alternative and V32 modes for the second one.
* config/arm/neon.ml (shape_elt): Add Alternatives.
(ops): Use Alternatives for vdup lane instructions.
* config/arm/neon-testgen.ml (analyze_shape): Handle Alternatives.
* config/arm/vec-common.md (mov<mode>): Use neon_make_constant.
gcc/testsuite/
* gcc.target/arm/neon: Regenerate generated tests.
From-SVN: r154094
2009-11-11 14:23:03 +00:00
Daniel Jacobowitz
40f73786e9
neon.md (*neon_mov<mode>): Reject two non-register operands.
...
* config/arm/neon.md (*neon_mov<mode>): Reject two non-register
operands.
(movti, mov<mode>): Call force_reg on one operand if required.
* config/arm/vec-common.md (mov<mode>): Likewise.
From-SVN: r154093
2009-11-11 14:22:21 +00:00
Daniel Jacobowitz
4aef21c85a
arm.c (arm_override_options): Enable scheduling for Thumb-2.
...
* config/arm/arm.c (arm_override_options): Enable scheduling for
Thumb-2.
From-SVN: r154092
2009-11-11 14:21:40 +00:00
GCC Administrator
f0c6a5da7c
Daily bump.
...
From-SVN: r154087
2009-11-11 00:16:44 +00:00
Eric Botcazou
c35af30f16
re PR target/10127 (-fstack-check let's program crash)
...
PR target/10127
PR ada/20548
* expr.h (anti_adjust_stack_and_probe): Declare.
* explow.c (anti_adjust_stack_and_probe): Make global, add ADJUST_BACK
parameter and rewrite head comment.
(allocate_dynamic_stack_space): Adjust call to above function.
* function.c (expand_function_end): Handle STACK_CHECK_MOVING_SP.
* tree.h (dwarf2out_args_size): Delete.
* dwarf2out.c (dwarf2out_args_size): Make static and move around.
(dwarf2out_args_size_adjust): Delete prototype and move around.
(dwarf2out_frame_debug_expr): Do not record arg size adjustments for
ACCUMULATE_OUTGOING_ARGS targets.
From-SVN: r154079
2009-11-10 20:45:25 +00:00
Joseph Myers
35230a7895
* id.po: Update.
...
From-SVN: r154077
2009-11-10 20:17:24 +00:00
Jason Merrill
1e7999555e
* call.c (build_op_delete_call): Tweak error.
...
From-SVN: r154073
2009-11-10 13:31:22 -05:00
Jason Merrill
58926110dc
re PR c++/34158 (Template delete doesn't call if exception thrown in constructor)
...
PR c++/34158
PR c++/36406
* call.c (non_placement_deallocation_fn_p): Split out...
(build_op_delete_call): ...from here. Use instantiate_type
for placement delete. Simplify logic.
* pt.c (primary_template_instantiation_p): Non-static.
* cp-tree.h: Declare it.
From-SVN: r154072
2009-11-10 13:18:51 -05:00
Eric Botcazou
5f743a562d
vect-multitypes-5.c: XFAIL on SPARC 32-bit.
...
* gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit.
* gcc.dg/vect/vect-multitypes-6.c: Likewise.
* gcc.dg/vect/vect-multitypes-12.c: Likewise.
* gcc.dg/vect/slp-multitypes-3.c: Likewise.
From-SVN: r154070
2009-11-10 18:01:22 +00:00
Eric Botcazou
666955711f
sparc.c (print_operand): Test for a non-null DECL_SIZE of DECL_RESULT before evaluating it.
...
* config/sparc/sparc.c (print_operand) <')'>: Test for a non-null
DECL_SIZE of DECL_RESULT before evaluating it.
From-SVN: r154068
2009-11-10 17:44:46 +00:00
Eric Botcazou
6692a053e2
ipa-sra-2.c: Use calloc instead of malloc.
...
* gcc.c-torture/execute/ipa-sra-2.c: Use calloc instead of malloc.
* gcc.dg/pr41963.c: Do not include math.h. Declare fabsf manually.
From-SVN: r154067
2009-11-10 17:29:52 +00:00
Kaveh R. Ghazi
08d198890e
re PR tree-optimization/41987 (expected class ‘constant’, have ‘binary’ (rdiv_expr) in build_complex, at tree.c:1485)
...
PR tree-optimization/41987
* fold-const.c (const_binop): Avoid using fold_buildN().
testsuite:
* gcc.c-torture/compile/pr41987.c: New.
From-SVN: r154065
2009-11-10 16:16:57 +00:00
Martin Jambor
2c5721d9f3
tree-pass.h (struct ipa_opt_pass_d): Added stmt_fixup field.
...
2009-11-10 Martin Jambor <mjambor@suse.cz>
* tree-pass.h (struct ipa_opt_pass_d): Added stmt_fixup field.
(execute_all_ipa_stmt_fixups): Declare.
* ipa-cp.c (pass_ipa_cp): Added stmt_fixup value.
* ipa-inline.c (pass_ipa_inline): Likewise.
* ipa-pure-const.c (pass_ipa_pure_cons): Likewise.
* ipa-reference.c (pass_ipa_reference): Likewise.
* ipa.c (pass_ipa_whole_program_visibility): Likewise.
* lto-streamer-out.c (pass_ipa_lto_gimple_out): Likewise.
(pass_ipa_lto_finish_out): Likewise.
* lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Likewise.
* passes.c (execute_ipa_stmt_fixups): New function.
(execute_all_ipa_stmt_fixups): New function.
* lto-streamer-in.c (input_function): Call execute_all_ipa_stmt_fixups.
From-SVN: r154064
2009-11-10 15:43:20 +01:00
Eric Botcazou
c587836d9d
re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault)
...
PR ada/20548
* system-linux-alpha.ads (Stack_Check_Probes): Set to true.
* system-linux-hppa.ads (Stack_Check_Probes): Likewise.
* system-linux-sparc.ads (Stack_Check_Probes): Likewise.
* system-linux-sparcv9.ads (Stack_Check_Probes): Likewise.
From-SVN: r154063
2009-11-10 12:37:56 +00:00
Eric Botcazou
f1faf79d47
system-linux-alpha.ads (AAMP, [...]): Delete.
...
* system-linux-alpha.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-mips.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-mips64el.ads (AAMP, Compiler_System_Version, OpenVMS,
Functions_Return_By_DSP, Front_End_ZCX_Support, High_Integrity_Mode,
Long_Shifts_Inlined): Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-mipsel.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-s390.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-s390x.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-sh4.ads (Stack_Check_Limits, Always_Compatible_Rep):
New.
* system-linux-sparc.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support): Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-linux-sparcv9.ads (AAMP, Compiler_System_Version, OpenVMS,
Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined):
Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
* system-rtems.ads (OpenVMS): Delete.
(Stack_Check_Limits, Always_Compatible_Rep): New.
From-SVN: r154062
2009-11-10 12:19:27 +00:00
Eric Botcazou
949fa04c01
re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault)
...
PR ada/20548
* explow.c (probe_stack_range): Fix typo.
* config/sparc/sparc.md (probe_stack): New expander.
From-SVN: r154061
2009-11-10 11:23:54 +00:00
GCC Administrator
96759a5b63
Daily bump.
...
From-SVN: r154058
2009-11-10 00:16:43 +00:00
Jan Kratochvil
01b0b881ec
* largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.
...
From-SVN: r154055
2009-11-09 23:17:54 +00:00
Benjamin Kosnik
8eead16e5e
user.cfg.in: Regenerate, add files.
...
2009-11-09 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/user.cfg.in: Regenerate, add files.
* libsupc++/eh_ptr.cc: Format.
* libsupc++/exception_ptr.h: Same.
* libsupc++/cxxabi.h(recursive_init_error): Move declaration here.
* libsupc++/guard.cc: From here.
* libsupc++/nested_exception.h: Add markup.
From-SVN: r154054
2009-11-09 22:09:30 +00:00
Jon Beniston
3f08607cac
MAINTAINERS (Write After Approval): Add myself.
...
2009-11-09 Jon Beniston <jon@beniston.com>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r154051
2009-11-09 20:34:44 +00:00
Jakub Jelinek
29a0acd42d
re PR middle-end/40946 (Spurious array subscript is above bounds warning)
...
PR middle-end/40946
* gcc.dg/pr40946.c: New test.
From-SVN: r154047
2009-11-09 20:40:56 +01:00
Dave Korn
633f54d041
cygwin.h (LINK_SPEC): Add -tsaware flag if !mno-cygwin.
...
* config/i386/cygwin.h (LINK_SPEC): Add -tsaware flag if !mno-cygwin.
From-SVN: r154044
2009-11-09 18:36:08 +00:00
Jason Merrill
6e7e763e32
* gdbinit.in (pgq): New function for printing gimple sequence.
...
From-SVN: r154043
2009-11-09 13:33:00 -05:00
Jason Merrill
0de2d392b0
re PR c++/41972 (nondependent static member function as a reference template parameter fails)
...
PR c++/41972
* parser.c (cp_parser_template_argument): Accept SCOPE_REF around
VAR_DECL.
From-SVN: r154042
2009-11-09 13:32:53 -05:00
Jason Merrill
ff14c1f700
re PR c++/41994 (ICE with &A::operator T)
...
PR c++/41994
* pt.c (tsubst_baselink): tsubst the name.
From-SVN: r154041
2009-11-09 13:32:44 -05:00
Johannes Singler
8b0c13a824
multiway_merge.h (multiway_merge_*, [...]): Replace int by appropriate difference_type (typedef to _SeqNumber) or _ThreadIndex.
...
2009-11-09 Johannes Singler <singler@kit.edu>
* include/parallel/multiway_merge.h (multiway_merge_*,
__sequential_multiway_merge, parallel_multiway_merge): Replace
int by appropriate difference_type (typedef to _SeqNumber) or
_ThreadIndex.
* include/parallel/multiseq_selection.h (multiseq_partition,
multiseq_selection): Replace int by appropriate difference_type
(typedef to _SeqNumber)
* include/parallel/base.h (__get_max_threads): Replace int by
_ThreadIndex.
* include/parallel/balanced_quicksort.h
(__qsb_local_sort_with_helping, __parallel_sort_qsb): Likewise.
* include/parallel/set_operations.h (__parallel_set_operation):
Likewise.
* include/parallel/unique_copy.h (__parallel_unique_copy): Likewise.
* include/parallel/multiway_mergesort.h (_SplitConsistently,
parallel_sort_mwms_pu, parallel_sort_mwms): Likewise.
* include/parallel/partial_sum.h (__parallel_partial_sum_linear):
Likewise.
* include/parallel/partition.h (__parallel_partition): Replace int
by appropriate difference_type or _ThreadIndex.
From-SVN: r154039
2009-11-09 16:36:59 +00:00
Paul Brook
e0dc3601d3
extend.texi (Half-Precision): Update wording to reflect that there are now multiple -mfpu options that enable...
...
2009-11-09 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/extend.texi (Half-Precision): Update wording to reflect
that there are now multiple -mfpu options that enable fp16
hardware support.
* doc/invoke.texi: Update list of ARM -mfpu= options.
* config.gcc: Update ARM --with-fpu option list.
* config/arm/arm.c (all_fpus): Add vfpv3-fp16, vfpv3-d16-fp16,
vfpv3xd and vfpv3xd-fp16.
(use_vfp_abi): New function.
(aapcs_vfp_is_call_or_return_candidate): Avoid double precision regs
when undesirable.
(aapcs_vfp_is_return_candidate, aapcs_vfp_is_call_candidate,
aapcs_vfp_allocate_return_reg): Use use_vfp_abi.
(arm_rtx_costs_1, arm_size_rtx_costs, arm_fastmul_rtx_costs,
arm_9e_rtx_costs): Only expect double-precision operations if the FPU
provides them.
(coproc_secondary_reload_class): Reload HFmode via GENERAL_REGS if no
NEON.
(arm_print_operand): Handle 'p' modifier.
(arm_hard_regno_mode_ok): : Allow HFmode in VFP registers if
TARGET_FP16.
* config/arm/arm.h (TARGET_VFP_SINGLE, TARGET_VFP_DOUBLE): Define.
(TARGET_FP16): Define.
* config/arm/vfp.md: Disable double-precision patterns if the FPU
does not provide them.
(arm_movdi_vfp, thumb2_movdi_vfp): Use fcpys to move
double-precision values on a single-precision FPU.
(movdf_vfp, thumb2_movdf_vfp): Likewise. Use "Dy" for
double-precision constants.
(movhf_vfp_neon): New pattern (was movhf_vfp).
(movhf_vfp): Remove NEON instructions.
* config/arm/constraints.md: Add new "Dy" constraint for
double-precision constants. Update description of "Dv".
* config/arm/arm.md: Disable double-precision patterns if the FPU
does not provide them
Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r154034
2009-11-09 13:50:38 +00:00
Jakub Jelinek
2bf1730836
i386.c (print_operand): Fix formatting.
...
* config/i386/i386.c (print_operand) <case 'D'>: Fix formatting.
(print_operand) <case 'Y'>: Likewise. Fix a pasto in operand lossage
diagnostics.
From-SVN: r154033
2009-11-09 14:37:47 +01:00
Jason Merrill
624d3e5760
sso_string_base.h (_M_mutate): Remove extra 'const'.
...
2009-11-08 Jason Merrill <jason@redhat.com>
* include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
From-SVN: r154025
2009-11-09 00:26:03 +00:00
GCC Administrator
9cdab33fbd
Daily bump.
...
From-SVN: r154024
2009-11-09 00:17:16 +00:00
Jason Merrill
6b887d8677
37920, not 37290
...
From-SVN: r154021
2009-11-08 18:10:53 -05:00
H.J. Lu
5938f74ded
collect2.c (main): Search PLUGIN_LD for plugin linker.
...
2009-11-08 H.J. Lu <hongjiu.lu@intel.com>
* collect2.c (main): Search PLUGIN_LD for plugin linker.
* configure.ac (--with-plugin-ld): New. Default to ld.
* configure: Regenerated.
* config.in: Likewise.
* exec-tool.in (ORIGINAL_PLUGIN_LD_FOR_TARGET): New.
(collect-ld): Use ORIGINAL_PLUGIN_LD_FOR_TARGET for -plugin.
From-SVN: r154020
2009-11-08 14:36:51 -08:00
H.J. Lu
aeaebc9321
Remove extra pathname.
...
From-SVN: r154019
2009-11-08 14:36:22 -08:00
Jason Merrill
ecd0e97650
re PR target/37290 (Endless recursion in cse_cc_succs)
...
PR c++/37290
* pt.c (tsubst) [TYPEOF_TYPE]: Set cp_unevaluated_operand.
From-SVN: r154018
2009-11-08 17:27:39 -05:00
Jonathan Gray
f853515499
openbsd-stdint.h: Change to reflect what c_common_nodes_and_builtins expects.
...
* config/openbsd-stdint.h: Change to reflect what
c_common_nodes_and_builtins expects.
From-SVN: r154017
2009-11-08 22:19:45 +00:00
Paolo Carlini
3ab084fa78
builtins.c (apply_args_reg_offset): Remove commented out delaration.
...
2009-11-08 Paolo Carlini <paolo.carlini@oracle.com>
* builtins.c (apply_args_reg_offset): Remove commented out delaration.
From-SVN: r154015
2009-11-08 21:26:57 +00:00
Jakub Jelinek
2eea716d5f
re PR target/41985 (Internal compiler error reported.)
...
PR target/41985
* config/i386/i386.c (get_some_local_dynamic_name): Don't assert
function contains at least one local dynamic name.
(print_operand) <case '&'>: Instead output operand lossage diagnostics
here if that happens.
* gcc.target/i386/pr41985.c: New test.
From-SVN: r154014
2009-11-08 22:12:52 +01:00
Zbigniew Chamski
e0a42b0f5b
cfgrtl.c (pass_free_cfg): Add pass name.
...
* cfgrtl.c (pass_free_cfg): Add pass name.
* cgraphbuild.c (pass_build_cgraph_edges): Likewise.
(pass_rebuild_cgraph_edges, pass_remove_cgraph_callee_edges): Likewise.
* dce.c (pass_ud_rtl_dce, pass_fast_rtl_dce): Change pass name.
* df-core.c (pass_df_initialize_no_opt): Likewise.
* except.c (pass_rtl_eh): Likewise.
* function.c (pass_init_function, pass_leaf_regs): Likewise.
* gcse.c (pass_rtl_pre): Change pass name.
* passes.c (pass_postreload): Add pass name.
(make_pass_instance): Don't use duplicate-tracking logic for
names starting with '*'.
(next_pass_1): Assert that pass has a name.
(register_one_dump_file): If there is an space in the name,
skip past it.
* predict.c (pass_strip_predict_hints): Add pass name.
* reg-stack.c (pass_stack_regs): Likewise.
* stack-ptr-mod.c (pass_stack_ptr_mod): Likewise.
* tree-cfg.c (pass_warn_function_return,
pass_warn_function_noreturn): Add pass name.
* tree-dfa.c (pass_referenced_vars): Likewise.
* tree-optimize.c (pass_cleanup_cfg_post_optimizing):
Fix whitespace before comment.
(pass_fixup_cfg): Add pass name, fix whitespace before comment.
(pass_init_datastructures): Add pass name.
* tree-ssa-loop.c (pass_record_bounds): Likewise.
* tree-ssa.c (pass_early_warn_uninitialized,
pass_late_warn_uninitialized): Likewise.
* tree.c (pass_ipa_free_lang_data): Likewise.
* doc/passes.texi (pass manager): Document how to disambiguate
pass names.
Co-Authored-By: Joern Rennecke <amylaar@spamcop.net>
From-SVN: r154013
2009-11-08 21:10:08 +00:00
Paolo Bonzini
642746839c
df-problems.c: Fix documentation for forward simulation of LR.
...
2009-11-08 Paolo Bonzini <bonzini@gnu.org>
* df-problems.c: Fix documentation for forward simulation of LR.
(df_simulate_one_insn_forwards): Use df_simulate_find_defs.
(df_simulate_finalize_forwards): Remove.
* df.h (df_simulate_finalize_forwards): Remove.
From-SVN: r154012
2009-11-08 20:44:56 +00:00
Richard Guenther
379c6f4832
tree-ssa-structalias.c (build_succ_graph): Properly make variables escape if they are stored to anything.
...
2009-11-08 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (build_succ_graph): Properly make
variables escape if they are stored to anything.
* gcc.dg/torture/pta-escape-1.c: New testcase.
From-SVN: r154010
2009-11-08 15:27:17 +00:00
Eric Botcazou
d770e88d12
decl.c (make_packable_type): Fix oversight.
...
* gcc-interface/decl.c (make_packable_type): Fix oversight.
(gnat_to_gnu_field): Do not attempt to change the form of the type
if the field requires strict alignment. Always change the form of
the type if the specified size is smaller than its size.
From-SVN: r154009
2009-11-08 12:17:51 +00:00
Richard Guenther
eb1494409b
re PR rtl-optimization/41928 (segfault at gcc/bitmap.c:297)
...
2009-11-08 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41928
* loop-invariant.c (free_loop_data): If we didn't allocate
loop data do not try to free it.
* gfortran.dg/pr41928.f90: New testcase.
From-SVN: r154008
2009-11-08 12:10:32 +00:00
Jason Merrill
b5fcfe893c
* tree.c (reconstruct_complex_type): Preserve attributes.
...
From-SVN: r154007
2009-11-07 22:47:44 -05:00
Jason Merrill
67dc1f24dc
re PR c++/18451 (C++ error message regression)
...
PR c++/18451
PR c++/40738
* cp-tree.h (cp_decl_specifier_seq): Add any_type_specifiers_p.
* parser.c (cp_parser_single_declaration): Call
cp_parser_parse_and_diagnose_invalid_type_name here, too.
(cp_parser_parameter_declaration): And here.
(cp_parser_parse_and_diagnose_invalid_type_name): Be
less picky about declarator form. Don't skip to
the end of the block if we're in a declarator.
(cp_parser_decl_specifier_seq): Set any_type_specifiers_p.
(cp_parser_simple_declaration): Check it.
(cp_parser_member_declaration): Likewise.
(cp_parser_diagnose_invalid_type_name): Tweak error message.
(cp_parser_expression_statement): Likewise.
* decl2.c (grokfield): Mention decltype instead of typeof.
From-SVN: r154006
2009-11-07 22:47:36 -05:00
GCC Administrator
5241b7e4a1
Daily bump.
...
From-SVN: r154005
2009-11-08 00:16:49 +00:00
Richard Guenther
de925a031e
tree-ssa-structalias.c (build_succ_graph): Feed stores to anything only to variables that can take pointers.
...
2009-11-07 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (build_succ_graph): Feed stores
to anything only to variables that can take pointers.
(get_constraint_for_ssa_var): Properly exclude full
variables from expanding.
(first_vi_for_offset): Avoid overflow in arithmetic.
(first_or_preceding_vi_for_offset): Likewise.
(count_num_arguments): Fix implementation.
(gate_ipa_pta): Do not run when not optimizing.
From-SVN: r154002
2009-11-07 21:33:29 +00:00