2005-10-07 Erik Edelmann <erik.edelmann@iki.fi>
fortran/
PR 18568
* resolve.c (find_array_spec): Search through the list of
components in the symbol of the type instead of the symbol of the
variable.
testsuite/
PR 18568
* gfortran.dg/der_pointer_3.f90: New test.
From-SVN: r105039
PR target/23783
* arm.md (call): If the address isn't a SYMBOL_REF or a register,
then force it into a register.
(call_value): Likewise.
From-SVN: r105032
PR 24049
* passes.c (init_optimization_passes): Move pass_lower_vector_ssa
under pass_vectorize. Clear TODO_ggc_collect from the dce pass
under pass_vectorize.
From-SVN: r105029
2005-10-05 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (struct __sso_string_local):
Remove, actually POD types cannot have user defined constructors
(being aggregates) and therefore can always be members of unions.
(class __sso_string_base): Adjust consistently.
From-SVN: r105021
2005-10-05 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/20606
PR middle-end/24069
* reload.c (subst_reloads): When adding a REG_LABEL to a
jump instruction, also update JUMP_LABEL.
From-SVN: r105013
2005-10-05 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24198
* testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
instead.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
* testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ios/3.cc: Likewise.
* testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
* testsuite/27_io/basic_streambuf/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
From-SVN: r105010
PR target/23602
* toplev.c (process_options): Warn about unsupported combinations
of unwind tables and omit-frame-pointer.
* config/i386/i386.c (override_options): Similarly. Enable
accumulate-outgoing-args if not explicitly disabled.
testsuite/
* g++.dg/eh/omit-frame-pointer.C: Remove i?86 specific options.
* g++.dg/eh/omit-frame-pointer2.C: Likewise.
libjava/
* configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
but not BACKTRACESPEC.
(x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
From-SVN: r105009
* vect.md (vec_initv2si): Fix typo of V2SF to V2SI.
Handle big endian vs. small endian.
(vec_initv2sf): Handle big endian vs. small endian.
(*vec_extractv2sf_1): Ditto.
From-SVN: r105008
2005-10-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
before other host packages.
From-SVN: r105002
2005-10-05 Richard Guenther <rguenther@suse.de>
PR fortran/24176
* parse.c (gfc_parse_file): Exit early for empty files.
* gfortran.fortran-torture/compile/empty.f90: New testcase.
From-SVN: r104984
2005-10-05 Billy Biggs <billy.biggs@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
PR target/23809
* doc/extend.texi (x86 Built-ins): Document that -msse and friends
enable the instructions and not just the built-ins.
* doc/invoke.texi (x86 Options): Likewise.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r104979
2005-10-05 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/22340
* configure.in (default_target): Remove.
* Makefile.tpl (all): Do not use prerequisites as subroutines
(all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet.
(do-[+make_target+], check, install, [+bootstrap_target+]): Do not
use prerequisites as subroutines.
(check-host, check-target): New.
(bootstrap configure & all targets): Do not use stage*-start
if the directory layout is already ok.
(non-bootstrap configure & all targets): Prepend a $(unstage).
(stage[+id+]-bubble): Do that here. Do not use NOTPARALLEL.
(NOTPARALLEL): Remove.
(unstage, stage variables): New variables.
(unstage, stage targets): Simply expand to those variables.
* configure: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r104978
* configure.ac (mudflap_cv_entry_point): Use quadrigraphs to declare
$name as array of characters with unknown bound. Also store into the
array.
* configure: Regenerate.
From-SVN: r104964
2005-10-04 Adrian Straetling <straetling@de.ibm.com>
* config/s390/s390.md ("TDSI","DP"): New mode macros.
("TE","tg"): New mode attributes.
("sync_compare_and_swap<mode>"): Replace with a define_expand.
("sync_compare_and_swap<mode>_cc"): Replace GPR with TDSI.
("*sync_compare_and_swap<mode>_cc"): Replace with one pattern for
dword_mode and one for GPRmode.
From-SVN: r104952
libcpp/
PR preprocessor/13726
* directives.c (check_eol_return_comments): New static function.
(parse_include): Add buf parameter. Change all callers.
(do_include_common): If not discard comments, turn on
save_comments. Pass collected comments to include callback.
* include/cpplib.h (struct cpp_callbacks): Add new parameter to
include callback: cpp_token list.
gcc/
PR preprocessor/13726
* c-ppoutput.c (cb_include): Add comments parameter, and print out
any comments passed in.
gcc/testsuite/
PR preprocessor/13726
* gcc.dg/cpp/cmdlne-dI-C.c: New test.
* gcc.dg/cpp/cmdlne-dI-C.h: New file.
From-SVN: r104951
PR ada/19382
* builtins.c (fold_builtin_memcmp): When constructing the pointer
type used to access data in the inlined length == 1 case, use
build_pointer_type_for_mode with CAN_ALIAS_ALL set to true.
(fold_builtin_strcmp, fold_builtin_strncmp): Likewise.
From-SVN: r104948
* config/i386/i386.h (TARGET_FISTTP): Enable also for
TARGET_SSE3 and only for TARGET_80387.
* config/i386/i386.md (fix_trunc<mode>_fisttp_i387_1,
(fix_trunc<mode>_i387_fisttp, fix_trunc<mode>_i387_fisttp_with_temp):
Do not depend on TARGET_80387.
From-SVN: r104947
2005-10-04 Andrew Pinski <pinskia@physics.uc.edu>
* tree.c (last_annotated_node): Change type to location_t*.
(annotate_with_file_line): Reflect the change of
last_annotated_node type.
From-SVN: r104944
2005-10-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23125
* decl.c (make_rtl_for_nonlocal_decl): Use set_user_assembler_name
instead of change_decl_assembler_name.
2005-10-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23125
* c-decl.c (finish_decl): Use set_user_assembler_name even for
register variables.
* varasm.c (make_decl_rtl): If a register variable does not
have a set user assmbler name, error out.
Decode the asmspec is now name+1 bypassing '*'.
2005-10-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23125
* gcc.dg/register-var-3.c: New test.
From-SVN: r104942
2005-10-05 Steven Bosscher <stevenb@suse.de>
gcc/
PR tree-optimization/23049
* tree-ssa-dom.c (thread_across_edge): Make sure that the condition
of a COND_EXPR is folded before calling fold on the whole rhs of a
conditional assignment.
* doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to
document that a COND_EXPR may appear there.
testsuite/
* gcc.dg/pr23049.c: New test.
* gcc.dg/ucnid-4.c: Fix test.
From-SVN: r104938