GCC Administrator
5f0a713c2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91262.2
2004-11-25 00:16:28 +00:00
GCC Administrator
fffb7887ed
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91261.2
2004-11-25 00:16:20 +00:00
Kazu Hirata
be6be25851
tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx instead of calling phi_arg_from_edge.
...
* tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
instead of calling phi_arg_from_edge.
From-SVN: r91259
2004-11-25 00:14:21 +00:00
Ben Elliston
a312d1f182
i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
...
* config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
* config/i386/i386-protos.h (i386_dwarf_output_addr_const):
Likewise.
From-SVN: r91255
2004-11-25 10:37:19 +11:00
Mark Mitchell
9306cccbb5
re PR c++/17473 (typedef redefinition in struct is accepted)
...
PR c++/17473
* name-lookup.c (supplement_binding): Do not allow typedefs to be
redefined in class scope.
PR c++/18285
* parser.c (cp_parser_set_decl_type_spec): Do not try to allow
redefinitions of builtin types other that "bool" or "wchar_t".
PR c++/17473
* g++.dg/tc1/dr56.C: Remove.
* g++.dg/template/typedef1.C: Add dg-error markers.
* g++.old-deja/g++.other/typedef7.C: Likewise.
PR c++/18285
* g++.dg/parse/typedef7.C: New test.
From-SVN: r91254
2004-11-24 23:18:56 +00:00
Kelley Cook
b7392506fd
Makefile.am: Define ACLOCAL_AMFLAGS.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Define ACLOCAL_AMFLAGS.
* acinclude.m4: Remove.
* aclocal.m4, configure, Makefile.in: Regenerate.
* testsuite/Makefile.in: Likewise.
From-SVN: r91209
2004-11-24 22:13:19 +00:00
R. Kelley Cook
4ef2718af7
Undo mistaken commit
...
From-SVN: r91201
2004-11-24 22:07:04 +00:00
Kelley Cook
2c92e90fa5
libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
from CVS libtool to always pass_all.
* boehm-gc/configure: Regenerate.
* libffi/configure: Regenerate.
* libgfortran/configure: Regenerate.
* libjava/configure: Regenerate.
* libobjc/configure: Regenerate.
* libstdc++-v3/configure: Regenerate.
* zlib/configure: Regenerate.
From-SVN: r91200
2004-11-24 22:04:38 +00:00
Kelley Cook
f91eaa015a
aclocal.m4: Regenerate.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* aclocal.m4: Regenerate.
From-SVN: r91199
2004-11-24 21:53:28 +00:00
Kelley Cook
2fc30700a4
aclocal.m4, [...]: Regenerate.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* aclocal.m4, config.h.in: Regenerate.
From-SVN: r91198
2004-11-24 21:50:47 +00:00
Kelley Cook
a38fb0a7a4
Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r91197
2004-11-24 21:12:26 +00:00
Kelley Cook
75485e8118
Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
From-SVN: r91196
2004-11-24 21:04:28 +00:00
Kelley Cook
b2de8bb1d2
Makefile.in: Regenrate with Automake 1.9.3.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Regenrate with Automake 1.9.3.
* aclocal.m4: Likewise.
* configure: Regenerate.
From-SVN: r91195
2004-11-24 21:01:02 +00:00
Richard Kenner
317c0092a6
Fix indentation on line 3063.
...
From-SVN: r91194
2004-11-24 15:43:44 -05:00
Richard Kenner
d4d3aad9fd
* tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
...
From-SVN: r91193
2004-11-24 15:21:29 -05:00
Richard Kenner
bb04998ab7
tree-inline.c (copy_body_r): Explicitly copy a constant if the type will be remapped.
...
* tree-inline.c (copy_body_r): Explicitly copy a constant if the
type will be remapped.
From-SVN: r91192
2004-11-24 15:19:36 -05:00
Mark Mitchell
8adb21944e
re PR c++/18586 (ICE on invalid template member declaration)
...
PR c++/18586
* g++.dg/template/crash27.C: New test.
From-SVN: r91191
2004-11-24 20:10:46 +00:00
Steven Bosscher
39afeb1aad
c-opts.c (c_common_post_options): Don't clear flag_inline_functions.
...
gcc/
* c-opts.c (c_common_post_options): Don't clear
flag_inline_functions.
* dojump.c (clear_pending_stack_adjust): Remove check on
flag_inline_functions, it's always true.
* config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
that can never trigger.
* config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
flag_inline_trees, now that flag_inline_functions is never
cleared.
* config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
flag_inline_functions at optimization levels greater than
or equal to 3. This is already done by default.
ada/
* misc.c (gnat_post_options): Don't clear
flag_inline_functions.
cp/
* decl.c (cxx_init_decl_processing): Don't clear
flag_inline_functions.
fortran/
* options.c (gfc_post_options): Don't clear flag_inline_functions.
java/
* class.c (make_class_data): Don't check flag_inline_functions.
* lang.c (flag_really_inline): Remove unused flag.
(java_handle_option): Don't set it here. Remove special handling
of flag_inline_functions for Java.
(java_init): Don't set flag_inline_trees here. Already done...
(java_post_options): ...here. Don't clear flag_inline_functions.
From-SVN: r91190
2004-11-24 19:45:32 +00:00
Kazu Hirata
41f683efe5
tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx instead to find the PHI argument.
...
* tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
instead to find the PHI argument. Do not take I as an
argument.
(eliminate_phi): Adjust the call to eliminate_build. Do not
take I as an argument.
(rewrite_trees): Adjust the call to eliminate_phi.
From-SVN: r91188
2004-11-24 19:22:48 +00:00
Richard Sandiford
bef5d8b61f
optabs.h (force_expand_binop): Declare.
...
* optabs.h (force_expand_binop): Declare.
* optabs.c (force_expand_binop): Export.
* stmt.c (shift_return_value): Delete.
(expand_return): Don't call it.
* expr.h (shift_return_value): Declare.
* calls.c (shift_returned_value): Delete in favor of...
(shift_return_value): ...this new function. Leave the caller to check
for non-BLKmode values passed in the msb of a register. Take said mode
and a shift direction as argument. Operate on the hard function value,
not a pseudo.
(expand_call): Adjust accordingly.
* function.c (expand_function_start): If a non-BLKmode return value
is padded at the last significant end of the return register, use the
return value's natural mode for the DECL_RESULT, not the mode of the
padded register.
(expand_function_end): Shift the same sort of return values left by
the appropriate amount.
From-SVN: r91187
2004-11-24 18:50:26 +00:00
Mark Mitchell
6e2993bf5b
pt.c (tsubst_function_type): Do not permit function types which return arrays or functions.
...
* pt.c (tsubst_function_type): Do not permit function types which
return arrays or functions.
* g++.dg/template/deduce3.C: New test.
From-SVN: r91186
2004-11-24 18:45:33 +00:00
Matt Austern
f5523e6ded
Minor back end speedup.
...
* recog.c (recog_memoized_1): Remove.
* recog.h (recog_memoized_1): Remove declaration.
(recog_memoized): Change from macro to inline function.
From-SVN: r91185
2004-11-24 18:22:27 +00:00
Mark Mitchell
62a4d9428b
re PR c++/18586 (ICE on invalid template member declaration)
...
PR c++/18586
* parser.c (cp_parser_init_declarator): Do not pop scope twice.
PR c++/18586
* g++.dg/template/crash27.C: New test.
From-SVN: r91182
2004-11-24 18:10:26 +00:00
Jonathan Wakely
fc57e2c7ef
howto.html: Fix incorrect link.
...
2004-11-24 Jonathan Wakely <redi@kayari.org>
* docs/html/ext/howto.html: Fix incorrect link.
* docs/html/documentation.html: Regenerate.
From-SVN: r91181
2004-11-24 18:09:05 +00:00
Mark Mitchell
d6eec20888
re PR c++/18530 (Bogus warnings about shadowed variables __ct, __dt)
...
PR c++/18530
* cp-tree.h (CTOR_NAME): Remove.
(DTOR_NAME): Remove.
* decl.c (initialize_predefined_identifiers): Add spaces to the
end of constructor and destructor names.
PR c++/18530
* g++.dg/warn/Wshadow-3.C: New test.
From-SVN: r91179
2004-11-24 17:57:00 +00:00
Devang Patel
479ec1d1e0
gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
...
PR/18555
* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
* config/darwin-c.c (darwin_register_frameworks): Use sysroot.
testsuite
* gcc.dg/cpp/isysroot-1.c: New test.
* gcc.dg/cpp/usr/include/stdio.h: New file.
* gcc.dg/cpp/isysroot-2.c: New test.
* gcc.dg/cpp/System/Library/Framework/Carbon.framework/Headers/Carbon.h:
New file.
From-SVN: r91178
2004-11-24 09:47:32 -08:00
Devang Patel
b0896d72f0
* gcc.c (process_command): Supply -v to linker.
...
From-SVN: r91177
2004-11-24 09:33:51 -08:00
Nathan Myers
eacf72d384
2004-11-24 Nathan Myers <ncm@cantrip.org>
...
* include/bits/streambuf_iterator.h
(istreambuf_iterator<>::operator++(), operator++(int)): Don't
check unnecessarily the return value of _M_sbuf->sbumpc().
From-SVN: r91176
2004-11-24 17:01:22 +00:00
David Edelsohn
bada2eb851
rs6000.c (rs6000_return_in_memory): Allow Altivec vector modes without ALTIVEC_ABI.
...
* config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
vector modes without ALTIVEC_ABI. Use GCC vector instead of
synthetic vector.
(rs6000_pass_by_reference): Split conditional into pieces. Use
GCC vector instead of synthetic vector.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r91175
2004-11-24 11:42:41 -05:00
Aldy Hernandez
4033a1f238
tree.c (recompute_tree_invarant_for_addr_expr): The address of a thread-local variable is invariant.
...
* tree.c (recompute_tree_invarant_for_addr_expr): The address of a
thread-local variable is invariant.
From-SVN: r91174
2004-11-24 16:37:02 +00:00
Richard Kenner
39123624ff
tree-pretty-print.c (dump_generic_node, [...]): Handle TYPE_REF_CAN_ALIAS_ALL.
...
* tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
Handle TYPE_REF_CAN_ALIAS_ALL.
(print_declaration): Print array dimensions like dump_generic_node.
From-SVN: r91173
2004-11-24 11:10:06 -05:00
Benjamin Kosnik
f2ede5d621
[multiple changes]
...
2004-11-24 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (tr1_headers): Add utility, functional.
* include/Makefile.in: Regenerate.
2004-11-24 Chris Jefferson <chris@bubblescope.net>
* include/tr1/tuple(operator!=): Change operator
definition to match (draft) technical report.
(operator>): Same.
(operator<=): Same.
(operator>=): Same.
(ref): Move to include/tr1/functional.
(cref): Same.
(tuple_size<pair>): Move to include/tr1/utility.
(tuple_element<,pair>): Same.
* include/tr1/functional: New.
* include/tr1/utility: New.
* testsuite/tr1/6_container/utility/pair.cc: New.
From-SVN: r91171
2004-11-24 16:04:47 +00:00
Richard Kenner
624b15fa3f
fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and ARG1 to be null...
...
* fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and
ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them.
From-SVN: r91170
2004-11-24 10:57:08 -05:00
Kazu Hirata
0492baf2cc
tree-ssa-dom.c (cprop_into_successor_phis): Replace index with indx.
...
* tree-ssa-dom.c (cprop_into_successor_phis): Replace index
with indx.
From-SVN: r91169
2004-11-24 15:29:44 +00:00
Nathan Sidwell
47c321d497
bitmap.c (INLINE): Do not define.
...
* bitmap.c (INLINE): Do not define.
(bitmap_elem_to_freelist, bitmap_element_free,
bitmap_element_allocate, bitmap_clear, bitmap_element_zerop,
bitmap_element_link, bitmap_find_bit): Use inline keyword/macro.
From-SVN: r91168
2004-11-24 15:26:17 +00:00
Kazu Hirata
9c4eeb5db4
Fix a date.
...
From-SVN: r91167
2004-11-24 15:18:15 +00:00
Kazu Hirata
358804e741
tree-ssa-dom.c (cprop_into_successor_phis): Remove code to find the index of a PHI argument.
...
* tree-ssa-dom.c (cprop_into_successor_phis): Remove code to
find the index of a PHI argument. Use e->dest_idx instead.
Replace hint with index.
From-SVN: r91166
2004-11-24 15:15:12 +00:00
Michael Koch
8a7228ee92
PolicyFile.java: New file.
...
2004-11-24 Michael Koch <konqueror@gmx.de>
* gnu/java/security/PolicyFile.java: New file.
* Makefile.am: Added gnu/java/security/PolicyFile.java.
* Makefile.in: Regenerated.
From-SVN: r91165
2004-11-24 15:08:13 +00:00
Diego Novillo
3eebae0bb1
tree-ssa-alias.c (merge_pointed_to_info): Fix comment regarding PT_MALLOC.
...
* tree-ssa-alias.c (merge_pointed_to_info): Fix comment
regarding PT_MALLOC.
From-SVN: r91164
2004-11-24 09:46:23 -05:00
Joseph Myers
4f51451498
i386.c (optimization_options): Use SUBTARGET_OPTIMIZATION_OPTIONS.
...
* config/i386/i386.c (optimization_options): Use
SUBTARGET_OPTIMIZATION_OPTIONS.
* config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
(TARGET_SUBTARGET_DEFAULT): Don't include
MASK_OMIT_LEAF_FRAME_POINTER.
From-SVN: r91163
2004-11-24 14:43:26 +00:00
Mark Mitchell
81e4cf358e
sol2.h (X86_FILE_START_VERSION_DIRECTIVE): Define to false.
...
* config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE):
Define to false.
From-SVN: r91162
2004-11-24 14:40:50 +00:00
Joseph Myers
298a4bf2ea
t-sol2-10 (MULTILIB_DIRNAMES, [...]): Use amd64 instead of 64.
...
* config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES):
Use amd64 instead of 64.
From-SVN: r91161
2004-11-24 14:38:11 +00:00
Mark Mitchell
1a35e62db3
crtstuff.c (IN_LIBGCC2): Define it.
...
2004-11-24 Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* crtstuff.c (IN_LIBGCC2): Define it.
(EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
instead of HAVE_LD_RO_RW_SECTION_MIXING.
* defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
* dwarf2out.c (named_section_eh_frame_section): Check
EH_TABLES_CAN_BE_READ_ONLY.
* except.c (default_exception_section): Likewise.
* config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
* doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r91160
2004-11-24 14:35:31 +00:00
Roger Sayle
f78ce0c2f3
re PR preprocessor/15824 (uchar redefinition warnings in libcpp)
...
PR preprocessor/15824
* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
directly, instead of the non-existant "system.h" and "ansidecl.h".
* configure: Regenerate.
From-SVN: r91157
2004-11-24 14:00:38 +00:00
Volker Reichelt
e76382b571
2004-11-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
...
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(do_out, do_unshift, do_in): Remove redundant typedef.
From-SVN: r91156
2004-11-24 13:39:48 +00:00
Kazu Hirata
ac57c40719
tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use find_edge to find the index of a PHI argument.
...
* tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use
find_edge to find the index of a PHI argument.
From-SVN: r91155
2004-11-24 13:35:38 +00:00
Kazu Hirata
9323afaec8
tree-ssa-pre.c (phi_translate): Use find_edge to find the index of a PHI argument.
...
* tree-ssa-pre.c (phi_translate): Use find_edge to find the
index of a PHI argument.
From-SVN: r91154
2004-11-24 13:33:26 +00:00
Michael Koch
58e594dca9
Character.java, [...]: Reorder "final static" to "static final".
...
2004-11-24 Michael Koch <konqueror@gmx.de>
* java/lang/Character.java, scripts/unicode-blocks.pl:
Reorder "final static" to "static final".
From-SVN: r91153
2004-11-24 13:33:01 +00:00
Michael Koch
b1e6f04325
ResourceBundle.java: Reformatted.
...
2004-11-24 Michael Koch <konqueror@gmx.de>
* java/util/ResourceBundle.java: Reformatted.
(tryBundle): Fixed javadoc.
From-SVN: r91152
2004-11-24 13:26:27 +00:00
Jeroen Frijters
9cf1276586
2004-11-24 Jeroen Frijters <jeroen@frijters.net>
...
* java/text/MessageFormat.java
(formatInternal): Made private.
From-SVN: r91151
2004-11-24 12:22:32 +00:00