OSDN Git Service

18 years ago * doc/install.texi (Prerequisites): Update documentation of
jsm28 [Fri, 11 Jun 2004 16:50:08 +0000 (16:50 +0000)]
* doc/install.texi (Prerequisites): Update documentation of
required versions of autoconf and automake.  Remove mention of

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

18 years ago2004-06-11 Vincent Celier <celier@gnat.com>
charlet [Fri, 11 Jun 2004 10:47:39 +0000 (10:47 +0000)]
2004-06-11  Vincent Celier  <celier@gnat.com>

* mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
gnatsym, when symbol policy is Restricted.

* mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
gnatsym, when symbol policy is Restricted.

* symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
read the symbol file.
(Finalize): Fail in symbol policy Restricted if a symbol in the original
symbol file is not in the object files. Do not create a new symbol file
when symbol policy is Restricted.

* gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
in Scng.

* gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
(Usage): Line for new switch -R

* make.adb (Initialize): When the platform is not VMS, add the
directory where gnatmake is invoked in the front of the path, if
gnatmake is invoked with directory information.  Change the Scan_Args
while loop to a for loop.
(Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
if Depth is equal or greater than the proposed depth, there is nothing
to do.
(Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
instead of 0.

* prj.ads: Add new symbol policy Restricted.

* prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
with the new parameters Check_All_Labels and Case_Location.

* prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
(Library_Symbol_File needs to be defined).

* prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
and Case_Location If Check_All_Labels is True, check that all values of
the string type are used, and output warning(s) if they are not.

* prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
and Case_Location.

* gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"

* gnat_ugn.texi: Update documentation about the library directory in
Library Projects.

* makegpr.adb (Display_Command): In verbose mode, also display the
value of the CPATH env var, when the compiler is gcc.
(Initialize): Change the Scan_Args while loop to a for loop
(Compile_Individual_Sources): Change directory to object directory
before compilations.

* symbols.ads: New symbol policy Restricted.

2004-06-11  Olivier Hainque  <hainque@act-europe.fr>

* a-except.adb (Raise_After_Setup family): Remove. The responsibility
is now taken care of internally in the Exception_Propagation package
and does not require clients assistance any more.

* a-exexpr.adb (Is_Setup_And_Not_Propagated,
Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
functions. Helpers to maintain a predicate required in the handling of
occurrence transfer between tasks.
This is now handled internally and does not require clients assistance
for the setup/propagate separation anymore.
(Setup_Exception, Propagate_Exception): Simplify the Private_Data
allocation strategy, handle the Setup_And_Not_Propagated predicate and

* s-taenca.adb (Check_Exception): Use raise_with_msg instead of
raise_after_setup, now that everything is handled internally within the
setup/propagation engine.

2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>

* exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
Add additional conditions for the case of an actual being a simple
name or literal. Improve inlining by preventing the generation
of temporaries with a short lifetime (one use).

2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>

PR ada/15587

* einfo.ads: Minor comment updates for Has_Completion and
E_Constant list of flags.

* sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
and constant redeclarations now set the Has_Completion flag of their
defining identifiers.

* sem_ch7.adb (Analyze_Package_Spec): Add procedure
Used to detect private deferred constants that have not been completed
either by a constant redeclaration or pragma Import. Emits error message
"constant declaration requires initialization expression".

* sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
completes a deferred constant.

2004-06-11  Geert Bosch  <bosch@gnat.com>

* eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.

* s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
calculating exponent for scaling denormal numbers.
(Leading_Part): Properly raise Constraint_Error for zero or negative
(Remainder): Properly raise Constraint_Error for zero divisor.

2004-06-11  Thomas Quinot  <quinot@act-europe.fr>

* sem_util.adb: Minor reformatting.

* exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
dereference when accessing the entry parameter record.
(Check_Array_Type): Always check for possible implicit dereference.
(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
Abort if a pointer is still present (denoting that an implicit
dereference was left in the tree by the front-end).

* sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
dereference when accessing the entry parameter record.
(Check_Array_Type): Always check for possible implicit dereference.
(maybe_implicit_dereference): Rename to check_no_implicit_derefence.
Abort if a pointer is still present (denoting that an implicit
dereference was left in the tree by the front-end).

2004-06-11  Emmanuel Briot  <briot@act-europe.fr>

* g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
message, like the compiler itself does. Easier to parse the output.

* g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.

* gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
be base names, and not includes directories.

2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>

* Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
so that dependencies are properly taken into account by make.

2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>

PR ada/15622
* s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic

2004-06-11  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in (install-gnatlib): install target-specific run-time files.

* Make-lang.in: Remove obsolete targets.

2004-06-11  Ed Schonberg  <schonberg@gnat.com>

* par-ch12.adb (P_Generic): Add scope before analyzing subprogram
specification, to catch misuses of program unit names.

* sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
superfluous conversions in an instance.

2004-06-11  Ed Schonberg  <schonberg@gnat.com>

PR ada/15403

* sem_ch12.adb (Save_References): If operator node has been folded to
enumeration literal, associated_node must be discarded.

2004-06-11  Jose Ruiz  <ruiz@act-europe.fr>

* s-stchop-vxworks.adb: Add required pragma Convention to
Task_Descriptor because it is updated by a C function.

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

18 years ago * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
mark [Fri, 11 Jun 2004 10:42:59 +0000 (10:42 +0000)]
   * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to

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

18 years ago * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.
jason [Fri, 11 Jun 2004 06:08:09 +0000 (06:08 +0000)]
    * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.

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

18 years ago2004-06-11 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 11 Jun 2004 05:54:02 +0000 (05:54 +0000)]
2004-06-11  Jerry Quinn  <jlquinn@optonline.net>

* java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
when we already know the answer.
* java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
(setStartRule,setEndRule): Don't take abs of day number.
(getOffset): Clarify docs.  Add argument checks.
(isBefore): Take abs of day number in DOW_LE_DOM_MODE.
(equals,hasSameRules,toString,readObject): Use startTimeMode and

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

18 years agofix typo
jason [Fri, 11 Jun 2004 05:46:37 +0000 (05:46 +0000)]
fix typo

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

18 years ago2004-06-11 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 11 Jun 2004 05:31:09 +0000 (05:31 +0000)]
2004-06-11  Jerry Quinn  <jlquinn@optonline.net>

* typeclass.h: Add GPL plus exception license.  Add include

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

18 years ago * gimplify.c (gimplify_modify_expr): Don't force a temporary
jason [Fri, 11 Jun 2004 03:26:31 +0000 (03:26 +0000)]
    * gimplify.c (gimplify_modify_expr): Don't force a temporary
        of an aggregate_value_p type.

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

18 years ago * fold-const.c (fold_inf_compare): Avoid creating non-gimple
law [Fri, 11 Jun 2004 03:22:30 +0000 (03:22 +0000)]
    * fold-const.c (fold_inf_compare): Avoid creating non-gimple
        code when we are in gimple form.

        * gcc.c-torture/compile/20040610-1.c: New test.

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

18 years ago * typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
giovannibajo [Fri, 11 Jun 2004 03:11:07 +0000 (03:11 +0000)]
* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
appear at the correct location.

* g++.old-deja/g++.robertl/eb4.C: Adjust error markers.
* g++.old-deja/g++.other/decl3.C: Likewise.

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

18 years agoDaily bump.
gccadmin [Fri, 11 Jun 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Fri, 11 Jun 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * Makefile.in (tree-ssanames.o): Depend on TREE_FLOW_H.
dnovillo [Thu, 10 Jun 2004 22:37:05 +0000 (22:37 +0000)]
* Makefile.in (tree-ssanames.o): Depend on TREE_FLOW_H.
* tree-flow.h (ssa_names, num_ssa_names, ssa_name): Declare.
(highest_ssa_version): Remove.
* tree-outof-ssa.c (new_temp_expr_table): Replace
highest_ssa_version with num_ssa_names.
(dump_replaceable_exprs): Likewise.
(rewrite_vars_out_of_ssa): Likewise.
* tree-ssa-ccp.c (initialize): Likewise
* tree-ssa-copyrename.c (rename_ssa_copies): Likewise.
* tree-ssa-dce.c (tree_dce_init): Likewise.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
* tree-ssa-live.c (create_ssa_var_map): Likewise.
(dump_var_map): Likewise.
* tree-ssa.c (verify_ssa): Likewise.
(kill_redundant_phi_nodes): Likewise.
Do not build a local array of SSA_NAMEs.  Use the ssa_names table.
* tree-ssanames.c: Include tree-flow.h
(ssa_names): New varray.
(init_ssa_names): Initialize ssa_names.
Reserve the first slot of the ssa_names table.
(make_ssa_name): Push the newly created SSA_NAME into ssa_names.
Assign version numbers using num_ssa_names.

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

18 years ago * doc/sourcebuild.texi (Front End): Add details of more
jsm28 [Thu, 10 Jun 2004 22:13:24 +0000 (22:13 +0000)]
* doc/sourcebuild.texi (Front End): Add details of more
installation documentation required.

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

18 years ago * doc/tree-ssa.texi: Remove references to VDEF and add descriptions
bbooth [Thu, 10 Jun 2004 21:41:08 +0000 (21:41 +0000)]
* doc/tree-ssa.texi: Remove references to VDEF and add descriptions
* tree-dfa.c (dfa_stats_d): Add num_v_must_defs and rename
num_vdefs to num_v_may_defs.
(compute_immediate_uses_for_stmt): Rename occurences of vdef
to v_may_def.
(redirect_immediate_uses): Ditto.
(dump_dfa_stats): Ditto. Also added code to dump num_v_must_defs.
(collect_dfa_stats_r): Rename occurences of vdef to v_may_def.
Also add code to sum up the number of v_must_defs.
(vdefs_disappeared_p): Replace with...
(v_may_defs_disappeared_p): This.
(v_must_defs_disappeared_p): New function.
(mark_new_vars_to_rename): Rename occurences of vdef to v_may_def.
Also add code to mark new variables found in V_MUST_DEFs for
* tree-flow.h (stmt_ann_d): Add v_must_def_ops and replace
vdef_ops to v_may_def_ops.
(get_vdef_ops): Replace with...
(get_v_may_def_ops): This.
* tree-flow-inline.h (get_vdef_ops): Replace with...
(get_v_may_def_ops): This.
(get_v_must_def_ops): New function.
(get_vdef_result_ptr): Replace with...
(get_v_may_def_result_ptr): This.
(get_vdef_op_ptr): Ditto with...
(get_v_may_def_op_ptr); This.
(get_v_must_def_op_ptr): New function.
* tree-into-ssa.c (mark_def_sites): Rename occurences of vdef
to v_may_def. Also add code to mark statements with
V_MUST_DEFs as definition sites.
(rewrite_stmt): Rename occurences of vdef to v_may_def. Also
add code to register new V_MUST_DEFs made by the statement.
* tree-outof-ssa.c (VIRTUAL_PARTITION): Update comments.
(check_replaceable): Rename occurences of vdef to v_may_def. Also
add check for V_MUST_DEFs.
(find_replaceable_in_bb): Ditto.
* tree-pretty-print.c (dump_vops): Rename occurences of vdef
to v_may_def. Also add code to dump V_MUST_DEFs.
* tree-sra.c (mark_all_vdefs): Replace with...
(mark_all_v_may_defs): This.
(mark_all_v_must_defs): New function.
(create_scalar_copies): Replace call to mark_all_vdefs with
calls to mark_all_v_may_defs and mark_all_v_must_defs.
(scalarize_structures): Rename occurences of vdef to v_may_def.
Also add a check for V_MUST_DEFs.
(scalarize_modify_expr): Rename occurences of vdef to v_may_def.
* tree-ssa-alias.c (global_var): Update comment.
(compute_may_aliases): Ditto.
(compute_points_to_and_addr_escape): Rename occurences of vdef
to v_may_def. Also add code to mark variables in V_MUST_DEF
operands as being written to.
(group_aliases): Update comment.
(maybe_create_global_var): Ditto.
* tree-ssa.c (verify_ssa): Rename occurences of vdef to v_may_def.
Also add a check for V_MUST_DEFs on GIMPLE registers.
(replace_immediate_uses): Rename occurences of vdef to v_may_def.
* tree-ssa-ccp.c (visit_stmt): Rename occurences of vdef
to v_may_def. Also add code to mark all V_MUST_DEF operands
(initialize): Ditto.
(set_rhs): Rename occurences of vdef to v_may_def. Also add
code to update SSA_NAMEs in V_MUST_DEFs.
* tree-ssa-copy.c (cprop_into_stmt): Rename occurences of vdef
to v_may_def.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Rename
occurences of vdef to v_may_def. Also add code to mark statements
with V_MUST_DEFs as necessary.
(propagate_necessity): Rename occurences of vdef to v_may_def.
* tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Rename
occurences of vdef to v_may_def. Also add code to mark operands
in V_MUST_DEFs for renaming.
(eliminate_redundant_computations): Rename occurences of vdef
to v_may_def.
(record_equivalences_from_stmt): Rename occurences of vdef
to v_may_def. Also add code to record VUSEs for V_MUST_DEFs.
(optimize_stmt): Remove unnesessary variable vdefs. Update
(register_definitions_for_stmt): Rename occurences of vdef
to v_may_def. Also add code to register definitions made with
* tree-ssa-dse.c (fix_stmt_vdefs): Replace with...
(fix_stmt_v_may_defs): This.
(fix_phi_uses): Rename occurences of vdef to v_may_def.
(dse_optimize_stmt): Ditto.
* tree-ssa-live.c (create_ssa_var_map): Rename occurences of vdef
to v_may_def. Also add code to mark V_MUST_DEF operands as being
used in virtual operators.
* tree-ssa-loop.c (mark_defs_for_rewrite): Rename occurences of
vdef to v_may_def. Also add code to mark V_MUST_DEF operands for
* tree-ssa-operands.c (opf_kill_def): New flag for killing
(build_vdefs): Renamed to...
(build_v_may_defs): This.
(build_v_must_defs): New variable.
(voperands_d): Add v_must_def_ops and replace vdef_ops with
(append_vdef): Replace with...
(append_v_may_def): This.
(append_v_must_def): New function.
(NUM_FREE): Increment for V_MUST_DEF
(optype_freelist): Increment its size for V_MUST_DEF
(allocate_vdef_optype): Replace with...
(allocate_v_may_def_optype): This.
(allocate_v_must_def_optype): New function.
(free_vdefs): Replace with...
(free_v_may_defs): This.
(free_v_must_defs): New function.
(remove_vdefs): Replace with...
(remove_v_may_defs): This.
(remove_v_must_defs): New function.
(init_ssa_operands): Rename occurences of vdef to v_may_def. Also
add code to initialize build_v_must_defs.
(finalize_ssa_vdefs): Replace with...
(finalize_ssa_v_may_defs): This.
(finalize_ssa_vuses): Rename occurences of vdef to v_may_def.
(finalize_ssa_v_must_defs): New function.
(finalize_ssa_stmt_operands): Replace call to finalize_ssa_vdefs
with calls to finalize_ssa_v_may_defs and finalize_ssa_v_must_defs.
(verify_start_operands): Rename occurences of vdef to v_may_def.
Also add check for build_v_must_defs.
(get_stmt_operands): Rename occurences of vdef to v_may_def.
Also add code to handle V_MUST_DEFs and to use opf_kill_def for
killing definitions.
(get_expr_operands): Update comment and use opf_kill_def for
killing definitions.
(add_stmt_operand): Replace code that appends VDEFs with code
that appends V_MUST_DEFs when opf_kill_def is set and V_MAY_DEFs
(add_call_clobber_ops): Update comments.
* tree-ssa-operands.h (vdef_optype_d): Replace with...
(v_may_def_optype_d): This.
(v_must_def_optype_d): New structure.
(VDEF_OPS): Replace with...
(V_MAY_DEF_OPS): This.
(STMT_VDEF_OPS): Same with...
(NUM_VDEFS): And...
(VDEF_RESULT_PTR): As well as...
(VDEF_RESULT): Same goes for...
(VDEF_OP_PTR): And...
(VDEF_OP): And...
(V_MAY_DEF_OP): This.
(V_MUST_DEF_OPS): New macro.
(V_MUST_DEF_OP): Ditto.
(remove_vdefs): Replace signature with...
(remove_v_may_defs): This.
(remove_v_must_defs): New function signature.
* tree-ssa-pre.c (subst_phis): Replace call to remove_vdefs
with calls to remove_v_may_defs and remove_v_must_defs.
(process_left_occs_and_kills): Rename occurences of vdef to v_may_def.
Also add code that marks left occurences of operands in V_MUST_DEFs.
* tree-tailcall.c (find_tail_calls): Rename occurences of vdef
to v_may_def. Also add check for V_MUST_DEFs.
(eliminate_tail_call):Rename occurences of vdef to v_may_def.


* gcc.dg/tree-ssa/20031015-1.c: Scan for
V_MAY_DEF instead of VDEF.
* gcc.dg/tree-ssa/20040517-1.c: Ditto.

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

18 years ago2004-06-10 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 10 Jun 2004 21:06:07 +0000 (21:06 +0000)]
2004-06-10  Vladimir Makarov  <vmakarov@redhat.com>

PR target/15653
* haifa-sched.c (schedule_block): Finish cycle after issuing asm

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

18 years ago PR web/15263
reichelt [Thu, 10 Jun 2004 20:58:43 +0000 (20:58 +0000)]
  PR web/15263
* doc/install.texi: Remove superfluous linebreak.

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

18 years ago2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
bkoz [Thu, 10 Jun 2004 19:54:59 +0000 (19:54 +0000)]
2004-06-10  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>

* include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.

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

18 years ago * builtins.c (expand_builtin): Fall back to library function call for
sayle [Thu, 10 Jun 2004 19:46:03 +0000 (19:46 +0000)]
* builtins.c (expand_builtin): Fall back to library function call for
conj, conjf, conjl, creal, crealf, creall, cimag, cimagf and cimagl.
(fold_builtin_1): Lower built-ins BUILT_IN_CONJ{,F,L} to CONJ_EXPR,
IMAGPART_EXPR respectively.

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

18 years ago PR c++/15875
jason [Thu, 10 Jun 2004 18:28:53 +0000 (18:28 +0000)]
    PR c++/15875
        2004-06-01  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

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

18 years ago * sh.c (dump_table): New argument start. Changed caller.
amylaar [Thu, 10 Jun 2004 18:14:53 +0000 (18:14 +0000)]
* sh.c (dump_table): New argument start.  Changed caller.
(fixup_mova): New function.
(find_barrier): Use it.
(sh_reorg): Likewise.  Check for CODE_FOR_casesi_worker_2.
If the label a mova refers to is above the mova itself, change
the mova into a load.
* sh.md (*casesi_worker): Rename to:
(casesi_worker_2): New insn.

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

18 years ago2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
bkoz [Thu, 10 Jun 2004 16:54:49 +0000 (16:54 +0000)]
2004-06-10  Jan van Dijk  <jan@etpmod.phys.tue.nl>

* include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
this function return a value.

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

18 years agofix conflict markers
jason [Thu, 10 Jun 2004 15:50:26 +0000 (15:50 +0000)]
fix conflict markers

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

18 years ago * target.h (struct gcc_target): Change gimplify_va_arg_expr
jason [Thu, 10 Jun 2004 15:49:49 +0000 (15:49 +0000)]
    * target.h (struct gcc_target): Change gimplify_va_arg_expr
        hook signature.
        * tree-gimple.h: Adjust.
        * config/alpha/alpha.c (alpha_gimplify_va_arg): Adjust.
        * config/i386/i386.c (ix86_gimplify_va_arg): Adjust.
        Use fold_convert.
        * config/ia64/ia64.c (ia64_gimplify_va_arg): Adjust.
        * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust.
        Use COMPLEX_EXPR for complex numbers.  Use fold_convert.
        * builtins.c (std_gimplify_va_arg_expr): Adjust.  Use fold_convert.
        (gimplify_va_arg_expr): Return GS_ERROR in error case.
        Gimplify valist rather than calling stabilize_va_list.

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

18 years ago2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net>
fche [Thu, 10 Jun 2004 15:39:32 +0000 (15:39 +0000)]
2004-06-10  Stephen Crowley  <stephen.crowley@sbcglobal.net>

PR libmudflap/13505
* mf-hooks2.c (semctl): Add cygwin porting hack.

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

18 years ago * Makefile.in (df.o): Remove fibheap dependency.
rakdver [Thu, 10 Jun 2004 15:01:01 +0000 (15:01 +0000)]
* Makefile.in (df.o): Remove fibheap dependency.
* df.h: Do not include sbitmap.h.
(struct ref): New field "data".
(DF_REF_DATA): New accessor macro.
(struct df): Field "dom" removed.
(df_analyze_subcfg): New function.
(transfer_function_sbitmap, transfer_function_bitmap): Replaced by ...
(transfer_function): ... new type.
(iterative_dataflow_sbitmap, iterative_dataflow_bitmap): Replaced by ...
(iterative_dataflow): ... new function.
(enum set_representation, struct dataflow): New.
* df.c: Do not include fibheap.h.

(df_reg_def_chain_clean, df_reg_use_chain_clean,
(df_bb_table_realloc, df_analyse_subcfg, free_reg_ref_chain,
prune_to_subcfg, df_bb_modify): New functions.
(df_bitmaps_alloc, df_reg_def_chain_create, df_reg_use_chain_create,
df_refs_update, df_reg_table_realloc, df_ref_create,
df_bb_reg_def_chain_create, df_bb_reg_use_chain_create,
df_bb_rd_local_compute, df_bb_ru_local_compute, df_bb_lr_local_compute,
df_analyse_1, df_insn_modify): Support analysing only a part of the cfg.

(dataflow_set_a_op_b, dataflow_set_copy): New functions.
(df_rd_transfer_function, df_ru_transfer_function,
df_lr_transfer_function): Type of bitmaps changed to void *.
(hybrid_search_bitmap, hybrid_search_sbitmap): Merge into ...
(hybrid_search): ... new function.
(iterative_dataflow_bitmap, iterative_dataflow_sbitmap): Merge into ...
(iterative_dataflow): ... new function. Avoid use of fibheaps for
a worklist.  Do not process basic blocks unnecessarily.

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

18 years ago PR c++/15227
mmitchel [Thu, 10 Jun 2004 14:26:23 +0000 (14:26 +0000)]
PR c++/15227
* parser.c (cp_parser_direct_declarator): Robustify.

PR c++/15877
* pt.c (tsubst_copy): Use decl_constant_value on enumeration
constants in non-dependent contexts.

PR c++/14211
PR c++/15076
* typeck.c (build_static_cast): Wrap casts in NON_LVALUE_EXPR when

PR c++/14211
* g++.dg/conversion/const1.C: New test.

PR c++/15076
* g++.dg/conversion/reinterpret1.C: New test.

PR c++/15877
* g++.dg/template/enum2.C: New test.

PR c++/15227
* g++.dg/template/error13.C: New test.

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

18 years ago * fold-const.c (fold_abs_const): Make extern.
sayle [Thu, 10 Jun 2004 13:29:34 +0000 (13:29 +0000)]
* fold-const.c (fold_abs_const): Make extern.
* tree.h (fold_abs_const): Prototype here.
* builtins.c (fold_builtin_fabs): New function to transform
fabs, fabsf and fabsl builtins into ABS_EXPR tree nodes.
(fold_builtin_abs): New function to transform abs, labs, llabs
and imaxabs builtins into ABS_EXPR tree nodes.
(expand_builtin): Fall back to a function call for abs, labs,
llabs and imaxabs builtins that survive constant folding.
(fold_builtin_1): Call fold_builtin_fabs for FABS, FABSF and
FABSL, and fold_builtin_abs for ABS, LABS, LLABS and IMAXABS.

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

18 years agoPR fortran/14957
tobi [Thu, 10 Jun 2004 12:41:32 +0000 (12:41 +0000)]
PR fortran/14957
* gfortran.fortran-torture/execute/intrinsic_scale.f90: Make all
arguments to test_* REAL and of the right size.

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

18 years ago PR target/15569
jakub [Thu, 10 Jun 2004 08:43:16 +0000 (08:43 +0000)]
PR target/15569
PR rtl-optimization/15681
* gcc.dg/20040609-1.c: New test.

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

18 years ago * config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume a
jakub [Thu, 10 Jun 2004 08:23:00 +0000 (08:23 +0000)]
* config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume a
leaf function without unwind info at RP 0.

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

18 years ago * src/ia64/unix.S (ffi_call_unix): Insert group barrier break
jakub [Thu, 10 Jun 2004 08:18:25 +0000 (08:18 +0000)]
* src/ia64/unix.S (ffi_call_unix): Insert group barrier break
(ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever
changed from 8.

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

18 years agoOops.
jakub [Thu, 10 Jun 2004 08:11:29 +0000 (08:11 +0000)]

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

18 years ago PR c++/14791
jakub [Thu, 10 Jun 2004 08:08:02 +0000 (08:08 +0000)]
PR c++/14791
* tree.h (enum tree_index): Add TI_FILEPTR_TYPE.
(fileptr_type_node): Define.
* tree.c (build_common_tree_nodes_2): Initialize
fileptr_type_node to ptr_type_node.
* c-common.c (c_common_nodes_and_builtins): For C++, make
fileptr_type_node a distinct type copy.
the above *FILEPTR* types instead of *PTR*.

* decl.c (duplicate_decls): Handle fileptr_type_node arguments

* g++.dg/opt/builtins1.C: New test.

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

18 years ago * interpret.cc (run): Handle wide fload.
tromey [Thu, 10 Jun 2004 06:18:18 +0000 (06:18 +0000)]
* interpret.cc (run): Handle wide fload.

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

18 years agoFix typos.
jakub [Thu, 10 Jun 2004 05:57:58 +0000 (05:57 +0000)]
Fix typos.

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

18 years agoclean up obsolete comment
jason [Thu, 10 Jun 2004 05:32:44 +0000 (05:32 +0000)]
clean up obsolete comment

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

18 years ago * gcc_update: Add libgfortran.
aj [Thu, 10 Jun 2004 04:50:45 +0000 (04:50 +0000)]
* gcc_update: Add libgfortran.

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

18 years ago2004-06-09 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 10 Jun 2004 03:04:07 +0000 (03:04 +0000)]
2004-06-09  Daniel Berlin <dberlin@dberlin.org>

* tree-ssa.c (verify_ssa): Verify that vdefs/makes_aliased_stores

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

18 years ago * gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targets
dannysmith [Thu, 10 Jun 2004 01:48:50 +0000 (01:48 +0000)]
    * gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targets
        that use default windows32 struct layout.
        * gcc.dg/i386-bitfield2.c: Likewise.

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

18 years agoDaily bump.
gccadmin [Thu, 10 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Thu, 10 Jun 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * fold-const.c (fold_not_const): New function.
sayle [Thu, 10 Jun 2004 00:02:48 +0000 (00:02 +0000)]
* fold-const.c (fold_not_const): New function.
(fold) <ABS_EXPR>: Don't bother testing wins.
(fold) <BIT_NOT_EXPR>: Call fold_not_const.
(nondestructive_fold_unary_to_constant) <BIT_NOT_EXPR>: Likewise.

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

18 years ago PR middle-end/15228
rth [Wed, 9 Jun 2004 23:52:13 +0000 (23:52 +0000)]
    PR middle-end/15228
        * function.c (assign_parms): Always set_mem_align with the computed
        FUNCTION_ARG_BOUNDARY.  Don't clear stack_parm if !STRICT_ALIGNMENT.

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

18 years ago PR opt/15108
rth [Wed, 9 Jun 2004 23:48:56 +0000 (23:48 +0000)]
    PR opt/15108
        * tree-tailcall.c (find_tail_calls): Don't check early for
        tail_recursion failure.

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

18 years ago Move SSA_NAME annotations into tree_ssa_name.
dnovillo [Wed, 9 Jun 2004 22:58:29 +0000 (22:58 +0000)]
Move SSA_NAME annotations into tree_ssa_name.

* tree-dfa.c (create_ssa_name_ann): Remove.
* tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove.
* tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN.
(struct ssa_name_ann_d): Remove.
(union tree_ann_d): Update.
(ssa_name_ann_t): Remove.
* tree-ssa-alias.c: (get_ptr_info): New local function.
Replace references to ssa_name_ann_t with struct ptr_info_def.
* tree-ssa-operands.c (get_expr_operands): Likewise.
* tree.h (SSA_NAME_PTR_INFO): Define.
(struct ptr_info_def): Declare.
(struct tree_ssa_name): Add field 'ptr_info'.

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

18 years ago * config/i386/winnt.c (i386_pe_output_labelref): Correct
dannysmith [Wed, 9 Jun 2004 22:52:10 +0000 (22:52 +0000)]
* config/i386/winnt.c (i386_pe_output_labelref): Correct
misplaced ')'.

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

18 years ago * config/i386/winnt.c (i386_pe_output_labelref); Correct
dannysmith [Wed, 9 Jun 2004 22:43:29 +0000 (22:43 +0000)]
* config/i386/winnt.c (i386_pe_output_labelref); Correct
misplaced ')'.

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

18 years ago * config/i386/k6.md: Rewrite using the DFA model.
steven [Wed, 9 Jun 2004 21:58:54 +0000 (21:58 +0000)]
* config/i386/k6.md: Rewrite using the DFA model.
* config/i386/i386.c (ix86_adjust_cost): Don't increase the
cost of load-operation insns for the K6.
(ia32_use_dfa_pipeline_interface): Add TARGET_K6.
(ia32_multipass_dfa_lookahead): Likewise.

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

18 years ago * config/alpha/alpha.c (alpha_gimplify_va_arg_1,
rth [Wed, 9 Jun 2004 21:44:17 +0000 (21:44 +0000)]
    * config/alpha/alpha.c (alpha_gimplify_va_arg_1,
        alpha_gimplify_va_arg, TARGET_GIMPLIFY_VA_ARG_EXPR): New.

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

18 years ago2004-06-09 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 9 Jun 2004 21:37:46 +0000 (21:37 +0000)]
2004-06-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/15775
* include/bits/stl_deque.h: Consistently with stl_set.h, define
pointer as allocator's pointer, likewise for reference,
const_pointer, and const_reference.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.

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

18 years ago * g++.dg/abi/bitfield3.C: Add -mno-align-double compile option
dannysmith [Wed, 9 Jun 2004 21:03:48 +0000 (21:03 +0000)]
* g++.dg/abi/bitfield3.C: Add -mno-align-double compile option
for mingw32 and cygwin targets.

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

18 years ago * expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.
rth [Wed, 9 Jun 2004 21:00:35 +0000 (21:00 +0000)]
    * expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.

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

18 years agoIndex: gcc/ChangeLog
geoffk [Wed, 9 Jun 2004 20:10:13 +0000 (20:10 +0000)]
Index: gcc/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in (CPPLIB_H): Put files in order of inclusion.
(gtype-desc.o): Update dependencies.

Index: gcc/testsuite/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/pch/macro-4.c: New.
* gcc.dg/pch/macro-4.hs: New.

Index: libcpp/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

* traditional.c (push_replacement_text): Set macro->traditional.
(save_replacement_text): Likewise.
* pch.c (cpp_write_pch_state): Don't write list of defined macros.
(struct save_macro_item): Delete.
(struct save_macro_data): Use a character array not the previous
structured format.
(save_macros): Save macro as text not as internal structures.
(cpp_prepare_state): Update for changes to save_macro_data.
(cpp_read_state): Don't read macros defined in PCH.  Restore
-D macros as text.
* macro.c (create_iso_definition): Honour alloc_subobject.
Clear traditional flag.
(_cpp_create_definition): Honour alloc_subobject.
* lex.c (cpp_token_val_index): New.
* internal.h: Include cpp-id-data.h.
(uchar): Move definition to cpp-id-data.h.
(U): Likewise.
(cpp_macro): Likewise.
* directives.c (struct answer): Move to cpp-id-data.h.
(do_assert): Honour alloc_subobject.

Index: libcpp/include/ChangeLog
2004-06-09  Geoffrey Keating  <geoffk@apple.com>

* symtab.h (struct ht): Add field 'alloc_subobject'.
* cpplib.h (struct cpp_string): Add GTY marker.
(enum cpp_token_fld_kind): New.
(struct cpp_token): Add GTY markers.
(cpp_token_val_index): Prototype.
(struct cpp_hashnode): Don't skip fields of 'value' when marking.
* cpp-id-data.h: New file.

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

18 years ago2004-06-09 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 9 Jun 2004 19:57:24 +0000 (19:57 +0000)]
2004-06-09  Toon Moene  <toon@moene.indiv.nluug.nl>

* trans-expr.c (gfc_conv_cst_int_power): Compute
x**(-n) by converting it to (1/x)**n instead of

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

18 years ago2004-06-09 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 9 Jun 2004 19:04:56 +0000 (19:04 +0000)]
2004-06-09  Frank Ch. Eigler  <fche@redhat.com>

ctype support.
* configure.in: Look for ctype header and glibc implementation.
* mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype
array hooks for glibc 2.3.
* mf-runtime.h.in: Wrap them.
* mf-runtime.c (__mf_init): Leave marker regarding other ctype
* testsuite/libmudflap.c/pass47-frag.c: New test.
* configure, config.h.in: Regenerated.

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

18 years ago Revert:
mmitchel [Wed, 9 Jun 2004 18:34:05 +0000 (18:34 +0000)]
PR c++/15815
2004-06-07  Mark Mitchell  <mark@codesourcery.com>
* doc/extend.texi: Deprecate #pragma interface and #pragma

PR c++/15815
2004-06-07  Mark Mitchell  <mark@codesourcery.com>
* lex.c (handle_pragma_interface): Deprecate.
(handle_pragma_implementation): Likewise.

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

18 years ago2004-06-09 David S. Miller <davem@nuts.davemloft.net>
davem [Wed, 9 Jun 2004 18:26:11 +0000 (18:26 +0000)]
2004-06-09  David S. Miller  <davem@nuts.davemloft.net>

* config/sparc/sparc.h (MOVE_RATIO): New definition.

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

18 years ago2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 9 Jun 2004 17:54:17 +0000 (17:54 +0000)]
2004-06-09  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++spec.c (lang_specific_driver): Remove check for -lm
        and -lmath when check it see if it was the math library.

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

18 years ago * basic-block.h (struct edge_def): Add goto_locus.
rth [Wed, 9 Jun 2004 17:00:30 +0000 (17:00 +0000)]
    * basic-block.h (struct edge_def): Add goto_locus.
        * tree-cfg.c (make_goto_expr_edges): Set it.
        (disband_implicit_edges): Use it.
        * tree-pretty-print.c (dump_implicit_edges): Print it.

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

18 years ago * h8300.md (ldm_h8300s_4): Fix condition for expander.
law [Wed, 9 Jun 2004 16:44:31 +0000 (16:44 +0000)]
    * h8300.md (ldm_h8300s_4): Fix condition for expander.

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

18 years ago Gimplify VA_ARG_EXPR into simpler forms.
jason [Wed, 9 Jun 2004 15:32:44 +0000 (15:32 +0000)]
    Gimplify VA_ARG_EXPR into simpler forms.
        * target.h: Add gimplify_va_arg_expr hook.
        * target-def.h: Add TARGET_GIMPLIFY_VA_ARG_EXPR.
        * fold-const.c (build_fold_addr_expr)
        (build_fold_addr_expr_with_type): Move from gimplify.c.
        * tree.h: Declare them.
        * gimplify.c (gimplify_and_add): New fn.
        (build_addr_expr, build_addr_expr_with_type): Move to fold-const.c.
        (gimplify_array_ref_to_plus, gimplify_modify_expr)
        (gimplify_expr): Use build_fold_*.
        (copy_if_shared_r): Only mark VA_ARG_EXPR volatile if we
        don't know how to gimplify it.
        * builtins.c (std_gimplify_va_arg_expr): New fn.
        (dummy_object): New static fn.
        (gimplify_va_arg_expr): New fn.
        (stabilize_va_list): Use build_fold_*.
        * tree-gimple.h: Declare new fns.
        * config/i386/i386.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
        (ix86_gimplify_va_arg): New fn.
        * config/i386/ia64.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
        (ia64_gimplify_va_arg): New fn.
        * config/i386/rs6000.c (rs6000_gimplify_va_arg): New fn.
        * config/i386/sparc.c (sparc_gimplify_va_arg): New fn.
        * alias.c (get_varargs_alias_set): Just return 0 for now.

        * c-objc-common.c (c_tree_printer): Improve handling of %T.

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

18 years ago2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 9 Jun 2004 15:07:03 +0000 (15:07 +0000)]
2004-06-09  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-complex.c (expand_complex_comparison): Use fold_convert instead
        of convert.
        * tree-inline.c (setup_one_parameter): Likewise.
        * tree-sra.c (csc_build_component_ref): Likewise.
        * tree-ssa-ccp.c (ccp_fold): Likewise.
        * tree-ssa-copy.c (cprop_operand): Likewise.
        * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
        * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.

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

18 years agoPR fortran/13249
tobi [Wed, 9 Jun 2004 13:08:13 +0000 (13:08 +0000)]
PR fortran/13249
* gfortran.fortran-torture/compile/name_clash.f90: New test.

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

18 years agofortran/
tobi [Wed, 9 Jun 2004 12:55:50 +0000 (12:55 +0000)]
PR fortran/13372
* module.c (write_symbol, write_symtree): Don't write symbols
wrongly added to namespace.
* trans-decl.c (gfc_create_module_variable): Don't create a
backend decl for a symbol incorrectly added to namespace.

PR fortran/13372
* gfortran.fortran-torture/compile/named_args_2.f90: New test.

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

18 years ago PR rtl-optimization/15521:
amylaar [Wed, 9 Jun 2004 12:48:21 +0000 (12:48 +0000)]
PR rtl-optimization/15521:
* sched-int.h (in_post_call_group_p): Change type to enum.
* sched-deps.c (sched_analyze_insn):
(sched_analyze): When in_post_call_group_p is post_call_initial,
don't add a dependency, but still set SCHED_GROUP_P and CANT_MOVE,
and also reset in_post_call_group_p to post_call.
(sched_analyze): When the previous basic block ended in a CALL_INSN,
initialize in_post_call_group_p as post_call_initial.
(init_deps): initialize in_post_call_group_p to not_post_call.

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

18 years agoPR fortran/13201
tobi [Wed, 9 Jun 2004 12:35:39 +0000 (12:35 +0000)]
PR fortran/13201
* resolve.c (resolve_symbol): Verify that parameter array has an
explicit shape. Fix typos and coding style issues in surrounding

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

18 years agomaintainer-scripts/ChangeLog:
bonzini [Wed, 9 Jun 2004 09:07:11 +0000 (09:07 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* gcc_release (build_sources): Move the libcpp gmo files
to the source directory.

2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.am (all-local): New.
* Makefile.in: Regenerate.

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

18 years ago PR ada/6637
charlet [Wed, 9 Jun 2004 08:42:27 +0000 (08:42 +0000)]
PR ada/6637
* doc/install.texi: List ada, libada as options to --enable-shared

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

18 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 9 Jun 2004 08:17:32 +0000 (08:17 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4 (gcc_AC_PROG_LN): Remove.
(gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate
config.in entries.
* configure.ac: Call ACX_PROG_LN, falling back to $LN_S
if hard links are not available.
* configure: Regenerate.
* config.in: Regenerate.

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

18 years ago2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 9 Jun 2004 07:26:28 +0000 (07:26 +0000)]
2004-06-09  Benjamin Kosnik  <bkoz@redhat.com>

* crossconfig.m4: Remove signbit, signbitf, signbitl.
* linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
builtin math functions instead of AC_DEFINE_UNQUOTED.
* configure: Regenerate.

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

18 years ago2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 9 Jun 2004 06:09:17 +0000 (06:09 +0000)]
2004-06-08  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
* docs/doxygen/mainpage.html: Remove links.

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

18 years ago * config/linker-map.gnu: Use wildcards for
jason [Wed, 9 Jun 2004 03:56:34 +0000 (03:56 +0000)]
    * config/linker-map.gnu: Use wildcards for

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

18 years ago * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION.
bothner [Wed, 9 Jun 2004 01:12:01 +0000 (01:12 +0000)]
* configure.ac:  New --enable-mapped-location sets USE_MAPPED_LOCATION.

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

18 years ago2004-06-09 Bud Davis <bdavis9659@comcast.net>
bdavis [Wed, 9 Jun 2004 01:03:02 +0000 (01:03 +0000)]
2004-06-09  Bud Davis  <bdavis9659@comcast.net>

PR gfortran/14897
* gfortran.fortran-torture/execute/t_edit.f90

  * io/transfer.c (formatted_transfer): position is unique
         for T and TL edit descriptors.
  (data_transfer_init): set record length to size of internal

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

18 years ago2004-06-08 Bud Davis <bdavis9659@comcast.net>
bdavis [Wed, 9 Jun 2004 00:55:04 +0000 (00:55 +0000)]
2004-06-08  Bud Davis  <bdavis9659@comcast.net>

PR gfortran/15755
* gfortran.fortran-torture/execute/backspace.c : New test.

* io/backspace.c(st_backspace): call correct routine for
formatted and un-formatted units.

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

18 years ago * gfortran.fortran-torture/execure/intrinsic_associated.f90
pbrook [Wed, 9 Jun 2004 00:37:20 +0000 (00:37 +0000)]
* gfortran.fortran-torture/execure/intrinsic_associated.f90
(pointer_to_section): Rewrite to use smaller array.

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

18 years agoDaily bump.
gccadmin [Wed, 9 Jun 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Wed, 9 Jun 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago* toplev.c (floor_log2_wide): Correct casts for 64-bit hosts.
dj [Wed, 9 Jun 2004 00:10:51 +0000 (00:10 +0000)]
* toplev.c (floor_log2_wide): Correct casts for 64-bit hosts.
Correct formatting.

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

18 years agoPR target/15790
wilson [Tue, 8 Jun 2004 22:32:08 +0000 (22:32 +0000)]
PR target/15790
* config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define.

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

18 years ago2004-06-08 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 8 Jun 2004 22:19:18 +0000 (22:19 +0000)]
2004-06-08  Paolo Carlini  <pcarlini@suse.de>

* include/ext/pool_allocator.h: Convert to a global free-list,
as per the original SGI/HP design: move the implementation
details to struct __pool_base, from which __pool_alloc derives.
* src/allocator.cc: Instantiate __pool_base.

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

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 22:03:29 +0000 (22:03 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * fold-const.c (fold_convert): Treat OFFSET_TYPE like

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

18 years ago * modulo-sched.c: Compile only when INSN_SCHEDULING is
bernie [Tue, 8 Jun 2004 21:46:32 +0000 (21:46 +0000)]
* modulo-sched.c: Compile only when INSN_SCHEDULING is

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

18 years ago * doc/contrib.texi: Add entries for Stefan Olsson and
law [Tue, 8 Jun 2004 20:03:51 +0000 (20:03 +0000)]
* doc/contrib.texi: Add entries for Stefan Olsson and
Ola Ronnerup.

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

18 years ago* toplev.c (floor_log2_wide): Replace loop with faster bit
dj [Tue, 8 Jun 2004 19:24:07 +0000 (19:24 +0000)]
* toplev.c (floor_log2_wide): Replace loop with faster bit
(exact_log2_wide): Define in terms of the above.
* toplev.h (floor_log2): Use _builtin_clz family of builtins if

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

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 18:56:45 +0000 (18:56 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (print_operand, <case 'z'>):
        Make sure that we are in INDIRECT mode when getting the
        stub name.

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

18 years ago * gcc.dg/ext/altivec-1.c: XFAIL powerpc-ibm-aix*.
dje [Tue, 8 Jun 2004 18:45:38 +0000 (18:45 +0000)]
    * gcc.dg/ext/altivec-1.c: XFAIL powerpc-ibm-aix*.
        * gcc.dg/ext/altivec-10.c: Same.
        * gcc.dg/ext/altivec-11.c: Same.
        * gcc.dg/ext/altivec-12.c: Same.
        * gcc.dg/ext/altivec-13.c: Same.
        * gcc.dg/ext/altivec-14.c: Same.
        * gcc.dg/ext/altivec-15.c: Same.
        * gcc.dg/ext/altivec-16.c: Same.
        * gcc.dg/ext/altivec-3.c: Same.
        * gcc.dg/ext/altivec-4.c: Same.
        * gcc.dg/ext/altivec-6.c: Same.
        * gcc.dg/ext/altivec-7.c: Same.
        * gcc.dg/ext/altivec-8.c: Same.
        * gcc.dg/ext/altivec-varargs-1.c: Same.

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

18 years ago * g++.dg/ext/altivec-1.C: Correct dg syntax.
dje [Tue, 8 Jun 2004 18:32:15 +0000 (18:32 +0000)]
    * g++.dg/ext/altivec-1.C: Correct dg syntax.
        * g++.dg/ext/altivec-10.C: Same.
        * g++.dg/ext/altivec-2.C: Same.
        * g++.dg/ext/altivec-3.C: Same.
        * g++.dg/ext/altivec-4.C: Same.
        * g++.dg/ext/altivec-5.C: Same.
        * g++.dg/ext/altivec-6.C: Same.
        * g++.dg/ext/altivec-7.C: Same.
        * g++.dg/ext/altivec-8.C: Same.
        * g++.dg/ext/altivec-9.C: Same.

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

18 years ago * h8300.md (extendqisi2_h8300): Add constraints.
law [Tue, 8 Jun 2004 16:43:46 +0000 (16:43 +0000)]
    * h8300.md (extendqisi2_h8300): Add constraints.
        (ldm_h8300s_4_normal): Fix typo.

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

18 years ago * gimple-low.c (struct lower_data): Replace the_return_label and
rth [Tue, 8 Jun 2004 16:29:57 +0000 (16:29 +0000)]
    * gimple-low.c (struct lower_data): Replace the_return_label and
        one_return_stmt with return_statements.
        (lower_function_body): Process the entire list of return_statements.
        (lower_return_expr): Check source value before unifying return_exprs.
        * gimplify.c (gimplify_return_expr): Force the use of a temporary
        for !aggregate_value_p.
        * tree-gimple.c: Update RETURN_EXPR grammer.

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

18 years ago2004-06-08 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 8 Jun 2004 15:58:28 +0000 (15:58 +0000)]
2004-06-08  Vladimir Makarov  <vmakarov@redhat.com>

PR target/15598
* config/ia64/ia64.c (bundling): Add missed TYPE_A.

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

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 13:30:33 +0000 (13:30 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15769
        * libjava.compile/PR15769.java: New test.

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

18 years ago2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 8 Jun 2004 13:27:38 +0000 (13:27 +0000)]
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15769
        * expr.c (java_truthvalue_conversion): Handle
        ORDERED_EXPR, and UNORDERED_EXPR as comparison operators,
        i.e. return the expression.

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

18 years ago PR rtl-optimization/15717
rakdver [Tue, 8 Jun 2004 13:26:04 +0000 (13:26 +0000)]
PR rtl-optimization/15717
* config/i386/i386.c (legitimate_constant_p): Do not allow
x - symbol_ref.

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

18 years agoCorrect indentation of one line.
kenner [Tue, 8 Jun 2004 12:25:03 +0000 (12:25 +0000)]
Correct indentation of one line.

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

18 years ago PR ada/15568
charlet [Tue, 8 Jun 2004 09:53:14 +0000 (09:53 +0000)]
PR ada/15568

* Makefile.in: Remove target specific SO_OPT on IRIX

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

18 years ago* gimplify.c (copy_if_shared_r): Revert:
aoliva [Tue, 8 Jun 2004 05:21:51 +0000 (05:21 +0000)]
* gimplify.c (copy_if_shared_r): Revert:
2004-05-21  Richard Henderson  <rth@redhat.com>
* gimplify.c [...] Don't mark VA_ARG_EXPRs volatile here.

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

18 years ago2004-06-08 Canqun Yang <canqun@nudt.edu.cn>
canqun [Tue, 8 Jun 2004 04:31:24 +0000 (04:31 +0000)]
2004-06-08  Canqun Yang  <canqun@nudt.edu.cn>

* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago * expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):
sayle [Tue, 8 Jun 2004 04:30:48 +0000 (04:30 +0000)]
* expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):
Make arrays indexed by machine mode.  Rename negate_cost to neg_cost.
(init_expmed): Initialize these cost arrays as appropriate.
(store_bit_field, extract_bit_field): Correct whitespace.
(synth_mult, choose_mult_variant, expand_mult, expand_mult_highpart,
expand_mult_highpart_optab, expand_divmod): Update uses of add_cost,
neg_cost, sdiv_pow2_cheap, smod_pow2_cheap to index with mode,
word_mode or compute_mode as appropriate.

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