aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-06checkpoint new xform passibm/ltc168854meissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266872 138bc75d-0d04-0410-961f-82ee72b054a4
2018-12-06Revert last changemeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266871 138bc75d-0d04-0410-961f-82ee72b054a4
2018-12-01checkpointmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266706 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-30checkpointmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266699 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-30checkpointmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266694 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-30checkpointmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266690 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-29checkpointmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266650 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-29setup branchmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266641 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-29Recreate branchmeissner
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/ltc168854@266640 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-282018-11-28 Richard Biener <rguenther@suse.de>rguenth
PR tree-optimization/88217 * vr-values.c (vr_values::extract_range_from_phi_node): Make sure to handle results > +INF and < -INF correctly when trying to drop down to +INF - 1 or -INF + 1. * g++.dg/pr88217.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266557 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28[RS6000] Bootstrap failure compiling xcoffout.camodra
git commit 41f70262f (svn rev 264868) exposed a signed/unsigned comparison. Fixed by matching the type of the local var to that of the tree field. * xcoffout.c (do_block): Signed/unsigned warning fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266555 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28 PR testsuite/85368jakub
* gcc.dg/tree-ssa/phi-opt-11.c: For branch_cost targets, expect 0 ifs rather than 0 or 2 depending on logical_op_short_circuit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266552 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-282018-11-28 Richard Biener <rguenther@suse.de>rguenth
PR tree-optimization/79351 * tree-ssa-sccvn.c (vn_reference_lookup_3): For assignments from empty CONSTRUCTORs ensure the store is at a constant position. * gcc.dg/torture/pr79351.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266551 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-282018-11-28 Richard Biener <rguenther@suse.de>rguenth
PR tree-optimization/88229 * tree-ssa.c (non_rewritable_mem_ref_base): Check DECL_SIZE_UNIT is an INTEGER_CST before accessing it so. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266550 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28[PATCH][GCC][DOC] Remove obsolete arm and aarch64 CPU names from invoke.texisamtebbs
gcc/ChangeLog: 2018-11-28 Sam Tebbs <sam.tebbs@arm.com> * doc/invoke.texi (-mtune=): Remove obsolete CPU names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266549 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28 PR target/88189jakub
* config/i386/i386.c (ix86_expand_sse_movcc): Handle DFmode and SFmode using sse4_1_blendvs[sd] with TARGET_SSE4_1. Formatting fixes. * config/i386/sse.md (sse4_1_blendv<ssemodesuffix>): New pattern. * gcc.target/i386/sse4_1-pr88189-1.c: New test. * gcc.target/i386/sse4_1-pr88189-2.c: New test. * gcc.target/i386/avx-pr88189-1.c: New test. * gcc.target/i386/avx-pr88189-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266548 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28 PR c++/87476jakub
* typeck2.c (digest_init_r): Re-add handing of signed/unsigned char strings and add it to the initialization of wide array from non-wide string diagnostics too. * g++.dg/cpp0x/pr87476-1.C: New test. * g++.dg/cpp0x/pr87476-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266547 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28 PR c++/88215jakub
* c-ubsan.c: Include langhooks.h. (ubsan_instrument_division): Change gcc_assert that main variants of op0 and op1 types are equal to gcc_checking_assert that the main variants are compatible types. * c-c++-common/ubsan/pr88215.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266546 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-282018-10-19 Richard Biener <rguenther@suse.de>rguenth
PR tree-optimization/88182 * g++.dg/gomp/pr88182.C: Move from libgomp and use -fopenmp-simd. * testsuite/libgomp.c++/pr88182.C: Move to g++.dg/gomp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266545 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28Add myself to MAINTAINERSjpfau
2018-11-28 Johannes Pfau <johannespfau@gmail.com> * MAINTAINERS (Write After Approval): Add myself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266544 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-28Daily bump.gccadmin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266540 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 PR c++/88187jakub
* decl.c (grokdeclarator): Don't diagnose deduction guide errors if !funcdecl_p. * g++.dg/other/pr88187.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266537 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: tweaks for importing inline function bodiesian
Track whether we've seen an error when importing a function; we will use error tracking to avoid knock-on errors. Stop importing identifiers at a ')'. Provide a way to adjust the indentation level while importing. Reviewed-on: https://go-review.googlesource.com/c/150072 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266536 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27Clean up temporary files created by std::filesystem testsuiteredi
* testsuite/27_io/filesystem/operations/canonical.cc: Remove directory created by test. * testsuite/27_io/filesystem/operations/symlink_status.cc: Remove symlink created by test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266535 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: record final type for numeric expressionsian
Inlinable function bodies are generated after the determine_types pass, so we know the type for all constants. Rather than try to determine it again when inlining, record the type in the export data, using a $convert expression. Reduce the number of explicit $convert expressions by recording a type context with the expected type in cases where that type is known. Reviewed-on: https://go-review.googlesource.com/c/150071 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266534 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27PR libstdc++/67843 set shared_ptr lock policy at build-timeredi
This resolves a longstanding issue where the lock policy for shared_ptr reference counting depends on compilation options when the header is included, so that different -march options can cause ABI changes. For example, objects compiled with -march=armv7 will use atomics to synchronize reference counts, and objects compiled with -march=armv5t will use a mutex. That means the shared_ptr control block will have a different layout in different objects, causing ODR violations and undefined behaviour. This was the root cause of PR libstdc++/42734 as well as PR libstdc++/67843. The solution is to decide on the lock policy at build time, when libstdc++ is configured. The configure script checks for the availability of the necessary atomic built-ins for the target and fixes that choice permanently. Different -march flags used to compile user code will not cause changes to the lock policy. This results in an ABI change for certain compilations, but only where there was already an ABI incompatibility between the libstdc++.so library and objects built with an incompatible -march option. In general, this means a more stable ABI that isn't silently altered when -march flags make addition atomic ops available. To force a target to use "atomic" or "mutex" the new configure option --with-libstdcxx-lock-policy can be used. In order to turn ODR violations into linker errors, the uses of shared_ptr in filesystem directory iterators have been replaced with __shared_ptr, and explicit instantiations are declared. This ensures that object files using those types cannot link to libstdc++ libs unless they use the same lock policy. PR libstdc++/67843 * acinclude.m4 (GLIBCXX_ENABLE_LOCK_POLICY): Add new macro that defines _GLIBCXX_HAVE_ATOMIC_LOCK_POLICY. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Use GLIBCXX_ENABLE_LOCK_POLICY. * doc/xml/manual/configure.xml: Document new configure option. * include/bits/fs_dir.h (directory_iterator): Use __shared_ptr instead of shared_ptr. (recursive_directory_iterator): Likewise. (__shared_ptr<_Dir>): Add explicit instantiation declaration. (__shared_ptr<recursive_directory_iterator::_Dir_stack>): Likewise. * include/bits/shared_ptr_base.h (__allocate_shared, __make_shared): Add default template argument for _Lock_policy template parameter. * include/ext/concurrence.h (__default_lock_policy): Check macro _GLIBCXX_HAVE_ATOMIC_LOCK_POLICY instead of checking if the current target supports the builtins for compare-and-swap. * src/filesystem/std-dir.cc (__shared_ptr<_Dir>): Add explicit instantiation definition. (__shared_ptr<recursive_directory_iterator::_Dir_stack>): Likewise. (directory_iterator, recursive_directory_iterator): Use __make_shared instead of make_shared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266533 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: add result parameter names for inlinable functionsian
An inlinable function body may need to refer to result parameters, so each result parameter needs a name. We already give them all names in start_function (via create_result_variables). Change the export data so that for an inlinable function we use those names for the function declaration's result parameters. Reviewed-on: https://go-review.googlesource.com/c/150070 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266532 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: add types used by inline functions to export dataian
Reviewed-on: https://go-review.googlesource.com/c/150069 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266531 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: finalize types parsed for inline functionsian
When we inline functions, we may parse types that we have not seen before inlining. Inlining runs after the finalize_methods pass, so those types will not be finalized, meaning that we don't have an accurate list of which methods they support. Explicitly finalize them when we parse them. Reviewed-on: https://go-review.googlesource.com/c/150068 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266530 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: add '$' to names in expression export dataian
For inlined function bodies we're going to need to refer to variables, so change the existing export data to add a '$' to names that look like identifiers: true, false, nil, convert. While we're here drop an unnecessary space character after operators. Reviewed-on: https://go-review.googlesource.com/c/150067 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266529 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-272018-11-27 François Dumont <fdumont@gcc.gnu.org>fdumont
PR libstdc++/88199 * include/bits/hashtable.h (_Hashtable<>::_M_assign_elements): New. (_Hashtable<>::operator=(const _Hashtable&)): Use latter. (_Hashtable<>::_M_move_assign(_Hashtable&&, false_type)): Likewise. * testsuite/23_containers/unordered_set/allocator/move_assign.cc (test03): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266528 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 PR c++/88181jakub
* class.c (fixup_attribute_variants): Also propagate TYPE_PACKED to variants. * g++.dg/debug/pr88181.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266527 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: change expression importing to use Import_expressionian
Change expression importing to use a new abstract interface class Import_expression, so that we can more easily import expressions from inlinable function bodies. This is a refactoring with no affect on compiler behavior. Reviewed-on: https://go-review.googlesource.com/c/150065 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266526 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: pass a Location to import_expressionian
Separate the Location that import_expression uses when creating a new Expression from the Location used to report an error. This is a step toward importing expressions for inlined functions. This is a pure refactoring that does not affect compiler behavior. Reviewed-on: https://go-review.googlesource.com/c/150064 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266525 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 PR middle-end/87157jakub
* gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c (main1): Add noipa attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266524 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: change Expression export to use Export_function_bodyian
In preparation for writing expressions to inline function bodies, change the existing expression export code to use Export_function_body rather than Export. Adjust existing expression exporters accordingly. This is a refactoring that doesn't affect compiler output. Reviewed-on: https://go-review.googlesource.com/c/150063 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266523 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27PR 87756 - missing unterminated argument warning using address of a constant ↵msebor
character PR 88211 - missing warning on printf %ls and unterminated wide member array PR 88226 - missing warning on fprintf, fputs, and puts with an unterminated array gcc/ChangeLog: * gcc.dg/tree-ssa/builtin-fprintf-warn-1.c: Update/remove xfails. * gcc.dg/tree-ssa/builtin-printf-warn-1.c: Same. * gcc.dg/tree-ssa/user-printf-warn-1.c: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266522 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27gcov: do not ICE on NULL string in JSON export.marxin
2018-11-27 Martin Liska <mliska@suse.cz> * gcov.c (generate_results): Append current_working_directory only when exists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266521 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27PR preprocessor/83173: Enhance -fdump-internal-locations outputdmalcolm
gcc/ChangeLog: 2018-11-27 Mike Gulick <mgulick@mathworks.com> PR preprocessor/83173 * input.c (dump_location_info): Dump reason and included_from fields from line_map_ordinary struct. Fix indentation when location > 5 digits. * diagnostic-show-locus.c (num_digits, num_digits): Move to diagnostic.c to allow it to be utilized by input.c. * diagnostic.c (num_digits, selftest::test_num_digits): Moved here. (selftest::diagnostic_c_tests): Run selftest::test_num_digits. * diagnostic.h (num_digits): Add extern definition. libcpp/ChangeLog: 2018-11-27 Mike Gulick <mgulick@mathworks.com> PR preprocessor/83173 * location-example.txt: Update example -fdump-internal-locations output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266520 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27MIPS: Add `-mfix-r5900' option for the R5900 short loop erratummacro
The short loop bug under certain conditions causes loops to execute only once or twice, due to a hardware bug in the R5900 chip. `-march=r5900' already enables the R5900 short loop workaround. However, the R5900 ISA and most other MIPS ISAs are mutually exclusive since R5900-specific instructions are generated as well. The `-mfix-r5900' option can be used in combination with e.g. `-mips2' or `-mips3' to generate generic MIPS binaries that also work with the R5900 target. The workaround is implemented by GAS rather than by GCC. The following small `shortloop.c' file has been used as a test with GCC 8.2.0: void shortloop(void) { __asm__ __volatile__ ( " li $3, 300\n" "loop:\n" " addi $3, -1\n" " addi $4, -1\n" " bne $3, $0, loop\n" " li $4, 3\n" ::); } The following six combinations have been tested: % mipsr5900el-unknown-linux-gnu-gcc -O1 -c shortloop.c % mipsr5900el-unknown-linux-gnu-gcc -O1 -c shortloop.c -mfix-r5900 % mipsr5900el-unknown-linux-gnu-gcc -O1 -c shortloop.c -mno-fix-r5900 % mipsr4000el-unknown-linux-gnu-gcc -O1 -c shortloop.c % mipsr4000el-unknown-linux-gnu-gcc -O1 -c shortloop.c -mfix-r5900 % mipsr4000el-unknown-linux-gnu-gcc -O1 -c shortloop.c -mno-fix-r5900 The R5900 short loop erratum is corrected in exactly three cases: 1. for the target `mipsr5900el' by default; 2. for the target `mipsr5900el' with `-mfix-r5900'; 3. for any other MIPS target (e.g. `mipsr4000el') with `-mfix-r5900'. In all other cases the correction is not made. 2018-11-27 Fredrik Noring <noring@nocrew.org> gcc/ * config/mips/mips.c (mips_reorg_process_insns) (mips_option_override): Handle `-mfix-r5900'. * config/mips/mips.h (ASM_SPEC): Add `mfix-r5900' and `mno-fix-r5900'. * config/mips/mips.opt (mfix-r5900): New option. * doc/invoke.texi: Document the `r5900' processor name, and `-mfix-r5900' and `-mno-fix-r5900' options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266519 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27PR preprocessor/83173: New testdmalcolm
2018-11-27 Mike Gulick <mgulick@mathworks.com> PR preprocessor/83173 * gcc.dg/plugin/location-overflow-test-pr83173.c: New test. * gcc.dg/plugin/location-overflow-test-pr83173.h: Header for pr83173.c. * gcc.dg/plugin/location-overflow-test-pr83173-1.h: Header for pr83173.c. * gcc.dg/plugin/location-overflow-test-pr83173-2.h: Header for pr83173.c. * gcc.dg/plugin/location_overflow_plugin.c: Use PLUGIN_PRAGMAS instead of PLUGIN_START_UNIT. * gcc.dg/plugin/plugin.exp: Enable new test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266518 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 compiler: import inlinable functions from package dataian
Start reading the export data generated by the last change in this series. At this point we will inline direct calls to empty functions and methods defined in different packages. Reviewed-on: https://go-review.googlesource.com/c/150062 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266517 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27PR preprocessor/83173: Additional check before decrementing highest_locationdmalcolm
2018-11-27 Mike Gulick <mgulick@mathworks.com> PR preprocessor/83173 * files.c (_cpp_stack_include): Check if line_table->highest_location is past current line before decrementing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266516 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 PR target/88188jakub
* config/rs6000/rs6000.c (print_operand) <case 'D'>: Use output_operand_lossage instead of gcc_assert. <case 't'>: Likewise. <case 'z'>: Likewise. <case 'V'>: Use output_operand_lossage instead of gcc_unreachable. * gcc.target/powerpc/pr88188.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266515 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 * config/riscv/riscv (riscv_block_mvoe_straight): Use RETURN_BEGINlaw
in call to move_by_pieces. * config/sh/sh-mem.c (expand_block_move): Use RETURN_BEGIN in call to move_by_pieces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266514 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 * config/lm32/lm32.c (lm32_block_move_inline): Use RETURN_BEGIN inlaw
call to move_by_pieces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266513 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 * config/mips/mips.c (mips_block_move_straight): Use RETURN_BEGINlaw
in call to move_by_pieces. 2018-11-27 Tamar Christina <tamar.christina@arm.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266512 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27 * config/microblaze/microblaze.c (microblaze_block_move_straight): Uselaw
RETURN_BEGIN in call to move_by_pieces. (microblaze_expand_block_move): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266511 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27Document the xorsign optab.tnfchris
2018-11-27 Tamar Christina <tamar.christina@arm.com> * doc/md.texi (xorsign): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266510 138bc75d-0d04-0410-961f-82ee72b054a4
2018-11-27Support simd function declarations via a pre-include.marxin
2018-11-27 Martin Liska <mliska@suse.cz> * config/gnu-user.h (TARGET_F951_OPTIONS): New. * gcc.c (find_fortran_preinclude_file): New function to handle Fortran pre-include. 2018-11-27 Martin Liska <mliska@suse.cz> * decl.c (gfc_match_gcc_builtin): New function. * gfortran.h (struct vect_builtin_tuple): New. (gfc_adjust_builtins): Likewise. * lang-specs.h (TARGET_F951_OPTIONS): New. (F951_OPTIONS): Use it. * lang.opt: Add new option -fpre-include. * match.h (gfc_match_gcc_builtin): Declare new function. * parse.c (decode_gcc_attribute): Handle builtin. (parse_progunit): Call gfc_adjust_builtins. * scanner.c (gfc_new_file): Load pre-included header file when provided. * trans-intrinsic.c (add_simd_flag_for_built_in): New. (gfc_adjust_builtins): Likewise. 2018-11-27 Martin Liska <mliska@suse.cz> * gfortran.dg/simd-builtins-1.f90: New test. * gfortran.dg/simd-builtins-1.h: New test. * gfortran.dg/simd-builtins-2.f90: New test. * gfortran.dg/simd-builtins-3.f90: New test. * gfortran.dg/simd-builtins-3.h: New test. * gfortran.dg/simd-builtins-4.f: New test. * gfortran.dg/simd-builtins-4.h: New test. * gfortran.dg/simd-builtins-5.f: New test. * gfortran.dg/simd-builtins-6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266509 138bc75d-0d04-0410-961f-82ee72b054a4