aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16* gcc-interface/deftarg.c: Remove.Eric Botcazou2-40/+4
From-SVN: r144199
2009-02-16Daily bump.GCC Administrator1-1/+1
From-SVN: r144196
2009-02-15re PR rtl-optimization/39196 (ICE in copyprop_hardreg_forward_1, at ↵H.J. Lu2-1/+8
regrename.c:1603 during libjava compile) 2009-02-15 H.J. Lu <hongjiu.lu@intel.com> PR target/39196 * config/i386/i386.md: Restrict the new peephole2 to move between MMX/SSE registers. From-SVN: r144191
2009-02-15re PR libstdc++/39168 (Incorrect interpretation of CHAR_MAX inside grouping ↵Paolo Carlini10-6/+359
string in monetary and numeric facets.) 2009-02-15 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/39168 * src/locale_facets.cc (__verify_grouping(const char*, size_t, const string&)): Also check that the value != CHAR_MAX. * include/bits/locale_facets.tcc (__numpunct_cache<>:: _M_cache(const locale&), __add_grouping(_CharT*, _CharT, const char*, size_t, const _CharT*, const _CharT*)): Likewise. * include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>:: _M_cache(const locale&)): Likewise. * testsuite/22_locale/money_put/put/wchar_t/39168.cc: New. * testsuite/22_locale/money_put/put/char/39168.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise. * testsuite/22_locale/money_get/get/char/39168.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise. * testsuite/22_locale/num_get/get/char/39168.cc: Likewise. From-SVN: r144190
2009-02-15revert: configure.ac: Enable LFS.Richard Guenther8-766/+27
Revert 2009-02-13 Richard Guenther <rguenther@suse.de> * configure.ac: Enable LFS. * configure: Re-generate. * config.in: Likewise. libcpp/ * configure.ac: Enable LFS. * configure: Re-generate. * config.in: Likewise. From-SVN: r144189
2009-02-15w_prof_single_str_global.c: Mask return value.Uros Bizjak3-2/+8
* gcc.dg/struct/w_prof_single_str_global.c: Mask return value. From-SVN: r144187
2009-02-15Daily bump.GCC Administrator1-1/+1
From-SVN: r144185
2009-02-14spu_internals.h (spu_sr, [...]): Define.Ulrich Weigand7-5/+640
ChangeLog: * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw, spu_srqwbyte, spu_srqwbytebc): Define. * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw, spu_srqwbyte, spu_srqwbytebc): New overloaded builtins. * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>", "shrqby_<mode>"): New insn-and-split patterns. * config/spu/spu.c (expand_builtin_args): Determine and return number of operands using spu_builtin_description data. (spu_expand_builtin_1): Use it. testsuite/ChangeLog: * gcc.target/spu/intrinsics-sr.c: New test. From-SVN: r144178
2009-02-14Daily bump.GCC Administrator1-1/+1
From-SVN: r144176
2009-02-13thread (_Impl_base): Move _M_id out and into ...Chris Fairles7-46/+49
2009-02-13 Chris Fairles <cfairles@gcc.gnu.org> Benjamin Kosnik <bkoz@redhat.com> * include/std/thread (_Impl_base): Move _M_id out and into ... (thread): ...here. Call _M_make_routine in body of constructors. Adjust data member usage to reflect changes. (_M_make_routine): From _M_make_shared_data. (_M_start_thread): Add __shared_base_type argument. * src/thread.cc: Fixups for above. * config/abi/pre/gnu.ver: Adjust exports. * testsuite/30_threads/thread/native_handle/typesizes.cc: Enable. * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers. * testsuite/30_threads/thread/cons/copy_neg.cc: Same. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r144171
2009-02-13re PR fortran/38259 (Add version number to .mod file)Mikael Morin2-3/+28
2009-02-13 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38259 * module.c (gfc_dump_module,gfc_use_module): Add module version number. From-SVN: r144169
2009-02-13re PR target/38056 (Missed tail calls on ia64)Steve Ellcey5-2/+39
PR target/38056 * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check TARGET_CONST_GP. * gcc.target/ia64/sibcall-opt-1.c: New test. * gcc.target/ia64/sibcall-opt-2.c: New test. From-SVN: r144168
2009-02-13re PR fortran/36703 (ICE (segfault) in reduce_binary0 (arith.c:1778))Paul Thomas5-3/+205
2009-02-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/36703 PR fortran/36528 * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer function references to ensure that a valid expression is used. (gfc_conv_function_call): Pass Cray pointers to procedures. 2009-02-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/36528 * gfortran.dg/cray_pointers_8.f90: New test. PR fortran/36703 * gfortran.dg/cray_pointers_9.f90: New test. From-SVN: r144164
2009-02-13re PR c++/39070 (ICE with typeof() (... and __decltype))Jason Merrill6-6/+33
PR c++/39070 * semantics.c (finish_call_expr): Change koenig_p parm to int. If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates. * cp-tree.h: Adjust prototype. * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1. From-SVN: r144161
2009-02-13re PR target/39149 (Typo in i386.c)H.J. Lu2-6/+13
2009-02-13 H.J. Lu <hongjiu.lu@intel.com> PR target/39149 * config/i386/i386.c (override_options): Correct warning messages for -malign-loops, -malign-jumps and -malign-functions. From-SVN: r144160
2009-02-13re PR target/39152 (Revision 144098 breaks 416.gamess in SPEC CPU 2006)H.J. Lu4-1/+46
gcc/ 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> PR target/39152 * config/i386/i386.md: Restrict the new peephole2 to move between the general purpose registers. gcc/testsuite/ 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> PR target/39152 * gfortran.dg/gomp/pr39152.f90: New. From-SVN: r144158
2009-02-13re PR target/39162 (Gcc doesn't warn __m256 when -mavx isn't used)H.J. Lu4-33/+67
gcc/ 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> PR target/39162 * config/i386/i386.c (type_natural_mode): Add a new argument. Return the original mode and warn ABI change if vector size is 32byte. (function_arg_advance): Updated. (function_arg): Likewise. (ix86_function_value): Likewise. (ix86_return_in_memory): Likewise. (ix86_sol10_return_in_memory): Likewise. (ix86_gimplify_va_arg): Likewise. (function_arg_32): Don't warn ABX ABI change here. (function_arg_64): Likewise. gcc/testsuite/ 2009-02-13 H.J. Lu <hongjiu.lu@intel.com> PR target/39162 * gcc.target/i386/pr39162.c: New. From-SVN: r144157
2009-02-13* zh_CN.po: Update.Joseph Myers2-16/+18
From-SVN: r144156
2009-02-13bfin.c (find_prev_insn_start): New function.Bernd Schmidt2-18/+37
* config/bfin/bfin.c (find_prev_insn_start): New function. (bfin_optimize_loop): Use it in some cases instead of PREV_INSN. (find_next_insn_start): Move. From-SVN: r144153
2009-02-13loop-iv.c (implies_p): In the final case, test that operands 0 of the two ↵Bernd Schmidt2-1/+7
comparisons match. * loop-iv.c (implies_p): In the final case, test that operands 0 of the two comparisons match. From-SVN: r144152
2009-02-13configure.ac: Enable LFS.Richard Guenther8-14/+778
2009-02-13 Richard Guenther <rguenther@suse.de> * configure.ac: Enable LFS. * configure: Re-generate. * config.in: Likewise. libcpp/ * configure.ac: Enable LFS. * configure: Re-generate. * config.in: Likewise. From-SVN: r144151
2009-02-13re PR c/35444 (ICE with invalid function declaration)Joseph Myers5-0/+21
PR c/35444 * c-parser.c (c_parser_parms_list_declarator): Discard pending sizes on syntax error after some arguments have been parsed. testsuite: * gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c: New tests. From-SVN: r144149
2009-02-13all.h (compare_type_to_native_type_sizes): To...Benjamin Kosnik2-0/+180
2009-02-12 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To... (compare_type_to_native_type): ...this, add alignment check. * testsuite/30_threads/condition_variable_any/native_handle/ typesizes.cc: Modify as above. * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/thread/native_handle/typesizes.cc: Same. * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/condition_variable/native_handle/ typesizes.cc: Same. * testsuite/30_threads/recursive_timed_mutex/native_handle/ typesizes.cc: Same. * testsuite/30_threads/thread/cons/1.cc: Add comments. * testsuite/30_threads/thread/cons/2.cc: Same. * testsuite/30_threads/thread/cons/3.cc: Same. * testsuite/30_threads/thread/cons/4.cc: Same. * testsuite/30_threads/thread/cons/5.cc: Same. * testsuite/30_threads/thread/cons/6.cc: Same. * testsuite/30_threads/thread/cons/7.cc: Same. * testsuite/30_threads/thread/cons/8.cc: Same. * testsuite/30_threads/thread/cons/9.cc: New. * testsuite/30_threads/thread/cons/moveable.cc: New. * src/condition_variable.cc: Clean up whitespace. * include/std/condition_variable: Same. From-SVN: r144147
2009-02-13Daily bump.GCC Administrator1-1/+1
From-SVN: r144145
2009-02-13all.h (compare_type_to_native_type_sizes): To...Benjamin Kosnik19-79/+138
2009-02-12 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To... (compare_type_to_native_type): ...this, add alignment check. * testsuite/30_threads/condition_variable_any/native_handle/ typesizes.cc: Modify as above. * testsuite/30_threads/mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/thread/native_handle/typesizes.cc: Same. * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same. * testsuite/30_threads/condition_variable/native_handle/ typesizes.cc: Same. * testsuite/30_threads/recursive_timed_mutex/native_handle/ typesizes.cc: Same. * testsuite/30_threads/thread/cons/1.cc: Add comments. * testsuite/30_threads/thread/cons/2.cc: Same. * testsuite/30_threads/thread/cons/3.cc: Same. * testsuite/30_threads/thread/cons/4.cc: Same. * testsuite/30_threads/thread/cons/5.cc: Same. * testsuite/30_threads/thread/cons/6.cc: Same. * testsuite/30_threads/thread/cons/7.cc: Same. * testsuite/30_threads/thread/cons/8.cc: Same. * testsuite/30_threads/thread/cons/9.cc: New. * testsuite/30_threads/thread/cons/moveable.cc: New. * src/condition_variable.cc: Clean up whitespace. * include/std/condition_variable: Same. From-SVN: r144142
2009-02-12re PR c++/38950 (ICE: deducing function template arguments for array type.)Jason Merrill4-1/+21
PR c++/38950 * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type. From-SVN: r144139
2009-02-12config.host (ia64*-*-linux*): Add t-softfp to tmake_file.Uros Bizjak4-11/+18
* config.host (ia64*-*-linux*): Add t-softfp to tmake_file. * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype. From-SVN: r144138
2009-02-12* doc/invoke.texi (-fira): Remove.Jakub Jelinek2-9/+7
From-SVN: r144137
2009-02-12caller-save.c: Replace regclass.c with reginfo.c in comments.H.J. Lu4-5/+11
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * caller-save.c: Replace regclass.c with reginfo.c in comments. * recog.c: Likewise. * rtl.h: Likewise. From-SVN: r144135
2009-02-12fp-int-convert-float128-timode.c: Do not check for lp64 in "dg-do run" ↵Uros Bizjak4-4/+9
directive. * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not check for lp64 in "dg-do run" directive. Remove dg-xfail-if directive. * gcc.dg/torture/fp-int-convert-timode.c: Remove xfail directive. From-SVN: r144134
2009-02-12longlong.h (sub_ddmmss): New for ia64.H.J. Lu20-8/+508
gcc/ 2009-02-12 Uros Bizjak <ubizjak@gmail.com> * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2. (umul_ppmm): Likewise. (count_leading_zeros): Likewise. (count_trailing_zeros): Likewise. (UMUL_TIME): Likewise. 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Add ia64/t-fprules-softfp soft-fp/t-softfp to tmake_file for ia64*-*-linux*. * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New. (ia64_expand_compare): Use HPUX library for TFmode only for HPUX. (ia64_builtins): Add IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ. (ia64_init_builtins): Initialize __builtin_infq, __builtin_fabsq and __builtin_copysignq if not HPUX. (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ. * config/ia64/lib1funcs.asm (__divtf3): Define only if SHARED is defined. (__fixtfti): Likewise. (__fixunstfti): Likewise. (__floattitf): Likewise. * config/ia64/libgcc-glibc.ver: New. * config/ia64/t-fprules-softfp: Likewise. * config/ia64/sfp-machine.h: Likewise. * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New. (LIBGCC2_TF_CEXT): Likewise. (TF_SIZE): Likewise. (TARGET_INIT_LIBFUNCS): Likewise. * config/ia64/t-glibc: Add $(srcdir)/config/ia64/libgcc-glibc.ver to SHLIB_MAPFILES. libgcc/ 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config.host: Add ia64/t-fprules-softfp ia64/t-softfp-compat to tmake_file for ia64*-*-linux*. * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*. * config/ia64/__divxf3.asm: New. * config/ia64/_fixtfdi.asm: Likewise. * config/ia64/_fixunstfdi.asm: Likewise. * config/ia64/_floatditf.asm: Likewise. * config/ia64/t-fprules-softfp: Likewise. * config/ia64/t-softfp-compat: Likewise. * config/ia64/tf-signs.c: Likewise. From-SVN: r144130
2009-02-12Mention PR target/38824 in ChangeLog entries.H.J. Lu2-0/+2
From-SVN: r144129
2009-02-12i386.c (construct_container): Rewrite processing BLKmode with X86_64_SSE_CLASS.H.J. Lu2-12/+31
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (construct_container): Rewrite processing BLKmode with X86_64_SSE_CLASS. From-SVN: r144128
2009-02-12defaulted9.C: Compile with "-std=c++0x -fno-inline".H.J. Lu2-0/+5
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/cpp0x/defaulted9.C: Compile with "-std=c++0x -fno-inline". From-SVN: r144127
2009-02-12re PR target/39152 (Revision 144098 breaks 416.gamess in SPEC CPU 2006)H.J. Lu4-1/+34
gcc/ 2009-02-12 Paolo Bonzini <bonzini@gnu.org> PR target/39152 * config/i386/i386.md: Replace simplify_replace_rtx with replace_rtx in the new peephole2. gcc/testsuite/ 2009-02-12 H.J. Lu <hongjiu.lu@intel.com> PR target/39152 * gfortran.dg/pr39152.f: New. From-SVN: r144126
2009-02-12invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do ↵Nathan Sidwell2-2/+6
not happen at -O2. * doc/invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do not happen at -O2. From-SVN: r144123
2009-02-12* gcc.c (ASM_DEBUG_SPEC): Check for -g0.Michael Matz2-4/+8
From-SVN: r144122
2009-02-12dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die for -g3.Jakub Jelinek2-1/+8
* dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die for -g3. From-SVN: r144121
2009-02-12rs6000.md (allocate_stack): Use _stack form of patterns when updating the ↵Ben Elliston2-2/+8
back chain. * config/rs6000/rs6000.md (allocate_stack): Use _stack form of patterns when updating the back chain. Missed in the 2009-02-10 change. From-SVN: r144120
2009-02-11re PR c++/39153 (virtual default dtor not defined)Jason Merrill4-1/+25
PR c++/39153 * decl2.c (cp_write_global_declarations): Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL. From-SVN: r144119
2009-02-12Daily bump.GCC Administrator1-1/+1
From-SVN: r144117
2009-02-12extend.texi (Decimal Floating Types): Update identifier of draft TR and list ↵Janis Johnson2-2/+16
of missing support. * doc/extend.texi (Decimal Floating Types): Update identifier of draft TR and list of missing support. From-SVN: r144114
2009-02-11re PR c++/30111 (Value-initialization of POD base class doesn't initialize ↵Jason Merrill6-6/+78
members) PR c++/30111 * init.c (build_value_init_noctor): Split out from... (build_value_init): ...here. (expand_aggr_init_1): Handle value-initialization. * cp-tree.h: Add declaration. * class.c (type_has_user_provided_constructor): Handle non-class arguments. From-SVN: r144112
2009-02-11re PR middle-end/39154 (Miscompilation of VLAs in nested parallel regions)Jakub Jelinek4-0/+131
PR middle-end/39154 * gimplify.c (omp_notice_variable): If adding GOVD_SEEN bit to variable length decl's flags, add it also to its pointer replacement variable. * testsuite/libgomp.c/pr39154.c: New test. From-SVN: r144111
2009-02-11re PR target/39118 (x86_64 red zone violation)Uros Bizjak3-21/+52
PR target/39118 * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant. (memory_blockage): New expander. (*memory_blockage): New insn pattern. * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage instead of general blockage at the end of function prologue when frame pointer is used to access red zone area. Do not emit blockage when profiling, it is emitted in generic code. (ix86_expand_epilogue): Emit memory_blockage at the beginning of function epilogue when frame pointer is used to access red zone area. From-SVN: r144100
2009-02-11mh-cygwin (LDFLAGS): Add linker option to increase stack limit up to 8MB.Kai Tietz2-0/+8
2009-02-11 Kai Tietz <kai.tietz@onevision.com> * mh-cygwin (LDFLAGS): Add linker option to increase stack limit up to 8MB. From-SVN: r144099
2009-02-11i386.md: Add two new peephole2 to avoid mov followed by arithmetic with ↵Paolo Bonzini5-0/+67
memory operands. gcc: 2009-02-06 Paolo Bonzini <bonzini@gnu.org> * config/i386/i386.md: Add two new peephole2 to avoid mov followed by arithmetic with memory operands. * config/i386/predicates.md (commutative_operator): New. gcc/testsuite: 2009-02-06 Paolo Bonzini <bonzini@gnu.org> * gcc.target/i386/pr38824.c: New testcase. From-SVN: r144098
2009-02-11re PR c++/38649 (Trouble with defaulted constructors)Jason Merrill4-3/+18
PR c++/38649 * class.c (defaultable_fn_p): Handle ... properly. From-SVN: r144092
2009-02-11re PR c++/36744 ([C++0x] function modifying argument received by-value ↵Jason Merrill4-1/+39
affects caller's variable when passed as rvalue) PR c++/36744 * tree.c (lvalue_p_1): Condition rvalue ref handling on treat_class_rvalues_as_lvalues, too. From-SVN: r144091
2009-02-11Daily bump.GCC Administrator1-1/+1
From-SVN: r144089