OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago * testsuite/config/default.exp: New file.
uros [Thu, 22 Mar 2007 07:00:08 +0000 (07:00 +0000)]
* testsuite/config/default.exp: New file.
* testsuite/lib/libgomp.exp: New file.
* testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init,
libgomp_target_compile, libgomp_option_help, libgomp_option_proc,
load_lib *, load_gcc_lib *): Move to libgomp.exp.
(libgomp_load): Remove.
* testsuite/lib/libgomp.exp (libgomp_init): Compute
always_ld_library_path, not ld_library_path.  Set additional_flags
to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets.
(target_compile): Do not call libgomp_init.  Append lang_library_path
and lang_link_flags to options.
* testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2.  Set
ld_library_path from always_ld_library_path.  Set LD_LIBRARY_PATH
here.
* testsuite/libgomp.c++/c++.exp: Set ld_library_path from
always_ld_library_path.  Set LD_LIBRARY_PATH here.
* testsuite/libgomp.fortran/fortran.exp: Ditto.
* testsuite/libgomp.c/atomic-1.c: Set dg-options to
"-O2 -march=pentium" for ilp32 x86 targets. Simplify check for
CX8 flag.
* testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for
lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3.
* testsuite/libgomp.c/pr29947-1.c: Remove default dg-options.
* testsuite/libgomp.c/pr29947-1.c: Ditto.
* testsuite/libgomp.c/atomic-10.c: Ditto.

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

17 years ago2007-03-21 Seongbae Park <seongbae.park@gmail.com>
spark [Thu, 22 Mar 2007 06:18:33 +0000 (06:18 +0000)]
2007-03-21  Seongbae Park <seongbae.park@gmail.com>

* regmove.c (regmove_optimize): Use reg_mentioned_p
instead of reg_overlap_mentioned_p for DST.

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

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

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

17 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
rsandifo [Wed, 21 Mar 2007 20:09:15 +0000 (20:09 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob.  Quote arguments with single quotes too.
* configure: Regenerate.

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

17 years ago * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
jakub [Wed, 21 Mar 2007 19:43:14 +0000 (19:43 +0000)]
* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
dg-final cleanup-modules line.
* testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise.
* testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise.
* testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate2.f90: Likewise.
* testsuite/libgomp.fortran/reduction5.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate3.f90: Likewise.
* testsuite/libgomp.fortran/threadprivate1.f90: Likewise.

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

17 years ago * c.opt: Fixup for Objective-C/C++.
mrs [Wed, 21 Mar 2007 18:45:40 +0000 (18:45 +0000)]
* c.opt: Fixup for Objective-C/C++.

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

17 years ago * explow.c (convert_memory_address): Fold memory reference when
sje [Wed, 21 Mar 2007 16:02:32 +0000 (16:02 +0000)]
* explow.c (convert_memory_address): Fold memory reference when
POINTERS_EXTEND_UNSIGNED < 0

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

17 years ago PR target/31245
rth [Wed, 21 Mar 2007 15:52:23 +0000 (15:52 +0000)]
    PR target/31245
        * config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias.
        * config/i386/mmintrin.h (__m64): Likewise.
        * config/i386/xmmintrin.h (__m128): Likewise.

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

17 years agogcc/
rsandifo [Wed, 21 Mar 2007 12:21:33 +0000 (12:21 +0000)]
gcc/
* config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options.
(VXWORKS_OS_CPP_BUILTINS): Define.
* config/i386/vxworks.h (VXWORKS_CPU_DEFINE): Fold into...
(TARGET_OS_CPP_BUILTINS): ...here.  Use VXWORKS_OS_CPP_BUILTINS.

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

17 years agogcc/testsuite/
rsandifo [Wed, 21 Mar 2007 09:11:25 +0000 (09:11 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_nonpic): New
procedure.
* gcc.target/i386/20020616-1.c: Use an alternative to %ebx
when compiling PIC.
* gcc.target/i386/asm-4.c: Require nonpic.
* gcc.target/i386/cmov1.c: Likewise.
* gcc.target/i386/mul.c: Likewise.
* gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.
* gcc.target/i386/ssetype-1.c: Require nonpic.
* gcc.target/i386/ssetype-3.c: Likewise.
* gcc.target/i386/ssetype-5.c: Likewise.

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

17 years agogcc/
rsandifo [Wed, 21 Mar 2007 09:10:08 +0000 (09:10 +0000)]
gcc/
* rtl.h (constant_pool_reference_p): Delete.
(find_constant_src): Declare.
* rtlanal.c (find_constant_src): New function.
* simplify-rtx.c (constant_pool_reference_p): Delete.
* config/i386/i386.md: Use find_constant_src instead of
constant_pool_reference_p/avoid_constant_pool_reference pairs.

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

17 years agogcc/testsuite/
rsandifo [Wed, 21 Mar 2007 09:08:04 +0000 (09:08 +0000)]
gcc/testsuite/
* gcc.c-torture/execute/builtins/chk.h (LOCAL): Define.
* gcc.c-torture/execute/builtins/sprintf-chk.c (s1): Make LOCAL.
* gcc.c-torture/execute/builtins/stpcpy-chk.c (s1): Likewise.
* gcc.c-torture/execute/builtins/strcpy-chk.c (s1): Likewise.

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

17 years agogcc/
rsandifo [Wed, 21 Mar 2007 09:07:19 +0000 (09:07 +0000)]
gcc/
* doc/invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__.
* c-cppbuiltin.c (c_cpp_builtins): Define them.

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

17 years ago * config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define.
mmitchel [Wed, 21 Mar 2007 05:21:31 +0000 (05:21 +0000)]
* config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define.
* config/arm/arm.c (arm_elf_asm_cdtor): New function.
(arm_elf_asm_constructor): Use it.
(arm_elf_asm_destructor): New function.

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

17 years agoDaily bump.
gccadmin [Wed, 21 Mar 2007 00:18:38 +0000 (00:18 +0000)]
Daily bump.

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

17 years ago * jump.c (mark_jump_label): Treat SEQUENCE specially.
bernds [Tue, 20 Mar 2007 23:43:33 +0000 (23:43 +0000)]
* jump.c (mark_jump_label): Treat SEQUENCE specially.

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

17 years ago * configure.ac: Add missing check for gettimeofday.
fxcoudert [Tue, 20 Mar 2007 23:09:39 +0000 (23:09 +0000)]
* configure.ac: Add missing check for gettimeofday.
* config.h.in: Renegerate.
* configure: Regenerate.

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

17 years ago2007-03-19 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 20 Mar 2007 15:42:37 +0000 (15:42 +0000)]
2007-03-19  Seongbae Park <seongbae.park@gmail.com>

PR tree-optimization/30590
* g++.dg/opt/pr30590.C: New testcase.

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

17 years ago * config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks.
nathan [Tue, 20 Mar 2007 14:13:30 +0000 (14:13 +0000)]
* config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks.

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

17 years ago2007-03-19 Andrew Haley <aph@redhat.com>
aph [Tue, 20 Mar 2007 12:45:19 +0000 (12:45 +0000)]
2007-03-19  Andrew Haley  <aph@redhat.com>

        PR tree-optimization/31264
        * tree-vrp.c (register_edge_assert_for_1): Don't look though
        VIEW_CONVERT_EXPRs.

2007-03-20  Andrew Haley  <aph@redhat.com>

        * testsuite/libjava.lang/PR31264.java: New test.

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

17 years ago2007-03-19 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 20 Mar 2007 08:31:13 +0000 (08:31 +0000)]
2007-03-19  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/30907
* fwprop.c (forward_propagate_into): Never propagate inside a loop.
(fwprop_init): Always call loop_optimizer_initialize.
(fwprop_done): Always call loop_optimizer_finalize.
(fwprop): We always have loop info now.
(gate_fwprop_addr): Remove.
(pass_fwprop_addr): Use gate_fwprop as gate.

PR rtl-optimization/30841
* df-problems.c (df_ru_local_compute, df_rd_local_compute,
df_chain_alloc): Call df_reorganize_refs unconditionally.
* df-scan.c (df_rescan_blocks, df_reorganize_refs): Change
refs_organized to refs_organized_size.
(df_ref_create_structure): Use refs_organized_size instead of
bitmap_size if refs had been organized, and keep refs_organized_size
up-to-date.
* df.h (struct df_ref_info): Change refs_organized to
refs_organized_size.
(DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of
bitmap_size.

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

17 years ago * except.c (output_function_exception_table): Do not reference the
mmitchel [Tue, 20 Mar 2007 03:16:25 +0000 (03:16 +0000)]
* except.c (output_function_exception_table): Do not reference the
EH personality routine for functions that do not require an
exception table.

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

17 years agoDaily bump.
gccadmin [Tue, 20 Mar 2007 00:17:48 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago PR c/30762
jakub [Mon, 19 Mar 2007 23:26:14 +0000 (23:26 +0000)]
PR c/30762
* c-typeck.c (convert_for_assignment): Call comptypes for
RECORD_TYPE or UNION_TYPE.

* gcc.dg/pr30762-1.c: New test.
* gcc.dg/pr30762-2.c: New test.

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

17 years ago PR inline-asm/30505
jakub [Mon, 19 Mar 2007 23:24:43 +0000 (23:24 +0000)]
PR inline-asm/30505
* reload1.c (reload): Do invalid ASM checking after
cleanup_subreg_operands.

* gcc.target/i386/pr30505.c: New test.

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

17 years ago gcc/testsuite/
shinwell [Mon, 19 Mar 2007 21:00:14 +0000 (21:00 +0000)]
gcc/testsuite/
* gcc.target/arm/register-variables.c: New.

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

17 years ago * tree-cfg.c (find_taken_edge): Tighten conditions for
law [Mon, 19 Mar 2007 19:52:19 +0000 (19:52 +0000)]
    * tree-cfg.c (find_taken_edge): Tighten conditions for
        optimizing computed gotos.

        * PR tree-optimization/30984
        * gcc.c-torture/pr30984.c: New test.

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

17 years ago2007-03-18 Krister Walfridsson <cato@df.lth.se>
kristerw [Mon, 19 Mar 2007 17:08:14 +0000 (17:08 +0000)]
2007-03-18  Krister Walfridsson  <cato@df.lth.se>

PR target/30058
* inclhack.def (netbsd_c99_inline_1): New.
* fixincl.x: Regenerate.
* tests/base/signal.h: New.

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

17 years ago * builtins.c (expand_builtin_sync_operation,
matz [Mon, 19 Mar 2007 17:07:29 +0000 (17:07 +0000)]
    * builtins.c (expand_builtin_sync_operation,
        expand_builtin_compare_and_swap,
        expand_builtin_lock_test_and_set): Care for extending CONST_INTs
        correctly.

        * config/i386/sync.md (sync_double_compare_and_swapdi_pic,
        sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint
        for operand 3.

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

17 years ago2007-03-19 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 19 Mar 2007 16:58:54 +0000 (16:58 +0000)]
2007-03-19  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&):
Rename as __get_helper.
(get(tuple<>&, get(const tuple<>&)): Forward to the latter.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 15:17:55 +0000 (15:17 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* doc/tm.texi: Add brackets around the return type of
TARGET_SECONDARY_RELOAD.

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

17 years ago2007-03-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 19 Mar 2007 13:54:18 +0000 (13:54 +0000)]
2007-03-19  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/user.cfg.in: Update for new includes, macros.

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

17 years ago2007-03-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
rguenth [Mon, 19 Mar 2007 13:36:29 +0000 (13:36 +0000)]
2007-03-19  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/31254
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Use handled_component_p () where appropriate.  Continue
propagating into the rhs if we propagated into an INDIRECT_REF
on the lhs.

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

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

17 years ago * gcc.dg/torture/pr26565.c: Expect warning on packed field for
hp [Mon, 19 Mar 2007 12:06:14 +0000 (12:06 +0000)]
* gcc.dg/torture/pr26565.c: Expect warning on packed field for
target default_packed.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 08:51:20 +0000 (08:51 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md (op_type attribute): RRR instruction type added.
(FP, DFP, SD_SF, DD_DF, TD_TF): New mode macros.
(xde, xdee): Mode attributes adjusted to support DFP modes.
(RRer, f0, op1, Rf, bt, bfp, HALF_TMODE): New mode attributes added.
("cmp<mode>", "*cmp<mode>_css_0", "*cmp<mode>_ccs", TF move splitters,
DF move splitters, "floatdi<mode>2", "add<mode>3", "*add<mode>3",
"*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3", "*sub<mode>3",
"*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3", "*mul<mode>3",
"div<mode>3", "*div<mode>3", "*neg<mode>2_nocc", "*abs<mode>2_nocc",
"*negabs<mode>2_nocc", "copysign<mode>3"): Adjusted to support DFP
numbers.
("*movtf_64", "*movtf_31", "*movdf_64dfp", "*movdf_64", "*movdf_31",
"movsf"): Insn definitions removed.
("*mov<mode>_64", "*mov<mode>_31", "mov<mode>", "*mov<mode>_64dfp",
"*mov<mode>_64", "*mov<mode>_31", "fix_trunc<DFP:mode>di2",
"trunctddd2", "truncddsd2", "extendddtd2", "extendsddd2"): Insn
definitions added.
("fixuns_truncdddi2", "fixuns_trunctddi2", "mov<mode>",
"reload_in<mode>", "reload_out<mode>"): Expander added.
("movtf", "movdf", "reload_outtf", "reload_outdf", "reload_intf"):
Expander removed.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 08:49:53 +0000 (08:49 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md: Only non-functional changes.  Renamed
FPR mode macro to BFP all over the file.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 08:48:36 +0000 (08:48 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md (UNSPEC_COPYSIGN): New constant.
(op_type attribute): RRF instruction type added.
(fT0): New mode attribute.
("*movdi_64dfp", "*movdf_64dfp", "*neg<mode>2_nocc", "*abs<mode>2_nocc",
"*negabs<mode>2_nocc", "copysign<mode>3"): Insn definitions added.
* config/s390/s390.h (SECONDARY_MEMORY_NEEDED): Due to a new instruction
no secondary memory is needed when moving DFmode values between GPRs
and FPRs.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 08:46:57 +0000 (08:46 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.opt ("mhard-float", "msoft-float"): Bit value
inverted and documentation adjusted.
("mhard-dfp", "msoft-dfp"): New options.
* config/s390/s390.c (s390_handle_arch_option): New architecture
switch: z9-ec.
(override_options): Sanity checks for the new options added.
* config.gcc: New architecture switch: z9-ec.
* config/s390/s390.h (processor_flags): PF_DFP added.
(TARGET_CPU_DFP, TARGET_DFP): Macro definitions added.
(TARGET_DEFAULT): Due to the s390.opt changes hard float is enabled
when the bit is NOT set so remove it from the defaults.

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

17 years ago2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 19 Mar 2007 08:45:29 +0000 (08:45 +0000)]
2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* genemit.c (main): Print include statement for dfp.h.
* dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum
is not available.

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

17 years ago * config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here.
hp [Mon, 19 Mar 2007 08:29:43 +0000 (08:29 +0000)]
* config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here.

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

17 years ago * config.host (cris-*-elf | cris-*-none): Set extra_parts.
hp [Mon, 19 Mar 2007 08:28:57 +0000 (08:28 +0000)]
* config.host (cris-*-elf | cris-*-none): Set extra_parts.

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

17 years ago PR fortran/31203
fxcoudert [Mon, 19 Mar 2007 08:13:30 +0000 (08:13 +0000)]
PR fortran/31203

* trans-expr.c (gfc_trans_init_string_length): Length should
never be negative.
(gfc_conv_function_call): Likewise.

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

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

17 years ago2007-03-10 Matthias Klose <doko@ubuntu.com>
doko [Mon, 19 Mar 2007 05:57:53 +0000 (05:57 +0000)]
2007-03-10  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: New configure option
        --enable-generated-files-in-srcdir.
        * doc/Makefile.am: Add support to generate files in srcdir,
        install the cp-tools documentation in info format.
        * configure: Regenerate.
        * native/jni/classpath/Makefile.in, native/jni/midi-dssi/Makefile.in,
        native/jni/Makefile.in, native/jni/gconf-peer/Makefile.in,
        native/jni/java-io/Makefile.in, native/jni/native-lib/Makefile.in,
        native/jni/java-util/Makefile.in, native/jni/java-lang/Makefile.in,
        native/jni/midi-alsa/Makefile.in, native/jni/java-nio/Makefile.in,
        native/jni/java-net/Makefile.in, native/jni/xmlj/Makefile.in,
        native/jni/qt-peer/Makefile.in, native/jni/gtk-peer/Makefile.in,
        native/Makefile.in, native/jawt/Makefile.in, native/fdlibm/Makefile.in,
        native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in,
        tools/Makefile.in, doc/Makefile.in, doc/api/Makefile.in,
        lib/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
        external/w3c_dom/Makefile.in, external/jsr166/Makefile.in,
        external/relaxngDatatype/Makefile.in, include/Makefile.in,
        examples/Makefile.in: Regenerate.

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

17 years ago PR target/31022
kkojima [Mon, 19 Mar 2007 04:14:59 +0000 (04:14 +0000)]
PR target/31022
* config/sh/sh.c (sh_adjust_cost): Use the result of single_set
instead of PATTERN.

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

17 years ago * pa.c (output_deferred_plabels, output_bb, output_millicode_call,
danglin [Mon, 19 Mar 2007 01:48:34 +0000 (01:48 +0000)]
* pa.c (output_deferred_plabels, output_bb, output_millicode_call,
attr_length_call, output_call, output_indirect_call): Cleanup
formatting of targetm calls.

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

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

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

17 years ago * config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
hp [Sun, 18 Mar 2007 23:46:02 +0000 (23:46 +0000)]
* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.

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

17 years ago * libsupc++/array_type_info.cc: Likewise.
mmitchel [Sun, 18 Mar 2007 22:35:39 +0000 (22:35 +0000)]
* libsupc++/array_type_info.cc: Likewise.
* libsupc++/bad_cast.cc: Likewise.
* libsupc++/bad_typeid.cc: Likewise.
* libsupc++/class_type_info.cc: Likewise.
* libsupc++/dyncast.cc: Likewise.
* libsupc++/enum_type_info.cc: Likewise.
* libsupc++/function_type_info.cc: Likewise.
* libsupc++/fundamental_type_info.cc: Likewise.
* libsupc++/pbase_type_info.cc: Likewise.
* libsupc++/pmem_type_info.cc: Likewise.
* libsupc++/pointer_type_info.cc: Likewise.
* libsupc++/si_class_type_info.cc: Likewise.
* libsupc++/vmi_class_type_info.cc: Likewise.
* libsupc++/tinfo.h: Move inline type_info functions here.
* libsupc++/tinfo.cc: Separate type_info classes into their own
files.
* libsupc++/tinfo2.cc: Likewise.
* Makefile.am (sources): Mention new files.
* Makefile.in: Regenerated.

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

17 years ago * pa.md: Add fpstore_load and store_fpload instruction types. Provide
danglin [Sun, 18 Mar 2007 19:47:43 +0000 (19:47 +0000)]
* pa.md: Add fpstore_load and store_fpload instruction types.  Provide
reservation, bypass and anti-bypass descriptions for these instructions.
Update move patterns.
* pa.c (hppa_fpstore_bypass_p): Check for both TYPE_FPSTORE_LOAD and
TYPE_FPSTORE.

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

17 years ago PR testsuite/30395
danglin [Sun, 18 Mar 2007 19:13:17 +0000 (19:13 +0000)]
PR testsuite/30395
* gcc.dg/pr16194.c: Provide define for REG on __hppa__.

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

17 years ago2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 18 Mar 2007 18:17:24 +0000 (18:17 +0000)]
2007-03-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31052
* gfortran.dg/namelist_27.f90: New test.

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

17 years ago2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 18 Mar 2007 18:13:50 +0000 (18:13 +0000)]
2007-03-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31052
* io/file_position (st_rewind): Fix comments. Remove use of
test_endfile. Don't seek if already at 0 position.  Use new is_special
function to set endfile state.
* io/open.c (test_endfile): Delete this function.
* io/io.h: Delete prototype for test_endfile.  Add prototype
for is_special.
* io/unix.c (is_special): New function. Fix whitespace.
* io/transfer.c (next_record_r): Remove use of test_endfile.

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

17 years ago2007-03-18 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 18 Mar 2007 15:00:55 +0000 (15:00 +0000)]
2007-03-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30531
PR fortran/31086
* symbo.c : Add gfc_derived_types.
(gfc_free_dt_list): Free derived type list gfc_derived_types.
(gfc_free_namespace): Remove call to gfc_free_dt_list.
(gfc_symbol_done_2): Call  gfc_free_dt_list.
* gfortran.h : Declare gfc_derived_types to be external. Remove
derived types field from gfc_namespace.
* resolve.c (resolve_fl_derived): Refer to gfc_derived types
rather than namespace derived_types.
(resolve_fntype): Remove special treatment for module
derived type functions.
* trans-types.c (gfc_get_derived_type): Remove search for like
derived types.  Finish by copying back end declaration to like
derived types in the derived type list gfc_derived_types.

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

PR fortran/30531
* gfortran.dg/used_types_14.f90: New test.

PR fortran/31086
* gfortran.dg/used_types_15.f90: New test.

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

17 years ago * acinclude.m4: Adjust regular expression for ld version
schwab [Sun, 18 Mar 2007 11:17:44 +0000 (11:17 +0000)]
* acinclude.m4: Adjust regular expression for ld version
extraction.
* configure: Regenerate.

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

17 years ago * tree-vect-transform.c (get_initial_def_for_induction): Replace
dorit [Sun, 18 Mar 2007 04:37:32 +0000 (04:37 +0000)]
    * tree-vect-transform.c (get_initial_def_for_induction): Replace
        GET_MODE_NUNITS with TYPE_VECTOR_SUBPARTS.
        (get_initial_def_for_reduction): Likewise.

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

17 years agoDaily bump.
gccadmin [Sun, 18 Mar 2007 00:17:18 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago2007-03-16 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 17 Mar 2007 23:07:34 +0000 (23:07 +0000)]
2007-03-16  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/29922
* tree-ssa-pre.c (bb_bitmap_sets): Remove RVUSE_* members.
(get_representative): Removed.
(value_dies_in_block_x): Update for rvuse removal.
(valid_in_sets): Update for renaming of vuses_dies_in_block_x.
(compute_antic_aux): Handle when PHI nodes appear in
non-single-successors.
(dump_bitmap_of_names): Removed.
(compute_antic_safe): Renamed and removed rvuse calculation.
Calculate only antic safe.
(insert_into_preds_of_block): Remove assert.
(execute_pre): Update for renamed functions.
(defer_or_phi_translate_block): New function.

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

17 years ago PR fortran/31120
fxcoudert [Sat, 17 Mar 2007 19:58:37 +0000 (19:58 +0000)]
PR fortran/31120

* trans-expr.c (gfc_conv_powi): Make n argument unsigned hwi.
(gfc_conv_cst_int_power): Handle integer exponent with care,
since it might be too large for us.

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

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

17 years ago * uninclude: New utility, from Alexandre Oliva.
hp [Sat, 17 Mar 2007 19:08:50 +0000 (19:08 +0000)]
* uninclude: New utility, from Alexandre Oliva.

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

17 years ago * tree-data-ref.h: Remove the prototype for analyze_array.
kazu [Sat, 17 Mar 2007 17:51:39 +0000 (17:51 +0000)]
* tree-data-ref.h: Remove the prototype for analyze_array.

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

17 years ago * config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c,
kazu [Sat, 17 Mar 2007 17:44:02 +0000 (17:44 +0000)]
* config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c,
config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment
typos.
* doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos.
Follow spelling conventions.

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

17 years ago * cp-tree.def, parser.c, pt.c: Fix comment typos.
kazu [Sat, 17 Mar 2007 17:29:11 +0000 (17:29 +0000)]
* cp-tree.def, parser.c, pt.c: Fix comment typos.

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

17 years ago PR tree-optimization/31041
dorit [Sat, 17 Mar 2007 14:43:30 +0000 (14:43 +0000)]
    PR tree-optimization/31041
        * tree-vect-transform.c (get_initial_def_for_induction): Call
        force_gimple_operand.

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

17 years agoipa-type-escape fix for ada
olga [Sat, 17 Mar 2007 12:47:53 +0000 (12:47 +0000)]
ipa-type-escape fix for ada

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

17 years ago * final.c (final_scan_insn): Alter the condition of a
kazu [Sat, 17 Mar 2007 11:43:07 +0000 (11:43 +0000)]
* final.c (final_scan_insn): Alter the condition of a
conditional trap if we have nonstandard CC.

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

17 years ago PR fortran/31184
fxcoudert [Sat, 17 Mar 2007 11:30:20 +0000 (11:30 +0000)]
PR fortran/31184
* invoke.texi: Fix typo.

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

17 years ago2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Sat, 17 Mar 2007 05:36:18 +0000 (05:36 +0000)]
2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>

* resource/com/sun/tools/javac/messages.properties
(Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
messages for when --with-ecj-jar is not specified.
* configure.ac (FOUND_ECJ_JAR): Remove conditional.
* tools/Makefile.am: Build com.sun.tools.javac package
unconditionally.
* configure, doc/api/Makefile.in, doc/Makefile.in,
examples/Makefile.in, external/jsr166/Makefile.in,
external/Makefile.in, external/relaxngDatatype/Makefile.in,
external/sax/Makefile.in, external/w3c_dom/Makefile.in,
include/Makefile.in, lib/Makefile.in, Makefile.in,
native/fdlibm/Makefile.in, native/jawt/Makefile.in,
native/jni/classpath/Makefile.in,
native/jni/gconf-peer/Makefile.in,
native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
native/jni/midi-dssi/Makefile.in,
native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
native/jni/xmlj/Makefile.in, native/Makefile.in,
native/plugin/Makefile.in, resource/Makefile.in,
scripts/Makefile.in, tools/Makefile.in: Regenerate.
* tools/classes/com/sun/tools/javac: New directory.
* tools/classes/com/sun/tools/javac/Main.class,
tools/classes/com/sun/tools/javac/Messages.class: New files.

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

17 years ago * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
tromey [Sat, 17 Mar 2007 05:00:07 +0000 (05:00 +0000)]
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.

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

17 years agoDaily bump.
gccadmin [Sat, 17 Mar 2007 00:17:45 +0000 (00:17 +0000)]
Daily bump.

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

17 years ago* configure.ac: Remove excess quoting from asm line 0 test.
aoliva [Fri, 16 Mar 2007 23:44:42 +0000 (23:44 +0000)]
* configure.ac: Remove excess quoting from asm line 0 test.
* configure: Rebuilt.

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

17 years ago2007-03-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Fri, 16 Mar 2007 23:32:12 +0000 (23:32 +0000)]
2007-03-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

* doc/invoke.texi (-Wconversion): Document warnings specific to C++.
* c-common.c (convert_and_check): Move warning logic to...
(warnings_for_convert_and_check): ...here. Define.
* c-common.h (warnings_for_convert_and_check): Declare.
cp/
* cvt.c (cp_convert_and_check) : Define.
* cp-tree.h (cp_convert_and_check): Declare.
* call.c (convert_conversion_warnings): Rename to
conversion_null_warnings.  The warning for floating-point to
integer is handled by convert_and_check in convert_like_real.
(convert_like_real): convert_conversion_warnings was renamed as
conversion_null_warnings.
* typeck.c (build_binary_op): Use cp_convert_and_check to warn for
overflow and changes of value during conversion.
testsuite/
* g++.dg/warn/Wconversion-integer.C: New
* g++.dg/warn/Wconversion-real.C: New.
* g++.dg/warn/Wconversion-real-integer.C: New.
* g++.dg/warn/conv2.C: Updated.

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

17 years ago * pa.c (attr_length_call): Partially revert change of 2007-03-09.
danglin [Fri, 16 Mar 2007 23:12:46 +0000 (23:12 +0000)]
* pa.c (attr_length_call): Partially revert change of 2007-03-09.
(output_call): Likewise.

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

17 years ago * tools/gnu/classpath/tools/javah/JniStubPrinter.java
tromey [Fri, 16 Mar 2007 22:48:27 +0000 (22:48 +0000)]
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
filename argument.
* tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
argument order.
(writeHeaders): Use a HashMap.
(run): Put class name into HashMap for writeHeaders.

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

17 years ago2007-03-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 16 Mar 2007 19:44:00 +0000 (19:44 +0000)]
2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use
-std=gnu++0x instead of -std=c++0x for testing.
* testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
* testsuite/17_intro/headers/c++200x/all.cc: Same.
* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
* testsuite/23_containers/hash/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/tuple/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/array/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/enable_shared_from_this/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
* testsuite/20_util/headers/functional/
using_namespace_std_placeholders.cc: Same.
* testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
* testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
* testsuite/20_util/shared_ptr/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/weak_ptr/requirements/
explicit_instantiation.cc: Same.

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

17 years ago * runtime/main.c: Include "config.h" first.
dje [Fri, 16 Mar 2007 15:50:19 +0000 (15:50 +0000)]
    * runtime/main.c: Include "config.h" first.

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

17 years agogcc/testsuite/
rsandifo [Fri, 16 Mar 2007 14:37:39 +0000 (14:37 +0000)]
gcc/testsuite/
* gcc.dg/intmax_t-1.c: Restrict XFAIL to VxWorks kernels;
exclude RTPs.

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

17 years agogcc/
rsandifo [Fri, 16 Mar 2007 14:35:26 +0000 (14:35 +0000)]
gcc/
* config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define.

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

17 years agogcc/
rsandifo [Fri, 16 Mar 2007 14:34:56 +0000 (14:34 +0000)]
gcc/
* config/vx-common.h (WINT_TYPE, WINT_TYPE_SIZE): Define.

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

17 years ago * config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8,
uros [Fri, 16 Mar 2007 12:32:08 +0000 (12:32 +0000)]
* config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8,
opteron, athlon-64 and athlon-fx processor_alias_table entries.

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

17 years ago PR tree-optimization/31183
spop [Fri, 16 Mar 2007 11:30:48 +0000 (11:30 +0000)]
PR tree-optimization/31183
* tree-loop-linear.c (gather_interchange_stats, try_interchange_loops):
Use double_int instead of unsigned int for representing access_strides.
* testsuite/gcc.dg/tree-ssa/pr31183.c: New.

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

17 years ago2007-03-16 Paul Thomas <pault@gcc.gnu.org>
burnus [Fri, 16 Mar 2007 10:57:45 +0000 (10:57 +0000)]
2007-03-16  Paul Thomas  <pault@gcc.gnu.org>
    Tobias Burnus  <burnus@net-b.de>

PR fortran/31188
* expr.c (find_array_section): Allow
  non-expression-constant variables.

2007-03-16  Tobias Burnus  <burnus@net-b.de>

PR fortran/31188
* gfortran.dg/parameter_array_dummy.f90: New test.

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

17 years ago2007-03-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 16 Mar 2007 10:35:16 +0000 (10:35 +0000)]
2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/lib/dg-options.exp (dg-require-c-std): New.
* testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to
see if _GLIBCXX_USE_C99_MATH is active.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std.
* testsuite/tr1/5_numerical_facilities/special_functions/
17_hyperg/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
13_ellint_2/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
16_hermite/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
12_ellint_1/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
18_laguerre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
14_ellint_3/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
19_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
03_beta/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
15_expint/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_nan.cc: Same.

* include/tr1/poly_laguerre.tcc (__poly_laguerre): Don't check if
unsigned int can be a NaN.

2007-03-16  Edward M. Smith-Rowland  <3dw4rd@verizon.net>

* docs/html/ext/tr1.html : Marked tr1 math special functions done.
* docs/html/faq/index.html : Ditto.
* include/Makefile.in : Added new special function header files.
* include/Makefile.am : Ditto.
* include/tr1/common.h : Added type promotion routines for three
and four args.

* include/tr1/special_function_util.h: New.
* include/tr1/bessel_function.tcc: New.
* include/tr1/beta_function.tcc: New.
* include/tr1/ell_integral.tcc: New.
* include/tr1/exp_integral.tcc: New.
* include/tr1/gamma.tcc: New.
* include/tr1/hypergeometric.tcc: New.
* include/tr1/legendre_function.tcc: New.
* include/tr1/modified_bessel_func.tcc: New.
* include/tr1/poly_hermite.tcc: New.
* include/tr1/poly_laguerre.tcc: New.
* include/tr1/riemann_zeta.tcc: New.
* include/tr1/cmath : Included tr1 math special functions.
* include/tr1/math.h : Ditto.
* testsuite/tr1/5_numerical_facilities/special_functions/
testcase.h: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_value_neg.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_value_pos.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_value_neg.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_value_pos.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/ compile_2.cc: New.

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

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

PR tree-optimization/31146
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Restructure
to allow recursion of forward_propagate_addr_expr.
(forward_propagate_addr_into_variable_array_index): Likewise.
(forward_propagate_addr_expr): Likewise.
(tree_ssa_forward_propagate_single_use_vars): Likewise.
(forward_propagate_addr_expr_1): Recurse on simple copies
instead of propagating into them.  Do so for useless conversions
as well.
(forward_propagate_addr_expr): Clean up unused statements after
recursion.

* g++.dg/tree-ssa/pr31146.C: New testcase.

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

17 years agoFix top in last change.
rsandifo [Fri, 16 Mar 2007 10:02:02 +0000 (10:02 +0000)]
Fix top in last change.

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

17 years agogcc/testsuite/
rsandifo [Fri, 16 Mar 2007 09:56:18 +0000 (09:56 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_missing_uclibc_feature): Don't
assume that the target has <features.h>.

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

17 years ago2007-03-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Mar 2007 09:54:39 +0000 (09:54 +0000)]
2007-03-16  Richard Guenther  <rguenther@suse.de>

* builtins.c (expand_builtin_cexpi): Use the right argument
for the expansion via cexp.

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

17 years ago2007-03-16 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 16 Mar 2007 09:50:18 +0000 (09:50 +0000)]
2007-03-16  Tobias Burnus  <burnus@net-b.de>

       * trans-decl.c (gfc_generate_function_code): Use all arguments of
         set_std.

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

17 years agogcc/testsuite/
rsandifo [Fri, 16 Mar 2007 07:25:22 +0000 (07:25 +0000)]
gcc/testsuite/
* gcc.dg/20020426-2.c: Add the fpic requirement to the PIC
dg-options rather than to the whole test.

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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