OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago* configure.ac: Don't require ELF binutils to tolerate # 0 "".
aoliva [Fri, 16 Mar 2007 05:50:58 +0000 (05:50 +0000)]
* configure.ac: Don't require ELF binutils to tolerate # 0 "".
* configure: Rebuilt.

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

14 years agogcc/ChangeLog:
aoliva [Fri, 16 Mar 2007 05:08:25 +0000 (05:08 +0000)]
gcc/ChangeLog:
PR debug/29906
* dwarf2out.c (force_type_die): Adjust comment.
(dwarf2out_imported_module_or_decl): Handle base AT_import types.
gcc/testsuite/ChangeLog:
PR debug/29906
* g++.dg/debug/pr29906.C: New

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

14 years ago2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Mar 2007 01:57:16 +0000 (01:57 +0000)]
2007-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31099
* gfortran.dg/unformatted_recl.f90: Update test.

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

14 years ago * cp-demangle.c (d_encoding): Exit early on error.
geoffk [Fri, 16 Mar 2007 01:07:52 +0000 (01:07 +0000)]
* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.

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

14 years ago* config/frv/predicates.md (minmax_operator): Don't check operands
dj [Fri, 16 Mar 2007 00:56:36 +0000 (00:56 +0000)]
* config/frv/predicates.md (minmax_operator): Don't check operands
here.

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

14 years ago2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Mar 2007 00:41:36 +0000 (00:41 +0000)]
2007-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31099
* io/file_pos.c (st_rewind): Don't set bytes_left to zero.

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

14 years ago * tree-ssa-loop-niter.c (record_estimate): Add "upper" argument.
rakdver [Fri, 16 Mar 2007 00:25:30 +0000 (00:25 +0000)]
* tree-ssa-loop-niter.c (record_estimate): Add "upper" argument.
Update constant estimates of number of iterations.
(record_nonwrapping_iv): Add "upper" argument.  "data_size_bounds_p"
argument renamed to "realistic".
(compute_estimated_nb_iterations): Removed.
(record_niter_bound): New function.
(idx_infer_loop_bounds): For possible but unlikely tail arrays,
call record_nonwrapping_iv with upper = false.
(infer_loop_bounds_from_signedness): Pass upper argument to
record_nonwrapping_iv.
(estimate_numbers_of_iterations_loop): Do not call
compute_estimated_nb_iterations.  Record estimate based on profile
information.  Initialize the constant estimates of number of
iterations.
* tree-data-ref.c (estimated_loop_iterations): Return the recorded
estimates.
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Add dump when
number of iterations is too small.
* cfgloop.h (struct nb_iter_bound): Remove "realistic" field.
(EST_NOT_AVAILABLE): Removed.
(struct loop): Replace estimated_nb_iterations by any_upper_bound,
nb_iterations_upper_bound, any_estimate and nb_iterations_estimate
fields.

* gcc.dg/tree-ssa/prefetch-5.c: New test.

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

14 years agoDaily bump.
gccadmin [Fri, 16 Mar 2007 00:17:47 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * tree-ssa-loop-niter.c (refine_bounds_using_guard, bound_difference):
rakdver [Thu, 15 Mar 2007 23:47:18 +0000 (23:47 +0000)]
* tree-ssa-loop-niter.c (refine_bounds_using_guard, bound_difference):
Handle NE_EXPR guards.

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

14 years ago2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Thu, 15 Mar 2007 22:45:17 +0000 (22:45 +0000)]
2007-03-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/30891
cp/
* parser.c (cp_parser_statement): If 'namespace' is found, this
only can be a namespace alias definition, so parse it now.
(cp_parser_namespace_alias_definition): if we find an open brace
instead of '=', then this is actually a misplaced namespace
definition.
testsuite/
* g++.dg/parse/namespace-definition.C: New.

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

14 years ago2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Thu, 15 Mar 2007 22:24:42 +0000 (22:24 +0000)]
2007-03-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/24924
* c-opts.c (c_common_post_options): Handle C++ post-processing here.
Set also -pedantic-errors by default for the  preprocessor unless
-fpermissive is given.
cp/
* decl.c (cxx_init_decl_processing): Move command-line options
processing to c-opts.c.
testsuite/
* g++.dg/cpp/pedantic-errors.C: New.
* g++.dg/cpp/permissive.C: New.

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

14 years agogcc/testsuite/
rsandifo [Thu, 15 Mar 2007 21:27:55 +0000 (21:27 +0000)]
gcc/testsuite/
* g++.dg/opt/mmx1.C: Only use the PIC options for fpic targets.
* g++.old-deja/g++.other/store-expr1.C: Require fpic.

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

14 years agogcc/testsuite/
rsandifo [Thu, 15 Mar 2007 21:22:59 +0000 (21:22 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_missing_uclibc_feature)
(check_effective_target_wchar): New procedures.
* gcc.dg/wchar_t-1.c: Require target wchar.
* gcc.dg/wint_t-1.c: Likewise.

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

14 years ago2007-03-15 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 15 Mar 2007 20:14:49 +0000 (20:14 +0000)]
2007-03-15  Richard Guenther  <rguenther@suse.de>

PR middle-end/29719
PR middle-end/31161
* builtins.c (expand_builtin_int_roundingfn): Always fall
back to floor/ceil and its variants even if they may be
not available.
(expand_builtin_cexpi): As a fallback if we
don't have builtins for sincos or cexp create a function
declaration for cexp and expand to a call to that.

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

14 years ago * cfglayout.c (fixup_reorder_chain): Postpone deleting dead
steven [Thu, 15 Mar 2007 20:08:29 +0000 (20:08 +0000)]
* cfglayout.c (fixup_reorder_chain): Postpone deleting dead
jump tables, move the call to delete_dead_jumptables from here...
(cfg_layout_finalize): ...to here.  But rebuild jump labels first.
* cfgrtl.c (cfg_layout_can_merge_blocks_p): When not optimizing,
don't allow merging of blocks that try_redirect_by_replacing_jump
also does not handle when not optimizing.

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

14 years ago2007-03-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Thu, 15 Mar 2007 13:51:09 +0000 (13:51 +0000)]
2007-03-15  Douglas Gregor  <doug.gregor@gmail.com>

* ptree.c (cxx_print_type): Use formatting markup for integers
when printing template parameter index/level/orig level.
(cxx_print_xnode): Ditto.
* cp-tree.h (TEMPLATE_PARM_PARAMETER_PACK): Use TREE_LANG_FLAG_0.
(struct template_parm_index_s): Remove the PARAMETER_PACK member.
Make INDEX, LEVEL, and ORIG_LEVEL integers instead of
HOST_WIDE_INTs.
(struct saved_scope): Make X_PROCESSING_TEMPLATE_DECL an int,
rather than a HOST_WIDE_INT.
Turn X_PROCESSING_EXPLICIT_INSTANTIATION, SKIP_EVALUATION, and
NEED_POP_FUNCTION_CONTEXT into bool bitfields; reorder fields for
better bit-packing.
(struct language_function): Make RETURNS_VALUE, RETURNS_NULL,
RETURNS_ABNORMALLY, IN_FUNCTION_TRY_HANDLER, and
IN_BASE_INITIALIZER bool bitfields.
(struct cp_declarator): Make KIND a 4-bit field. Make
PARAMETER_PACK_P a bool bitfield just after KIND.
* pt.c (uses_parameter_packs): Destroy the pointer set.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Ditto.
* name-lookup.c (push_to_top_level): Make need_pop a bool value.

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

14 years ago * gfortran.h (gfc_option_t): Add flag_backtrace field.
fxcoudert [Thu, 15 Mar 2007 12:39:47 +0000 (12:39 +0000)]
* gfortran.h (gfc_option_t): Add flag_backtrace field.
* lang.opt: Add -fbacktrace option.
* invoke.texi: Document the new option.
* trans-decl.c (gfc_build_builtin_function_decls): Add new
option to the call to set_std.
* options.c (gfc_init_options, gfc_handle_option): Handle the
new option.

* runtime/backtrace.c: New file.
* runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
environment variable.
* runtime/compile_options.c (set_std): Add new argument.
* runtime/main.c (store_exe_path, full_exe_path): New functions.
* runtime/error.c (sys_exit): Add call to show_backtrace.
* libgfortran.h (options_t): New backtrace field.
(store_exe_path, full_exe_path, show_backtrace): New prototypes.
* configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
and getppid.
* Makefile.am: Add runtime/backtrace.c.
* fmain.c (main): Add call to store_exe_path.
* Makefile.in: Renegerate.
* config.h.in: Renegerate.
* configure: Regenerate.

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

14 years ago * config/i386/i386.md (x86_sahf_1): Correctly handle
uros [Thu, 15 Mar 2007 10:31:49 +0000 (10:31 +0000)]
   * config/i386/i386.md (x86_sahf_1): Correctly handle
       HAVE_AS_IX86_SAHF.

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

14 years agogcc/testsuite/
rsandifo [Thu, 15 Mar 2007 09:34:25 +0000 (09:34 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_gc_sections_available): Return
false for VxWorks targets.

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

14 years ago * testsuite/lib/libstdc++.exp (v3-build_support) <ar>: If it
hp [Thu, 15 Mar 2007 09:14:37 +0000 (09:14 +0000)]
* testsuite/lib/libstdc++.exp (v3-build_support) <ar>: If it
exists, use env(AR_FOR_TARGET).  Log the command.
<ranlib>: Similar.

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

14 years ago2007-03-15 Dirk Mueller <dmueller@suse.de>
mueller [Thu, 15 Mar 2007 09:11:30 +0000 (09:11 +0000)]
2007-03-15  Dirk Mueller  <dmueller@suse.de>

       * g++.dg/warn/Wconversion2.C: Fix typo.
       * gcc.dg/if-empty-1.c: Ditto.

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

14 years agogcc/testsuite/
rsandifo [Thu, 15 Mar 2007 08:53:42 +0000 (08:53 +0000)]
gcc/testsuite/
* gcc.dg/cpp/assert4.c: Treat VxWorks as a unix target.

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

14 years ago * gcc.target/i386/cmpxchg16b-1.c: Compile for lp64 targets only.
uros [Thu, 15 Mar 2007 08:22:35 +0000 (08:22 +0000)]
* gcc.target/i386/cmpxchg16b-1.c: Compile for lp64 targets only.
* gcc.target/i386/pr31167.c: Ditto.

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

14 years ago PR target/31167
uros [Thu, 15 Mar 2007 07:25:22 +0000 (07:25 +0000)]
    PR target/31167
        * config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use
        x86_64_general_operand as operand[2] predicate.  Remove "iF"
        from operand constraints and use "e" constraint instead.
        (*subti3_1, *subti3_1 splitter): Ditto.
        (*negti2_1, *negti2_1 splitter): Use nonimmediate_operand as
        operand[1] predicate.

testsuite/ChangeLog

       PR target/31167
       * gcc.target/i386/pr31167.c: New test.

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

14 years ago2007-03-15 Tobias Burnus <burnus@gcc.gnu.org>
pault [Thu, 15 Mar 2007 06:44:25 +0000 (06:44 +0000)]
2007-03-15  Tobias Burnus  <burnus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30922
* decl.c (gfc_match_import): If the parent of the current name-
space is null, try looking for an imported symbol in the parent
of the proc_name interface.
* resolve.c (resolve_fl_variable): Do not check for blocking of
host association by a same symbol, if the symbol is in an
interface body.

2007-03-15  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30879
* decl.c (match_data_constant): Before going on to try to match
a name, try to match a structure component.

PR fortran/30870
* resolve.c (resolve_actual_arglist): Do not reject a generic
actual argument if it has a same name specific interface.

PR fortran/31163
* trans-array.c (parse_interface): Do not nullify allocatable
components if the symbol has the saved attribute.

2007-03-15  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30922
* gfortran.dg/import5.f90.f90: New test.

PR fortran/30879
* gfortran.dg/data_components_1.f90: New test.

PR fortran/30870
* gfortran.dg/generic_13.f90: New test.

PR fortran/31163
* gfortran.dg/alloc_comp_basics_5.f90: New test.

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

14 years ago2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 15 Mar 2007 01:30:05 +0000 (01:30 +0000)]
2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31051
* gfortran.dg/fmt_t_4.f90: New

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

14 years ago2007-03-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Thu, 15 Mar 2007 01:27:29 +0000 (01:27 +0000)]
2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR c++/31165
        * call.c  (convert_default_arg): Instead of copying the node,
        unshare it.
2007-03-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/31165
        * g++.dg/other/default7.C: New test.

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

14 years ago2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 15 Mar 2007 01:25:27 +0000 (01:25 +0000)]
2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31051
* io/transfer.c (formatted_transfer_scalar): Adjust position for pending
spaces when in writing mode.  Clean up some formatting.

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

14 years agoDaily bump.
gccadmin [Thu, 15 Mar 2007 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * tree-loop-linear.c (gather_interchange_stats): For multidimensional
spop [Wed, 14 Mar 2007 23:23:24 +0000 (23:23 +0000)]
* tree-loop-linear.c (gather_interchange_stats): For multidimensional
arrays, multiply the access strides by the size of the sub-array.
* testsuite/gcc.dg/tree-ssa/ltrans-5.c: New.

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

14 years ago2007-03-15 Dirk Mueller <dmueller@suse.de>
mueller [Wed, 14 Mar 2007 23:17:03 +0000 (23:17 +0000)]
2007-03-15  Dirk Mueller  <dmueller@suse.de>

        PR c++/30860
        * call.c (convert_conversion_warnings): New..
        (convert_like_real): .. factored out from here.
        (convert_conversion_warnings): Add warning about
        false being converted to NULL in argument passing.

        * g++.dg/warn/Wconversion2.C: New.

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

14 years agoFix 31018 -- move TARGET_xxx in i386.md to tuning options
meissner [Wed, 14 Mar 2007 22:36:22 +0000 (22:36 +0000)]
Fix 31018 -- move TARGET_xxx in i386.md to tuning options

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

14 years ago2007-03-14 Eric Christopher <echristo@apple.com>
echristo [Wed, 14 Mar 2007 21:11:20 +0000 (21:11 +0000)]
2007-03-14  Eric Christopher  <echristo@apple.com>

* gcc.dg/ssp-1.c: New.
        * gcc.dg/ssp-2.c: Ditto.

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

14 years ago * configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether
uros [Wed, 14 Mar 2007 21:03:59 +0000 (21:03 +0000)]
    * configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether
        the configured assembler supports the sahf mnemonic.
        * configure: Regenerate.
        * config.in: Regenerate.

        * config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF,
        emit "sahf" or ".byte\t0x9e" as asm template.

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

14 years agoFix 31018 -- move TARGET_xxx in i386.md to tuning options
meissner [Wed, 14 Mar 2007 20:02:03 +0000 (20:02 +0000)]
Fix 31018 -- move TARGET_xxx in i386.md to tuning options

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

14 years ago2007-03-14 Dirk Mueller <dmueller@suse.de>
mueller [Wed, 14 Mar 2007 19:33:17 +0000 (19:33 +0000)]
2007-03-14  Dirk Mueller  <dmueller@suse.de>

        * c-common.h (empty_body_warning): Rename to empty_if_body_warning.
        * c-common.c (empty_if_body_warning): Rephrase diagnostic message.
        * c-parser.c (c_parser_if_body): Always add an empty statement in case
        of empty body.
        * c-parser.c (c_parser_do_statement): Warn about empty body in
        do/while statement.
        * c-typeck (c_finish_if_stmt): Call empty_if_body_warning.
        * doc/invoke.texi (-Wempty-body): Update documentation.

        * cp/semantics.c (c_finish_if_stmt): Call empty_if_body_warning.
        (finish_do_body): Warn about empty body in do/while statement.

        * g++.dg/warn/do-empty.C: New.
        * gcc.dg/do-empty.c: New.
        * gcc.dg/if-empty-1.c: Update.
        * gcc.dg/20001116-1.c: Update.
        * gcc.dg/pr23165.c: Update.

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

14 years ago2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Wed, 14 Mar 2007 19:26:38 +0000 (19:26 +0000)]
2007-03-14  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30690
* all.m4: Quote everything, except for m4 macros.
* any.m4: Likewise.
* count.m4: Likewise.
* cshift1.m4: Likewise.
* eoshift1.m4: Likewise.
* eoshift3.m4: Likewise.
* exponent.m4: Likewise.
* fraction.m4: Likewise.
* in_pack.m4: Likewise.
* in_unpack.m4: Likewise.
* matmul.m4: Likewise.
* matmull.m4: Likewise.
* nearest.m4: Likewise.
* pow.m4: Likewise.
* product.m4: Likewise.
* reshape.m4: Likewise.
* rrspacing.m4: Likewise.
* set_exponent.m4: Likewise.
* shape.m4: Likewise.
* spacing.m4: Likewise.
* transpose.m4: Likewise.

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

14 years ago2007-03-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Wed, 14 Mar 2007 18:52:20 +0000 (18:52 +0000)]
2007-03-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

cp/
* class.c (warn_hidden): Add OPT_Woverloaded_virtual to warning.

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

14 years ago2007-03-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Wed, 14 Mar 2007 18:37:37 +0000 (18:37 +0000)]
2007-03-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c/21438
* c-common.h (warn_for_div_by_zero): Declare.
* c-common.c (warn_for_div_by_zero): Define.
* c-typeck.c (build_binary_op): Call warn_for_div_zero instead of
warning.
cp/
* typeck.c (build_binary_op): Call warn_for_div_zero instead of
warning.

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

14 years agogcc/
rsandifo [Wed, 14 Mar 2007 16:06:36 +0000 (16:06 +0000)]
gcc/
* Makefile.in (PREPROCESSOR_DEFINES): Add directory terminators
to PREFIX and STANDARD_PREFIX.

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

14 years agogcc/
rsandifo [Wed, 14 Mar 2007 13:58:21 +0000 (13:58 +0000)]
gcc/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* gthr-vxworks.h: Add an extern "C" wrapper for C++.
(__gthread_once_t): Remove busy field for RTPs.
(__GTHREAD_ONCE_INIT): Update accordingly.

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

14 years agogcc/
rsandifo [Wed, 14 Mar 2007 13:58:04 +0000 (13:58 +0000)]
gcc/
* doc/invoke.texi: Document VxWorks options.

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

14 years ago * trans-array.c (gfc_trans_auto_array_allocation): Replace
fxcoudert [Wed, 14 Mar 2007 13:31:09 +0000 (13:31 +0000)]
* trans-array.c (gfc_trans_auto_array_allocation): Replace
fold(convert()) by fold_convert().
(gfc_duplicate_allocatable): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_dot_product): Use
build_int_cst instead of converting an integer_zero_node
to the final type.

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

14 years ago * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
jakub [Wed, 14 Mar 2007 12:58:23 +0000 (12:58 +0000)]
* Makefile.am (AM_MAKEFLAGS): Pass through mandir.
* Makefile.in: Rebuilt.

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

14 years ago * module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.
jakub [Wed, 14 Mar 2007 12:16:24 +0000 (12:16 +0000)]
* module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.

* gfortran.dg/module_implicit_conversion.f90: New test.

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

14 years ago * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
jakub [Wed, 14 Mar 2007 12:14:58 +0000 (12:14 +0000)]
* io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
O_RDONLY even if errno is EROFS.

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

14 years ago * testsuite/lib/libstdc++.exp (check_v3_target_fileio,
nathan [Wed, 14 Mar 2007 11:37:55 +0000 (11:37 +0000)]
* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
        check_v3_target_time): New.
* testsuite/lib/dg-options.exp (dg-require-fileio,
        dg-require-time): New.
* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
* testsuite/27_io/objects/char/12048-2.cc: Use it.
* testsuite/27_io/objects/char/12048-4.cc: Use it.
* testsuite/27_io/objects/char/12048-1.cc: Use it.
* testsuite/27_io/objects/char/12048-3.cc: Use it.
* testsuite/27_io/objects/char/10.cc: Use it.
* testsuite/27_io/objects/char/12048-5.cc: Use it.
* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.

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

14 years ago * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
uros [Wed, 14 Mar 2007 07:53:32 +0000 (07:53 +0000)]
    * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.

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

14 years ago * doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option.
uros [Wed, 14 Mar 2007 07:47:32 +0000 (07:47 +0000)]
   * doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option.

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

14 years ago2007-03-13 Seongbae Park <seongbae.park@gmail.com>
spark [Wed, 14 Mar 2007 05:48:35 +0000 (05:48 +0000)]
2007-03-13  Seongbae Park <seongbae.park@gmail.com>

PR tree-optimization/30590
* tree-nrv.c (tree_nrv): Check for the partial update of the
return value.

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

14 years agoFixed pr-number typo in last ChangeLog entry.
brooks [Wed, 14 Mar 2007 04:49:11 +0000 (04:49 +0000)]
Fixed pr-number typo in last ChangeLog entry.

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

14 years agoPR fortran/30922
brooks [Wed, 14 Mar 2007 04:38:47 +0000 (04:38 +0000)]
PR fortran/30922
PR fortran/30948
PR fortran/30953
* intrinsics.texi (CHDIR): Fix argument names, note
that STATUS must be a default integer.
(CTIME): Fix argument names, note that RESULT must
be a default integer.
(EXIT): Note that STATUS must be a default integer.

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

14 years agoPR fortran/28068
brooks [Wed, 14 Mar 2007 02:43:27 +0000 (02:43 +0000)]
PR fortran/28068
* intrinsic.texi: General whitespace cleanup, remove
comment about missing intrinsics.
(menu): Add lines for new entries listed below.
(ACOSH): Mention specific function DACOSH, correct
description phrasing.
(ASINH): Mention specific function DASINH, correct
description phrasing.
(ATANH): Mention specific function DATANH, correct
description phrasing.
(COS): Add index entry for CCOS.
(CPU_TIME): Correct "REAL" to "REAL(*)".
(EXP): Add index entry for CEXP.
(INT): Correct argument name to "A".
(INT2): New entry.
(INT8): New entry.
(LONG): New entry.
(MAX): Add index entries for specific variants.
(MCLOCK): New entry.
(MCLOCK8): New entry.
(SECNDS): Adjust to a more standard form.
(SECOND): New entry.
(TIME): Add cross-reference to MCLOCK.
(TIME8): Add cross-reference to MCLOCK8.

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

14 years agogcc/ChangeLog:
aoliva [Wed, 14 Mar 2007 01:47:33 +0000 (01:47 +0000)]
gcc/ChangeLog:
* flags.h (flag_random_seed): Remove declaration, in favor of...
* toplev.h (get_random_seed, set_random_seed): ... these.
* tree.c (get_file_function_name): Use the former.
* opts.c (common_handle_option): Use the latter.
* toplev.c
gcc/cp/ChangeLog:
* cp/repo.c (init_repo): Initialize random_seed saved options.
(finish_repo): Adjust.

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

14 years agogcc/ChangeLog:
aoliva [Wed, 14 Mar 2007 01:45:39 +0000 (01:45 +0000)]
gcc/ChangeLog:
PR middle-end/31127
* cse.c (cse_find_path): Do not bail out if a basic block that
we already visited now becomes part of a path that starts at a
different basic block.  Just disallow this, to make sure we
visit each basic block at most once.
gcc/testsuite/ChangeLog:
PR middle-end/31127
* gcc.dg/pr31127.c: New.

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

14 years ago * ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold attributes,
hubicka [Wed, 14 Mar 2007 01:26:00 +0000 (01:26 +0000)]
* ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold attributes,
when profile esitmate is present, calls with very low frequency are
cold.

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

14 years ago PR tree-optimization/30730
rakdver [Wed, 14 Mar 2007 00:38:34 +0000 (00:38 +0000)]
PR tree-optimization/30730
PR tree-optimization/26900
* tree-ssa-loop-niter.c: Include gmp.h.
(bounds): New type.
(mpz_set_double_int, get_type_bounds, mpz_to_double_int,
split_to_var_and_offset, determine_value_range,
bound_difference_of_offsetted_base, refine_bounds_using_guard,
bound_difference, bounds_add, bounds_negate,
number_of_iterations_ne_max, dump_affine_iv): New functions.
(number_of_iterations_ne, number_of_iterations_lt_to_ne,
assert_loop_rolls_lt, assert_loop_rolls_le): Use bounds on the
difference of initial and final value of control iv to validate
results.
(number_of_iterations_cond): Add loop parameter.  Determine bounds
on the difference of the extremes of the control iv.  Add dumps.
(expand_simple_operations): Handle phi nodes.
(simplify_using_initial_conditions): Do not record used conditions.
(number_of_iterations_exit): Pass loop to number_of_iterations_cond.
Do not set additional_info.
(implies_nonnegative_p, implies_ge_p): Removed.
(derive_constant_upper_bound): Do not use parameter `additional'.
(record_estimate): Parameter `additional' removed.  Parameter
`i_bound' added.  Do not call derive_constant_upper_bound.
(record_nonwrapping_iv): Use derive_constant_upper_bound to
bound the number of iterations estimate.
(estimate_numbers_of_iterations_loop): Pass the estimate from
the number of iterations analysis to record_estimate.
* tree.h (multiple_of_p): Declare.
* tree-scalar-evolution.c (expression_expensive_p): Removed.
(scev_const_prop): Do not check expression_expensive_p.
* fold-const.c (multiple_of_p): Exported.
* double-int.c (double_int_mask): Exported.
* double-int.h (double_int_mask): Declare.
* tree-flow.h (struct tree_niter_desc): Removed additional_info
field.  Added max field.

* gcc.dg/tree-ssa/loop-26.c: New test.

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

14 years agoDaily bump.
gccadmin [Wed, 14 Mar 2007 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR bootstrap/30899
mmitchel [Tue, 13 Mar 2007 23:51:07 +0000 (23:51 +0000)]
PR bootstrap/30899
* Make-lang.in (doc/g++.1): Use $< to specify the location from
which to copy.

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

14 years ago2007-03-13 David Taylor <taylor@candd.org>
tromey [Tue, 13 Mar 2007 23:50:42 +0000 (23:50 +0000)]
2007-03-13  David Taylor  <taylor@candd.org>

PR driver/12448:
* gcc.c (cpp_unique_options): If -MT or -MQ is seen, don't pass
default -MQ.

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

14 years ago PR target/31123
danglin [Tue, 13 Mar 2007 23:23:54 +0000 (23:23 +0000)]
PR target/31123
Fix ChangeLog entry.

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

14 years ago * pa.md (vdepi_ior): Don't allow zero length deposit. Likewise for
danglin [Tue, 13 Mar 2007 23:09:08 +0000 (23:09 +0000)]
* pa.md (vdepi_ior): Don't allow zero length deposit.  Likewise for
two unamed patterns.

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

14 years ago * config/i386/i386.opt (mcx16, msahf): New options.
uros [Tue, 13 Mar 2007 21:18:33 +0000 (21:18 +0000)]
    * config/i386/i386.opt (mcx16, msahf): New options.
        * config/i386/i386.c (x86_cmpxchg16b, x86_sahf): Remove.
        (ix86_tune_features) [X86_TUNE_USE_SAHF]: Enable for m_GENERIC.

        * config/i386/driver-i386.c (bit_LAHF_LM): New define.
        (host_detect_local_cpu): Detect cx16 and lahf_lm cpuid bits.
        Output -mcx16 and -msahf options when corresponding bit is set.

        * doc/invoke.texi (i386 and x86-64 Options): Document -mcx16
        and -msahf options.

testsuite/ChangeLog

        * testsuite/gcc.target/i386/cmpxchg16b-1.c: New test.

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

14 years ago2007-03-13 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 13 Mar 2007 20:02:59 +0000 (20:02 +0000)]
2007-03-13  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/tuple: Only include <utility> for std::pair, and
forward declare reference_wrapper; formatting fixes.
* include/tr1/ref_fwd.h: Remove.
* include/tr1/tuple_defs.h: Remove, unused.
* include/Makefile.am: Update.
* include/Makefile.in: Regenerate.
* testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
Include <tr1/functional> too.

* include/tr1/tuple: Define tuple_size<tuple<_Elements...> >::value.

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

14 years ago * include/java-interp.h (_Jv_InterpClass): Declare
kseitz [Tue, 13 Mar 2007 19:27:13 +0000 (19:27 +0000)]
    * include/java-interp.h (_Jv_InterpClass): Declare
        friend function _Jv_GetInterpClassSourceFile.
        * java/lang/Class.h (Class): Likewise.
        * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
        New function.
        * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (getSourceFile): Implement.

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

14 years ago* configure.ac: Test for assembler tolerance to # 0 "".
aoliva [Tue, 13 Mar 2007 07:19:14 +0000 (07:19 +0000)]
* configure.ac: Test for assembler tolerance to # 0 "".
* configure, config.in: Rebuilt.
* final.c (final_scan_insn): Emit it if HAVE_AS_LINE_ZERO.

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

14 years ago * doc/invoke.texi (Spec Files): Update for '%{,' spec.
geoffk [Tue, 13 Mar 2007 07:15:51 +0000 (07:15 +0000)]
* doc/invoke.texi (Spec Files): Update for '%{,' spec.

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

14 years ago * config/rs6000/darwin-fallback.c: Compile file only on powerpc.
geoffk [Tue, 13 Mar 2007 07:13:16 +0000 (07:13 +0000)]
* config/rs6000/darwin-fallback.c: Compile file only on powerpc.
(handle_syscall): Handle direct system calls.
* config/rs6000/darwin.h (HAS_MD_FALLBACK_FRAME_STATE_FOR): Delete.

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

14 years ago2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Tue, 13 Mar 2007 05:48:03 +0000 (05:48 +0000)]
2007-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>

        * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
        * classpath/configure.ac: Add --with-ecj-jar configure option.
        * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
        field.
        * classpath/INSTALL: Document --with-ecj-jar configure option and
        ecj jar requirement for com.sun.tools.javac support.
        * classpath/tools/Makefile.am: Build decendents of com and sun
        directories.
        * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
        * gnu/classpath/Configuration.java,
        gnu/classpath/natConfiguration.cc (ecj): New method.
        (ECJ_JAR): New field.
        * scripts/makemake.tcl (scan_packages): Add com directory.
        * sources.am (property_files): Add
        classpath/resource/sun/rmi/rmic/messages.properties and
        classpath/resource/com/sun/tools/javac/messages.properties.
        * classpath/resource/com, classpath/resource/com/sun,
        classpath/resource/com/sun/tools,
        classpath/resource/com/sun/tools/javac, classpath/resource/sun,
        classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
        classpath/tools/classes/com, classpath/tools/classes/com/sun,
        classpath/tools/classes/com/sun/javadoc,
        classpath/tools/classes/com/sun/tools,
        classpath/tools/classes/com/sun/tools/doclets,
        classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
        classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
        classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
        classpath/tools/com/sun/tools,
        classpath/tools/com/sun/tools/doclets,
        classpath/tools/com/sun/tools/javac, classpath/tools/sun,
        classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
        directories.
        * classpath/resource/com/sun/tools/javac/messages.properties,
        classpath/resource/sun/rmi/rmic/messages.properties,
        classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
        classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
        classpath/tools/classes/com/sun/javadoc/Doc.class,
        classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
        classpath/tools/classes/com/sun/javadoc/Doclet.class,
        classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
        classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
        classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
        classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
        classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
        classpath/tools/classes/com/sun/javadoc/ParamTag.class,
        classpath/tools/classes/com/sun/javadoc/Parameter.class,
        classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
        classpath/tools/classes/com/sun/javadoc/RootDoc.class,
        classpath/tools/classes/com/sun/javadoc/SeeTag.class,
        classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
        classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
        classpath/tools/classes/com/sun/javadoc/Tag.class,
        classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
        classpath/tools/classes/com/sun/javadoc/Type.class,
        classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
        classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
        classpath/tools/classes/sun/rmi/rmic/Main.class,
        classpath/tools/classes/sun/rmi/rmic/Messages.class,
        classpath/tools/com/sun/javadoc/ClassDoc.java,
        classpath/tools/com/sun/javadoc/ConstructorDoc.java,
        classpath/tools/com/sun/javadoc/Doc.java,
        classpath/tools/com/sun/javadoc/DocErrorReporter.java,
        classpath/tools/com/sun/javadoc/Doclet.java,
        classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
        classpath/tools/com/sun/javadoc/FieldDoc.java,
        classpath/tools/com/sun/javadoc/MemberDoc.java,
        classpath/tools/com/sun/javadoc/MethodDoc.java,
        classpath/tools/com/sun/javadoc/PackageDoc.java,
        classpath/tools/com/sun/javadoc/ParamTag.java,
        classpath/tools/com/sun/javadoc/Parameter.java,
        classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
        classpath/tools/com/sun/javadoc/RootDoc.java,
        classpath/tools/com/sun/javadoc/SeeTag.java,
        classpath/tools/com/sun/javadoc/SerialFieldTag.java,
        classpath/tools/com/sun/javadoc/SourcePosition.java,
        classpath/tools/com/sun/javadoc/Tag.java,
        classpath/tools/com/sun/javadoc/ThrowsTag.java,
        classpath/tools/com/sun/javadoc/Type.java,
        classpath/tools/com/sun/javadoc/TypeVariable.java,
        classpath/tools/com/sun/tools/doclets/Taglet.java,
        classpath/tools/com/sun/tools/javac/Main.java,
        classpath/tools/com/sun/tools/javac/Messages.java,
        classpath/tools/sun/rmi/rmic/Main.java,
        classpath/tools/sun/rmi/rmic/Messages.java: New files.
        * Makefile.in, classpath/Makefile.in, classpath/configure,
        classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
        classpath/examples/Makefile.in, classpath/external/Makefile.in,
        classpath/external/jsr166/Makefile.in,
        classpath/external/relaxngDatatype/Makefile.in,
        classpath/external/sax/Makefile.in,
        classpath/external/w3c_dom/Makefile.in,
        classpath/include/Makefile.in, classpath/include/config.h.in,
        classpath/lib/Makefile.in,
        classpath/lib/gnu/classpath/Configuration.class,
        classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
        classpath/native/jawt/Makefile.in,
        classpath/native/jni/Makefile.in,
        classpath/native/jni/classpath/Makefile.in,
        classpath/native/jni/gconf-peer/Makefile.in,
        classpath/native/jni/gtk-peer/Makefile.in,
        classpath/native/jni/java-io/Makefile.in,
        classpath/native/jni/java-lang/Makefile.in,
        classpath/native/jni/java-net/Makefile.in,
        classpath/native/jni/java-nio/Makefile.in,
        classpath/native/jni/java-util/Makefile.in,
        classpath/native/jni/midi-alsa/Makefile.in,
        classpath/native/jni/midi-dssi/Makefile.in,
        classpath/native/jni/native-lib/Makefile.in,
        classpath/native/jni/qt-peer/Makefile.in,
        classpath/native/jni/xmlj/Makefile.in,
        classpath/native/plugin/Makefile.in,
        classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
        classpath/tools/Makefile.in, configure,
        gnu/classpath/Configuration.h: Regenerate.

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

14 years agoDaily bump.
gccadmin [Tue, 13 Mar 2007 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2007-03-12 Seongbae Park <seongbae.park@gmail.com>
spark [Mon, 12 Mar 2007 22:37:51 +0000 (22:37 +0000)]
2007-03-12  Seongbae Park <seongbae.park@gmail.com>

* gcc.dg/c90-vla-1.c: Reflect the change of the error message.
* gcc.dg/c99-vla-1.c: Likewise.
* g++.dg/ext/vla1.C: Likewise

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

14 years ago* doc/invoke.texi: Fix cpp.info cross-reference.
brooks [Mon, 12 Mar 2007 22:05:07 +0000 (22:05 +0000)]
* doc/invoke.texi: Fix cpp.info cross-reference.
* doc/passes.texi: Fix gcc.info cross-reference.

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

14 years ago2007-03-12 Stephen M. Webb <stephen.webb@bregmasoft.com>
paolo [Mon, 12 Mar 2007 21:57:51 +0000 (21:57 +0000)]
2007-03-12  Stephen M. Webb  <stephen.webb@bregmasoft.com>

* include/tr1/regex: Add "boilerplate" implementations.
* testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/
translate_nocase.cc: New.
* testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/
ctor.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/char/
translate_nocase.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/char/
ctor.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_ecma.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
default.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_grep.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_extended.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_basic.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_awk.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex/cons/char/
c_string_egrep.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
range.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
string_op.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
string.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
pstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
cstring_op.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
cstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
range.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
string_op.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
string.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
pstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
cstring_op.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
cstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
range.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
default.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
string.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
pstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
cstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
range.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
default.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
string.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
pstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
cstring.cc: Likewise.
* testsuite/tr1/7_regular_expressions/match_results/ctors/char/
default.cc: Likewise.

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

14 years ago PR tree-optimization/30835
rakdver [Mon, 12 Mar 2007 21:56:12 +0000 (21:56 +0000)]
PR tree-optimization/30835
* lambda-code.c (can_convert_to_perfect_nest): Check whether
bb_for_stmt is not NULL before accessing it.

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

14 years ago * gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for
jsm28 [Mon, 12 Mar 2007 21:32:41 +0000 (21:32 +0000)]
* gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for
some multilibs.

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

14 years ago2007-03-12 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Mon, 12 Mar 2007 20:15:25 +0000 (20:15 +0000)]
2007-03-12  Kyle Galloway  <kgallowa@redhat.com>

* jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
as a sigle slot.

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

14 years ago2007-03-12 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Mon, 12 Mar 2007 20:12:47 +0000 (20:12 +0000)]
2007-03-12  Kyle Galloway  <kgallowa@redhat.com>

* jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
as a sigle slot.

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

14 years agoPR 30635
brooks [Mon, 12 Mar 2007 20:03:33 +0000 (20:03 +0000)]
PR 30635
* doc/install.texi: Document --enable-stage1-languages

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

14 years ago2007-03-12 Marco Trudel <mtrudel@gmx.ch>
tromey [Mon, 12 Mar 2007 19:48:32 +0000 (19:48 +0000)]
2007-03-12  Marco Trudel  <mtrudel@gmx.ch>

* java/lang/natString.cc (getBytes (jstring enc)):
Fixed the loop for multiple cycles, Code cleanup

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

14 years ago * tree-pass.h (pass_into_cfg_layout_mode,
steven [Mon, 12 Mar 2007 19:38:06 +0000 (19:38 +0000)]
* tree-pass.h (pass_into_cfg_layout_mode,
pass_outof_cfg_layout_mode): Declare.
* cfglayout.c (into_cfg_layout_mode, outof_cfg_layout_mode,
pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): New.
* passes.c (pass_into_cfg_layout_mode): Schedule before jump2.
(pass_outof_cfg_layout_mode): Schedule after pass_rtl_ifcvt.

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

14 years agoFixed erroneous ChangeLog and gcc/ChangeLog entries.
brooks [Mon, 12 Mar 2007 19:00:28 +0000 (19:00 +0000)]
Fixed erroneous ChangeLog and gcc/ChangeLog entries.

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

14 years agofixincludes/
brooks [Mon, 12 Mar 2007 18:58:12 +0000 (18:58 +0000)]
fixincludes/
* Makefile.in: Add dummy "install-info" target.
<toplevel>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

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

14 years agoChangeLog:
spark [Mon, 12 Mar 2007 18:31:39 +0000 (18:31 +0000)]
ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

* gcc/doc/invoke.texi (Wvla): New warning.

gcc/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

* c-decl.c (warn_variable_length_array): New function.
Refactored from grokdeclarator to handle warn_vla
and handle unnamed array case.
(grokdeclarator): Refactored VLA warning case.
* c.opt (Wvla): New flag.

gcc/cp/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

* decl.c (compute_array_index_type): New warning flag warn_vla.

gcc/testsuite/ChangeLog:

2007-03-12  Seongbae Park <seongbae.park@gmail.com>

  * gcc.dg/wvla-1.c: New test
  * gcc.dg/wvla-2.c: New test
  * gcc.dg/wvla-3.c: New test
  * gcc.dg/wvla-4.c: New test
  * gcc.dg/wvla-5.c: New test
  * gcc.dg/wvla-6.c: New test
  * gcc.dg/wvla-7.c: New test
* g++.dg/warn/Wvla-1.C: New test
* g++.dg/warn/Wvla-2.C: New test
* g++.dg/warn/Wvla-3.C: New test

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

14 years ago * config/alpha/alpha.c (alpha_elf_section_type_flags): New.
rth [Mon, 12 Mar 2007 18:15:51 +0000 (18:15 +0000)]
    * config/alpha/alpha.c (alpha_elf_section_type_flags): New.
(TARGET_SECTION_TYPE_FLAGS): New.

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

14 years ago * config/darwin.c (machopic_reloc_rw_mask): New.
rth [Mon, 12 Mar 2007 17:00:11 +0000 (17:00 +0000)]
    * config/darwin.c (machopic_reloc_rw_mask): New.
        * config/darwin-protos.h (machopic_reloc_rw_mask): Declare.
        * config/darwin.h (TARGET_ASM_RELOC_RW_MASK): New.

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

14 years ago PR c++/30108
mmitchel [Mon, 12 Mar 2007 16:24:18 +0000 (16:24 +0000)]
PR c++/30108
* call.c (convert_default_arg): Copy non-constant arguments.

PR c++/30108
* g++.dg/other/default6.C: New test.

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

14 years ago * cppdefault.c (cpp_EXEC_PREFIX): New variable.
mmitchel [Mon, 12 Mar 2007 15:59:06 +0000 (15:59 +0000)]
* cppdefault.c (cpp_EXEC_PREFIX): New variable.
* cppdefault.h (cpp_PREFIX): Document.
(cpp_PREFIX_len): Likewise.
(cpp_EXEC_PREFIX): New variable.
* Makefile.in (PREPROCESSOR_DEFINES): Add STANDARD_EXEC_PREFIX.
* c-incpath.c (add_standard_paths): Correct logic for relocating
paths within prefix.

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

14 years ago2007-03-12 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 12 Mar 2007 13:59:50 +0000 (13:59 +0000)]
2007-03-12  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (swap_ranges): Move...
* include/bits/stl_algobase.h: ... here.
* include/tr1/array: Trim includes, stl_algobase.h is enough.

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

14 years ago * config/i386/i386.md (fixuns_trunc<mode>hi2): Implement from
uros [Mon, 12 Mar 2007 11:32:13 +0000 (11:32 +0000)]
* config/i386/i386.md (fixuns_trunc<mode>hi2): Implement from
fixuns_truncsfhi2 and fixuns_truncdfhi2 using SSEMODEF
mode macro.
(fix_trunc<mode>di_sse): Implement from fix_truncsfdi_sse and
fix_truncdfdi_sse using SSEMODEF mode macro.
(fix_trunc<mode>si_sse): Implement from fix_truncsfsi_sse and
fix_truncdfsi_sse using SSEMODEF mode macro.
(fix_trunc?f?i_sse peephole2): Implement using SSEMODEF mode macro.
(fix_trunc?f?i_sse K8 peephole2): Fix register constraint.

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

14 years agogcc/testsuite/
rsandifo [Mon, 12 Mar 2007 10:44:52 +0000 (10:44 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_profiling_available): Return false
for VxWorks.
(check_effective_target_vxworks_kernel): New procedure.
* gcc.dg/20040813-1.c: Extend list of stabless targets to include
VxWorks.
* gcc.dg/builtins-config.h: Do not define HAVE_C99_RUNTIME on VxWorks.
* gcc.dg/intmax_t-1.c: Extend the list of targets without inttypes.h
to include VxWorks.
* gcc.dg/vxworks/initpri2.c: Require vxworks_kernel.

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

14 years agogcc/
rsandifo [Mon, 12 Mar 2007 09:58:50 +0000 (09:58 +0000)]
gcc/
* config.gcc (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add
elfos.h to tm_file.

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

14 years agogcc/testsuite/
rsandifo [Mon, 12 Mar 2007 08:59:07 +0000 (08:59 +0000)]
gcc/testsuite/
* gcc.c-torture/compile/981006-1.c: Use the non-PIC options if
PIC is not supported.
* gcc.dg/20020103-1.c: Add dg-require-effective-target fpic.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/pr28243.c: Likewise.
* gcc.dg/visibility-11.c: Likewise.
* gcc.dg/tls/opt-9.c: Likewise.
* gcc.dg/tls/opt-10.c: Likewise.
* gcc.dg/tls/pic-1.c: Likewise.
* gcc.dg/tls/struct-1.c: Likewise.
* gcc.target/i386/20000807-1.c: Likewise.
* gcc.target/i386/20000904-1.c: Likewise.
* gcc.target/i386/20011119-1.c: Likewise.
* gcc.target/i386/990213-2.c: Likewise.
* gcc.target/i386/990214-1.c: Likewise.
* gcc.target/i386/compress-float-387-pic.c: Likewise.
* gcc.target/i386/compress-float-sse-pic.c: Likewise.
* gcc.target/i386/pic-1.c: Likewise.
* gcc.target/i386/pr21518.c: Likewise.
* gcc.target/i386/pr23098.c: Likewise.
* gcc.target/i386/pr23943.c: Likewise.

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

14 years agoipa-type-escape improvements
olga [Mon, 12 Mar 2007 08:44:48 +0000 (08:44 +0000)]
ipa-type-escape improvements

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

14 years ago* Makefile.in (install-info): New dummy target.
brooks [Mon, 12 Mar 2007 06:13:30 +0000 (06:13 +0000)]
* Makefile.in (install-info): New dummy target.

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

14 years ago PR c++/30328
mmitchel [Mon, 12 Mar 2007 00:26:39 +0000 (00:26 +0000)]
PR c++/30328
* semantics.c (finish_typeof): Use unlowered_expr_type.

PR c++/30328
* g++.dg/ext/bitfield1.C: New test.

PR c++/31038
* parser.c (cp_parser_postfix_expression): Disallow compound
literals in constant expressions.

PR c++/31038
* g++.dg/template/complit2.C: New test.

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

14 years agoDaily bump.
gccadmin [Mon, 12 Mar 2007 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2007-03-11 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 11 Mar 2007 16:17:32 +0000 (16:17 +0000)]
2007-03-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30883
* parse.c (parse_interface): Use the default types from the
formal namespace if a function or its result do not have a type
after parsing the specification statements.

2007-03-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30883
* gfortran.dg/interface_11.f90: New test.

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

14 years ago2007-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 11 Mar 2007 16:08:35 +0000 (16:08 +0000)]
2007-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/31115
* tree-vrp.c (extract_range_from_binary_expr): Make sure
the shift count is positive and non-anti-range for RSHIFT_EXPR.
A shift count of zero is not special as with *_DIV_EXPR.
(vrp_int_const_binop): Handle RSHIFT_EXPR for determining overflow
direction.

* gcc.dg/torture/pr31115.c: New testcase.

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

14 years ago * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and
ian [Sun, 11 Mar 2007 15:53:30 +0000 (15:53 +0000)]
* tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and
the *_DIV_EXPR codes correctly with overflow infinities.

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

14 years ago2007-03-11 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 11 Mar 2007 12:03:34 +0000 (12:03 +0000)]
2007-03-11  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28080 (final)
* include/std/iosfwd: Do not include <bits/c++io.h>.
* config/io/basic_file_stdio.h: Do it here.
* include/ext/stdio_sync_filebuf.h: Likewise.
* include/ext/rope: Include <bits/gthr.h> unconditionally.
* include/std/fstream: Do not include <bits/gthr.h>.

* include/std/ios: Do not include <cstdio>.
* include/bits/ios_base.h: Do it here.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.

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