Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145119 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145118 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
* 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-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-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-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-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-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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145100 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
* 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
|
|
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
|
|
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
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145085 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145083 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
* Tweak last ChangeLog entry.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145079 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
* 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
|
|
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
|
|
* 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
|
|
* testsuite/libgomp.c/atomic-6.c: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145061 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
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
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145053 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145046 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
* config/cris/t-linux (SHLIB_MAPFILES): Use it.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145037 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
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
|
|
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
|
|
* 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
|
|
* 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
|
|
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
|
|
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
|
|
* config/m68k/t-rtems: Add m5329 multilib.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145024 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145022 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@145015 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
(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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|