]> gcc.gnu.org Git - gcc.git/log
gcc.git
19 years agotree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
Zdenek Dvorak [Sat, 16 Oct 2004 16:49:53 +0000 (18:49 +0200)]
tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.

* tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
(find_best_candidate): Take also important candidates into account.
(find_optimal_iv_set): Initialize important_candidates bitmap.

From-SVN: r89146

19 years agore PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution with -Os)
Zdenek Dvorak [Sat, 16 Oct 2004 16:45:38 +0000 (18:45 +0200)]
re PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution with -Os)

PR tree-optimization/17560
* predict.c (tree_estimate_probability): Mark irreducible
loops.

From-SVN: r89145

19 years agore PR rtl-optimization/17723 (gcc segfaults with -O2)
Zdenek Dvorak [Sat, 16 Oct 2004 16:42:31 +0000 (18:42 +0200)]
re PR rtl-optimization/17723 (gcc segfaults with -O2)

PR rtl-optimization/17723
* cfgcleanup.c (merge_memattrs): Handle case when
MEM_SIZE == NULL_RTX.

From-SVN: r89144

19 years ago[multiple changes]
Benjamin Kosnik [Sat, 16 Oct 2004 13:48:34 +0000 (13:48 +0000)]
[multiple changes]

2004-10-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/tr1/array: Don't use layout_type.

2004-10-16  Sashan Govender  <sashang@gmail.com>

* include/tr1/array (array::end const): Fix casting from iterator
to const_iterator.

From-SVN: r89139

19 years ago* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.
Eric Botcazou [Sat, 16 Oct 2004 11:47:46 +0000 (13:47 +0200)]
* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.

From-SVN: r89136

19 years agore PR c++/10479 (alignof and sizeof (and other expressions) in attributes does not...
Giovanni Bajo [Sat, 16 Oct 2004 11:04:58 +0000 (11:04 +0000)]
re PR c++/10479 (alignof and sizeof (and other expressions) in attributes does not compile inside template classes)

PR c++/10479
* parser.c (cp_parser_parenthesized_expression_list): Fold
non-dependent expressions in attribute lists.

PR c++/10479
* g++.dg/ext/attrib16.C: New test.

From-SVN: r89135

19 years agotoplev.c (dump_file_name): Change type to be const.
Andrew Pinski [Sat, 16 Oct 2004 00:57:01 +0000 (00:57 +0000)]
toplev.c (dump_file_name): Change type to be const.

2004-10-15  Andrew Pinski  <pinskia@physics.uc.edu>

        * toplev.c (dump_file_name): Change type to be const.

From-SVN: r89131

19 years agoDaily bump.
GCC Administrator [Sat, 16 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89127.2

19 years agoDaily bump.
GCC Administrator [Sat, 16 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89126.2

19 years agoc-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop somethin...
Joseph Myers [Fri, 15 Oct 2004 21:32:03 +0000 (22:32 +0100)]
c-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop something being a null pointer constant.

* c-typeck.c (build_compound_expr, build_c_cast): Don't try to use
non_lvalue to stop something being a null pointer constant.

From-SVN: r89120

19 years agore PR c++/17042 (Duplicated symbol in assembly output)
Mark Mitchell [Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)]
re PR c++/17042 (Duplicated symbol in assembly output)

PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.

PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.

PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.

PR c++/17042
* g++.dg/init/dso_handle1.C: New test.

PR c++/17852
* g++.dg/parse/pragma1.C: New test.

PR c++/14667
* g++.dg/parse/typedef6.C: New test.

From-SVN: r89119

19 years agore PR c++/17042 (Duplicated symbol in assembly output)
Mark Mitchell [Fri, 15 Oct 2004 21:11:50 +0000 (21:11 +0000)]
re PR c++/17042 (Duplicated symbol in assembly output)

PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.

PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.

PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.

PR c++/17042
* g++.dg/init/dso_handle1.C: New test.

PR c++/17852
* g++.dg/parse/pragma1.C: New test.

PR c++/14667
* g++.dg/parse/typedef6.C: New test.

From-SVN: r89118

19 years ago* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.
Aldy Hernandez [Fri, 15 Oct 2004 19:25:59 +0000 (19:25 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.

From-SVN: r89113

19 years agors6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.
Aldy Hernandez [Fri, 15 Oct 2004 18:50:55 +0000 (18:50 +0000)]
rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.

* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only
available for TARGET_FPRS.
(FUNCTION_VALUE_REGNO_P): Same.

From-SVN: r89112

19 years agoinvoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other...
Geoffrey Keating [Fri, 15 Oct 2004 18:46:52 +0000 (18:46 +0000)]
invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options.

* doc/invoke.texi (RS/6000 and PowerPC Options): Document
-maltivec in same style as other ISA options.

From-SVN: r89111

19 years agoparse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter ...
Ranjit Mathew [Fri, 15 Oct 2004 18:43:10 +0000 (18:43 +0000)]
parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function...

* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
rename parameter 'msg' to 'msgid' in function declaration.
(issue_warning_error_from_context): Likewise.
(yyerror): Rename parameter 'msg' to 'msgid'.
(all over): Use new quoting style for diagnostics.

* check-init.c: Use %<, %> and %q for quoting in diagnostics,
if possible, else convert `foo' to 'foo'.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* parse.h: Likewise.

From-SVN: r89110

19 years agostruct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms.
Steve Ellcey [Fri, 15 Oct 2004 17:22:41 +0000 (17:22 +0000)]
struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms.

* gcc.dg/compat/struct-layout-1_generate.c (switchfiles):  Use
-fno-common when on HPPA HP-UX platforms.

From-SVN: r89107

19 years agohost-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.
Jon Grimm [Fri, 15 Oct 2004 17:22:02 +0000 (17:22 +0000)]
host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.

2004-10-15  Jon Grimm <jgrimm2@us.ibm.com>

        * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__
        definition.

From-SVN: r89106

19 years agostruct-layout-1.h: Don't include complex.h nor stdint.h.
Jakub Jelinek [Fri, 15 Oct 2004 17:02:58 +0000 (17:02 +0000)]
struct-layout-1.h: Don't include complex.h nor stdint.h.

other/16820
* gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
stdint.h.
* gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
uintptr_t.

From-SVN: r89105

19 years agoMakefile.am (nat_files, [...]): New.
Andrew Haley [Fri, 15 Oct 2004 17:01:19 +0000 (17:01 +0000)]
Makefile.am (nat_files, [...]): New.

2004-10-15  Andrew Haley  <aph@redhat.com>

        * Makefile.am (nat_files, xlib_nat_files): New.
        * Makefile.in: Regenerate.

From-SVN: r89104

19 years agoboehm.c, [...]: Update copyright.
Kazu Hirata [Fri, 15 Oct 2004 14:55:00 +0000 (14:55 +0000)]
boehm.c, [...]: Update copyright.

* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c,
jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c:
Update copyright.

From-SVN: r89100

19 years ago* dump.c, g++spec.c, repo.c: Update copyright.
Kazu Hirata [Fri, 15 Oct 2004 14:49:30 +0000 (14:49 +0000)]
* dump.c, g++spec.c, repo.c: Update copyright.

From-SVN: r89098

19 years agobitmap.c, [...]: Update copyright.
Kazu Hirata [Fri, 15 Oct 2004 14:47:12 +0000 (14:47 +0000)]
bitmap.c, [...]: Update copyright.

* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
predict.def, predict.h, protoize.c, reload.h, resource.h,
rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
unwind-sjlj.c, value-prof.h: Update copyright.

From-SVN: r89097

19 years ago* decl.c: Fix a comment typo.
Kazu Hirata [Fri, 15 Oct 2004 14:39:24 +0000 (14:39 +0000)]
* decl.c: Fix a comment typo.

From-SVN: r89095

19 years ago* pointer-set.c, tree-vectorizer.c: Fix comment typos.
Kazu Hirata [Fri, 15 Oct 2004 14:36:32 +0000 (14:36 +0000)]
* pointer-set.c, tree-vectorizer.c: Fix comment typos.

From-SVN: r89094

19 years ago[multiple changes]
Andrew Pinski [Fri, 15 Oct 2004 14:30:21 +0000 (14:30 +0000)]
[multiple changes]

2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * name-lookup.c (parse_using_directive): If we have a
        error_mark_node, do not set the decl namespace associations
        on it.

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16301
        * g++.dg/lookup/strong-using-4.C: New test.

From-SVN: r89093

19 years agore PR middle-end/16567 (Nested function and variable-sized structure ICE)
Andrew Pinski [Fri, 15 Oct 2004 13:49:02 +0000 (13:49 +0000)]
re PR middle-end/16567 (Nested function and variable-sized structure ICE)

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/16567
        * gcc.c-torture/compile/nested-1.c: New test.

From-SVN: r89092

19 years agobitmap_allocator.h: Qualify ::operator delete.
Paolo Carlini [Fri, 15 Oct 2004 10:54:57 +0000 (10:54 +0000)]
bitmap_allocator.h: Qualify ::operator delete.

2004-10-15  Paolo Carlini  <pcarlini@suse.de>

* include/ext/bitmap_allocator.h: Qualify ::operator delete.
* src/bitmap_allocator.cc: Likewise.
* src/mt_allocator.cc: Use ::operator delete, not delete,
consistently with ::operator new.

* include/ext/bitmap_allocator.h (deallocate): Check for null
pointer.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.

From-SVN: r89089

19 years agovect-44.c: xfail on i?86-*-*...
Dorit Naishlos [Fri, 15 Oct 2004 09:45:45 +0000 (09:45 +0000)]
vect-44.c: xfail on i?86-*-*...

        * testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
        and mipsisa64*-*-* (until support for misaligned loads is added).
        * testsuite/gcc.dg/vect/vect-50.c: Likewise.
        * testsuite/gcc.dg/vect/vect-52.c: Likewise.
        * testsuite/gcc.dg/vect/vect-54.c: Likewise.
        * testsuite/gcc.dg/vect/vect-58.c: Likewise.
        * testsuite/gcc.dg/vect/vect-60.c: Likewise.
        * testsuite/gcc.dg/vect/vect-80.c: Likewise.

From-SVN: r89088

19 years agore PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
Paolo Bonzini [Fri, 15 Oct 2004 07:58:38 +0000 (07:58 +0000)]
re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)

2004-08-14  Paolo Bonzini  <bonzini@gnu.org>

        PR other/17991

* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
Update copyright year.
* fixfixes.c (main): Call initialize_opts from fixopts.c.
* fixincl.c (initialize): Call initialize_opts from fixopts.c,
do not include code for parsing options (environment vars).
(fix_with_system): Use a search path for applyfix, so that you
can run the test suite with two-process fixincludes.
* fixopts.c: New file.
* configure.ac: Add --enable-twoprocess.  Export ac_exeext
to config.h.  Default to --enable-twoprocess for MinGW32.
* config.h.in: Regenerate.
* configure: Regenerate.

From-SVN: r89087

19 years agotree-optimize.c (execute_one_pass): Stop timer right after executing the pass.
Diego Novillo [Fri, 15 Oct 2004 05:00:37 +0000 (05:00 +0000)]
tree-optimize.c (execute_one_pass): Stop timer right after executing the pass.

* tree-optimize.c (execute_one_pass): Stop timer right after
executing the pass.

From-SVN: r89086

19 years agore PR c++/17976 (Calls the dtor twice)
Mark Mitchell [Fri, 15 Oct 2004 04:18:01 +0000 (04:18 +0000)]
re PR c++/17976 (Calls the dtor twice)

PR c++/17976
* decl.c (cp_finish_decl): Do not call expand_static_init more
than once for a single variable.

PR c++/17976
* g++.dg/init/dtor3.C: New test.

From-SVN: r89081

19 years agorevert: re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts...
Andrew Pinski [Fri, 15 Oct 2004 04:15:43 +0000 (04:15 +0000)]
revert: re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        Revert:
        2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89080

19 years agoconfigure.ac: Add .machine power4 directive when testing for mfcr field.
David Edelsohn [Fri, 15 Oct 2004 02:26:15 +0000 (02:26 +0000)]
configure.ac: Add .machine power4 directive when testing for mfcr field.

        * configure.ac: Add .machine power4 directive when testing for
        mfcr field.
        * configure: Regenerate.

From-SVN: r89076

19 years ago* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.
Geoffrey Keating [Fri, 15 Oct 2004 01:28:31 +0000 (01:28 +0000)]
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.

From-SVN: r89075

19 years agotree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always.
Andrew Pinski [Fri, 15 Oct 2004 00:35:21 +0000 (00:35 +0000)]
tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always.

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor
        always.

From-SVN: r89074

19 years agoDaily bump.
GCC Administrator [Fri, 15 Oct 2004 00:16:48 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89072.2

19 years agoDaily bump.
GCC Administrator [Fri, 15 Oct 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89071.2

19 years ago* gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.
Ben Elliston [Fri, 15 Oct 2004 00:04:54 +0000 (00:04 +0000)]
* gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.

From-SVN: r89068

19 years agors6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.
Daniel Jacobowitz [Thu, 14 Oct 2004 23:47:14 +0000 (23:47 +0000)]
rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.

* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
for 'f' if !TARGET_FPRS.

From-SVN: r89067

19 years agore PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)
Richard Henderson [Thu, 14 Oct 2004 23:30:18 +0000 (16:30 -0700)]
re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)

        PR debug/14492
        * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.

From-SVN: r89066

19 years agore PR c/17023 (ICE with nested functions in parameter declaration)
Richard Henderson [Thu, 14 Oct 2004 23:20:58 +0000 (16:20 -0700)]
re PR c/17023 (ICE with nested functions in parameter declaration)

        PR c/17023
        * c-decl.c (store_parm_decls_oldstyle): Care for parameter type
        as error_mark_node.
        * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
        instaed of current_function_decl non-null.

From-SVN: r89063

19 years agoSpeed up walk_tree by introducing a special-purpose hash table.
Matt Austern [Thu, 14 Oct 2004 23:15:29 +0000 (23:15 +0000)]
Speed up walk_tree by introducing a special-purpose hash table.

* pointer-set.c: New file, special-purpose hash table.
* pointer-set.h: New file.
* tree.h (struct pointer_set_t): Declare as opaque type.
(tree_walk): Last argument is pointer_set_t* now.
* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
(walk_type_fields):
(walk_tree): Convert from htab_t to pointer_set_t for keeping
track of which nodes have already been visited.
(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
* cgraphunit.c (cgraph_create_edges): Likewise.
(cgraph_characterize_statics_local): Likewise.
* tree-dfa.c (collect_dfa_stats): Likewise.
* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
pointer_set_t* now.
* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
of walk_subtrees is pointer_set_t* now.
* Makefile.in (OBJS-common): add pointer-set.o
(tree-inline.o): Depends on pointer-set.h
(tree-dfa.o): Likewise
(cgraphunit.o): Likewise
* cp/Make-lang.in (pt.o): depends on pointer-set.h
* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
(for_each_template_parm): Convert from htab_t to pointer_set_t.
* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
pointer_set_t* now.

From-SVN: r89062

19 years agomt_allocator.h (__mt_alloc::deallocate): Check for null pointer.
Benjamin Kosnik [Thu, 14 Oct 2004 23:03:26 +0000 (23:03 +0000)]
mt_allocator.h (__mt_alloc::deallocate): Check for null pointer.

2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
null pointer.
* include/ext/pool_allocator.h (debug_allocator::deallocate):
Check pointer value.
* include/ext/debug_allocator.h (debug_allocator::deallocate):
Throw exceptions, don't abort.
* include/ext/array_allocator.h
(array_allocator_base::deallocate): Remove unused parameters.
* testsuite/testsuite_allocator.h (check_deallocate_null): New.
* testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
* testsuite/ext/array_allocator/check_deallocate_null.cc: New.
* testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
* testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
* testsuite/ext/new_allocator/check_deallocate_null.cc: New.
* testsuite/ext/pool_allocator/check_deallocate_null.cc: New.

* testsuite/testsuite_allocator.h (check_new): Add instance argument.
* testsuite/ext/array_allocator/check_new.cc: New.

From-SVN: r89060

19 years agodarwin.h (ASM_SPEC): Delete.
Geoffrey Keating [Thu, 14 Oct 2004 22:30:47 +0000 (22:30 +0000)]
darwin.h (ASM_SPEC): Delete.

2004-10-14  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/darwin.h (ASM_SPEC): Delete.
(TARGET_ASM_FILE_START): Define.
* config/darwin.h (ASM_SPEC): Define.
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
-mlong-double-128, it's the default.  Update comment about reason
for force_cpusubtype_ALL.
* config/rs6000/darwin-vecsave.asm: Supply .machine.
* config/rs6000/darwin-world.asm: Likewise.
* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
(symbolic_operand): Delete #if 0ed code.

Index: testsuite/ChangeLog
2004-10-14  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
* gcc.dg/macho-lo-sum.c: Likewise.

From-SVN: r89059

19 years agostmt.c (add_case_node): Make sure that we have integer constant before calling tree_i...
Andrew Pinski [Thu, 14 Oct 2004 22:01:45 +0000 (22:01 +0000)]
stmt.c (add_case_node): Make sure that we have integer constant before calling tree_int_cst_compare.

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * stmt.c (add_case_node): Make sure that we have integer
        constant before calling tree_int_cst_compare.

From-SVN: r89058

19 years agore PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is conside...
Andrew Pinski [Thu, 14 Oct 2004 22:00:04 +0000 (22:00 +0000)]
re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))

2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89057

19 years agobitmap_allocator.h (bitmap_allocator::_Alloc_block): Rename __unused to __M_unused.
Paolo Carlini [Thu, 14 Oct 2004 21:44:13 +0000 (21:44 +0000)]
bitmap_allocator.h (bitmap_allocator::_Alloc_block): Rename __unused to __M_unused.

2004-10-14  Paolo Carlini  <pcarlini@suse.de>

* include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
Rename __unused to __M_unused.

From-SVN: r89056

19 years agoheaders.cc: Add includes, compile only.
Benjamin Kosnik [Thu, 14 Oct 2004 21:34:52 +0000 (21:34 +0000)]
headers.cc: Add includes, compile only.

2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/ext/headers.cc: Add includes, compile only.
* testsuite/ext/hash_map.cc: Move to...
* testsuite/ext/hash_map/1.cc: ...here.
* testsuite/ext/14648.cc: Move to...
* testsuite/ext/hash_map/14648.cc: ...here.
* testsuite/ext/hash_map/instantiate.cc: Add.
* testsuite/ext/hash_set.cc: Move to...
* testsuite/ext/hash_set/1.cc: ...here.
* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
* testsuite/ext/hash_set/instantiate.cc: ...here.
* testsuite/ext/hash_check_construct_destroy.cc: Move to...
* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_check_construct_destroy.cc: Move to...
* testsuite/ext/slist/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_explicit_instantiation.cc: Move to...
* testsuite/ext/slist/instantiate.cc: ...here.

From-SVN: r89054

19 years agomt_allocator.h: Tweaks.
Benjamin Kosnik [Thu, 14 Oct 2004 21:05:24 +0000 (21:05 +0000)]
mt_allocator.h: Tweaks.

2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h: Tweaks.
* src/mt_allocator.cc: Same.

From-SVN: r89052

19 years agojni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NA...
Ulrich Weigand [Thu, 14 Oct 2004 20:36:37 +0000 (20:36 +0000)]
jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.

* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
ffi_raw_call if FFI_NATIVE_RAW_API is not defined.

From-SVN: r89051

19 years agoeabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64.
Joseph Myers [Thu, 14 Oct 2004 19:49:34 +0000 (20:49 +0100)]
eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64.

* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
-m64.

testsuite:
* gcc.dg/ppc-spe64-1.c: New test.

From-SVN: r89048

19 years agoreload.c (find_reloads): When reloading a PLUS with constant operand...
Ulrich Weigand [Thu, 14 Oct 2004 18:32:04 +0000 (18:32 +0000)]
reload.c (find_reloads): When reloading a PLUS with constant operand...

* reload.c (find_reloads): When reloading a PLUS with constant
operand, make sure the constant is pushed to the constant pool
if required.
* config/s390/s390.c (s390_secondary_input_reload_class): Remove
reload bug workaround.
(s390_expand_plus_operand): Likewise.

From-SVN: r89047

19 years agoopts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofi...
David Edelsohn [Thu, 14 Oct 2004 18:29:17 +0000 (18:29 +0000)]
opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use.

        * opts.c (common_handle_option): Do not enable
        flag_speculative_prefetching for -fprofile-generate/use.

From-SVN: r89046

19 years agotree-if-conv.c (process_phi_nodes): Process latch block.
Devang Patel [Thu, 14 Oct 2004 18:19:47 +0000 (11:19 -0700)]
tree-if-conv.c (process_phi_nodes): Process latch block.

       * tree-if-conv.c (process_phi_nodes): Process latch block.
       (combine_blocks): Process latch block and update loop structure.

       * gcc.dg/pr17635.c : New test.

From-SVN: r89045

19 years agobitmap_allocator.h: Clean-up add/remove functions.
Dhruv Matani [Thu, 14 Oct 2004 17:52:18 +0000 (17:52 +0000)]
bitmap_allocator.h: Clean-up add/remove functions.

2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>

* ext/bitmap_allocator.h: Clean-up add/remove functions.
* src/bitmap_allocator.cc: New file. Contains the out-of-line
function definitions, static initialization of variables, and
explicit instantiations needed for the allocator.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
* config/linker.map.gnu: Add the necessary symbols.

From-SVN: r89042

19 years ago2004-10-14 Olga Golovanevsky <olga@il.ibm.com>
Olga Golovanevsky [Thu, 14 Oct 2004 17:21:35 +0000 (17:21 +0000)]
2004-10-14  Olga Golovanevsky  <olga@il.ibm.com>

        * tree-vectorizer.c (vect_generate_tmps_on_preheader):
        (vect_update_ivs_after_vectorizer):
        (vect_transform_for_unknown_loop_bound):
        (tree_duplicate_loop_to_edge):
        (allocate_new_names):
        (rename_use_op):
        (rename_def_op):
        (rename_variables_in_bb):
        (free_new_names):
        (rename_variables_in_loop):
        (copy_phi_nodes):
        (update_phis_for_duplicate_loop):
        (update_phi_nodes_for_guard):
        (make_loop_iterate_ntimes):
        (tree_duplicate_loop_to_edge_cfg):
        (add_loop_guard):
        (vect_analyze_loop_with_symbolic_num_of_iters):
        (verify_loop_for_duplication):
        (vect_gen_niters_for_prolog_loop):
        (vect_update_niters_after_peeling):
        (vect_update_inits_of_dr):
        (vect_update_inits_of_drs):
        (vect_build_loop_niters):
        (vect_do_peeling_for_alignment): New functions.
        (vect_transform_loop): Add unknown and known but indivisible loop
        bound support; add peeling for unalignment support.
        (vect_analyze_loop_form): Support symbolic number of iterations.
        (vect_transform_loop_bound): New input parameter.
        (vect_get_loop_niters): Change input parameter type.
        (new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
        (vectorizable_store): Allow unaligned access.
        (vectorize_loops): Add rewrite_into_loop_closed_ssa.
        (vect_analyze_data_refs_alignment): Allowed one unaligned
        store.
        * tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
        to use tree.
        (LOOP_VINFO_INT_NITERS): New macro.
        (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
        (do_peeling_for_alignment):
        (unaligned_drs): New members of _loop_vec_info.
        (LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.

From-SVN: r89040

19 years agotree.h (TREE_STRING_POINTER): Wrap in "const char *".
Ranjit Mathew [Thu, 14 Oct 2004 16:44:43 +0000 (16:44 +0000)]
tree.h (TREE_STRING_POINTER): Wrap in "const char *".

* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
(struct tree_string): Remove "const" qualifier for "str".

From-SVN: r89039

19 years agotree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to...
Ira Rosen [Thu, 14 Oct 2004 16:39:07 +0000 (16:39 +0000)]
tree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to get memory tag for array ref.

2004-10-14  Ira Rosen  <irar@il.ibm.com>

        * tree-vectorizer.c (vect_analyze_data_refs): Call
        vect_get_base_and_bit_offset to get memory tag for array ref.
        (vect_create_addr_base_for_vector_ref): Remove redundant checks.

From-SVN: r89038

19 years agointerpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter.
Andrew Haley [Thu, 14 Oct 2004 15:21:13 +0000 (15:21 +0000)]
interpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter.

2004-10-13  Andrew Haley  <aph@redhat.com>

        * interpret.cc (_Jv_InterpMethod::run): Initialize
        _Jv_StartOfInterpreter.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
        * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
        _Unwind_FindEnclosingFunction to discover whether PC is within the
        interpreter.

From-SVN: r89037

19 years agoconfigure.ac: Use $LN_S for creating symlinks (not $LN).
Richard Earnshaw [Thu, 14 Oct 2004 13:10:56 +0000 (13:10 +0000)]
configure.ac: Use $LN_S for creating symlinks (not $LN).

* configure.ac: Use $LN_S for creating symlinks (not $LN).
* configure: Regenerate.

From-SVN: r89036

19 years agoinstall.texi (*-*-solaris2*): Update with info about kernel patches to solve spurious...
Kaveh R. Ghazi [Thu, 14 Oct 2004 12:18:15 +0000 (12:18 +0000)]
install.texi (*-*-solaris2*): Update with info about kernel patches to solve spurious testsuite failures.

* doc/install.texi (*-*-solaris2*): Update with info about kernel
patches to solve spurious testsuite failures.

From-SVN: r89033

19 years agotree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
Dorit Naishlos [Thu, 14 Oct 2004 08:36:09 +0000 (08:36 +0000)]
tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.

        * tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
        Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode.
        (vect_analyze_operations): Make sure the vectorization factor > 1. Add
        gcc_assert under ENABLE_CHECKING.
        (vectorizable_operation): Remove check for VECTOR_MODE_P (moved to
        get_vectype_for_scalar_type).

        (vect_get_vec_def_for_operand): Remove redundant variables.
        (vect_transform_loop): Likewise.

From-SVN: r89032

19 years agoarm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and global for -mcaller-super...
Richard Sandiford [Thu, 14 Oct 2004 07:37:11 +0000 (07:37 +0000)]
arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and global for -mcaller-super-interworking.

* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and
global for -mcaller-super-interworking.
(CALLER_INTERWORKING_SLOT_SIZE): New macro.
* config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if
CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does
not need a frame pointer.
(arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to
the soft frame pointer offset.
(thumb_expand_prologue): Set up r11 for -mcaller-super-interworking.
* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
_interwork_{r7,r11}_call_via_rN if some arguments are passed on
the stack.  Use frame_pointer_needed to choose between them.
* config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions.
(interwork_with_frame): New macro.
(interwork): Add _interwork_{r7,r11}_call_via_rN().

From-SVN: r89031

19 years agore PR other/17900 (GCC's source path in ICE is wrong)
Ben Elliston [Thu, 14 Oct 2004 07:15:37 +0000 (07:15 +0000)]
re PR other/17900 (GCC's source path in ICE is wrong)

PR other/17900
* diagnostic.c (trim_filename): Fix logic bug in walking backwards
up the filename looking for a previous directory separator.

From-SVN: r89029

19 years agoerrors.c (_cpp_begin_message): Print "error: " for errors.
Joseph Myers [Thu, 14 Oct 2004 00:56:22 +0000 (01:56 +0100)]
errors.c (_cpp_begin_message): Print "error: " for errors.

libcpp:
* errors.c (_cpp_begin_message): Print "error: " for errors.

gcc/testsuite:
* gcc.dg/cpp/error-1.c: New test.

From-SVN: r89025

19 years agoc-tree.h (enum c_typespec_kind, [...]): New.
Joseph Myers [Thu, 14 Oct 2004 00:34:01 +0000 (01:34 +0100)]
c-tree.h (enum c_typespec_kind, [...]): New.

* c-tree.h (enum c_typespec_kind, struct c_typespec,
parser_xref_tag): New.
(struct c_declspecs): Add tag_defined_p.  Adjust definition of
typedef_p.
(declspecs_add_type): Adjust prototypes.
* c-parse.in (%union): Add tstype.
(typespec_nonattr, typespec_attr, typespec_reserved_nonattr,
typespec_reserved_attr, typespec_nonreserved_nonattr,
structsp_attr, structsp_nonattr): Change to tstype.  Update
actions.
* c-decl.c (build_null_declspecs): Initialize tag_defined_p.
(declspecs_add_type): Update to take struct c_typespec argument.
Set tag_defined_p and typedef_p as appropriate.
(xref_tag): Rename to parser_xref_tag and replace by wrapper.
Update to return struct c_typespec.
(shadow_tag_warned): Don't let empty declarations with qualifiers
or storage class specifiers redeclare a tag if a previous
declaration is visible.

testsuite:
* gcc.dg/c99-tag-3.c, gcc.dg/declspec-14.c: New tests.

From-SVN: r89021

19 years agoDaily bump.
GCC Administrator [Thu, 14 Oct 2004 00:16:29 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89019.2

19 years agoDaily bump.
GCC Administrator [Thu, 14 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r89018.2

19 years agore PR debug/15860 (No DW_AT_location debug info is emitted for formal arguments to...
Richard Henderson [Wed, 13 Oct 2004 23:43:56 +0000 (16:43 -0700)]
re PR debug/15860 (No DW_AT_location debug info is emitted for formal arguments to a function that uses "register" qualifiers)

        PR debug/15860
        * dwarf2out.c (rtl_for_decl_location): Apply big-endian correction
        for DECL_INCOMING_RTL.

From-SVN: r89012

19 years agore PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))
Hans-Peter Nilsson [Wed, 13 Oct 2004 23:35:03 +0000 (23:35 +0000)]
re PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))

PR target/17984
* config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply
trunc_int_for_mode for constants used in shortened mode.

From-SVN: r89011

19 years agore PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))
Hans-Peter Nilsson [Wed, 13 Oct 2004 23:32:15 +0000 (23:32 +0000)]
re PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))

PR target/17984
* gcc.dg/cris-peep2-xsrand2.c: New test.

From-SVN: r89010

19 years agore PR c/17384 (ICE with mode attribute on structures)
Richard Henderson [Wed, 13 Oct 2004 23:31:23 +0000 (16:31 -0700)]
re PR c/17384 (ICE with mode attribute on structures)

        PR c/17384
        * c-common.c (handle_mode_attribute): Disallow mode changes that
        alter the CODE of the top-level type.

        * crtstuff.c (__FRAME_END__): Remove mode attribute.  Find 32-bit
        integer from internal limits macros.
        * config/i386/mm3dnow.h (__v2sf): Fix base type.

From-SVN: r89009

19 years agore PR debug/13841 (missing debug info for _Complex function arguments)
Richard Henderson [Wed, 13 Oct 2004 23:25:13 +0000 (16:25 -0700)]
re PR debug/13841 (missing debug info for _Complex function arguments)

        PR debug/13841
        * function.c (instantiate_decl): Recurse for CONCAT.

From-SVN: r89007

19 years ago(extzvdi_internal1): Add attribute "compare".
David Edelsohn [Wed, 13 Oct 2004 22:41:36 +0000 (22:41 +0000)]
(extzvdi_internal1): Add attribute "compare".

        (extzvdi_internal2): Same.

From-SVN: r89004

19 years agotrans-decl.c (generate_local_decl): Simplify logic, fix comment typo.
Tobias Schlüter [Wed, 13 Oct 2004 22:37:12 +0000 (00:37 +0200)]
trans-decl.c (generate_local_decl): Simplify logic, fix comment typo.

* trans-decl.c (generate_local_decl): Simplify logic, fix comment
typo.
(gfc_generate_function_code): Fix formatting issue.

From-SVN: r89003

19 years agors6000.md (andsi3): Add attribute "compare" for andi./andis.
David Edelsohn [Wed, 13 Oct 2004 22:20:24 +0000 (22:20 +0000)]
rs6000.md (andsi3): Add attribute "compare" for andi./andis.

        * config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
        andi./andis.
(anddi3): Same.

From-SVN: r89002

19 years ago* doc/md.texi (Insn Canonicalizations): Removed extraneous quote.
Tom Tromey [Wed, 13 Oct 2004 20:53:43 +0000 (20:53 +0000)]
* doc/md.texi (Insn Canonicalizations): Removed extraneous quote.

From-SVN: r89001

19 years agoextend.texi (Extended Asm): Rewrite asm volatile description.
Dale Johannesen [Wed, 13 Oct 2004 19:14:44 +0000 (19:14 +0000)]
extend.texi (Extended Asm): Rewrite asm volatile description.

2004-10-13  Dale Johannesen  <dalej@apple.com>

       * doc/extend.texi (Extended Asm):  Rewrite asm volatile description.

From-SVN: r88999

19 years agoconfigure.ac: Check for more headers, functions.
Frank Ch. Eigler [Wed, 13 Oct 2004 18:27:16 +0000 (18:27 +0000)]
configure.ac: Check for more headers, functions.

2004-10-12  Frank Ch. Eigler  <fche@redhat.com>

* configure.ac: Check for more headers, functions.
* mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
tracking overridden FILE buffers.
(fopen, setvbuf): New/revised hook functions for buffer overriding.
(setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
(fflush): Accept given NULL stream (means "all streams").
* mf-runtime.h.in:
* mf-runtime.c (__mfu_check): Accept accesses that span adjacent
HEAP/GUESS objects.
(LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
(__mf_adapt_cache): Use them all.
* testsuite/libmudflap.c/pass35-frag.c: Update warning message.
* testsuite/libmudflap.c++/ctors.exp: Ditto.
* testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
* configure, config.h.in: Regenerated.

From-SVN: r88996

19 years agotoplev.c (compile_file): Call mudflap_finish_file from here ...
Frank Ch. Eigler [Wed, 13 Oct 2004 18:18:18 +0000 (18:18 +0000)]
toplev.c (compile_file): Call mudflap_finish_file from here ...

2004-10-13  Frank Ch. Eigler  <fche@redhat.com>

* toplev.c (compile_file): Call mudflap_finish_file from here ...
* c-decl.c (c_write_global_declarations): ... instead of here ...
* cp/decl.c (cp_finish_file): ... and here.
* tree-mudflap.c (mudflap_enqueue_decl): Reword a warning message.

From-SVN: r88995

19 years agotree-ssa-dom.c (record_range): Free the element if we are not going to use it.
Andrew Pinski [Wed, 13 Oct 2004 17:27:31 +0000 (17:27 +0000)]
tree-ssa-dom.c (record_range): Free the element if we are not going to use it.

2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-dom.c (record_range): Free the element if we are not
        going to use it.

From-SVN: r88994

19 years agoMakefile.am: Add m32r support.
Kazuhiro Inaoka [Wed, 13 Oct 2004 17:20:24 +0000 (17:20 +0000)]
Makefile.am: Add m32r support.

* Makefile.am: Add m32r support.
* configure.ac: Likewise.
* Makefile.in: Regenerate.
* confiugre: Regenerate.
* src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF
 (uint64, sint64, double, longdouble)
* src/m32r: New directory.
* src/m32r/ffi.c: New file.
* src/m32r/sysv.S: Likewise.
* src/m32r/ffitarget.h: Likewise.

From-SVN: r88993

19 years agore PR c++/17661 (ICE in create_tmp_var)
Andrew Pinski [Wed, 13 Oct 2004 17:18:16 +0000 (17:18 +0000)]
re PR c++/17661 (ICE in create_tmp_var)

2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17661
        * testsuite/g++.dg/expr/for2.C: New test.

2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17661
        * semantics.c (finish_for_expr): Convert expression to void
        so that we don't create temporaries for a?b:c.

From-SVN: r88992

19 years agore PR java/15578 (gcj doesn't support -extdirs)
Tom Tromey [Wed, 13 Oct 2004 17:04:57 +0000 (17:04 +0000)]
re PR java/15578 (gcj doesn't support -extdirs)

PR java/15578:
* lang.opt (--extdirs): Document.
* jvspec.c (lang_specific_driver): Recognize -encoding and
-extdirs.

From-SVN: r88991

19 years agore PR java/15578 (gcj doesn't support -extdirs)
Tom Tromey [Wed, 13 Oct 2004 17:03:56 +0000 (17:03 +0000)]
re PR java/15578 (gcj doesn't support -extdirs)

PR java/15578:
* gcc.c (option_map): Added --extdirs and --encoding.

From-SVN: r88990

19 years agoFix incomplete commit.
Eric Botcazou [Wed, 13 Oct 2004 14:09:05 +0000 (14:09 +0000)]
Fix incomplete commit.

From-SVN: r88986

19 years agore PR target/14454 (virtual function with vararg won't compile)
Eric Botcazou [Wed, 13 Oct 2004 14:04:32 +0000 (16:04 +0200)]
re PR target/14454 (virtual function with vararg won't compile)

PR target/14454
* config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to
sparc_can_output_mi_thunk.
(sparc_output_mi_thunk): Simplify handling of delta offset.  Add
handling of vcall offset.
(sparc_can_output_mi_thunk): New predicate.
* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook.

* config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment.

* config/sparc/sparc.md (movdi): Remove redundant test.

From-SVN: r88985

19 years agotree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, TDF_IPA from -fdump-tree-*...
Paolo Bonzini [Wed, 13 Oct 2004 13:48:16 +0000 (13:48 +0000)]
tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, TDF_IPA from -fdump-tree-*-all.

2004-10-13  Paolo Bonzini  <bonzini@gnu.org>

* tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL,
TDF_IPA from -fdump-tree-*-all.

From-SVN: r88984

19 years agoarm-protos.h (arm_load_pic_register): Update prototype.
Paul Brook [Wed, 13 Oct 2004 12:48:03 +0000 (12:48 +0000)]
arm-protos.h (arm_load_pic_register): Update prototype.

* config/arm/arm-protos.h (arm_load_pic_register): Update prototype.
* config/arm/arm.c (thumb_find_work_register): Update comments.
(arm_load_pic_register): Add argument for scratch register.
(arm_expand_prologue, thumb_expand_prologue): Pass extra argument.
* config/arm/arm.md (builtin_setjmp_receiver): Ditto.

From-SVN: r88982

19 years ago* search.c: Fix a comment typo.
Kazu Hirata [Wed, 13 Oct 2004 12:02:25 +0000 (12:02 +0000)]
* search.c: Fix a comment typo.

From-SVN: r88981

19 years ago* tree-data-ref.c: Fix comment typos.
Kazu Hirata [Wed, 13 Oct 2004 11:58:10 +0000 (11:58 +0000)]
* tree-data-ref.c: Fix comment typos.

From-SVN: r88980

19 years agore PR tree-optimization/17724 (wrong dominator (eh/fold all builtins) related)
Jakub Jelinek [Wed, 13 Oct 2004 11:27:01 +0000 (13:27 +0200)]
re PR tree-optimization/17724 (wrong dominator (eh/fold all builtins) related)

PR tree-optimization/17724
* tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info.

* g++.dg/opt/pr17724-1.C: New test.
* g++.dg/opt/pr17724-2.C: New test.
* g++.dg/opt/pr17724-3.C: New test.
* g++.dg/opt/pr17724-4.C: New test.
* g++.dg/opt/pr17724-5.C: New test.
* g++.dg/opt/pr17724-6.C: New test.

Co-Authored-By: Zdenek Dvorak <dvorakz@suse.cz>
From-SVN: r88979

19 years agors6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
Dorit Naishlos [Wed, 13 Oct 2004 11:04:24 +0000 (11:04 +0000)]
rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).

2004-10-13  Dorit Naishlos  <dorit@il.ibm.com>

        * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
        (altivec_builtin_mask_for_store): Likewise.
        (altivec_init_builtins): Use lang_hooks.builtin_function to
        create the decls for builtin_altivec_mask_for_load/store.

From-SVN: r88978

19 years agoRemove inclusion of loop.h
Nick Clifton [Wed, 13 Oct 2004 10:50:30 +0000 (10:50 +0000)]
Remove inclusion of loop.h

From-SVN: r88977

19 years agoAdd support for M32R
Kazuhiro Inaoka [Wed, 13 Oct 2004 10:34:21 +0000 (10:34 +0000)]
Add support for M32R

From-SVN: r88976

19 years agobasic_string.tcc (_S_create): Use consistently the exponential policy, simplify.
Paolo Carlini [Wed, 13 Oct 2004 08:58:41 +0000 (08:58 +0000)]
basic_string.tcc (_S_create): Use consistently the exponential policy, simplify.

2004-10-13  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (_S_create): Use consistently
the exponential policy, simplify.
* testsuite/performance/21_strings/string_append_2.cc: New.

* include/ext/array_allocator.h (allocate): Fix bad_alloc check.
* testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
that case sizeof(_Rep) == 24).

From-SVN: r88972

19 years agobasic-block.h (edge_iterator): Keep the address of VEC(edge) *.
Ben Elliston [Wed, 13 Oct 2004 04:33:28 +0000 (04:33 +0000)]
basic-block.h (edge_iterator): Keep the address of VEC(edge) *.

* basic-block.h (edge_iterator): Keep the address of VEC(edge) *.
(ei_container): New; renamed.
(ei_start, ei_last): New macros.
(ei_start_1, ei_last_1): Renamed from ei_start.
(ei_last_1, ei_end_p): Use ei_container() where applicable.
(ei_one_before_end_p, ei_next, ei_edge): Likewise.
* gcse.c (remove_reachable_equiv_notes): Use ei_container().

From-SVN: r88966

19 years agoMakefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.
Sebastian Pop [Wed, 13 Oct 2004 03:48:03 +0000 (05:48 +0200)]
Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.

2004-10-11  Sebastian Pop  <pop@cri.ensmp.fr>

* Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.
* cfgloop.c (initialize_loops_parallel_p): New.
(flow_loops_find): Initialize the parallel_p field to true for all
the loops.
* tree-ssa-loop-niter.c: Include "tree-data-ref.h".
(estimate_numbers_of_iterations_loop): Infers the loop bounds from
the size of the data accessed in the loop.
(struct nb_iter_bound): Moved...
* cfgloop.h (struct nb_iter_bound): ... here.
(estimated_nb_iterations, parallel_p): New fields in struct loop.
(record_estimate): Declare extern here.
* tree-chrec.c: Fix comments.
(nb_vars_in_chrec): New function.
* tree-chrec.h (nb_vars_in_chrec): Declared here.
* tree-data-ref.c: Don't include lambda.h, that is already included
in tree-data-ref.h.
(tree_fold_divides_p): Don't check for integer_onep.
(tree_fold_bezout): Removed.
(gcd): New static duplicated function.
(int_divides_p, dump_subscript): New.
(dump_data_dependence_relation): Use dump_subscript.
(dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations,
estimate_niter_from_size_of_data): New.
(analyze_array_indexes, analyze_array): Call
estimate_niter_from_size_of_data during the detection of array
references.  Pass in a pointer to the statement that contains the
array reference.
(all_chrecs_equal_p): New.
(compute_distance_vector): Renamed compute_subscript_distance.
Deal with multivariate conflict functions.
(initialize_data_dependence_relation): Initialize DDR_AFFINE_P,
DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT.
(non_affine_dependence_relation): New.
(analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
analyze_siv_subscript, analyze_miv_subscript,
analyze_overlapping_iterations, subscript_dependence_tester):
Initialize and return last_conflicts function.
(initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar,
compute_overlap_steps_for_affine_1_2): New.
(analyze_siv_subscript_affine_cst): Removed.
(analyze_subscript_affine_affine): Disprove dependences based on the
iteration domains.  Solve the univariate dependence case as before,
but use lambda_matrix_right_hermite instead of tree_fold_bezout.
Implement the multivariate case of 2 versus 1 variables.
(build_classic_dist_vector, build_classic_dir_vector): Implement some
unhandled cases.
(find_data_references_in_loop): Compute and initialize
loop->estimated_nb_iterations and loop->parallel_p.
(analyze_all_data_dependences): Modify the debug dump order.
* tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B,
subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed.
(SUB_LAST_CONFLICT, subscript->last_conflict,
data_dependence_relation->affine_p, data_dependence_relation->size_vect,
DDR_AFFINE_P, DDR_SIZE_VECT): New.
(find_data_references_in_loop, initialize_data_dependence_relation,
dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here.

From-SVN: r88965

19 years agoconfigure: Regenerate.
Kelley Cook [Wed, 13 Oct 2004 00:55:22 +0000 (00:55 +0000)]
configure: Regenerate.

2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>

* configure: Regenerate.

From-SVN: r88962

This page took 0.104867 seconds and 5 git commands to generate.