1. 25 Feb, 2016 1 commit
  2. 24 Feb, 2016 27 commits
  3. 23 Feb, 2016 12 commits
    • re PR fortran/61156 (Internal compiler error for Fortran files when specifying a… · 7cc5ec65
      re PR fortran/61156 (Internal compiler error for Fortran files when specifying a file instead of an include directory with -I)
      
      2016-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/61156
      	* scanner.c (add_path_to_list): If include path is not a directory,
      	issue a fatal error.
      
      	PR fortran/61156
      	* gfortran.dg/include_6.f90: Update test.
      
      From-SVN: r233649
      Jerry DeLisle committed
    • re PR target/69810 (PowerPC64: unrecognizable insn) · edd65746
      PR target/69810
      * config/rs6000/rs6000.md (zero_extendqi<mode>2_dot): Convert from
      define_insn_and_split to define_insn.
      (zero_extendqi<mode>2_dot2): Same.
      (extendqi<mode>2_dot): Same.
      (extendqi<mode>2_dot2): Same.
      
      From-SVN: r233648
      David Edelsohn committed
    • Tweak the pipeline model for Exynos M1 · 25cc2199
      gcc/
      	* config/aarch64/aarch64.c (exynosm1_tunings): Enable fusion of AES{D,E}
      	and AESMC pairs.
      	* config/arm/exynos-m1.md: Change cost of STP, fix bypass for stores
      	and add bypass for AES{D,E} and AESMC pairs.
      
      From-SVN: r233647
      Evandro Menezes committed
    • aarch64.c (exynosm1_tunings): Enable the Newton series for reciprocal square root in Exynos M1. · 220ab1cc
              * gcc/config/aarch64/aarch64.c (exynosm1_tunings): Enable the Newton
              series for reciprocal square root in Exynos M1.
      
      From-SVN: r233646
      Evandro Menezes committed
    • Document __STDCPP_WANT_MATH_SPEC_FUNCS__ macro · be9967e8
      	* doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
      	* doc/html/*: Regenerate.
      
      From-SVN: r233645
      Jonathan Wakely committed
    • libstdc++/69893 make <tr1/cmath> work with C++11 · 9aee022e
      	PR libstdc++/69893
      	* include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc,
      	exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint,
      	llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter,
      	nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma,
      	trunc) [__cplusplus >= 201103L]: Import from namespace std.
      	(fabs) [__cplusplus < 201103L]: Import from namespace std.
      	* include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]:
      	Likewise.
      	* testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global
      	namespace before including TR1 headers.
      	* testsuite/tr1/headers/c++200x/math.cc: New test.
      
      From-SVN: r233644
      Jonathan Wakely committed
    • re PR objc/69844 (Possibly bogus error: unknown type name in ObjC code) · 067fbd8b
      	PR objc/69844
      	* c-parser.c (c_parser_for_statement): Properly handle ObjC classes
      	in id_kind reclassification.
      
      	* objc.dg/pr69844.m: New test.
      
      From-SVN: r233643
      Jakub Jelinek committed
    • re PR fortran/69456 (Namelist value with trailing sign is ignored without error) · 64a454d9
      2016-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/69456
      	* io/list_read.c (read_real): If digit is missing from exponent issue
      	an error. (parse_real): Likewise and adjusted error message to clarify
      	it is part of a complex number.
      	(nml_read_obj): Bump item count and add comment that this is used to
      	identify which item in a namelist read has a problem.
      
      	PR libgfortran/69456
      	* gfortran.dg/namelist_89.f90: New test.
      	* gfortran.dg/pr59700.f90: Update test..
      
      From-SVN: r233641
      Jerry DeLisle committed
    • PR middle-end/69780 - [4.9/5/6 Regression] ICE on __builtin_alloca_with_align · 35886f0b
      PR middle-end/69780 - [4.9/5/6 Regression] ICE on __builtin_alloca_with_align
      	with small alignment
      PR c/69759 - __builtin_alloca and __builtin_alloca_with_align undocumented
      
      gcc/c-family/ChangeLog:
      	* c-common.c (check_builtin_function_arguments): Validate and reject
      	invalid arguments to __builtin_alloca_with_align.
      
      gcc/ChangeLog:
      	* doc/extend.texi (Other Builtins): Document __builtin_alloca and
      	__builtin_alloca_with_align.
      
      gcc/testsuite/ChangeLog:
      	* g++.dg/ext/builtin_alloca.C: New test.
      	* gcc.dg/builtins-68.c: New test.
      
      From-SVN: r233640
      Martin Sebor committed
    • Remove __seg_tls before first release. · 162cc7e3
        * config/i386/i386-c.c (ix86_target_macros): Remove __SEG_TLS.
        (ix86_register_pragmas): Remove __seg_tls.
        * config/i386/i386-protos.h (ADDR_SPACE_SEG_TLS): Remove.
        * config/i386/i386.c (ix86_print_operand_address_as): Don't handle it.
        (ix86_addr_space_subset_p, TARGET_ADDR_SPACE_SUBSET_P): Remove.
        (ix86_addr_space_convert, TARGET_ADDR_SPACE_CONVERT): Remove.
        (ix86_addr_space_debug, TARGET_ADDR_SPACE_DEBUG): Remove.
        * doc/extend.texi (__seg_tls): Remove item.
      testsuite/
        * gcc.target/i386/addr-space-3.c: Remove test.
      
      From-SVN: r233639
      Richard Henderson committed
    • PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locations · 196440f8
      gcc/testsuite/ChangeLog:
      	PR preprocessor/69126
      	PR preprocessor/69543
      	* c-c++-common/pr69126-2-long.c: New test.
      	* c-c++-common/pr69126-2-short.c: New test.
      	* c-c++-common/pr69543-1.c: Remove xfail.
      
      libcpp/ChangeLog:
      	PR preprocessor/69126
      	PR preprocessor/69543
      	* line-map.c (linemap_compare_locations): At the function top,
      	replace inlined bodies of get_location_from_adhoc_loc with calls
      	to get_location_from_adhoc_loc.  Add a pair of calls to
      	get_location_from_adhoc_loc at the bottom of the function, to
      	avoid meaningless comparisons of ad-hoc and non-ad-hoc locations.
      
      From-SVN: r233638
      David Malcolm committed
    • Add test coverage for _Pragma (PR preprocessor 69126, 69543, 69558) · 1d3121af
      We had some regressions in the ability for _Pragma to disable a warning
      (PR preprocessor/69126, PR preprocessor/69543, PR preprocessor/69558).
      
      This patch attempts to add more test coverage for this, for the
      various combinations of:
        - various warnings:
          -Wunused-variable
          -Wuninitialized
          -Wdeprecated-declarations
        - various combinations of location of _Pragma relative to location of
          the warning:
           - _Pragma is in a macro, warning isn't a macro
           - neither is in a macro
           - _Pragma isnt't in a macro, warning is in a macro
           - in different macros
           - both in the same macro
        - C vs C++ frontend.
      
      It adds some XFAILs:
        - pr69543-1.c for C++ (fixed in the followup patch)
        - pr69543-3.c for both C and C++
        - pr69543-4.c for both C and C++
        - pr69558.c for C++ (moving it from gcc.dg to c-c++-common,
          marking it as xfail for C++ for now)
      
      gcc/testsuite/ChangeLog:
      	PR preprocessor/69126
      	PR preprocessor/69543
      	PR preprocessor/69558
      	* c-c++-common/pr69126.c (MACRO_1, test_1): New.
      	(f): Rename to...
      	(test_2): ...this, and add leading comment.
      	(MACRO_3, test_3): New.
      	(MACRO_4A, MACRO_4B, test_4): New.
      	(MACRO): Rename to...
      	(MACRO_5): ...this.
      	(g): Rename to...
      	(test_5): ...this, updating for renaming of MACRO, and
      	add leading comment.
      	* c-c++-common/pr69543-1.c: New.
      	* c-c++-common/pr69543-2.c: New.
      	* c-c++-common/pr69543-3.c: New.
      	* c-c++-common/pr69543-4.c: New.
      	* c-c++-common/pr69558-1.c: New.
      	* c-c++-common/pr69558-2.c: New.
      	* c-c++-common/pr69558-3.c: New.
      	* c-c++-common/pr69558-4.c: New.
      	* gcc.dg/pr69558.c: Move to...
      	* c-c++-common/pr69558.c: ...here.  Add dg-bogus directives, with
      	xfail for c++.
      
      From-SVN: r233637
      David Malcolm committed