- 14 Jul, 2013 5 commits
-
-
2013-07-14 Thomas Koenig <tkoenig@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org> PR fortran/52669 * trans-decl.c (gfc_finish_var_decl): Move setting of PRIVATE for a module variable if the module has a private default or -fmodule-private is given to... (gfc_create_module_variable): here. Optionally warn about private module variable which is not used. 2013-07-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/52669 * fortran.dg/module_variable_1.f90: New test. * fortran.dg/module_variable_2.f90: New test. Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org> From-SVN: r200950
Thomas Koenig committed -
* gcc/cp/semantics.c (build_lambda_expr), (build_lambda_object), (begin_lambda_type), (lambda_return_type), (lambda_function), (lambda_capture_field_type), (is_capture_proxy), (is_normal_capture_proxy), (insert_capture_proxy), (insert_pending_capture_proxies), (lambda_proxy_type), (build_capture_proxy), (vla_capture_type), (register_capture_members), (add_default_capture), (lambda_expr_this_capture), (maybe_resolve_dummy), (nonlambda_method_basetype), (maybe_add_lambda_conv_op) and (is_lambda_ignored_entity): Moved definitions into ... * gcc/cp/lambda.c: ... this new file. From-SVN: r200948
Adam Butcher committed -
2013-07-14 Marc Glisse <marc.glisse@inria.fr> gcc/cp/ * call.c (build_conditional_expr_1): Handle the case with 1 vector and 2 scalars. Call save_expr before building a vector. * typeck.c (cp_build_binary_op): Check complain before complaining. gcc/testsuite/ * g++.dg/ext/vector19.C: Adapt. * g++.dg/ext/vector23.C: New testcase. From-SVN: r200947
Marc Glisse committed -
PR tree-optimization/54094 * graphite-clast-to-gimple.c (translate_clast_for_loop): Derive the scheduling dimension for the parallelism check from the polyhedral information in the AST. * graphite-dependences.c (carries_deps): Do not assume the schedule is in 2D + 1 form. From-SVN: r200946
Tobias Grosser committed -
From-SVN: r200944
GCC Administrator committed
-
- 13 Jul, 2013 7 commits
-
-
PR c++/55203 c-family/ * c-common.c (c_common_attribute_table): Add warn_unused. (handle_warn_unused_attribute): New. cp/ * init.c (build_aggr_init): Check for warn_unused attribute. * decl.c (poplevel): Likewise. From-SVN: r200941
Lubos Lunak committed -
* print-tree.c (debug_vec_tree): Use debug_raw. (debug_raw (vec<tree, va_gc> &)): New. (debug_raw (vec<tree, va_gc> *)): New. * tree.h: Declare them. From-SVN: r200940
Jason Merrill committed -
PR c++/57402 * init.c (build_vec_init): Use {} for arrays of class type. (build_vec_delete): Don't take the address of the array. From-SVN: r200939
Jason Merrill committed -
PR c++/57793 c/ * c-decl.c (finish_struct): Check for too-large class. cp/ * class.c (layout_class_type): Check for too-large class. From-SVN: r200938
Jason Merrill committed -
* call.c (can_convert): Allow user-defined conversions. (can_convert_standard): New. * cp-tree.h: Declare it. * cvt.c (convert_to_reference): Use it. * pt.c (convert_nontype_argument): Likewise. * search.c (check_final_overrider): Likewise. Don't worry about user-defined conversions. From-SVN: r200937
Jason Merrill committed -
* ifcvt.c (ifcvt_after_combine): New static variable. (cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing for size. (if_convert): New parameter after_combine. Set ifcvt_after_combine. (rest_of_handle_if_conversion, rest_of_handle_if_after_combine, rest_of_handle_if_after_reload): Pass new argument for if_convert. From-SVN: r200936
Bin Cheng committed -
From-SVN: r200935
GCC Administrator committed
-
- 12 Jul, 2013 5 commits
-
-
From-SVN: r200928
Maciej W. Rozycki committed -
PR middle-end/55771 * convert.c (convert_to_real): Reject non-float inner types. testsuite/ * c-c++-common/pr55771.c: New test. From-SVN: r200926
Michael Matz committed -
gcc/ * config/aarch64/aarch64-protos.h (aarch64_simd_immediate_valid_for_move): Remove. * config/aarch64/aarch64.c (simd_immediate_info): New member. (aarch64_simd_valid_immediate): Recognize idioms for shifting ones cases. (aarch64_output_simd_mov_immediate): Print the correct shift specifier. testsuite/ * gcc.target/aarch64/vect-movi.c: New. From-SVN: r200922
Tejas Belagod committed -
From-SVN: r200919
Kaushik Phatak committed -
From-SVN: r200918
GCC Administrator committed
-
- 11 Jul, 2013 9 commits
-
-
mips.c (mips_conditional_register_usage): Do not use t[0-7] registers in MIPS16 mode when optimizing for size. 2013-07-11 Steve Ellcey <sellcey@mips.com> * config/mips/mips.c (mips_conditional_register_usage): Do not use t[0-7] registers in MIPS16 mode when optimizing for size. From-SVN: r200914
Steve Ellcey committed -
re PR c++/57362 (unsupported __attribute__((target())) values appear to cause loop and/or pathological behavior) PR 57362 PR target/57362 * config/i386/i386.c (dispatch_function_versions): Fix array indexing of function_version_info to match actual_versions. PR target/57362 * g++.dg/ext/pr57362.C: New. From-SVN: r200913
Sriraman Tallam committed -
From-SVN: r200911
Joseph Myers committed -
This patch adds a call to ggc_free from va_gc::release, which is called by vec_free. This restores the functionality of the old VEC_free and reduces the memory footprint during compilation. 2013-07-11 Teresa Johnson <tejohnson@google.com> * vec.h (struct va_gc): Move release out-of-line. (va_gc::release): Call ggc_free on released vec. From-SVN: r200909
Teresa Johnson committed -
rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"): Require GOT register as additional operand in UNSPEC. * config/rs6000/rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"): Require GOT register as additional operand in UNSPEC. ("*tls_ld_low<TLSmode:tls_abi_suffix>"): Likewise. ("*tls_got_dtprel_low<TLSmode:tls_abi_suffix>"): Likewise. ("*tls_got_tprel_low<TLSmode:tls_abi_suffix>"): Likewise. ("*tls_gd<TLSmode:tls_abi_suffix>"): Update splitter. ("*tls_ld<TLSmode:tls_abi_suffix>"): Likewise. ("tls_got_dtprel_<TLSmode:tls_abi_suffix>"): Likewise. ("tls_got_tprel_<TLSmode:tls_abi_suffix>"): Likewise. From-SVN: r200904
Ulrich Weigand committed -
gcc/ PR target/57631 * config/avr/avr.c (avr_set_current_function): Sanity-check signal name seen by assembler/linker rather if available. gcc/testsuite/ PR target/57631 * gcc.target/avr/torture/pr57631.c: New test. From-SVN: r200901
Georg-Johann Lay committed -
* config/aarch64/aarch64-linux.h (CPP_SPEC): Define. From-SVN: r200900
Andreas Schwab committed -
2013-07-10 Vladimir Makarov <vmakarov@redhat.com> * lra-constraints.c (curr_insn_transform): Switch off optional reloads. From-SVN: r200899
Vladimir Makarov committed -
From-SVN: r200896
GCC Administrator committed
-
- 10 Jul, 2013 14 commits
-
-
* doc/tm.texi.in: Move hook documentation to .... * target.def: ... here. From-SVN: r200893
Joseph Myers committed -
2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57827 * g++.dg/cpp0x/constexpr-ice7.C: New. From-SVN: r200892
Paolo Carlini committed -
* doc/tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray text on @hook line. * doc/tm.texi: Regenerate. From-SVN: r200891
Joseph Myers committed -
re PR target/57792 (toplevel configure should enable "--with-sysroot="`xcrun --show-sdk-path`"" for darwin13 and later) 2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu> PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated. From-SVN: r200890
Jack Howarth committed -
* gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment for EABI targets. * gcc.c-torture/execute/nest-align-1.x: New. From-SVN: r200887
Janis Johnson committed -
re PR target/57792 (toplevel configure should enable "--with-sysroot="`xcrun --show-sdk-path`"" for darwin13 and later) 2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu> PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated. From-SVN: r200886
Jack Howarth committed -
and move one entry to c-family/ChangeLog From-SVN: r200881
Graham Stott committed -
2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57874 * g++.dg/cpp0x/sfinae48.C: New. From-SVN: r200880
Paolo Carlini committed -
re PR preprocessor/57824 (Raw string literals not handled correctly in macro arguments or deferred pragmas) PR preprocessor/57824 * lex.c (lex_raw_string): Allow reading new-lines if in_deferred_pragma or if parsing_args and there is still data in the current buffer. * c-c++-common/raw-string-17.c: New test. * c-c++-common/gomp/pr57824.c: New test. From-SVN: r200879
Jakub Jelinek committed -
c-ppoutput.c (scan_translation_unit): Call account_for_newlines for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT. * c-ppoutput.c (scan_translation_unit): Call account_for_newlines for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT. * include/cpplib.h (cpp_token_val_index): Change parameter type to const cpp_token *. * lex.c (cpp_token_val_index): Likewise. * c-c++-common/raw-string-18.c: New test. * c-c++-common/raw-string-19.c: New test. From-SVN: r200878
Jakub Jelinek committed -
re PR c++/57869 ([C++11] Casting a object pointer to a function pointer should not warn about a forbidden conversion) /c-family 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57869 * c.opt: Add Wconditionally-supported. /cp 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57869 * typeck.c (build_reinterpret_cast_1): With -Wconditionally-supported warn about casting between pointer-to-function and pointer-to-object. /gcc 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57869 * doc/invoke.texi: Document -Wconditionally-supported. /testsuite 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57869 * g++.dg/cpp0x/reinterpret_cast1.C: New. * g++.dg/warn/Wconditionally-supported-1.C: Likewise. * g++.dg/conversion/dr195.C: Update. * g++.dg/expr/cast2.C: Likewise. From-SVN: r200876
Paolo Carlini committed -
re PR preprocessor/57757 (CPP extra inserted whitespace needs to be reviewed for C++11 user-defined literals) PR preprocessor/57757 * lex.c (cpp_avoid_paste): Avoid pasting CPP_{,W,UTF8}STRING or CPP_STRING{16,32} with CPP_NAME or SPELL_LITERAL token that starts if a-zA-Z_. * g++.dg/cpp/paste1.C: New test. * g++.dg/cpp/paste2.C: New test. From-SVN: r200875
Jakub Jelinek committed -
PR target/57844 * config/avr/avr.c (avr_prologue_setup_frame): Trunk -size to mode of my_fp. From-SVN: r200872
Georg-Johann Lay committed -
PR target/57506 * config/avr/avr-mcus.def (atmega16hva, atmega16hva2, atmega16hvb) (atmega16m1, atmega16u4, atmega32a, atmega32c1, atmega32hvb) (atmega32m1, atmega32u4, atmega32u6, atmega64c1, atmega64m1): Remove duplicate devices. * config/avr/gen-avr-mmcu-texi.c (print_mcus): Fail on duplicate MCUs. * config/avr/t-multilib: Regenerate. * config/avr/avr-tables.opt: Regenerate. * doc/avr-mmcu.texi: Regenerate. From-SVN: r200870
Georg-Johann Lay committed
-