summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * lib/target-supports.exp (check_effective_target_vect_shift):uros2005-10-034-13/+26
| | | | | | | | | | | | Implement with result caching. Add i?86, x86_64 and ia64 targets. (check_effective_target_vect_condition): Fix copy-n-pasto. * gcc.dg/vect/pr22480.c : Enable for effective-target vect_shift. * gcc.dg/vect/vect-shift-1.c: Remove XFAIL for i?86 and x86_64 targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104888 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-10-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104885 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/22621mmitchel2005-10-025-5/+48
| | | | | | | | | | | | * parser.c (cp_parser_template_argument): Don't turn "T::f" into "(*this).T::f". * pt.c (convert_nontype_argument): Remove ??? comment. PR c++/22621 * g++.dg/template/overload5.C : New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104881 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-10-022-7/+18
| | | | | | | | | * testsuite/lib/jni.exp (gcj_jni_test_one): For darwin, use -shared-libgcc not -lgcc_s, and explain why. (gcj_jni_invocation_test_one): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104878 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/23840mmitchel2005-10-024-1/+29
| | | | | | | | | | | * tree.c (lvalue_p1): A VA_ARG_EXPR with class type is an lvalue, when class rvalues are lvalues. PR c++/23840 * g++.dg/expr/stdarg1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104877 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 24142dnovillo2005-10-024-3/+37
| | | | | | | | | | | | | * tree-vrp.c (vrp_meet): Fix call to range_includes_zero_p in case of anti-ranges. testsuite/ PR 24142 * gcc.c-torture/execute/pr24142.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104874 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-10-022-53/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | PR c/18851 * c-typeck.c (tagged_tu_seen): Rename to ... (tagged_tu_seen_cache): this and add val field. (comptypes): Move functional to comptypes_internal and free tagged_tu_seen. (comptypes_internal): New function and call comptypes_internal instead of comptypes. Speed up by sibcalling tagged_types_tu_compatible_p. (alloc_tagged_tu_seen): New function (free_all_tagged_tu_seen_up_to): New function. (tagged_types_tu_compatible_p): Return the val of the seen two types. Add that the two types are the same to tagged_tu_seen_base if they are and call comptypes_internal instead of comptypes. <case UNION_TYPE>: Speed up common type where the fields are in the same order. (function_types_compatible_p): Call comptypes_internal instead of comptypes. (type_lists_compatible_p): Likewise. (all functions): s/tagged_tu_seen/tagged_tu_seen_cache/. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104873 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-02 Matthias Klose <doko@debian.org>doko2005-10-022-2/+6
| | | | | | | * doc/invoke.texi: Fix typo and speling error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104868 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-02 Paolo Carlini <pcarlini@suse.de>paolo2005-10-023-0/+64
| | | | | | | | | | PR libstdc++/24054 * include/tr1/hashtable (erase(const key_type&)): Return the number of elements erased. * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104867 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-stdarg.c (execute_optimize_stdarg): Process PHI nodes too.rth2005-10-022-0/+49
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104865 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Definemmitchel2005-10-022-0/+11
| | | | | | | using --start-group and --end-group. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104864 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vrp.c (value_inside_range, range_includes_zero_p): Adddnovillo2005-10-012-2/+27
| | | | | | | FIXME note regarding quirky semantics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104860 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 24141dnovillo2005-10-014-1/+52
| | | | | | | | | | | | | * tree-vrp.c (vrp_meet): Clear VR0->EQUIV when building a non-null range as a last resort. testsuite/ PR 24141 * gcc.c-torture/execute/pr24141.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104859 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 23604dnovillo2005-10-014-7/+58
| | | | | | | | | | | | | | * tree-vrp.c (extract_range_from_assert): For != assertions, only build an anti-range if LIMIT is a single-valued range. testsuite/ PR 23604 * gcc.c-torture/execute/pr23604.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104858 138bc75d-0d04-0410-961f-82ee72b054a4
* * runtime/memory.c (malloc_t): Remove.jakub2005-10-012-128/+26
| | | | | | | | | | | | | | (GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove. (mem_root, runtime_cleanup, malloc_with_header): Remove. (internal_malloc_size): Use just get_mem if size != 0, return NULL otherwise. (internal_free): Just free if non-NULL. (internal_realloc_size): Remove debugging stuff. (allocate_size): Use malloc directly, remove debugging stuff. (deallocate): Use free directly, fix error message wording. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104856 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,jakub2005-10-017-72/+95
| | | | | | | | | | | | | | | | | | | | | | | GFC_OTOA_BUF_SIZE, GFC_BTOA_BUF_SIZE): Define. (gfc_itoa, xtoa): Add 2 extra arguments. * runtime/environ.c: Include stdio.h. (check_buffered): Use sprintf. * runtime/error.c: Include assert.h. (gfc_itoa, xtoa): Add 2 extra arguments, avoid using static buffers. (st_printf, st_sprintf): Adjust callers. * io/write.c (otoa, btoa): Add 2 extra arguments, avoid using static buffers. (write_int, write_decimal): Add 2 extra arguments to conv function pointer, adjust caller. (write_integer): Adjust gfc_itoa caller. * io/unit.c (get_array_unit_len): Return 0 rather than NULL. * io/read.c (read_f): Remove spurious pointer dereference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104855 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc_release (build_sources): If trying to apply a tag thatmmitchel2005-10-012-4/+16
| | | | | | | already exists, issue an error message and exit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104854 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>paolo2005-10-012-0/+6
| | | | | | | | * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)): Add missing return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104851 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-10-01 Paul Thomas <pault@gcc.gnu.org>pault2005-10-0120-39/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/16404 PR fortran/20835 PR fortran/20890 PR fortran/20899 PR fortran/20900 PR fortran/20901 PR fortran/20902 * gfortran.h: Prototype for gfc_add_in_equivalence. * match.c (gfc_match_equivalence): Make a structure component an explicit,rather than a syntax, error in an equivalence group. Call gfc_add_in_equivalence to add the constraints imposed in check_conflict. * resolve.c (resolve_symbol): Add constraints: No public structures with private-type components and no public procedures with private-type dummy arguments. (resolve_equivalence_derived): Add constraint that prevents a structure equivalence member from having a default initializer. (sequence_type): New static function to determine whether an object is default numeric, default character, non-default or mixed sequence. Add corresponding enum typespec. (resolve_equivalence): Add constraints to equivalence groups or their members: No more than one initialized member and that different types are not equivalenced for std=f95. All the simple constraints have been moved to check_conflict. * symbol.c (check_conflict): Simple equivalence constraints added, including those removed from resolve_symbol. (gfc_add_in_equivalence): New function to interface calls match_equivalence to check_conflict. 2005-10-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/16404 PR fortran/20835 PR fortran/20890 PR fortran/20899 PR fortran/20900 PR fortran/20901 PR fortran/20902 gfortran.dg/equiv_constraint_1.f90: New test. gfortran.dg/equiv_constraint_2.f90: New test. gfortran.dg/equiv_constraint_3.f90: New test. gfortran.dg/equiv_constraint_4.f90: New test. gfortran.dg/equiv_constraint_5.f90: New test. gfortran.dg/equiv_constraint_6.f90: New test. gfortran.dg/equiv_constraint_7.f90: New test. gfortran.dg/equiv_constraint_8.f90: New test. gfortran.dg/private_type_1.f90: New test. gfortran.dg/private_type_2.f90: New test. gfortran.dg/g77/980628-2.f, 980628-3.f, 980628-9.f, 980628-10.f: Assert std=gnu to permit mixing of types in equivalence statements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104850 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libffi-dg.exp (libffi_target_compile): Forgeoffk2005-10-012-2/+12
| | | | | | | darwin, use -shared-libgcc not -lgcc_s, and explain why. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104847 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-10-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104842 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (LIPO_FOR_TARGET): Define.geoffk2005-09-302-0/+14
| | | | | | | (STRIP_FOR_TARGET): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104840 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't build thread library for targets that don't support threads.wilson2005-09-303-57/+97
| | | | | | | | | | | | | * configure.ac (pthread.h): Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER. (target_thread_file): New. Set from sed'ed gcc output. (posix_threads): New. Set from target_thread_file. Use instead of ac_have_pthread_h. (pthread_create_version): Move initialization before code using it. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104838 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/23693jsm282005-09-302-4/+10
| | | | | | | * update_web_docs: Add PDF support. Correct check of DEV-PHASE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104837 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.md (movqi): On thumb when optimizing, handle loading fromrearnsha2005-09-302-42/+62
| | | | | | | | | memory by describing this as taking a subreg of a zero-extended load into an SImode register. (movhi): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104836 138bc75d-0d04-0410-961f-82ee72b054a4
* * update_web_docs_old: Remove.jsm282005-09-302-154/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104835 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava:tromey2005-09-3037-1230/+1500
| | | | | | | | | | | | | | | | | | | | | | | PR libgcj/24051: * Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if requested. (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable. (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise. (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise. (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise. (lib_gnu_java_awt_peer_qt_la_LINK): Likewise. * configure: Rebuilt. * configure.ac: Pass --enable-qt-peers when qt is requested. libjava/classpath: PR libgcj/24051: * Makefile.in: Rebuilt. * Makefile.am (ACLOCAL_AMFLAGS): Added -I ../../config * configure: Rebuilt. * configure.ac: Use GCC_NO_EXECUTABLES git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104833 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-30 Janne Blomqvist <jblomqvi@cc.hut.fi>tobi2005-09-304-1/+19
| | | | | | | | | | | | libgfortran/ PR 24112 * io/open.c (edit_modes): Check for correct flag. gcc/testsuite/ PR 24112 * gfortran.dg/open_status_1.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104829 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload1.c (merge_assigned_reloads): Do not change anydrow2005-09-302-4/+12
| | | | | | | RELOAD_FOR_OUTPUT_ADDRESS reloads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104827 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinksgeoffk2005-09-302-7/+12
| | | | | | | | before creating new ones. Do symlinks before creating the actual targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104826 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix mips-elf gp relocation overflow errors.wilson2005-09-302-2/+7
| | | | | | | | * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown bounds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104825 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-libgeoffk2005-09-302-4/+12
| | | | | | | to work out which multilibs are actually being built. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-30 Paolo Carlini <pcarlini@suse.de>paolo2005-09-303-0/+67
| | | | | | | | | | PR libstdc++/24064 * include/tr1/hashtable (hash_code_base<>::store_code): Add. (hashtable<>::insert(const value_type&)): Use it. * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104823 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-30 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-09-302-4410/+1939
| | | | | | | | * configure: Regenerate with the correct autoconf version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104821 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (bfin-*-*): New.clm2005-09-303-1934/+4427
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104820 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vect-transform.c, config/ms1/ms1.md,kazu2005-09-307-10/+17
| | | | | | | | | config/s390/s390.c, config/v850/v850.md: Fix comment typos. Follow spelling conventions. * doc/invoke.texi, doc/md.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104817 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-30 Andrew Macleod <amacleod@redat.com>amacleod2005-09-303-2/+34
| | | | | | | | | | | | PR tree-optimization/21430 * tree-ssa-operands.c (set_virtual_use_link): New. Link new virtual use operands, and set stmt pointer if need be. (FINALIZE_CORRECT_USE: New. Macro to call appropriate use fixup routine. tree-ssa-opfinalize.h (FINALIZE_FUNC): Call FINALIZE_CORRECT_USE if present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104816 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-30 Paolo Carlini <pcarlini@suse.de>paolo2005-09-306-6/+341
| | | | | | | | | | | | | | | PR libstdc++/23953 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache, __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0. (__verify_grouping): Do the last check only if __grouping[__min] > 0. (__add_grouping<>): End recursion if *__gbeg <= 0. * testsuite/22_locale/num_get/get/char/23953.cc: New. * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise. * testsuite/22_locale/num_put/put/char/23953.cc: Likewise. * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104814 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/vect/fast-math-vect-reduc-7.c: Clean up temp files.uros2005-09-308-0/+27
| | | | | | | | | | | | | | | * gcc.dg/vect/pr22480.c: Clean up temp files. * gcc.dg/vect/pr23831.c: Clean up temp files. * gcc.dg/vect/pr23816-1.c: Require effective-target vect_condition. Clean up temp files. * gcc.dg/vect/pr23816-2.c: Require effective-target vect_condition. Clean up temp files. * gcc.dg/20050309-1.c: Clean up temp files. * gcc.dg/20050325-1.c: Clean up temp files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104813 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/24059uros2005-09-302-0/+28
| | | | | | | * gcc.dg/vect/pr24059.c : New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104812 138bc75d-0d04-0410-961f-82ee72b054a4
* We can only wrap mmap if it exists.wilson2005-09-302-0/+10
| | | | | | | | * mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect with HAVE_MMAP ifdef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104810 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/24120:tromey2005-09-302-3/+23
| | | | | | | | * jcf-io.c (memoized_dirlist_hash): New function. (caching_stat): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104809 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-09-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104805 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/24053ebotcazou2005-09-292-0/+7
| | | | | | | * stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104800 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (expand_binop): Initialize first_pass_p.mmitchel2005-09-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104798 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/24109jakub2005-09-294-2/+43
| | | | | | | | | | * c-decl.c (c_write_global_declarations_1): If any wrapup_global_declaration_2 call returned true, restart the loop. * gcc.c-torture/execute/20050929-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104794 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-29 Daniel Berlin <dberlin@dberlin.org>dberlin2005-09-293-2/+34
| | | | | | | | | Fix PR tree-optimization/24117 * tree-ssa-structalias.c (find_func_aliases): Strip nops before considering whether to use anyoffset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-29 Paolo Carlini <pcarlini@suse.de>paolo2005-09-291-3/+4
| | | | | | | Improve last ChangeLog entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104785 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-29 Chris Jefferson <chris@bubblescope.net>paolo2005-09-294-12/+77
| | | | | | | | | | | | PR libstdc++/23978 * include/tr1/functional (ref, cref): Make inline. * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair). (tie): Correct formatting. (make_tuple): Make inline. * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104784 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/tree-ssa/ssa-ccp-11.c: Fix the test case and un-xfail.steven2005-09-292-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104777 138bc75d-0d04-0410-961f-82ee72b054a4