aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-04-15re PR rtl-optimization/31500 (FAIL: gcc.dg/Warray-bounds.c (internal ↵John David Anglin3-0/+8
compiler error)) PR rtl-optimization/31500 * gcc.dg/Warray-bounds.c: Skip on hppa*-*-*. * g++.dg/warn/Warray-bounds.C: Likewise. From-SVN: r123837
2007-04-14re PR c/31520 (Latent bug in finish_decl causing an errorous "array ↵Andrew Pinski4-1/+26
subscript is above array bounds") 2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c/31520 * c-del.c (finish_decl): Grab the type of the decl after the call to store_init_value. 2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C/31520 * testsuite/gcc.dg/gnu89-init-4.c: New testcase. From-SVN: r123835
2007-04-14Daily bump.GCC Administrator1-1/+1
From-SVN: r123833
2007-04-14* common.opt (fforward-propagate): Fix "Optimization" annotation.Steven Bosscher2-2/+6
From-SVN: r123830
2007-04-14Makefile.am: Add -I ..Steve Ellcey3-2/+7
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. * Makefile.in: Regenerate. From-SVN: r123829
2007-04-14configure.ac: Change how LIBSUPCXX_PICFLAGS is set.Steve Ellcey3-8/+9
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set. * configure: Regenerate. From-SVN: r123828
2007-04-14Makefile.am: Add -I ..Steve Ellcey3-3/+10
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK. * Makefile.in: Regenerate. From-SVN: r123827
2007-04-14Makefile.am: Add -I ..Steve Ellcey3-2/+7
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. * Makefile.in: Regenerate. From-SVN: r123826
2007-04-14* config-ml.in: Pass ${ml_config_env} to configure calls.Steve Ellcey2-1/+10
From-SVN: r123825
2007-04-14re PR c++/25874 ([gomp] ICE in calc_dfs_tree())Jakub Jelinek5-0/+26
PR c++/25874 * omp-low.c (expand_omp_parallel): If child_cfun->cfg, free dominators, post dominators and cleanup cfg before returning. * gcc.dg/gomp/pr25874.c: Add dg-options. * g++.dg/gomp/pr25874.C: Add dg-options. From-SVN: r123822
2007-04-14+2007-04-14 Bernhard FischerBernhard Reutner-Fischer2-2/+8
* primary.c: Commentary typo fix; Add question about redundant (?) set. * ChangeLog: Fix formatting of previous ChangeLog entry which did not obey "'name" <name@there.tdl>' convention. From-SVN: r123821
2007-04-142007-04-14 Bernhard FischerBernhard Fischer3-0/+56
PR fortran/21061 * gfortran.dg/warnings_are_errors_1.f90: New testcase. * gfortran.dg/warnings_are_errors_1.f: New testcase. From-SVN: r123820
2007-04-14- commentary typo fixBernhard Reutner-Fischer1-1/+1
From-SVN: r123819
2007-04-14re PR fortran/31561 (FAIL: gfortran.dg/vect/vect-4.f90)Francois-Xavier Coudert2-2/+7
PR fortran/31561 * gfortran.dg/vect/vect-4.f90: xfail on vect_no_align targets. From-SVN: r123817
2007-04-14c_locale.cc: Include <limits>.Paolo Carlini2-0/+5
2007-04-14 Paolo Carlini <pcarlini@suse.de> * config/locale/generic/c_locale.cc: Include <limits>. From-SVN: r123816
2007-04-14re PR fortran/29507 ([4.2 only] INDEX in an array initialization causes ICE)Paul Thomas4-1/+172
2007-04-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/29507 PR fortran/31404 * expr.c (scalarize_intrinsic_call): New function to scalarize elemental intrinsic functions in initialization expressions. (check_init_expr): Detect elemental intrinsic functions in initalization expressions and call previous. 2007-04-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/29507 PR fortran/31404 * gfortran.dg/initialization_6.f90: New test. From-SVN: r123815
2007-04-14bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.Bernd Schmidt3-7/+18
* config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied. * config/bfin/bfin.md (movsi_insn): Delete two unused alternatives. From-SVN: r123813
2007-04-14config.gcc: Recognize fido.Kazu Hirata7-6/+64
gcc/ * config.gcc: Recognize fido. * config/m68k/m68k-devices.def (fidoa): New. * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define __mfido__. (FL_FIDOA, TARGET_FIDOA): New. * config/m68k/m68k.opt (mfidoa): New. libgcc/ * config.host: Recognize fido. From-SVN: r123811
2007-04-14target-supports.exp (check_gc_sections_available): Return false if ldflags ↵Kazu Hirata2-0/+11
includes -elf2flt. * lib/target-supports.exp (check_gc_sections_available): Return false if ldflags includes -elf2flt. From-SVN: r123810
2007-04-14* gcc.c-torture/compile/pr27528.c: Require nonpic.Kazu Hirata2-1/+5
From-SVN: r123809
2007-04-14re PR middle-end/31322 (ld: Invalid symbol type for plabel ↵John David Anglin2-0/+7
(.libs/debug_list.o, __gxx_personality_v0).) PR middle-end/31322 * dwarf2out.c (output_call_frame_info): Call assemble_external_libcall when a personality function is used. From-SVN: r123806
2007-04-13re PR c++/31074 (Reference casting involving multiple inheritance produces ↵Jason Merrill4-6/+55
bad pointer) PR c++/31074 * call.c (reference_binding): Add c_cast_p parm. If true, add quals to TO as needed to make it reference-compatible. From-SVN: r123805
2007-04-13Daily bump.GCC Administrator1-1/+1
From-SVN: r123803
2007-04-13re PR libstdc++/31556 (find_if uses operator! instead of conversion to bool)Paolo Carlini3-20/+57
2007-04-13 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31556 * include/bits/stl_algobase.h (equal(_InputIterator1, _InputIterator1, _InputIterator2, _BinaryPredicate), mismatch(_InputIterator1, _InputIterator1, _InputIterator2, _BinaryPredicate)): Convert predicate return to bool. * include/bits/stl_algo.h (__find_if(_InputIterator, _InputIterator, _Predicate, input_iterator_tag), search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2, _BinaryPredicate), __search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&, _BinaryPredicate, std::forward_iterator_tag), __search_n(_RandomAccessIter, _RandomAccessIter, _Integer, const _Tp&, _BinaryPredicate, std::random_access_iterator_tag), search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&, _BinaryPredicate), remove_copy_if(_InputIterator, _InputIterator, _OutputIterator, _Predicate), __unique_copy(_ForwardIterator, _ForwardIterator, _OutputIterator, _BinaryPredicate, forward_iterator_tag, output_iterator_tag), __unique_copy(_InputIterator, _InputIterator, _OutputIterator, _BinaryPredicate, input_iterator_tag, output_iterator_tag), __unique_copy(_InputIterator, _InputIterator, _OutputIterator, _BinaryPredicate, input_iterator_tag, output_iterator_tag), __unique_copy(_InputIterator, _InputIterator, _ForwardIterator, _BinaryPredicate, input_iterator_tag, forward_iterator_tag), unique(_ForwardIterator, _ForwardIterator, _BinaryPredicate), __partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate, bidirectional_iterator_tag), binary_search(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare), next_permutation(_BidirectionalIterator, _BidirectionalIterator, _Compare), prev_permutation(_BidirectionalIterator, _BidirectionalIterator, _Compare)): Likewise. From-SVN: r123800
2007-04-13Fix whitespacing.Mike Stump1-2/+0
From-SVN: r123799
2007-04-13stubify-1.mm: Only run on powerpc.Mike Stump7-5/+7
* obj-c++.dg/stubify-1.mm: Only run on powerpc. * obj-c++.dg/template-4.mm: Don't run when 64-bit. From-SVN: r123798
2007-04-13* config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.Bob Wilson2-1/+5
From-SVN: r123797
2007-04-13re PR tree-optimization/29598 (FAIL: gcc.dg/tree-ssa/loadpre1.c and ↵Joseph Myers2-1/+6
loadpre1[45].c scan-tree-dump-times Eliminated: 1 1) PR tree-optimization/29598 * gcc.dg/tree-ssa/loadpre1.c: XFAIL. From-SVN: r123794
2007-04-13re PR fortran/31559 ([4.1 only] Assigning to an EXTERNAL leads to ICE)Tobias Burnus4-24/+69
2007-04-13 Tobias Burnus <burnus@net-b.de> PR fortran/31559 * primary.c (match_variable): External functions are no variables. 2007-04-13 Tobias Burnus <burnus@net-b.de> PR fortran/31559 * gfortran.dg/func_assign.f90: New test. From-SVN: r123793
2007-04-13darwin-c.c (handle_c_option): Handle -fapple-kext here so we can...Mike Stump4-6/+12
* config/darwin-c.c (handle_c_option): Handle -fapple-kext here so we can... * config/darwin.opt (fapple-kext): Make C++ only. * config/darwin.c (darwin_override_options): Remove code to ensure -fapple-kext is given for C++ only. From-SVN: r123792
2007-04-13re PR fortran/31550 (f951: segfault in fold-const.c:1963)Paul Thomas4-1/+63
2007-04-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/31550 * trans-types.c (copy_dt_decls_ifequal): Do not get pointer derived type components. 2007-04-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/31550 * gfortran.dg/used_types_16.f90: New test. From-SVN: r123791
2007-04-13re PR fortran/18937 (quadratic behaviour with many label "spaghetti" code)Tobias Schlüter6-47/+191
PR fortran/18937 fortran/ * resolve.c: Include obstack.h and bitmap.h. New variable labels_obstack. (code_stack): Add tail and reachable_labels fields. (reachable_labels): New function. (resolve_branch): Rework to use new fields in code_stack. (resolve_code): Call reachable_labels. (resolve_codes): Allocate and free labels_obstack. testsuite/ * gfortran.dg/goto_2.f90: New. * gfortran.dg/goto_3.f90: New. * gfortran.dg/pr17708.f90: Rename to ... * gfortran.dg/goto_4.f90: ... this, add comment pointing to PR. From-SVN: r123789
2007-04-13vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.Richard Sandiford3-0/+13
gcc/ * config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define. * config/mips/mips.c (override_options): Call SUBTARGET_OVERRIDE_OPTIONS, if defined. From-SVN: r123788
2007-04-13i386.opt (msvr3-shlib): Removed.H.J. Lu3-13/+7
2007-04-13 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.opt (msvr3-shlib): Removed. * doc/invoke.texi: Remove -msvr3-shlib. From-SVN: r123787
2007-04-13i386.opt (mpopcnt): Replace "popcount" instruction with "popcnt" instruction.H.J. Lu2-1/+6
2007-04-13 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.opt (mpopcnt): Replace "popcount" instruction with "popcnt" instruction. From-SVN: r123786
2007-04-13re PR fortran/31562 (FAIL: gfortran.dg/value_4.f90 -O0 execution test)Tobias Burnus2-34/+35
2007-04-13 Tobias Burnus <burnus@net-b.de> PR fortran/31562 * gfortran.dg/f2c_4.c: Use GNU extensions for complex instead of a struct. From-SVN: r123784
2007-04-13re PR libstdc++/31554 (stable_partition assumes iterator difference type is ↵Paolo Carlini2-1/+8
always ptrdiff_t) 2007-04-13 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31554 * include/bits/stl_algo.h (stable_partition): Convert __buf.size() to _DistanceType. From-SVN: r123783
2007-04-13Fix date in Tobias Burnus' ChangeLog entryTobias Schlüter1-1/+1
From-SVN: r123782
2007-04-13Sigh. Add ChangeLog entry missing from previous commit.Tobias Schlüter1-0/+2
From-SVN: r123781
2007-04-13re PR fortran/31562 (FAIL: gfortran.dg/value_4.f90 -O0 execution test)Tobias Burnus2-9/+16
2007-04-12 Tobias Burnus <burnus@net-b.de> PR fortran/31562 * gfortran.dg/value_4.c: Use GNU extensions for complex instead of a struct. From-SVN: r123780
2007-04-13numeric_traits.h: Do not include <limits>.Paolo Carlini21-69/+175
2007-04-13 Paolo Carlini <pcarlini@suse.de> * include/ext/numeric_traits.h: Do not include <limits>. (__numeric_traits_integer::__is_signed, __digits): Add. (__numeric_traits_floating::__digits10, __max_exponent10): Add. * src/istream.cc (ignore<char>(streamsize, int_type), operator>> (basic_istream<char>&, char*), ignore<wchar_t>(streamsize, int_type)): Use the latter. * src/compatibility.cc (ignore<char>(streamsize), ignore<wchar_t>(streamsize)): Likewise. * include/ext/vstring_util.h (__vstring_utility<>::_S_compare): Likewise. * include/bits/stl_memory.h (__get_temporary_buffer): Likewise. * include/bits/stl_algobase.h (lexicographical_compare(const char*, const char*, const char*, const char*)): Likewise. * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter, _InIter, ios_base&, ios_base::iostate&, _ValueT&), num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT), num_put<>::_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT), collate<>::do_hash(const _CharT*, const _CharT*)): Likewise. * include/bits/basic_string.h (basic_string<>::_S_compare): Likewise. * include/bits/istream.tcc (operator>>(short&), operator>>(int&), ignore(streamsize), ignore(streamsize, int_type), operator>> (basic_istream<>&, _CharT*)): Likewise. * include/bits/stl_bvector.h (vector<bool>::max_size): Likewise. * include/tr1/functional_hash.h (struct hash<long double>): Likewise. * include/std/istream: Do not include <limits>. * include/tr1/cmath: Include <limits>. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc: Likewise. * testsuite/27_io/ios_base/storage/2.cc: Likewise. * include/tr1/hashtable: Do not include the whole <iterator>. From-SVN: r123779
2007-04-13re PR tree-optimization/21258 (Teach VRP to pick up a constant from case label.)Richard Guenther4-6/+165
2007-04-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/21258 * tree-vrp.c (compare_case_labels): New helper. (find_switch_asserts): New function. (find_assert_locations): Call it for SWITCH_EXPRs. * gcc.dg/tree-ssa/vrp34.c: New testcase. From-SVN: r123778
2007-04-13i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387.Uros Bizjak4-94/+197
* config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387. * config/i386/i386.md (*cmpfp0): Remove check for TARGET_80387, this check is now implied in X87_FLOAT_MODE_P. (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto. (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto. (fix_trunc<mode>_i386_fisttp): Ditto. (fix_trunc<mode>_i387_fisttp_with_temp): Ditto. (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto. (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto. (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto. (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto. (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto. (unnamed_splitters): Ditto. * config/i386/i386.c (function_value_32): Generate FIRST_FLOAT_REG for X87_FLOAT_MODE_P mode. Override FIRST_FLOAT_REG with FIRST_SSE_REG for local functions when SSE math is enabled or for functions with sseregparm attribute. (standard_80387_constant_p): Return -1 if mode is not X87_FLOAT_MODE_P. (ix86_cc_mode): Assert that scalar mode is not DECIMAL_FLOAT_MODE_P. (ix86_expand_compare): Ditto. (ix86_expand_carry_flag_compare): Ditto. (ix86_expand_int_movcc): Check for SCALAR_FLOAT_MODE_P instead of FLOAT_MODE_P for cmp_mode and assert that cmp_mode is not DECIMAL_FLOAT_MODE_P. (ix86_preferred_output_reload_class): Use X87_FLOAT_MODE_P instead of SCALAR_FLOAT_MODE_P. (ix86_rtx_costs) [PLUS] Remove FLOAT_MODE_P and fall through to ... [MINUS]: ... here. Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks before FLOAT_MODE_P. [MULT]: Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks before FLOAT_MODE_P. [DIV]: Ditto. [NEG]: Ditto. [ABS]: Ditto. [SQRT]: Ditto. [FLOAT_EXTEND]: Use SSE_FLOAT_MODE_P. From-SVN: r123777
2007-04-13Makefile.am (EXTRA_DIST): Bring up to date.Paolo Bonzini4-9/+17
2007-04-11 Paolo Bonzini <bonzini@gnu.org> * Makefile.am (EXTRA_DIST): Bring up to date. * Makefile.in: Regenerate. * src/frv/eabi.S: Remove RCS keyword. From-SVN: r123776
2007-04-13Makefile.in (stamp-as, [...]): Remove.Paolo Bonzini5-55/+111
2007-04-12 Paolo Bonzini <bonzini@gnu.org> Charles Wilson <libtool@cwilson.fastmail.fm> * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove. (libgcc.mvars): Don't depend on them. * configure.ac (as, collect-ld, nm): Create from exec-tool.in. * exec-tool.in: New. Co-Authored-By: Charles Wilson <libtool@cwilson.fastmail.fm> From-SVN: r123775
2007-04-12Daily bump.GCC Administrator1-1/+1
From-SVN: r123773
2007-04-12* doc/invoke.text (--help): Document --help=common.Brooks Moses2-0/+7
From-SVN: r123769
2007-04-12c_by_val.c: Use GCC extensions instead of including <complex.h>.Francois-Xavier Coudert2-5/+14
* gfortran.dg/c_by_val.c: Use GCC extensions instead of including <complex.h>. From-SVN: r123768
2007-04-12Commit bits missing from previous checkinTobias Schlüter2-4/+4
Commit bits missing from previous checkin * gfortran.dg/repeat_2.f90: Add dg-warning annotations. * gfortran.dg/repeat_4.f90: Likewise. From-SVN: r123765
2007-04-12stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords.Thomas Neumann2-1/+5
2007-04-12 Thomas Neumann <tneumann@users.sourceforge.net> * stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords. From-SVN: r123764