aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-27Fix for PR39557Xinliang David Li
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145119 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27Fix for PR39548Xinliang David Li
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145118 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-272009-03-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu
* c-common.c (pointer_int_sum): Use %wd on return from tree_low_cst. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145112 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-272009-03-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu
* c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC on return from tree_low_cst. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145109 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27gcc/cp/Andrew Pinski
2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c++/38638 * parser.c (cp_parser_elaborated_type_specifier): If we have a typename tag and don't have either a TYPE_DECL or a TEMPLATE_ID_EXPR, set the type to NULL. gcc/testsuite/ 2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c++/38638 * g++.dg/template/typename17.C: New testcase. * g++.dg/template/typename18.C: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145107 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27gcc/Andrew Pinski
2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c++/36799 * ginclude/stdarg.h (va_copy): Define also for __GXX_EXPERIMENTAL_CXX0X__. gcc/testsuite/ 2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c++/36799 * g++.dg/other/var_copy-1.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145106 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27gcc/cp/Simon Martin
2009-03-27 Simon Martin <simartin@users.sourceforge.net> PR c++/37647 * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class scope. gcc/testsuite/ 2009-03-27 Simon Martin <simartin@users.sourceforge.net> PR c++/37647 * g++.dg/parse/ctor9.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145105 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27gcc/cp/Simon Martin
2009-03-27 Simon Martin <simartin@users.sourceforge.net> PR c++/29727 * decl.c (check_array_designated_initializer): Handle error_mark_node. gcc/testsuite/ 2009-03-27 Simon Martin <simartin@users.sourceforge.net> PR c++/29727 * g++.dg/init/error2.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145104 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27gcc/Manuel Lopez-Ibanez
2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/35652 * builtins.h (c_strlen): Do not warn here. * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum. * c-common.c (pointer_int_sum): Take an explicit location. Warn about offsets out of bounds. * c-common.h (pointer_int_sum): Adjust declaration. gcc/cp/ 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/35652 * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum. gcc/testsuite/ 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/35652 * gcc.dg/pr35652.C: New. * g++.dg/warn/pr35652.C: New. * gcc.dg/format/plus-1.c: Adjust message. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145102 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-27Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145100 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-26gcc/Ralf Wildenhues
* doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo markup glitch. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145095 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-26 PR c++/39554Jakub Jelinek
* opts.c (warn_if_disallowed_function_p): Don't assume get_callee_fndecl must return non-NULL. * gcc.dg/wdisallowed-functions-3.c: New test. * g++.dg/warn/Wdisallowed-functions-3.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145094 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-262009-03-26 Vladimir Makarov <vmakarov@redhat.com>Vladimir Makarov
PR rtl-optimization/39522 * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too when reg_reloaded_valid is set. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145093 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-262009-03-26 Andrew Haley <aph@redhat.com>Andrew Haley
PR C++/39380 * decl2.c (possibly_inlined_p): If java exceptions are in use don't inline a decl unless it is explicitly marked inline. * lex.c: (pragma_java_exceptions): New variable. (handle_pragma_java_exceptions): Set pragma_java_exceptions. * cp-tree.h (pragma_java_exceptions): Declare new variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145091 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-26 * config/spu/divv2df3.c: New file.Ulrich Weigand
* config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it. (DPBIT_FUNCS): Filter out _div_df. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145089 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-26 * gcc.dg/inline-33.c: Fix when pic.Kaveh Ghazi
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145085 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-26Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145083 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25 * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes beforeBernd Schmidt
a jump insn, count that jump in the distance to the loop start. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145080 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
* Tweak last ChangeLog entry. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145079 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Edward Smith-Rowland <3dw4rd@verizon.net>Paolo Carlini
* include/std/fstream (basic_filebuf<>::open(const std::string&, ios_base::openmode), basic_ifstream<>::basic_ifstream(const std::string&, ios_base::openmode), basic_ifstream<>:: open(const std::string&, ios_base::openmode), basic_ofstream<>:: basic_ofstream(const std::string&, ios_base::openmode), basic_ofstream<>::open(const std::string&, ios_base::openmode), basic_fstream<>::basic_fstream(const std::string&, ios_base::openmode), basic_fstream<>::open(const std::string&, ios_base::openmode)): Add in C++0x mode. * testsuite/27_io/basic_ofstream/open/char/2.cc: New. * testsuite/27_io/basic_ofstream/cons/char/2.cc: Likewise. * testsuite/27_io/basic_fstream/open/char/1.cc: Likewise. * testsuite/27_io/basic_fstream/cons/char/1.cc: Likewise. * testsuite/27_io/basic_ifstream/open/char/1.cc: Likewise. * testsuite/27_io/basic_ifstream/cons/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/5.cc: Likewise. 2009-03-25 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/27_io/basic_ofstream/cons/char/2.cc: Rename to... * testsuite/27_io/basic_ofstream/cons/char/1.cc: ... this. * testsuite/27_io/basic_fstream/cons/3.cc: Rename to... * testsuite/27_io/basic_fstream/cons/1.cc: ... this. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145078 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25 PR target/39523Kaz Kojima
* config/sh/sh.c (calc_live_regs): Fix condition for global registers except PIC_OFFSET_TABLE_REGNUM. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145077 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Kai Tietz <kai.tietz@onevision.com>Kai Tietz
PR/39518 * doc/invoke.texi (-mconsole): New. (-mcygwin): New. (-mno-cygwin): New. (-mdll): New. (-mnop-fun-dllimport): New. (-mthread): New. (-mwin32): New. (-mwindows): New. (sub section "i386 and x86-64 Windows Options"): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145070 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini
* include/bits/forward_list.h (_Fwd_list_node_base<>:: _M_transfer_after, _M_reverse_after): Move out of line... * include/bits/forward_list.tcc: ... here. (forward_list<>::reverse): Move inline... * include/bits/forward_list.h: ... here; minor cosmetic changes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145069 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25 * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage.Uros Bizjak
* testsuite/libgomp.c/atomic-6.c: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145061 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC. * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145060 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-24 Richard Guenther <rguenther@suse.de>Richard Guenther
PR middle-end/39497 * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead of -Wno-error. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145057 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-252009-03-25 Andrey Belevantsev <abel@ispras.ru>Alexander Monakov
Alexander Monakov <amonakov@ispras.ru> * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when neither of haifa/selective schedulers are working. * gcc.target/ia64/20090324-1.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145055 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25Update my email address.Erven Rohou
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145053 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25 PR c/27898Jakub Jelinek
* gcc.dg/pr27898.c: New test. PR tree-optimization/32139 * gcc.c-torture/compile/pr32139.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145052 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25gcc/Ralf Wildenhues
* doc/invoke.texi (Debugging Options): Fix description of -fno-merge-debug-strings. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145051 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-25Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145046 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 PR c++/28274Jason Merrill
* name-lookup.c (pushdecl_maybe_friend): Check default args later. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145042 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 * config/cris/libgcc.ver: New version-script.Hans-Peter Nilsson
* config/cris/t-linux (SHLIB_MAPFILES): Use it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145037 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 * configure.ac <GAS features, nop mnemonic>: Add patternHans-Peter Nilsson
crisv32-*-* for "nop". <GAS features, Thread-local storage>: Add item for CRIS and CRIS v32. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145036 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-242009-03-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libfortran/39528 * gfortran.dg/read_repeat.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145031 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-242009-03-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libfortran/39528 * io/list_read.c (list_formatted_read_scalar): Move check for read completion to just after the check for a repeated value. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145030 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 PR tree-optimization/39529Ira Rosen
* tree-vect-transform.c (vect_create_data_ref_ptr): Call mark_sym_for_renaming for the tag copied to the new vector pointer. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145029 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-242009-03-24 Arthur Loiret <aloiret@debian.org>Arthur Loiret
* config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha. * config/alpha/linux.h (host_detect_local_cpu): Declare, add to EXTRA_SPEC_FUNCTIONS. (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros. * config/alpha/driver-alpha.c, config/alpha/x-alpha: New. * doc/invoke.texi (DEC Alpha Options): Document 'native' value for -march and -mtune options. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145028 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc:Mark Mitchell
Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145027 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24 * testsuite/25_algorithms/search_n/iterator.cc: Update copyrightMark Mitchell
year(s). * testsuite/25_algorithms/heap/moveable.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145026 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-242009-03-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* config/m68k/t-rtems: Add m5329 multilib. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145024 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-24Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145022 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 PR debug/39524Dodji Seketeli
* dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration nodes. * g++.dg/debug/dwarf2/imported-decl-1.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145018 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23add PR tagJason Merrill
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145015 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 PR c/39495Jakub Jelinek
* c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression instead of c_parser_expression_conv, if original_code isn't one of the 4 allowed comparison codes, fail. * semantics.c (handle_omp_for_class_iterator): Swap cond operands and code if iter is the second operand. * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p argument. If it is set, don't build the toplevel expression with build_x_binary_op, but build2. (cp_parser_assignment_expression, cp_parser_omp_for_incr): Adjust callers. (cp_parser_omp_for_cond): Don't assume the first operand of the comparison must be decl. * gcc.dg/gomp/pr39495-2.c: Remove xfails. * testsuite/libgomp.c/loop-12.c: New test. * testsuite/libgomp.c/loop-11.c: New test. * testsuite/libgomp.c++/loop-11.C: New test. * testsuite/libgomp.c++/loop-12.C: New test. * testsuite/libgomp.c++/for-8.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145014 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 * gcc/cp/pt.c (make_fnparm_pack): Split out from...Jason Merrill
(instantiate_decl): ...here. (tsubst_pack_expansion): Handle being called in a late-specified return type. * libiberty/cp-demangle.c (d_expression): Handle pack expansion. (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM. (d_print_subexpr): Don't wrap function parms in (). (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle not finding a pack. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145013 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 PR c++/39526Jason Merrill
* name-lookup.c (pushdecl_maybe_friend): Don't warn about shadowing a parm with a parm. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145012 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-232009-03-23 Richard Guenther <rguenther@suse.de>Richard Guenther
* cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts. * tree.h (struct tree_type): Likewise. * reload.h (struct insn_chain): Likewise. * dwarf2out.c (struct dw_loc_descr_struct): Likewise. * function.h (struct function): Likewise. * tree-ssa-structalias.c (struct equiv_class_label): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145009 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-23 PR tree-optimization/39516Jakub Jelinek
* lambda-code.c (perfect_nestify): Fix type of the uboundvar variable. * gfortran.dg/pr39516.f: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145008 138bc75d-0d04-0410-961f-82ee72b054a4
2009-03-232009-03-23 Bingfeng Mei <bmei@broadcom.com>Bingfeng Mei
* config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint should be set true if BITS_PER_WORD of target is bigger than 32 git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145006 138bc75d-0d04-0410-961f-82ee72b054a4