OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago * config/alpha/alpha.c (TARGET_ASM_UNALIGNED_*_OP): Define if on VMS.
rupp [Mon, 10 Aug 2009 04:05:54 +0000 (04:05 +0000)]
* config/alpha/alpha.c (TARGET_ASM_UNALIGNED_*_OP): Define if on VMS.
* config/alpha/vms.h (OBJECT_FORMAT_ELF): Define.
(ASM_WEAKEN_LABEL): Define.
(CRT_CALL_STATIC_FUNCTION): Define.
(STARTFILE_SPEC): Add crtbegin.o crtbeginS.o.
(ENDFILE_SPEC): Define.
(INIT_SECTION_ASM_OP): Define.
* config/alpha/vms-dwarf2eh.asm (__EH_FRAME_BEGIN__): Remove.
* config/alpha/t-vms (EXTRA_PARTS): Add crtbegin.o crtbeginS.o
crtend.o crtendS.o.
(MULTILIB_OSDIRNAMES): Define.
(shlib_version): Define.
(SHLIB_EXT): Define.
(SHLIB_OBJS): Define.
(SHLIB_NAME): Define.
(SHLIB_MULTILIB): Define.
(SHLIB_INSTALL): Define.
(SHLIB_SYMVEC): Define.
(SHLIB_SYMVECX2): Define.
(SHLIB_LINK): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150610 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/alpha.c (alpha_initialize_trampoline):
rupp [Mon, 10 Aug 2009 03:56:39 +0000 (03:56 +0000)]
* config/alpha/alpha.c (alpha_initialize_trampoline):
Initialize VMS trampoline IAW ABI for bounded procedure calls.
(alpha_start_function): Emit transfer address on nested functions
for VMS trampoline call.
* config/alpha/t-vms (LIB2FUNCS_EXTRA): Remove vms_tramp.asm
since no longer used.
* config/alpha/vms-tramp.asm: Remove.
* config/alpha/vms.h (TRAMPOLINE_TEMPLATE): Leave undefined
since now only data initialized at runtime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150609 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Define.
rupp [Mon, 10 Aug 2009 03:26:59 +0000 (03:26 +0000)]
* config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Define.
(LINK_GCC_C_SEQUENCE_SPEC): Define.
(MD_EXEC_PREFIX): Remove, no longer used.
(MD_STARTFILE_PREFIX): Likewise.
(INCLUDE_DEFAULTS): Likewise.
* config/alpha/t-vms:
(vms-dwarf2.o, vms-dwarf2eh.o): Use GCC_FOR_TARGET to compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150608 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Mon, 10 Aug 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150603 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-09 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 9 Aug 2009 20:10:41 +0000 (20:10 +0000)]
2009-08-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41016
* tree-ssa-ifcombine.c (get_name_for_bit_test): Fix tuplification
bug.
(operand_precision): Remove.
(integral_operand_p): Likewise.
(recognize_single_bit_test): Adjust.

* gcc.c-torture/compile/pr41016.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150595 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Sun, 9 Aug 2009 18:38:04 +0000 (18:38 +0000)]
gcc/
* c-common.c (c_fully_fold_internal): Issue a warning if a binary
operation overflows.  Likewise non-cast unary arithmetic.
If one arm of a conditional expression is always taken,
inhibit evaluation warnings for the other arm.  Likewise inhibit
evaluation warnings for the second && or || operand if the first
operand is enough to determine the result.
* c-typeck.c (build_conditional_expr): Apply the same inhibition
rules here.
(build_binary_op): Prevent duplicate evaluation warnings.

gcc/testsuite/
* gcc.dg/overflow-warn-8.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150594 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Sun, 9 Aug 2009 15:56:27 +0000 (15:56 +0000)]
gcc/
* tree-out-of-ssa.c (insert_value_copy_on_edge): If the source
and destination have different modes, Use promote_mode to
determine the signedness of the conversion.  Assert that the
promoted source mode matches the destination mode.  Don't pass
the destination and destination mode to expand_expr if the source
mode is different.  Simplify conversion logic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150592 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR tree-optimization/41008
irar [Sun, 9 Aug 2009 12:13:19 +0000 (12:13 +0000)]
PR tree-optimization/41008
* tree-vect-loop.c (vect_is_simple_reduction): Get operands
from condition only in case it's a comparison. Adjust checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150591 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libfortran/40549
fxcoudert [Sun, 9 Aug 2009 11:02:08 +0000 (11:02 +0000)]
PR libfortran/40549
* Makefile.in (LTLDFLAGS): Add -no-undefined.
* Makefile.am: Regenerate.
* libgfortran.h: Remove unused block of code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150590 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 9 Aug 2009 08:35:36 +0000 (08:35 +0000)]
2009-08-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40955
        * gfortran.h (ext_attr_id_t): Add typedef for this enum.
        (gfc_add_ext_attribute): Use it.
        * decl.c (gfc_match_gcc_attributes): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * symbol.c (gfc_add_ext_attribute): Ditto.
        (gfc_copy_attr): Copy also ext_attr.
        * resolve.c (resolve_fl_derived,resolve_symbol): Ditto.
        * module.c (mio_symbol_attribute): Save ext_attr in the mod
        * file.

2009-08-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40955
        * gfortran.dg/module_md5_1.f90: Update MD5 check sum.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150589 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-dfa.c (renumber_gimple_stmt_uids_in_blocks): New function.
bernds [Sun, 9 Aug 2009 07:59:12 +0000 (07:59 +0000)]
* tree-dfa.c (renumber_gimple_stmt_uids_in_blocks): New function.
* tree-flow.h (renumber_gimple_stmt_uids_in_blocks): Declare it.
* tree-ssa-loop-ivopts.c (comp_cost): Make COST an integer.
(enum iv_position): Add IP_AFTER_USE and IP_BEFORE_USE.
(dump_cand): Handle them.
(struct iv_cand): New members COST_STEP and AINC_USE.
(stmt_after_increment): Likewise.
(stmt_after_inc_pos): Renamed from stmt_after_ip_original_pos.  All
callers changed.  Use gimple_uid comparison instead of scanning.
(add_candidate_1): When looking for identical candidates, take
AINC_USE into account.  Set it for new candidates.
(force_expr_to_var_cost): Cast target_spill_cost to int.
(get_address_cost): New arguments STMT_AFTER_INC and MAY_AUTOINC.
All callers changed.  Check for availability of autoinc addressing
modes, both in general for a given mode, and in the specific use
case.
(get_computation_cost_at): New argument CAN_AUTOINC.  All callers
changed.
(get_computation_cost): Likewise.
(autoinc_possible_for_pair, set_autoinc_for_original_candidates,
add_autoinc_candidates): New static functions.
(add_candidate): Call add_autoinc_candidates for candidates based on
a USE_ADDRESS use.
(find_iv_candidates): Call set_autoinc_for_original_candidates.
(determine_use_iv_cost_address): If we have an autoinc candidate at
the matching use, verify autoinc is possible and subtract the cost
of the candidate's step from the cost.
(determine_iv_cost): Record the cost of the increment in the COST_STEP
member of the candidate.
(tree_ssa_iv_optimize_loop): Swap the calls to determine_iv_costs and
determine_use_iv_costs.  Call renumber_gimple_stmt_uids_in_blocks.

testsuite/
* gcc.target/bfin/loop-autoinc.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150588 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config.build (ia64-hp-*vms*): New target.
rupp [Sun, 9 Aug 2009 07:05:11 +0000 (07:05 +0000)]
* config.build (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* config.gcc (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* config.host (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* libgcc/config.host (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150587 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sun, 9 Aug 2009 00:17:07 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150584 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-08 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 8 Aug 2009 15:32:36 +0000 (15:32 +0000)]
2009-08-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40991
* tree-ssa-pre.c (eliminate): Delay purging EH edges.

* g++.dg/torture/pr40991.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150580 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-08 Laurent GUERBY <laurent@guerby.net>
guerby [Sat, 8 Aug 2009 11:35:44 +0000 (11:35 +0000)]
2009-08-08  Laurent GUERBY  <laurent@guerby.net>

        * ada/acats/support/impdef.a: Tweak timing constants. Add
        Long_Minimum_Task_Switch and Long_Switch_To_New_Task.
        * ada/acats/tests/c9/c940005.a: Use new timing constants.
        * ada/acats/tests/c9/c940007.a: Likewise.
        * ada/acats/tests/c9/c94001c.ada: Likewise.
        * ada/acats/tests/c9/c94006a.ada: Likewise.
        * ada/acats/tests/c9/c94008c.ada: Likewise.
        * ada/acats/tests/c9/c951002.a: Likewise.
        * ada/acats/tests/c9/c954a01.a: Likewise.
        * ada/acats/tests/c9/c96001a.ada: Likewise.
        * ada/acats/tests/c9/c97307a.ada: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150579 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Sat, 8 Aug 2009 08:32:24 +0000 (08:32 +0000)]
gcc/
* combine.c (gen_lowpart_or_truncate): Exclude CONST_INTs from
mode check.  Do truncations in an integer mode.
(force_to_mode): Handle subregs for all mode types.  Only do
arithmetic simplifications on integer modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150578 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sat, 8 Aug 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150577 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Aug 2009 17:02:43 +0000 (17:02 +0000)]
2009-08-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40999
* tree-ssa-ccp.c (get_symbol_constant_value): Handle CONST_DECLs.
(maybe_fold_reference): Lookup constant initializers.
(fold_gimple_assign): Likewise.

* gfortran.dg/pr40999.f: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150572 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Dodji Seketeli <dodji@redhat.com>
dodji [Fri, 7 Aug 2009 13:13:12 +0000 (13:13 +0000)]
2009-08-07  Dodji Seketeli  <dodji@redhat.com>

PR c++/39987
* gcc/testsuite/g++.dg/overload/defarg4.C: Oops, forgot to add
the testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150568 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 7 Aug 2009 10:13:44 +0000 (10:13 +0000)]
2009-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

* src/hash.cc (hash<string>::operator()(string),
hash<wstring>::operator()(wstring)): Do not decorate as throwing
nothing.
* include/bits/functional_hash.h (hash<error_code>::
operator()(error_code)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150566 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Javier Miranda <miranda@adacore.com>
charlet [Fri, 7 Aug 2009 09:58:18 +0000 (09:58 +0000)]
2009-08-07  Javier Miranda  <miranda@adacore.com>

* exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of
SCIL node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150565 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Robert Dewar <dewar@adacore.com>
charlet [Fri, 7 Aug 2009 09:55:42 +0000 (09:55 +0000)]
2009-08-07  Robert Dewar  <dewar@adacore.com>

* sem_warn.adb (Warn_On_Unreferenced_Entity): Fix obvious typo.

2009-08-07  Vincent Celier  <celier@adacore.com>

* gnatcmd.adb (GNATCmd): If -U is not used, one and only one main is
specified on the command line and there are switches in the Compiler
package of the project file, use these compilation switches to invoke
the tool.

2009-08-07  Ben Brosgol  <brosgol@adacore.com>

* gnat_ugn.texi: Wordsmithing edits at beginning of gnatcheck chapter.

2009-08-07  Ed Schonberg  <schonberg@adacore.com>

* sem_ch10.adb (Analyze_Proper_Body): Indicate name of missing subunit
even if not in main unit, to simplify debugging.

2009-08-07  Arnaud Charlet  <charlet@adacore.com>

* gcc-interface/Makefile.in: Fix handling of GCC_FOR_TARGET.
* gcc-interface/Make-lang.in: Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150564 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Robert Dewar <dewar@adacore.com>
charlet [Fri, 7 Aug 2009 09:42:01 +0000 (09:42 +0000)]
2009-08-07  Robert Dewar  <dewar@adacore.com>

* types.ads: Minor reformatting
* sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation.
* frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of
Output_Non_Modified_In_Out_Warnings.
* sem_ch13.adb: Remove ??? comment.

2009-08-07  Vincent Celier  <celier@adacore.com>

* mlib-prj.adb (Build_Library): Include binder generate object file
for SAL when library name is only one character.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150563 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Thomas Quinot <quinot@adacore.com>
charlet [Fri, 7 Aug 2009 09:29:01 +0000 (09:29 +0000)]
2009-08-07  Thomas Quinot  <quinot@adacore.com>

* targparm.adb: Minor reformatting
* sem.adb: Minor reformatting
* exp_ch4.adb (Expand_N_Conditional_Expression): Add comment.

2009-08-07  Emmanuel Briot  <briot@adacore.com>

* prj-conf.adb: Remove duplicate directory separator in the output when
an object directory does not exist.

2009-08-07  Robert Dewar  <dewar@adacore.com>

* exp_util.adb: Minor reformatting

2009-08-07  Vincent Celier  <celier@adacore.com>

* mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong
length used).

2009-08-07  Ed Schonberg  <schonberg@adacore.com>

* exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode,
detect non-static private components that will violate restriction
No_Implicit_Heap_Allocation.

2009-08-07  Ben Brosgol  <brosgol@adacore.com>

* gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150562 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * dwarf2out.c (output_fde): When doing hot/cold partitioning, use
jakub [Fri, 7 Aug 2009 09:10:13 +0000 (09:10 +0000)]
* dwarf2out.c (output_fde): When doing hot/cold partitioning, use
fde->dw_fde_begin as begin label instead of hot/cold label.
Use LLSDAC label instead of LLSDA for second section lsda.
(dwarf2out_do_cfi_startproc): Add SECOND argument.  Use LLSDAC
label instead of LLSDA if it is true.
(dwarf2out_begin_prologue, dwarf2out_switch_text_section): Adjust
callers.
* except.c (add_call_site, dw2_size_of_call_site_table): Add
SECTION argument.  Use it as index into crtl->eh.call_site_record
array.
(dw2_output_call_site_table): Likewise.  Add CS_FORMAT argument,
use it to determine how to print table entries instead of using
#ifdef HAVE_AS_LEB128.  For SECTION > 0 use hot resp. cold
label instead of normal begin label as base.
(sjlj_assign_call_site_values): Adjust add_call_site caller.
(convert_to_eh_region_ranges): When doing hot/cold partitioning,
ensure no EH range spans between sections and that landing pads
are always in the corresponding section.
(sjlj_size_of_call_site_table, sjlj_output_call_site_table): Adjust
for crtl->eh.call_site_record being an array rather than scalar.
(output_one_function_exception_table): New function, copied
from output_function_exception_table.  Adjust
dw2_size_of_call_site_table, dw2_output_call_site_table
callers.  For SECOND section use *C suffixed labels.
(output_function_exception_table): Call
output_one_function_exception_table and, when doing hot/cold
partitioning, also another time for the second section.
* opts.c: Include except.h.
(decode_options): Allow -freorder-blocks-and-partition with
exceptions, unless SJLJ or TARGET_UNWIND_INFO.
* Makefile.in (opts.o): Depend on $(EXCEPT_H).
* function.h (struct rtl_eh): Change call_site_record from
scalar into array of 2 elements.

* g++.dg/tree-prof/partition1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150560 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Aug 2009 08:54:53 +0000 (08:54 +0000)]
2009-08-07  Richard Guenther  <rguenther@suse.de>

* tree-ssa.c (useless_type_conversion_p_1): Only for types
that require structural equality defer to the langhook.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150559 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 7 Aug 2009 07:15:41 +0000 (07:15 +0000)]
2009-08-07  Martin Jambor  <mjambor@suse.cz>

* ipa-prop.h (enum jump_func_type): New value IPA_JF_ANCESTOR, changed
comments.
(struct ipa_pass_through_data): New type.
(struct ipa_ancestor_jf_data): New type.
(union jump_func_value): Removed field formal_id, added fields
pass_through and ancestor.
(struct ipa_param_call_note): Changed type of formal_id to int from
unsigned.
* ipa-prop.c (ipa_print_node_jump_functions): Print pass through with
operations jump functions and ancestor jump functions.
(compute_complex_pass_through): New function.
(compute_scalar_jump_functions): Call compute_complex_pass_through,
reflect changes in the jump function strucutre.
(update_jump_functions_after_inlining): Ignore complex pass-through
and ancestor jump functions.
* ipa-cp.c (ipcp_lattice_from_jfunc): Added support for ancestor and
polynomial pass-through with operation jump functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150554 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * dwarf2out.c (output_fde): When doing hot/cold partitioning, use
jakub [Fri, 7 Aug 2009 06:23:42 +0000 (06:23 +0000)]
* dwarf2out.c (output_fde): When doing hot/cold partitioning, use
fde->dw_fde_begin as begin label instead of hot/cold label.
Use LLSDAC label instead of LLSDA for second section lsda.
(dwarf2out_do_cfi_startproc): Add SECOND argument.  Use LLSDAC
label instead of LLSDA if it is true.
(dwarf2out_begin_prologue, dwarf2out_switch_text_section): Adjust
callers.
* except.c (add_call_site, dw2_size_of_call_site_table): Add
SECTION argument.  Use it as index into crtl->eh.call_site_record
array.
(dw2_output_call_site_table): Likewise.  Add CS_FORMAT argument,
use it to determine how to print table entries instead of using
#ifdef HAVE_AS_LEB128.  For SECTION > 0 use hot resp. cold
label instead of normal begin label as base.
(sjlj_assign_call_site_values): Adjust add_call_site caller.
(convert_to_eh_region_ranges): When doing hot/cold partitioning,
ensure no EH range spans between sections and that landing pads
are always in the corresponding section.
(sjlj_size_of_call_site_table, sjlj_output_call_site_table): Adjust
for crtl->eh.call_site_record being an array rather than scalar.
(output_one_function_exception_table): New function, copied
from output_function_exception_table.  Adjust
dw2_size_of_call_site_table, dw2_output_call_site_table
callers.  For SECOND section use *C suffixed labels.
(output_function_exception_table): Call
output_one_function_exception_table and, when doing hot/cold
partitioning, also another time for the second section.
* opts.c: Include except.h.
(decode_options): Allow -freorder-blocks-and-partition with
exceptions, unless SJLJ or TARGET_UNWIND_INFO.
* Makefile.in (opts.o): Depend on $(EXCEPT_H).
* function.h (struct rtl_eh): Change call_site_record from
scalar into array of 2 elements.

* g++.dg/tree-prof/partition1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150553 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-07 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 7 Aug 2009 00:51:34 +0000 (00:51 +0000)]
2009-08-07  Martin Jambor  <mjambor@suse.cz>

* ipa-prop.c (count_formal_params_1): New function.
(ipa_get_vector_of_formal_parms): New function.
(get_vector_of_formal_parm_types): New function.
(ipa_modify_formal_parameters): New function.
(ipa_modify_call_arguments): New function.
(index_in_adjustments_multiple_times_p): New function.
(ipa_combine_adjustments): New function.
(ipa_dump_param_adjustments): New function.

* ipa-prop.h (struct ipa_parm_adjustment): New type.
(ipa_get_vector_of_formal_parms): Declare.
(ipa_modify_formal_parameters): Declare.
(ipa_modify_call_arguments): Declare.
(ipa_combine_adjustments): Declare.
(ipa_dump_param_adjustments): Declare.
(build_ref_for_offset): Declare.

* Makefile.in (tree-sra.o): Add ipa-prop.h to dependencies.

* tree-sra.c: Include ipa-prop.c.
(build_ref_for_offset): Make public.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150551 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Fri, 7 Aug 2009 00:17:09 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150550 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Thomas Schwinge <tschwinge@gnu.org>
tschwinge [Thu, 6 Aug 2009 22:02:34 +0000 (22:02 +0000)]
2009-08-06  Thomas Schwinge  <tschwinge@gnu.org>

* gcc/doc/extend.texi (__builtin_extract_return_address)
(__builtin_frob_return_address): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150546 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/arm/lib1funcs.asm (ARM_DIV_BODY): Add Thumb-2 implementation.
kazu [Thu, 6 Aug 2009 21:05:42 +0000 (21:05 +0000)]
* config/arm/lib1funcs.asm (ARM_DIV_BODY): Add Thumb-2 implementation.
(udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Only use Thumb-1
implementation on ARMv6-M.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150545 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * value-prof.c (init_pid_map): Replace xmalloc with XCNEWVEC.
nvachhar [Thu, 6 Aug 2009 20:45:26 +0000 (20:45 +0000)]
* value-prof.c (init_pid_map): Replace xmalloc with XCNEWVEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150544 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS: Add my name to Write After Approval list.
nvachhar [Thu, 6 Aug 2009 20:27:41 +0000 (20:27 +0000)]
* MAINTAINERS: Add my name to Write After Approval list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150541 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 6 Aug 2009 19:33:33 +0000 (19:33 +0000)]
2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>

* src/compatibility.cc: Make C++0x safe, add in explicit casts to
        bool for stream sentry objects.
        * include/bits/istream.tcc: Same.
        * include/bits/ostream.tcc: Same.
        * include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
        * src/istream.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150539 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.target/arm/abitest.h: Allow the test function to have a PCS
rearnsha [Thu, 6 Aug 2009 18:15:19 +0000 (18:15 +0000)]
* gcc.target/arm/abitest.h: Allow the test function to have a PCS
attribute.
* gcc.target/arm/vfp1[567].c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150536 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * configure.ac: Add Microblaze target.
nickc [Thu, 6 Aug 2009 17:48:24 +0000 (17:48 +0000)]
    * configure.ac: Add Microblaze target.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150535 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* doc/extend.texi (pcs): Document new attribute for ARM.
rearnsha [Thu, 6 Aug 2009 16:47:57 +0000 (16:47 +0000)]
* doc/extend.texi (pcs): Document new attribute for ARM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150531 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * arm.c (pcs_attribute_args): Comment out unsupported attribute
rearnsha [Thu, 6 Aug 2009 16:31:02 +0000 (16:31 +0000)]
* arm.c (pcs_attribute_args): Comment out unsupported attribute
variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150530 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/40948
jason [Thu, 6 Aug 2009 16:25:19 +0000 (16:25 +0000)]
PR c++/40948
* init.c (build_vec_init): Evaluate the initializer before
starting the initialization try block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150529 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* arm.c (arm_handle_pcs_attribute): Pass the entire name object to
rearnsha [Thu, 6 Aug 2009 16:19:14 +0000 (16:19 +0000)]
* arm.c (arm_handle_pcs_attribute): Pass the entire name object to
warning ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150528 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* arm.c (arm_handle_pcs_attribute): Use %qE in warning.
rearnsha [Thu, 6 Aug 2009 15:14:56 +0000 (15:14 +0000)]
* arm.c (arm_handle_pcs_attribute): Use %qE in warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150527 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix merge botch -- this changelog should have been merged.
rearnsha [Thu, 6 Aug 2009 14:30:22 +0000 (14:30 +0000)]
Fix merge botch -- this changelog should have been merged.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150526 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoMerge ARM/hard_vfp_branch to trunk
rearnsha [Thu, 6 Aug 2009 14:27:45 +0000 (14:27 +0000)]
Merge ARM/hard_vfp_branch to trunk

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150525 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 6 Aug 2009 11:55:30 +0000 (11:55 +0000)]
2009-08-06  Martin Jambor  <mjambor@suse.cz>

PR middle-end/32964
* testsuite/gcc.dg/tree-ssa/pr32964.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150523 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/40957
uros [Thu, 6 Aug 2009 11:43:38 +0000 (11:43 +0000)]
PR target/40957
* config/i386/i386.c (standard_sse_mode_p): Remove.
(standard_sse_constant_p): Return 2 for integer mode
vector_all_ones_operand when SSE2 is enabled.
(standard_sse_constant_opcode)<case 2>: Always return [v]pcmpeqd.
(ix86_expand_vector_move): Do not check for negative values from
standard_sse_constant_p.

testsuite/ChangeLog:

PR target/40957
* gcc.target/i386/pr40957: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150520 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 6 Aug 2009 11:31:20 +0000 (11:31 +0000)]
2009-08-06  Richard Guenther  <rguenther@suse.de>

* tree-ssa.c (useless_type_conversion_p_1): Make function and
array type comparisons frontend independent.
* Makefile.in (tree-ssa.o): Add $(TARGET_H) dependency.
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Always fill
out array reference lower bound and element size operands.
(ao_ref_init_from_vn_reference): Properly compute the offset
for ARRAY_RANGE_REF.
(vn_reference_fold_indirect): Fill out array reference lower
bound and element size operands.
* tree-ssa-pre.c (phi_translate_1): Fail if we have to translate
a non gimple valued reference operand which can happen for
array reference lower bound or element size.
(create_component_ref_by_pieces_1): Properly generate the
element size operand for array references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150519 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 6 Aug 2009 11:29:45 +0000 (11:29 +0000)]
2009-08-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40964
* tree.c (iterative_hash_host_wide_int): Export.
* tree.h (iterative_hash_host_wide_int): Declare.
* tree-ssa-structalias.c (heapvar_map): New struct.
(heapvar_map_eq): New function.
(heapvar_map_hash): Likewise.
(heapvar_lookup): Adjust.
(heapvar_insert): Likewise.
(make_constraint_from_heapvar): Allow multiple heap variables
per decl at different offsets.
(init_alias_heapvars): Adjust.

* gcc.c-torture/compile/pr40964.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150518 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-06 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 6 Aug 2009 11:29:13 +0000 (11:29 +0000)]
2009-08-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40964
* tree.c (iterative_hash_host_wide_int): Export.
* tree.h (iterative_hash_host_wide_int): Declare.
* tree-ssa-structalias.c (heapvar_map): New struct.
(heapvar_map_eq): New function.
(heapvar_map_hash): Likewise.
(heapvar_lookup): Adjust.
(heapvar_insert): Likewise.
(make_constraint_from_heapvar): Allow multiple heap variables
per decl at different offsets.
(init_alias_heapvars): Adjust.

* gcc.c-torture/compile/pr40964.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150517 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * es.po: Update.
jsm28 [Thu, 6 Aug 2009 11:00:59 +0000 (11:00 +0000)]
* es.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150515 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 David Daney <ddaney@caviumnetworks.com>
daney [Thu, 6 Aug 2009 05:27:40 +0000 (05:27 +0000)]
2009-08-04  David Daney  <ddaney@caviumnetworks.com>

* config/mips/mips.h (TARGET_SYNC_AFTER_SC): New macro.
* mips_output_sync_loop (mips_output_sync_loop): Only emit
trailing sync if TARGET_SYNC_AFTER_SC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150513 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 David Daney <ddaney@caviumnetworks.com>
daney [Thu, 6 Aug 2009 05:24:25 +0000 (05:24 +0000)]
2009-08-05  David Daney  <ddaney@caviumnetworks.com>

* gcc/config/mips/sync.md (sync_compare_and_swap<mode>,
compare_and_swap_12, sync_add<mode>, sync_<optab>_12,
sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12,
sync_old_nand_12, sync_new_nand_12, sync_sub<mode>,
sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>,
sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
sync_new_nand<mode>, sync_lock_test_and_set<mode>,
test_and_set_12): Rewrite calls to mips_output_sync_loop.
* gcc/config/mips/mips-protos.h (mips_output_sync_loop): Make
the prototype declaration match the definition.
* gcc/config/mips/mips.c (mips_output_sync_loop):  Emit sync
instructions explicitly.  Add barrier_before and operands
parameters.
* gcc/config/mips/mips.h (MIPS_COMPARE_AND_SWAP,
MIPS_COMPARE_AND_SWAP_12, MIPS_SYNC_OP, MIPS_SYNC_OP_12,
MIPS_SYNC_OLD_OP_12, MIPS_SYNC_NEW_OP_12, MIPS_SYNC_OLD_OP,
MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND,
MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE,
MIPS_SYNC_EXCHANGE_12): Remove sync instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150512 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 6 Aug 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150508 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 5 Aug 2009 20:47:19 +0000 (20:47 +0000)]
2009-08-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40969
        Revert:
        2009-08-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40949
        * trans-types.c (gfc_get_function_type): Fix typelist of
        functions without argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150500 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Andrew Pinski <pinskia@gmail.com>
pinskia [Wed, 5 Aug 2009 17:20:33 +0000 (17:20 +0000)]
2009-08-05  Andrew Pinski  <pinskia@gmail.com>

        * tree-ssa-alias.c: Fix intervals to use [) syntax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150496 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Andreas Tobler <a.tobler@schweiz.org>
andreast [Wed, 5 Aug 2009 16:11:54 +0000 (16:11 +0000)]
2009-08-05  Andreas Tobler  <a.tobler@schweiz.org>

* testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared
only build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150495 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 5 Aug 2009 16:10:19 +0000 (16:10 +0000)]
2009-08-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40847
* iresolve.c (gfc_resolve_transfer): Correct error in 'mold'
character length for case where length expresson is NULL.

2009-08-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40847
* gfortran.dg/transfer_resolve_1.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150493 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.target/i386/pr40906-3.c: Run only on *-*-linux* targets.
uros [Wed, 5 Aug 2009 14:49:51 +0000 (14:49 +0000)]
* gcc.target/i386/pr40906-3.c: Run only on *-*-linux* targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150488 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/40906
uros [Wed, 5 Aug 2009 14:41:54 +0000 (14:41 +0000)]
PR target/40906
* config/i386/i386.c (ix86_split_long_move): Fix push of multi-part
source operand.

testsuite/ChangeLog:

PR target/40906
* gcc.target/i386/pr40906-1.c: New test.
* gcc.target/i386/pr40906-2.c: Ditto.
* gcc.target/i386/pr40906-3.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150486 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR rtl-optimization/40924
jakub [Wed, 5 Aug 2009 12:36:34 +0000 (12:36 +0000)]
PR rtl-optimization/40924
* dse.c (canon_address): Before calling cselib_expand_value_rtx
make sure canon_rtx (mem_address) isn't simpler than
canon_rtx (expanded_mem_address).

* g++.dg/torture/pr40924.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150483 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agobuild alias set for drs in SCoP instead of in pbb.
lifeng [Wed, 5 Aug 2009 07:37:36 +0000 (07:37 +0000)]
build alias set for drs in SCoP instead of in pbb.

2009-08-05  Li Feng  <nemokingdom@gmail.com>

    * graphite-sese-to-poly.c (build_pbb_drs): Remove build alias set
    for each poly_bb_p.
    (build_scop_drs): Build alias set for each SCoP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150478 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
sandra [Wed, 5 Aug 2009 00:46:07 +0000 (00:46 +0000)]
2009-08-04  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* doc/invoke.texi (MIPS Options): Document new 1004K -march options.
* config/mips/mips.c (mips_cpu_info_table): Add 1004K cores.
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Add pattern for 1004K.
(MIPS_ARCH_FLOAT_SPEC): Likewise.
(BASE_DRIVER_SELF_SPECS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150475 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Wed, 5 Aug 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150474 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
manu [Tue, 4 Aug 2009 23:51:07 +0000 (23:51 +0000)]
2009-08-05  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/36069
cp/
* typeck.c (convert_for_assignment): Do not warn for any boolean
variant. Use explicit location.
testsuite/
* g++.dg/warn/pr36069.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150471 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Andrew Pinski <pinskia@gmail.com>
pinskia [Tue, 4 Aug 2009 22:45:33 +0000 (22:45 +0000)]
2009-08-04  Andrew Pinski  <pinskia@gmail.com>

        * tree-ssa-alias.c: Fix some comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150470 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP,
kkojima [Tue, 4 Aug 2009 21:33:50 +0000 (21:33 +0000)]
* config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP,
ATOMIC_OP_AND_FETCH, ATOMIC_COMBOP_AND_FETCH): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150469 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Dodji Seketeli <dodji@redhat.com>
dodji [Tue, 4 Aug 2009 19:49:48 +0000 (19:49 +0000)]
2009-08-04  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
PR c++/39987
* pt.c (tsubst_default_argument): Let access checks of the
default argument happen in the context of the current function.

gcc/testsuite/ChangeLog:
PR c++/39987
* g++.dg/overload/defarg4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150467 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 4 Aug 2009 17:35:59 +0000 (17:35 +0000)]
2009-08-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40949
        * trans-types.c (gfc_get_function_type): Fix typelist of
        functions without argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150465 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 David Daney <ddaney@caviumnetworks.com>
daney [Tue, 4 Aug 2009 17:25:42 +0000 (17:25 +0000)]
2009-08-04  David Daney  <ddaney@caviumnetworks.com>

* config/linux/mutex.h (gomp_mutex_unlock): Add comment about
needed memory barrier semantics.
* config/linux/mips/mutex.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150463 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
manu [Tue, 4 Aug 2009 15:51:12 +0000 (15:51 +0000)]
2009-08-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/16696
cp/
* call.c (build_new_op): Only try prefix operator if -fpermissive,
otherwise just error.
testsuite/
* g++.dg/parse/pr16696.C: New.
* g++.dg/parse/pr16696-permissive.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150461 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * es.po: Update.
jsm28 [Tue, 4 Aug 2009 14:57:16 +0000 (14:57 +0000)]
* es.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150458 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 4 Aug 2009 13:01:08 +0000 (13:01 +0000)]
2009-08-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/15523
* include/debug/safe_iterator.h (_Safe_iterator<>::
_Safe_iterator(const _Safe_iterator&), _Safe_iterator<>::
operator=(const _Safe_iterator&)): Implement resolution of DR 408,
do not error out when the source is a value-initialized iterator.
* testsuite/23_containers/vector/15523.cc: New.
* doc/xml/manual/intro.xml: Add an entry for DR 408.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150455 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 4 Aug 2009 12:41:08 +0000 (12:41 +0000)]
2009-08-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40875
* decl.c (add_init_expr_to_sym): Character symbols can only be
initialized with character expressions.

2009-08-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40875
* gfortran.dg/initialization_23.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150454 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-04 Dodji Seketeli <dodji@redhat.com>
dodji [Tue, 4 Aug 2009 12:26:01 +0000 (12:26 +0000)]
2009-08-04  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
PR debug/39706
* error.c (lang_decl_name): Print qualified names for decls
in  namespace scope.

gcc/testsuite/ChangeLog:
PR debug/39706
* g++.dg/debug/dwarf2/pubnames-1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150452 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/40948
jason [Tue, 4 Aug 2009 02:10:05 +0000 (02:10 +0000)]
PR c++/40948
* init.c (build_vec_init): Look through a TARGET_EXPR around a
CONSTRUCTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150394 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Tue, 4 Aug 2009 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150393 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 3 Aug 2009 21:53:25 +0000 (21:53 +0000)]
2009-08-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/istream (operator>>(basic_istream<>&&, _Tp&)): Minor
cosmetic changes, inline.
* include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&)):
Likewise.
* include/bits/move.h: Minor cosmetic changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150387 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c/39902
janis [Mon, 3 Aug 2009 21:38:53 +0000 (21:38 +0000)]
PR c/39902
* simplify-rtx.c (simplify_binary_operation_1): Disable
simplifications for decimal float operations.

PR c/39902
* gcc.target/powerpc/pr39902-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150383 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/40943
jakub [Mon, 3 Aug 2009 19:26:10 +0000 (19:26 +0000)]
PR middle-end/40943
* tree-ssa.c (warn_uninitialized_var): Even on LHS warn for
operand of INDIRECT_REF.

* gcc.dg/uninit-6.c: Re-add XFAIL.
* gcc.dg/uninit-6-O0.c: Likewise.
* gcc.dg/uninit-pr40943.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150379 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-07-31 Andrew Haley <aph@redhat.com>
aph [Mon, 3 Aug 2009 17:55:11 +0000 (17:55 +0000)]
2009-07-31  Andrew Haley  <aph@redhat.com>

PR java/40867
* decl.c (java_replace_references): Set EXPR_LOCATION on all
generated expressions.
(binding_level.loc): new field.
(clear_binding_level): Initialize loc.
(set_input_location): New function.
(pushlevel): Set new binding_level.loc.
(poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
(start_java_method): Set DECL_SOURCE_LOCATION of this new method.
(java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150376 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR testsuite/40858
danglin [Mon, 3 Aug 2009 17:29:17 +0000 (17:29 +0000)]
PR testsuite/40858
* g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with
.ascii.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150375 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/alpha.c (alpha_legitimate_constant_p): Reject CONST
uros [Mon, 3 Aug 2009 15:58:55 +0000 (15:58 +0000)]
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject CONST
constants referencing TLS symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150372 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sh/linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename
kkojima [Mon, 3 Aug 2009 10:33:16 +0000 (10:33 +0000)]
* config/sh/linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename
__sync_compare_and_swap_* to __sync_val_compare_and_swap_*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150371 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-03 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 3 Aug 2009 10:30:46 +0000 (10:30 +0000)]
2009-08-03  Richard Guenther  <rguenther@suse.de>

* tree.c (make_vector_type): Build a main variant first,
get the canonical one and then build the variant.
* tree-ssa.c (useless_type_conversion_p_1): Handle
fixed-point types.
(useless_type_conversion_p): Conversions to pointers to
incomplete record types are useless.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150370 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-03 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 3 Aug 2009 10:29:08 +0000 (10:29 +0000)]
2009-08-03  Richard Guenther  <rguenther@suse.de>

* tree-cfg.c (pass_warn_unused_result): Mark name that no dump
file will be created.
* omp-low.c (pass_diagnose_omp_blocks): Likewise.
* toplev.c (compile_file): Adjust comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150369 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sh/sh-protos.h (sh_promote_function_mode): Remove.
kkojima [Mon, 3 Aug 2009 10:27:44 +0000 (10:27 +0000)]
* config/sh/sh-protos.h (sh_promote_function_mode): Remove.
* config/sh/sh.c (sh_promote_function_mode): Wrap long lines.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS): Remove.
(sh_promote_function_mode): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150368 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-03 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 3 Aug 2009 09:18:28 +0000 (09:18 +0000)]
2009-08-03  Andreas Krebbel  <krebbel1@de.ibm.com>

* explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as
          possibly unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150367 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Mon, 3 Aug 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150364 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 2 Aug 2009 23:35:41 +0000 (23:35 +0000)]
2009-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40912 (final)
* testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/initlist_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/minstd_rand.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
range.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
initlist.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/requirements/
typedefs.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
* testsuite/26_numerics/random/
default_random_engine.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/initlist.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_move.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_copy.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed_seq.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/ranlux48_base.cc: Likewise.
* testsuite/26_numerics/random/minstd_rand0.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
base_move.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed1.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed2.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
base_copy.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mt19937_64.cc: Likewise.
* testsuite/26_numerics/random/random_device/cons/
token.cc: Likewise.
* testsuite/26_numerics/random/random_device/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/random_device/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/ranlux24.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/initlist_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
requirements/non_uint_neg.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/ranlux48.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
base_move.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed1.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed2.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
base_copy.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/knuth_b.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150361 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from
danglin [Sun, 2 Aug 2009 19:28:30 +0000 (19:28 +0000)]
* pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from
declaration arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150358 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 2 Aug 2009 18:47:46 +0000 (18:47 +0000)]
2009-08-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/40853
* gfortran.dg/namelist_40.f90: Update error output.
* gfortran.dg/namelist_47.f90: Update error output.
* gfortran.dg/namelist_58.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150357 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 2 Aug 2009 18:31:07 +0000 (18:31 +0000)]
2009-08-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/40853
* io/list_read.c (nml_get_obj_data): Do not set nl
pointer to first_nl if nl->next is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150356 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/i386/i386.c (ix86_expand_fp_compare): Use const0_rtx instead
uros [Sun, 2 Aug 2009 18:05:44 +0000 (18:05 +0000)]
* config/i386/i386.c (ix86_expand_fp_compare): Use const0_rtx instead
of GEN_INT (0x00) and const1_rtx instead of GEN_INT (0x01).
(ix86_split_ashl): Ditto.
(ix86_expand_vector_init_one_nonzero): Ditto.
(ix86_expand_vector_set): Ditto.
(ix86_expand_reduc_v4sf): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150355 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd missing entry
ebotcazou [Sun, 2 Aug 2009 14:34:42 +0000 (14:34 +0000)]
Add missing entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150353 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc-interface/gigi.h (end_subprog_body): Tweak comment.
ebotcazou [Sun, 2 Aug 2009 13:14:15 +0000 (13:14 +0000)]
* gcc-interface/gigi.h (end_subprog_body): Tweak comment.
* gcc-interface/utils.c (end_subprog_body): Likewise.
* gcc-interface/trans.c (gigi): Likewise.
(gnat_to_gnu): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150352 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-02 Janus Weil <janus@gcc.gnu.org>
janus [Sun, 2 Aug 2009 10:58:44 +0000 (10:58 +0000)]
2009-08-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40881
* decl.c (match_char_length): Warn about old-style character length
declarations.
* match.c (match_arithmetic_if,gfc_match_if): Modify warning message
for arithmetic if.
(gfc_match_goto): Warn about computed gotos.
(gfc_match_return): Warn about alternate return.
(gfc_match_st_function): Warn about statement functions.
* resolve.c (resolve_fl_procedure): Modify warning message for
assumed-length character functions.

2009-08-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40881
* gfortran.dg/aliasing_dummy_1.f90: Add -std=legacy.
* gfortran.dg/altreturn_3.f90: Ditto.
* gfortran.dg/altreturn_5.f90: Ditto.
* gfortran.dg/altreturn_6.f90: Ditto.
* gfortran.dg/altreturn_7.f90: Ditto.
* gfortran.dg/array_constructor_13.f90: Ditto.
* gfortran.dg/arrayio_7.f90: Ditto.
* gfortran.dg/arrayio_8.f90: Ditto.
* gfortran.dg/assumed_charlen_function_3.f90: Modified warning message.
* gfortran.dg/assumed_charlen_function_4.f90: Add -std=legacy.
* gfortran.dg/assumed_charlen_function_5.f90: Modified warning message.
* gfortran.dg/backspace_8.f: Add -std=legacy.
* gfortran.dg/backspace_9.f: Ditto.
* gfortran.dg/char_comparison_1.f: Ditto.
* gfortran.dg/char_decl_1.f90: Ditto.
* gfortran.dg/char_initialiser_actual.f90: Ditto.
* gfortran.dg/char_pointer_assign.f90: Ditto.
* gfortran.dg/char_pointer_dependency.f90: Ditto.
* gfortran.dg/char_pointer_dummy.f90: Ditto.
* gfortran.dg/char_pointer_func.f90: Ditto.
* gfortran.dg/common_8.f90: Ditto.
* gfortran.dg/constant_substring.f: Ditto.
* gfortran.dg/data_char_2.f90: Ditto.
* gfortran.dg/der_array_io_1.f90: Ditto.
* gfortran.dg/der_array_io_2.f90: Ditto.
* gfortran.dg/der_array_io_3.f90: Ditto.
* gfortran.dg/der_io_3.f90: Ditto.
* gfortran.dg/dev_null.F90: Ditto.
* gfortran.dg/direct_io_2.f90: Ditto.
* gfortran.dg/do_iterator_2.f90: Ditto.
* gfortran.dg/e_d_fmt.f90: Ditto.
* gfortran.dg/empty_format_1.f90: Ditto.
* gfortran.dg/entry_17.f90: Modified warning message.
* gfortran.dg/entry_7.f90: Add -std=legacy.
* gfortran.dg/eor_1.f90: Ditto.
* gfortran.dg/equiv_2.f90: Ditto.
* gfortran.dg/equiv_constraint_2.f90: Use new-style character length.
* gfortran.dg/equiv_substr.f90: Add -std=legacy.
* gfortran.dg/extended_char_comparison_1.f: Ditto.
* gfortran.dg/fmt_bz_bn_err.f: Ditto.
* gfortran.dg/fmt_error_2.f90: Ditto.
* gfortran.dg/fmt_read_bz_bn.f90: Ditto.
* gfortran.dg/fmt_tl.f: Ditto.
* gfortran.dg/fmt_white.f: Ditto.
* gfortran.dg/func_derived_1.f90: Ditto.
* gfortran.dg/g77_intrinsics_funcs.f: Ditto.
* gfortran.dg/g77_intrinsics_sub.f: Ditto.
* gfortran.dg/global_references_2.f90: Ditto.
* gfortran.dg/hollerith_1.f90: Ditto.
* gfortran.dg/hollerith.f90: Use new-style character length.
* gfortran.dg/hollerith_f95.f90: Ditto.
* gfortran.dg/ichar_1.f90: Add -std=legacy.
* gfortran.dg/implicit_6.f90: Ditto.
* gfortran.dg/implicit_9.f90: Ditto.
* gfortran.dg/inquire_13.f90: Ditto.
* gfortran.dg/inquire_5.f90: Ditto.
* gfortran.dg/inquire_6.f90: Ditto.
* gfortran.dg/inquire.f90: Ditto.
* gfortran.dg/io_constraints_1.f90: Use new-style character length.
* gfortran.dg/io_constraints_2.f90: Ditto.
* gfortran.dg/list_read_2.f90: Add -std=legacy.
* gfortran.dg/loc_2.f90: Ditto.
* gfortran.dg/logical_1.f90: Ditto.
* gfortran.dg/longline.f: Ditto.
* gfortran.dg/merge_char_1.f90: Ditto.
* gfortran.dg/namelist_12.f: Ditto.
* gfortran.dg/namelist_14.f90: Ditto.
* gfortran.dg/namelist_18.f90: Ditto.
* gfortran.dg/namelist_19.f90: Ditto.
* gfortran.dg/namelist_21.f90: Ditto.
* gfortran.dg/namelist_22.f90: Ditto.
* gfortran.dg/namelist_37.f90: Ditto.
* gfortran.dg/namelist_54.f90: Ditto.
* gfortran.dg/namelist_55.f90: Ditto.
* gfortran.dg/namelist_empty.f90: Ditto.
* gfortran.dg/namelist_use.f90: Use new-style character length.
* gfortran.dg/namelist_use_only.f90: Add -std=legacy.
* gfortran.dg/nested_modules_4.f90: Ditto.
* gfortran.dg/nested_modules_5.f90: Ditto.
* gfortran.dg/open-options-blanks.f: Ditto.
* gfortran.dg/output_exponents_1.f90: Ditto.
* gfortran.dg/parens_5.f90: Ditto.
* gfortran.dg/parens_6.f90: Ditto.
* gfortran.dg/parent_result_ref_2.f90: Modified warning message.
* gfortran.dg/pointer_function_actual_1.f90: Add -std=legacy.
* gfortran.dg/pr15129.f90: Ditto.
* gfortran.dg/pr15332.f: Ditto.
* gfortran.dg/pr16597.f90: Ditto.
* gfortran.dg/pr17143.f90: Ditto.
* gfortran.dg/pr17164.f90: Ditto.
* gfortran.dg/pr17229.f: Modified warning message.
* gfortran.dg/pr18210.f90: Add -std=legacy.
* gfortran.dg/pr19155.f: Ditto.
* gfortran.dg/pr20086.f90: Ditto.
* gfortran.dg/pr20124.f90: Ditto.
* gfortran.dg/pr20755.f: Ditto.
* gfortran.dg/pr20865.f90: Ditto.
* gfortran.dg/pr20950.f: Ditto.
* gfortran.dg/pr21730.f: Ditto.
* gfortran.dg/pr22491.f: Ditto.
* gfortran.dg/pr29713.f90: Ditto.
* gfortran.dg/print_parentheses_1.f: Ditto.
* gfortran.dg/print_parentheses_2.f90: Ditto.
* gfortran.dg/proc_assign_1.f90: Ditto.
* gfortran.dg/proc_decl_1.f90: Ditto.
* gfortran.dg/proc_ptr_17.f90: Add dg-warning.
* gfortran.dg/read_eor.f90: : Add -std=legacy.
* gfortran.dg/read_float_1.f90: Ditto.
* gfortran.dg/read_logical.f90: Ditto.
* gfortran.dg/recursive_statement_functions.f90: Ditto.
* gfortran.dg/return_1.f90: Ditto.
* gfortran.dg/rewind_1.f90: Ditto.
* gfortran.dg/runtime_warning_1.f90: Use new-style character length.
* gfortran.dg/scalar_return_1.f90: Add -std=legacy.
* gfortran.dg/stfunc_1.f90: Ditto.
* gfortran.dg/stfunc_3.f90: Ditto.
* gfortran.dg/stfunc_4.f90: Ditto.
* gfortran.dg/stfunc_6.f90: Ditto.
* gfortran.dg/streamio_2.f90: Ditto.
* gfortran.dg/string_ctor_1.f90: Ditto.
* gfortran.dg/string_null_compare_1.f: Ditto.
* gfortran.dg/substr_6.f90: Ditto.
* gfortran.dg/tl_editing.f90: Ditto.
* gfortran.dg/unf_io_convert_1.f90: Use new-style character length.
* gfortran.dg/warnings_are_errors_1.f90: Modified warning message.
* gfortran.dg/x_slash_1.f: Add -std=legacy.
* gfortran.dg/g77/1832.f: Ditto.
* gfortran.dg/g77/19981216-0.f Ditto.
* gfortran.dg/g77/19990525-0.f: Ditto.
* gfortran.dg/g77/19990826-2.f: Ditto.
* gfortran.dg/g77/20000630-2.f: Ditto.
* gfortran.dg/g77/20010116.f: Ditto.
* gfortran.dg/g77/20010519-1.f: Use new-style character length.
* gfortran.dg/g77/980419-2.f: Add -std=legacy.
* gfortran.dg/g77/980520-1.f: Ditto.
* gfortran.dg/g77/check0.f: Ditto.
* gfortran.dg/g77/cpp3.F: Ditto.
* gfortran.dg/g77/cpp4.F: Use new-style character length.
* gfortran.dg/g77/f77-edit-i-in.f: Add -std=legacy.
* gfortran.dg/g77/f77-edit-t-in.f: Ditto.
* gfortran.dg/g77/short.f: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150349 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.target/mips/ext-3.c: Add NOMIPS16.
nemet [Sun, 2 Aug 2009 06:45:33 +0000 (06:45 +0000)]
* gcc.target/mips/ext-3.c: Add NOMIPS16.
* gcc.target/mips/ext-4.c: Likewise.
* gcc.target/mips/interrupt_handler.c: Likewise.
* gcc.target/mips/truncate-4.c: Likewise.
* gcc.target/mips/truncate-5.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150345 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-02 Paolo Bonzini <bonzini@gnu.org
bonzini [Sun, 2 Aug 2009 06:10:29 +0000 (06:10 +0000)]
2009-08-02  Paolo Bonzini  <bonzini@gnu.org

* explow.c (promote_function_mode): Remove assert.
* config/sh/sh.c (sh_promote_function_mode): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150344 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * pa.c (pa_promote_function_mode): Declare. Change to static.
danglin [Sun, 2 Aug 2009 02:57:37 +0000 (02:57 +0000)]
* pa.c (pa_promote_function_mode): Declare.  Change to static.
Fix promote_mode call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150343 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gthr-dce.h (CONST_CAST2): Define if not defined.
danglin [Sun, 2 Aug 2009 01:38:27 +0000 (01:38 +0000)]
* gthr-dce.h (CONST_CAST2): Define if not defined.
(__gthread_setspecific): Use CONST_CAST2 to fix warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150342 138bc75d-0d04-0410-961f-82ee72b054a4