aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15rx.h (WCHAR_TYPE, [...]): Define.Joseph Myers3-1/+10
* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (rx-*-elf*): Don't use svr4.h. From-SVN: r167851
2010-12-15Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.Rainer Orth3-6/+16
* Makefile.am (liblto_plugin_la_DEPENDENCIES): Define. (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty. (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty. * Makefile.in: Regenerate. From-SVN: r167850
2010-12-15decl.c (java_init_decl_processing): Initialise integer_three_node.Dave Korn3-1/+9
* decl.c (java_init_decl_processing): Initialise integer_three_node. * lang.c (put_decl_node): Handle nested function decls. From-SVN: r167849
2010-12-15re PR testsuite/46938 (FAIL: gcc.dg/pr43157.c (test for excess errors))Dave Korn2-0/+6
PR testsuite/46938 * gcc.dg/pr43157.c: Add dg-require-linker-plugin directive. From-SVN: r167848
2010-12-15Check for errors when converting array index to GENERIC.Ian Lance Taylor1-0/+12
From-SVN: r167846
2010-12-15Don't crash on undefined anonymous field.Ian Lance Taylor1-10/+20
From-SVN: r167845
2010-12-15Fix PR46845: handle scop parameters before scev analysis.Sebastian Pop4-3/+33
2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46845 * sese.c (scalar_evolution_in_region): Handle scop parameters before scev analysis. * gcc.dg/graphite/id-pr46845.c: New. From-SVN: r167844
2010-12-15Fix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter ↵Sebastian Pop4-2/+64
of the loop. 2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46928 * tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]" in data dependence analysis with p a parameter of the loop. * gcc.dg/tree-ssa/ldist-17.c: New. From-SVN: r167843
2010-12-15Fix PR45948: add ssa defs from builtin partitions to the last partition.Sebastian Pop4-0/+135
2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/45948 * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New. (stmt_has_scalar_dependences_outside_loop): New. (stmt_generated_in_another_partition): New. (add_scalar_computations_to_partition): New. (rdg_build_partitions): Call add_scalar_computations_to_partition. * gcc.dg/tree-ssa/ldist-pr45948.c: New. From-SVN: r167842
2010-12-15arc.h (LIB_SPEC): Define.Joseph Myers3-1/+9
* config/arc/arc.h (LIB_SPEC): Define. * config.gcc (arc-*-elf*): Don't use svr4.h. From-SVN: r167840
2010-12-15re PR libstdc++/46951 (30_threads/future/members/45133.cc failed)Jonathan Wakely3-2/+14
2010-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/46951 * testsuite/30_threads/future/members/45133.cc: Fix dg-options. * testsuite/30_threads/shared_future/members/45133.cc: Likewise. From-SVN: r167839
2010-12-15Don't store error types in the Type-to-GENERIC hash table.Ian Lance Taylor1-0/+11
From-SVN: r167838
2010-12-15In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero3-6/+11
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * ivars.c (class_addIvar): Use the 'size' argument instead of trying to calculate it using objc_sizeof_type(). * objc/runtime.h (class_addIvar): Updated comments. From-SVN: r167837
2010-12-15Don't get confused by error types in traversal.Ian Lance Taylor1-0/+2
From-SVN: r167836
2010-12-15sendmsg.c: Reindented some code and tidied up comments.Nicola Pero2-133/+139
2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * sendmsg.c: Reindented some code and tidied up comments. No actual code changes. From-SVN: r167835
2010-12-14re PR c++/46930 ([C++0x] ICE with static constexpr data member)Jason Merrill6-4/+34
PR c++/46930 * decl.c (grokdeclarator): Reject uninitialized constexpr static data member. From-SVN: r167834
2010-12-15Daily bump.GCC Administrator1-1/+1
From-SVN: r167833
2010-12-15elf.h (LIB_SPEC): Define.Joseph Myers3-8/+15
* config/sh/elf.h (LIB_SPEC): Define. * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*, sh-wrs-vxworks): Don't use svr4.h. From-SVN: r167829
2010-12-15Don't crash building initializer of invalid array.Ian Lance Taylor1-0/+5
From-SVN: r167828
2010-12-14Don't crash on invalid slice composite literal.Ian Lance Taylor1-0/+7
From-SVN: r167827
2010-12-14Fix comparison of string and interface types.Ian Lance Taylor1-9/+7
From-SVN: r167826
2010-12-14Object.h: Moved all the methods, with the exception of -class and -isEqual:, ↵Nicola Pero4-113/+115
into ... 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com> * objc/Object.h: Moved all the methods, with the exception of -class and -isEqual:, into ... * objc/deprecated/Object.h: here. * Object.m: Moved all the methods, with the exception of -class and -isEqual: into the 'Deprecated' category. From-SVN: r167825
2010-12-14Don't try to build unary and binary expressions with invalid types.Ian Lance Taylor1-22/+20
From-SVN: r167824
2010-12-14re PR libstdc++/45133 ([c++0x] std::future will crash with NULL deref if ↵Jonathan Wakely4-3/+214
get() is called twice) 2010-12-14 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/45133 * include/std/future (__basic_future::wait): Throw if not valid. (__basic_future::wait_for): Likewise. (__basic_future::wait_until): Likewise. (__basic_future::_M_get_result): Likewise. * testsuite/30_threads/future/members/45133.cc: New. * testsuite/30_threads/shared_future/members/45133.cc: New. From-SVN: r167823
2010-12-14re PR lto/46940 (asm aliases with linker plugin segfaults)Jan Hubicka5-2/+48
PR lto/46940 PR lto/44463 * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Construct nodes for aliases when they are used. * gcc.dg/lto/pr46940_0.c: New testcase. * gcc.dg/lto/pr46940_1.c: New testcase. From-SVN: r167822
2010-12-14Don't crash on invalid closure.Ian Lance Taylor1-6/+11
From-SVN: r167821
2010-12-14Don't crash on invalid parameters/results.Ian Lance Taylor3-28/+82
From-SVN: r167820
2010-12-14re PR libstdc++/46910 (std::shared_ptr requires public destructor for a ↵Jonathan Wakely5-12/+65
class with friend deleter) 2010-12-14 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/46910 * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Do not derive from _Sp_counted_ptr. * testsuite/20_util/shared_ptr/cons/46910.cc: New. * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust. From-SVN: r167819
2010-12-14objects.c (object_copy): Do not #undef as we are no longer including ↵Nicola Pero3-23/+27
objc/objc-api.h. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com> * objects.c (object_copy): Do not #undef as we are no longer including objc/objc-api.h. * selector.c: Include objc/runtime.h and objc-private/module-abi-8.h. Do not include objc/objc-api.h and objc/encoding.h. Updated (__objc_register_selectors_from_class): Use struct objc_method_list * instead of MethodList_t. (__objc_register_selectors_from_list): Use Method instead of Method_t. (struct objc_method_description_list): Do not define here. (__objc_register_instance_methods_to_class): Use struct objc_method_list * instead of MethodList_t and Method instead of Method_t. From-SVN: r167818
2010-12-14Indented two lines that I missed in last commit. No code changesNicola Pero1-2/+2
From-SVN: r167817
2010-12-14Check for duplicate methods.Ian Lance Taylor2-12/+71
Don't get into an endless loop given invalid recursive types. From-SVN: r167816
2010-12-14selector.c: Reindented some code and tidied up comments.Nicola Pero2-82/+93
2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com> * selector.c: Reindented some code and tidied up comments. No actual code changes. From-SVN: r167815
2010-12-14re PR c++/45330 (Suggest likely nested-name-specifiers for undeclared ↵Nathan Froyd8-41/+66
identifiers.) gcc/cp/ PR c++/45330 * cp-tree.h (suggest_alternatives_for): Add location_t parameter. * name-lookup.c (suggest_alternatives_for): Likewise. Adjust. * lex.c (unqualified_name_lookup_error): Adjust call to it. * semantics.c (qualified_name_lookup_error): Move to... * error.c (qualified_name_lookup_error): ...here. Call. suggest_alternatives_for. gcc/testsuite/ PR c++/45330 * g++.dg/lookup/suggestions1.C: New test. From-SVN: r167814
2010-12-14config.gcc (sparc-*-elf*, [...]): Don't use svr4.h.Joseph Myers2-11/+18
* config.gcc (sparc-*-elf*, sparc-*-rtems*, sparc-*-linux*, sparc-*-netbsdelf*, sparc*-*-solaris2*, sparc-wrs-vxworks, sparc64-*-elf*, sparc64-*-rtems*, sparc64-*-linux*, sparc64-*-netbsd*, sparc64-*-openbsd*): Don't use svr4.h. From-SVN: r167813
2010-12-14Don't crash on erroneous receiver or parameters.Ian Lance Taylor1-8/+26
From-SVN: r167812
2010-12-14Correct handling of undefined name as key in map composite literal.Ian Lance Taylor2-5/+22
From-SVN: r167810
2010-12-14Insert semicolon at EOF if necessary.Ian Lance Taylor1-1/+7
From-SVN: r167809
2010-12-14Correct protection against recursive types.Ian Lance Taylor1-11/+8
From-SVN: r167807
2010-12-14re PR fortran/46937 (gfortran.dg/pointer_intent_1.f90 FAILs with -fno-inline)Tobias Burnus4-1/+48
2010-12-14 Tobias Burnus <burnus@net-b.de> PR fortran/46937 * trans-types.c (create_fn_spec): "."-annotate derived types with (proc-)pointer components. 2010-12-14 Tobias Burnus <burnus@net-b.de> PR fortran/46937 * gfortran.dg/pointer_intent_4.f90: New. From-SVN: r167806
2010-12-14arm.c (arm_expand_prologue): Report the static stack size if -fstack-usage ↵Thomas Klein2-0/+14
is used. * config/arm/arm.c (arm_expand_prologue): Report the static stack size if -fstack-usage is used. (thumb1_expand_prologue): Likewise. From-SVN: r167805
2010-12-14re PR middle-end/46885 (ICE: in gsi_insert_seq_nodes_after, at ↵Jakub Jelinek4-1/+34
gimple-iterator.c:251 with -ftree-parallelize-loops -g) PR debug/46885 * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Use gsi_last_bb instead of gsi_last_nondebug_bb if bump_in_latch. * gcc.dg/autopar/pr46885.c: New test. From-SVN: r167801
2010-12-14re PR tree-optimization/46909 (Logical OR expressions are miscompiled)Jakub Jelinek6-21/+105
PR tree-optimization/46909 * gimple-fold.c (and_var_with_comparison_1): Save partial result even in the is_and case, if both partial results are the same, return it. (or_var_with_comparison_1): Use is_or predicate instead of innercode == TRUTH_OR_EXPR test. Save partial result even in the is_or case, if both partial results are the same, return it. In the !is_or case when both partial results are the same, return the partial result instead of boolean_true_node. * gcc.c-torture/execute/pr46909-1.c: New test. * gcc.c-torture/execute/pr46909-2.c: New test. * gcc.dg/pr46909.c: New test. From-SVN: r167800
2010-12-14re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at ↵Jakub Jelinek2-5/+5
fortran/trans-array.c:147) PR fortran/46874 * trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable dummy variables. * libgomp.fortran/allocatable6.f90: New test. From-SVN: r167799
2010-12-14re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at ↵Jakub Jelinek4-8/+76
fortran/trans-array.c:147) PR fortran/46874 * trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable dummy variables. * libgomp.fortran/allocatable6.f90: New test. From-SVN: r167798
2010-12-14re PR middle-end/46667 (-freorder-blocks-and-partition -g failed and ↵Jan Hubicka3-2/+10
libstdc++ builds for arm-eabi are broken.) PR middle-end/46667 * varasm.c (assemble_start_function): Do not call resolve_unique_section. * cfgexpand.c (gimple_expand_cfg): Resolve it here. From-SVN: r167795
2010-12-14re PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many ↵Alexander Monakov5-3/+42
outgoing branch edges from bb 3 with -Os -fselective-scheduling2) PR rtl-optimization/46875 * sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs. * sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps. testsuite: * gcc.dg/pr46875.c: New. From-SVN: r167794
2010-12-14first-global.C: Update regexp to match new names of ctors.Jan Hubicka2-1/+6
* g++.dg/other/first-global.C: Update regexp to match new names of ctors. From-SVN: r167791
2010-12-14h8300.md (define_split): Add condition for "and with single_zero" splitter ↵Kaushik Phatak3-6/+82
to handle 16-bit const operands. * config/h8300/h8300.md (define_split) : Add condition for "and with single_zero" splitter to handle 16-bit const operands. * config/h8300/h8300.md (define_split) : Add condition for "ior with single_one" splitter to handle 16-bit const operands. * config/h8300/h8300.md (define_split) : Add condition for "xor with single_one" splitter to handle 16-bit const operands. * testsuite/gcc.dg/h8300-bit-insn-ice.c: New. From-SVN: r167789
2010-12-14Don't incorrectly parse expression as type switch.Ian Lance Taylor3-17/+28
Improve error reporting of invalid type assertions. From-SVN: r167787
2010-12-14* MAINTAINERS: Added myself to MAINTAINERS (write after approval)Kaushik Phatak2-0/+5
From-SVN: r167786