aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-07re PR other/32754 (The opt?-gen.awk file generators produce incorrect credits)Manuel López-Ibáñez4-3/+11
2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR other/32754 * doc/options.texi (Options): Replace references to opts.sh with optc-gen.awk. * opts-common.c: Likewise. * optc-gen.awk: Likewise. From-SVN: r132174
2008-02-07[multiple changes]Andreas Tobler2-1/+7
2008-02-06 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/ext/vector13.C: Fix for compilation under -pedantic. 2008-02-07 Andreas Tobler <andreast-list@fgznet.ch> Douglas Gregor <doug.gregor@gmail.com> PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com> From-SVN: r132173
2008-02-07s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.Andreas Krebbel2-4/+9
2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. From-SVN: r132172
2008-02-07re PR rtl-optimization/33410 (ICE in iv_analyze_expr, at loop-iv.c:934)Richard Henderson2-5/+15
PR rtl-opt/33410 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an EXPR_LIST for the REG_EQUAL instead of a comparison with a funny mode. From-SVN: r132171
2008-02-07re PR tree-optimization/35085 (gcc.dg/vect/vect-iv-9.c fails)Uros Bizjak2-0/+19
PR tree-optimization/35085 * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update for operand entry oe2 in addition to operand entry oe3 in order to expose more opportunities for vectorizer sum reduction. From-SVN: r132168
2008-02-07Daily bump.GCC Administrator1-1/+1
From-SVN: r132164
2008-02-06re PR other/35107 (GCC unnecessarily links shared libs with xgcc, gcov, cpp, ↵Kaveh R. Ghazi16-13/+54
jcf-dump, etc.) 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> PR other/35107 * Makefile.in (LIBS): Remove $(GMPLIBS). (cc1-dummy, cc1): Add $(GMPLIBS). ada: PR other/35107 * Make-lang.in (gnat1): Add $(GMPLIBS). cp: PR other/35107 * Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS). fortran: PR other/35107 * Make-lang.in (f951): Add $(GMPLIBS). java: PR other/35107 * Make-lang.in (jc1): Add $(GMPLIBS). objc: PR other/35107 * Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS). objcp: PR other/35107 * Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS). treelang: PR other/35107 * Make-lang.in (tree1): Add $(GMPLIBS). From-SVN: r132160
2008-02-06re PR c++/35056 (ICE in copy_to_mode_reg, at explow.c:621)Alexandre Oliva6-3/+42
gcc/cp/ChangeLog: PR c++/35056 * tree.c: Include tree-flow.h. (build_target_expr): Check type compatibility. * Make-lang.in (cp/tree.o): Depend on $(TREE_FLOW_H). * call.c (convert_like_real): Convert bitfield to expected type. gcc/testsuite/ChangeLog: PR c++/35056 * g++.dg/conversion/bitfield8.C: New. From-SVN: r132158
2008-02-06vector13.C: Fix for compilation under -pedantic.Douglas Gregor2-1/+5
2008-02-06 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/ext/vector13.C: Fix for compilation under -pedantic. From-SVN: r132154
2008-02-06Commit missing ChangeLog fragmentDoug Gregor1-0/+6
From-SVN: r132153
2008-02-06re PR c++/35049 (g++.dg/conversion/simd3.C:12: error: invalid operands to ↵Douglas Gregor7-25/+60
binary + (have 'float __vector__' and 'int __vector__')) 2008-02-06 Douglas Gregor <doug.gregor@gmail.com> PR c++/35049 PR c++/35096 * typeck.c (structural_comptypes): Call cp_comptypes. (comptypes): New; called from the C/C++ common bits to perform strict checks. (cp_comptypes): Renamed from comptypes, which is already used, with a different signature, by the C++ front end. (build_reinterpret_cast_1): Call cp_comptypes. (ptr_reasonably_similar): Ditto. * decl.c (decls_match): Ditto. * cvt.c (convert_to_reference): Ditto. * cp-tree.h (same_type_p): Ditto. (same_or_base_type_p): Ditto. (comptypes): Rename to cp_comptypes. * pt.c (canonical_type_parameter): Call cp_comptypes. 2008-02-06 Douglas Gregor <doug.gregor@gmail.com> PR c++/35049 PR c++/35096 * g++.dg/ext/vector13.C: New. From-SVN: r132152
2008-02-06ivopts-1.C: Remove xfail for mips*-*-*.David Daney2-1/+5
2008-02-06 David Daney <ddaney@avtrex.com> * g++.dg/tree-ssa/ivopts-1.C: Remove xfail for mips*-*-*. From-SVN: r132151
2008-02-06* ru.po: Update.Joseph Myers2-13/+16
From-SVN: r132150
2008-02-06Wrong PR.Jan Hubicka1-1/+1
From-SVN: r132146
2008-02-06re PR objc/5587 (Objc problems with user_label_prefix)Jan Hubicka2-2/+12
PR target/5587 * i386.md (moddf_integer): Do not produce partial memory stalls for targets where it hurts. From-SVN: r132145
2008-02-06re PR target/35083 (ICE: in extract_insn, at recog.c:1990)Uros Bizjak2-5/+9
PR target/35083 * optabs.c (expand_float): Do not check for decimal modes when expanding unsigned integer through signed conversion. From-SVN: r132144
2008-02-06stormy16.md (eqbranchsi): Replace a match_dup inside the clobber with a ↵Nick Clifton2-10/+9
match_operand and duplicated... * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup inside the clobber with a match_operand and duplicated operand number in the constraint. (ineqbranchsi): Delete redundant comment. From-SVN: r132143
2008-02-06rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__").Ralf Corsepius3-2/+7
2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org> * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__"). * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add -msx multilibs. From-SVN: r132141
2008-02-06gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.Ralf Corsepius2-1/+4
2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org> * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT. From-SVN: r132138
2008-02-06Daily bump.GCC Administrator1-1/+1
From-SVN: r132134
2008-02-05re PR driver/30330 (-Wdeprecated is not documented)Ralf Wildenhues2-3/+114
PR documentation/30330 * doc/invoke.texi (C++ Dialect Options) (Objective-C and Objective-C++ Dialect Options, Warning Options): For each warning option -Wfoo that allows -Wno-foo, ensure both -Wfoo and -Wno-foo are listed in the option index. Fix index entry of -Wswitch-default, index -Wnormalized= including the `=', and -Wlarger-than-@var{len} including @var{len}. From-SVN: r132131
2008-02-05target-supports.exp (check_effective_target_hard_float): Remove special case ↵Bob Wilson2-4/+7
for xtensa-*-*. * lib/target-supports.exp (check_effective_target_hard_float): Remove special case for xtensa-*-*. From-SVN: r132130
2008-02-05re PR fortran/35037 (VOLATILE attribute not being honored with common block ↵Francois-Xavier Coudert4-0/+59
variable) PR fortran/35037 * trans-common.c (build_field): Mark fields as volatile when needed. * gfortran.dg/volatile11.f90: New test. From-SVN: r132129
2008-02-05re PR fortran/35093 (gfortran.dg/data_constraints_1.f90)Tobias Burnus2-6/+14
2008-02-05 Tobias Burnus <burnus@net-b.de> PR fortran/35093 * data.c (gfc_assign_data_value): Only free "size" if it has not already been freed. From-SVN: r132128
2008-02-05re PR c++/33553 (Bogus "array bound is not an integer constant" for ↵Jakub Jelinek4-3/+36
parameter in template method of template class) PR c++/33553 * pt.c (tsubst) <case INTEGER_TYPE>: Don't issue error if max is value dependent expression. * g++.dg/template/array19.C: New test. From-SVN: r132126
2008-02-05i386.md (floatunssisf2): Use ix86_expand_convert_uns_sisf_sse also for ↵Uros Bizjak2-17/+14
TARGET_SSE. * config/i386/i386.md (floatunssisf2): Use ix86_expand_convert_uns_sisf_sse also for TARGET_SSE. (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2. Macroize expander using MODEF mode iterator. From-SVN: r132125
2008-02-05http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.htmlDiego Novillo4-68/+15
PR 33738 * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738. testsuite/ChangeLog PR 33738 * g++.dg/warn/pr33738.C: Remove. From-SVN: r132124
2008-02-05re PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))Kaveh R. Ghazi2-1/+8
PR other/35070 * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings. From-SVN: r132123
2008-02-05re PR target/35084 (Strang error messages)H.J. Lu2-9/+20
2008-02-05 H.J. Lu <hongjiu.lu@intel.com> PR target/35084 * config/i386/i386.c (ix86_function_sseregparm): Add an arg to indicate if a message should be generated. (init_cumulative_args): Updated. (function_value_32): Likewise. From-SVN: r132122
2008-02-05re PR fortran/34945 (LBOUND fails for array with KIND(complex) used in ↵Paul Thomas4-9/+48
zero-sized dimension) 2008-02-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/34945 * array.c (match_array_element_spec): Remove check for negative array size. (gfc_resolve_array_spec): Add check for negative size. 2008-02-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/34945 * gfortran.dg/bounds_check_13.f: New test. From-SVN: r132121
2008-02-05re PR c++/35074 (ICE with attribute "aligned" for template classes)Douglas Gregor3-2/+36
2008-02-05 Douglas Gregor <doug.gregor@gmail.com> PR c++/35074 * decl2.c (save_template_attributes): When we're modifying the TYPE_MAIN_VARIANT to add new attributes, be sure to also modify all of the other variants to add those same attributes. Otherwise, the main variant will be inconsistent with those other variants. 2008-02-05 Douglas Gregor <doug.gregor@gmail.com> PR c++/35074 * g++.dg/ext/attrib30.C: New. From-SVN: r132120
2008-02-05* doc/include/texinfo.tex: Update to version 2008-02-04.16.Joseph Myers2-278/+1735
From-SVN: r132116
2008-02-05re PR testsuite/33946 (Testcase multi-ix.c generates call to (poisoned) bzero)Francois-Xavier Coudert2-1/+6
PR testsuite/33946 * gcc.c-torture/execute/multi-ix.c: Call memset instead of bzero. From-SVN: r132115
2008-02-05re PR target/35083 (ICE: in extract_insn, at recog.c:1990)Uros Bizjak4-2/+21
PR target/35083 * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only. Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2. testsuite/ChangeLog: PR target/35083 * gcc.target/i386/pr35083.c: New test. From-SVN: r132114
2008-02-05re PR fortran/32315 (DATA with implied-do: Bounds checks missing [regression ↵Paul Thomas4-0/+49
vs. g77]) 2008-02-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/32315 * data.c (gfc_assign_data_value): Add bounds check for array references. 2008-02-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/32315 * gfortran.dg/data_bounds_1.f90: New test. From-SVN: r132113
2008-02-04http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.htmlDiego Novillo4-0/+84
PR 33738 * tree-vrp.c (vrp_evaluate_conditional): With -Wtype-limits, emit a warning when comparing against a constant outside the natural range of OP0's type. testsuite/ChangeLog PR 33738 * testsuite/g++.dg/warn/pr33738.C: New. From-SVN: r132111
2008-02-05Daily bump.GCC Administrator1-1/+1
From-SVN: r132108
2008-02-04Correct my last entry, matching the posted patchHans-Peter Nilsson1-1/+1
From-SVN: r132105
2008-02-04where_operator_assign_4.f90: Fix typo in error message to match.Daniel Franke2-2/+7
2008-02-04 Daniel Franke <franke.daniel@gmail.com> * gfortran.dg/where_operator_assign_4.f90: Fix typo in error message to match. From-SVN: r132104
2008-02-04target-supports.exp (check_effective_target_hard_float): Only use the ↵Hans-Peter Nilsson2-9/+38
preprocessor tests for mips*-*-* and xtensa-*-*. * lib/target-supports.exp (check_effective_target_hard_float): Only use the preprocessor tests for mips*-*-* and xtensa-*-*. For all other targets, grep for a call insn in the rtl expand dump for an add of two doubles. (target_compile): Support generating rtl dumps as output. From-SVN: r132102
2008-02-04resolve.c (resolve_where): Fix typo.Daniel Franke2-2/+7
2008-02-04 Daniel Franke <franke.daniel@gmail.com> * resolve.c (resolve_where): Fix typo. (gfc_resolve_where_code_in_forall): Likewise. From-SVN: r132098
2008-02-04re PR middle-end/33631 (auto structure not initialized correctly)Richard Guenther4-8/+26
2008-02-04 Richard Guenther <rguenther@suse.de> PR middle-end/33631 * expr.c (count_type_elements): Give for unions instead of guessing. * gcc.c-torture/execute/pr33631.c: New testcase. From-SVN: r132096
2008-02-04re PR java/35035 (Has any one managed to run the libjava test suite on ↵Richard Guenther2-1/+13
powerpc-apple-darwin9?) 2008-02-04 Richard Guenther <rguenther@suse.de> PR java/35035 * decl.c (record_builtin_java_type): Make jboolean a integer type again where its mode doesn't match that of bool. From-SVN: r132095
2008-02-04re PR middle-end/35043 (ICE in tree-data-ref because signed_type_for_types ↵Richard Guenther4-0/+35
returns NULL) 2008-02-04 Richard Guenther <rguenther@suse.de> PR middle-end/35043 * gimplify.c (gimplify_init_ctor_eval): Convert array indices to TYPE_DOMAINs base type instead of using bitsizetype here. * gcc.c-torture/compile/pr35043.c: New testcase. From-SVN: r132091
2008-02-03re PR c++/33916 (Default constructor fails to initialize array members)Jason Merrill16-73/+383
PR c++/33916 * cp/init.c (build_value_init_1): New function. (build_value_init): New function. * cp/typeck2.c (build_functional_cast): Call it. * cp/cp-gimplify.c (cp_gimplify_init_expr): Handle its output. * cp/cp-tree.h (TYPE_HAS_USER_CONSTRUCTOR): Rename from TYPE_HAS_CONSTRUCTOR. * cp/class.c (finish_struct_bits, maybe_warn_about_overly_private_class, add_implicitly_declared_members): Adjust. (check_field_decls): Adjust. Remove warnings about reference/const in class without constructor. (check_bases_and_members): Adjust. Give those warnings here instead. * cp/decl.c (fixup_anonymous_aggr): Adjust. (check_initializer): Adjust, clarify logic slightly. (grok_special_member_properties): Adjust, only set if user-provided. * cp/rtti.c (create_tinfo_types): Don't set. * cp/cvt.c (ocp_convert): Remove exception for vtable_entry_type et al. Use same_type_ignoring_top_level_qualifiers_p. * cp/pt.c (check_explicit_specialization): Adjust. (instantiate_class_template): Adjust. * print-tree.c (print_node) [CONSTRUCTOR]: Print elements. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r132088
2008-02-04re PR other/29972 (typos in the manual)Ralf Wildenhues3-16/+24
PR other/29972 * doc/invoke.texi (C++ Dialect Options, Optimize Options) (HPPA Options, i386 and x86-64 Options, IA-64 Options) (RS/6000 and PowerPC Options): Fix typos and markup. * doc/passes.texi (Tree-SSA passes): Likewise. From-SVN: r132087
2008-02-04Daily bump.GCC Administrator1-1/+1
From-SVN: r132085
2008-02-03ivopts-1.C: Remove xfail for hppa*-*-*.John David Anglin2-1/+5
* g++.dg/tree-ssa/ivopts-1.C: Remove xfail for hppa*-*-*. From-SVN: r132082
2008-02-03pr31628.c: Require effective target fpic.Uros Bizjak6-4/+15
* gcc.target/i386/pr31628.c: Require effective target fpic. * gcc.target/i386/strinline.c: Ditto. * gcc.dg/sibcall-6.c: Skip if !nonpic for 32bit x86 targets. * gcc.dg/pr35045.c: Ditto. * gcc.dg/20050503-1.c: Ditto. From-SVN: r132080
2008-02-03re PR fortran/32760 (Error defining subroutine named PRINT)Paul Thomas7-98/+185
2008-02-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/32760 * resolve.c (resolve_allocate_deallocate): New function. (resolve_code): Call it for allocate and deallocate. * match.c (gfc_match_allocate, gfc_match_deallocate) : Remove the checking of the STAT tag and put in above new function. * primary,c (match_variable): Do not fix flavor of host associated symbols yet if the type is not known. 2008-02-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/32760 * gfortran.dg/host_assoc_variable_1.f90: New test. * gfortran.dg/allocate_stat.f90: Change last three error messages. From-SVN: r132078