summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* change local vars to rtx_insn *tbsaunde2015-05-0219-37/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: 2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * builtins.c (expand_builtin_trap): Change type of local variable to rtx_insn *. * config/arc/arc.md: Likewise. * config/arm/arm.c (arm_barrier_cost): Likewise. * config/avr/avr.c (avr_reorg): Likewise. * config/bfin/bfin.c (workaround_speculation): Likewise. (add_sched_insns_for_speculation): Likewise. * config/i386/i386.c (ix86_init_pic_reg): Likewise. (ix86_emit_save_regs): Likewise. (get_scratch_register_on_entry): Likewise. (ix86_emit_restore_reg_using_pop): Likewise. (ix86_emit_leave): Likewise. (ix86_emit_restore_regs_using_mov): Likewise. (ix86_expand_epilogue): Likewise. * config/rl78/rl78.c (rl78_alloc_physical_registers_cmp): Likewise. (rl78_alloc_physical_registers_umul): Likewise. * config/sh/sh.md: Likewise. * cselib.c (discard_useless_locs): Likewise. (cselib_invalidate_regno): Likewise. (cselib_invalidate_mem): Likewise. * function.c (expand_function_start): Likewise. (emit_use_return_register_into_block): Likewise. * gcse.c: Likewise. * haifa-sched.c (ok_for_early_queue_removal): Likewise. * ifcvt.c (noce_get_alt_condition): Likewise. * loop-doloop.c (doloop_condition_get): Likewise. * lra-constraints.c (inherit_in_ebb): Likewise. * modulo-sched.c (sms_schedule_by_order): Likewise. * recog.c (next_insn_tests_no_inequality): Likewise. * reorg.c (emit_delay_sequence): Likewise. (update_reg_dead_notes): Likewise. (fix_reg_dead_note): Likewise. (fill_slots_from_thread): Likewise. (delete_computation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222730 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/any (any::_Storage): Fix alignment of buffer.redi2015-05-024-3/+61
| | | | | | | | (any::_Internal): Check alignment of type. * testsuite/experimental/any/cons/aligned.cc: New. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222729 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/iterator (ostream_joiner): Simplify by usingredi2015-05-022-16/+9
| | | | | | the injected-class-name and the ostream_type typedef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222728 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/iterator: New. Define ostream_joiner.redi2015-05-029-8/+314
| | | | | | | | | | | | * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * testsuite/experimental/iterator/make_ostream_joiner.cc: New. * testsuite/experimental/iterator/ostream_joiner.cc: New. * testsuite/experimental/iterator/requirements.cc: New. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222727 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-02 Steven G. Kargl <kargl@gcc.gnu.org>kargl2015-05-022-2/+7
| | | | | | | | | PR fortran/65976 * invoke.texi: Remove 'no-' in '-fno-fixed-form' git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222725 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/numeric: New. Define gcd and lcm.redi2015-05-028-12/+171
| | | | | | | | | | | * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * testsuite/experimental/numeric/gcd.cc: New. * testsuite/experimental/numeric/lcm.cc: New. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222724 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>emsr2015-05-029-16/+12
| | | | | | | | | | | | | | | | Revert addition of feature macros from other headers per latest SD-6. * include/experimental/deque: Remove feature-test macro. * include/experimental/forward_list: Ditto. * include/experimental/list: Ditto. * include/experimental/map: Ditto. * include/experimental/set: Ditto. * include/experimental/string: Ditto. * include/experimental/unordered_map: Ditto. * include/experimental/unordered_set: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222722 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/any (any::_Storage): Make non-copyable.redi2015-05-024-34/+180
| | | | | | | | | | | | | | | | (any::any): Do not copy _Storage object. (any::operator=): Implement more efficiently than swapping. (any::swap): Use new _Op_xfer operation. (any::_Op::_Op_xfer): New enumerator. (_Manager_internal::_S_alloc): Remove unused function. (_Manager_internal::_S_create, _Manager_external::_S_create): Use out parameter instead of returning a _Storage object. (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add _Op_xfer operation for moving and swapping. * testsuite/experimental/any/cons/nontrivial.cc: New. * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222721 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/fs_path.h (filesystem_error::~filesystem_error):redi2015-05-023-0/+9
| | | | | | | | Declare. * src/filesystem/path.cc (filesystem_error::~filesystem_error): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222720 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/65978redi2015-05-023-17/+30
| | | | | | | | * include/std/tuple (forward_as_tuple, tie): Add constexpr. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment and fix tests for forward_as_tuple and tie. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222719 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:redi2015-05-022-7/+15
| | | | | | | Set timespec members explicitly instead of with a braced-init-list. [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222718 138bc75d-0d04-0410-961f-82ee72b054a4
* update ChangeLogs for previous committbsaunde2015-05-022-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222716 138bc75d-0d04-0410-961f-82ee72b054a4
* fixup libobjc usage of PCC_BITFIELD_TYPE_MATTERStbsaunde2015-05-026-1/+72
| | | | | | | | | | | | | | | | | | | | libobjc/ChangeLog: 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * acinclude.m4: Include bitfields.m4. * config.h.in: Regenerate. * configure: Likewise. * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS. * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS. config/ChangeLog: 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222715 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-01 Sandra Loosemore <sandra@codesourcery.com>sandra2015-05-022-191/+248
| | | | | | | | | | | | | gcc/ * doc/extend.texi (Variable Attributes): Add menu and proper @nodes to subsections. Move Microsoft Windows attributes to their own subsection. (Type Attributes): Reorganize introduction to remove duplicate list of attributes. Add menu and proper @nodes to subsections. Alphabetize the main table of common attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222714 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>emsr2015-05-029-0/+27
| | | | | | | | | | | | | | | * include/experimental/deque: Add feature-test macro. * include/experimental/forward_list: Ditto. * include/experimental/list: Ditto. * include/experimental/map: Ditto. * include/experimental/set: Ditto. * include/experimental/string: Ditto. * include/experimental/unordered_map: Ditto. * include/experimental/unordered_set: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222713 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2015-05-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222712 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/memory: Correct feature-test macro.redi2015-05-012-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222708 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/memory: Add feature-test macro.redi2015-05-015-4/+14
| | | | | | | | * include/experimental/vector: Likewise. * doc/xml/manual/status_cxx2017.xml: Update status. * doc/html/manual/status.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222707 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>redi2015-05-0112-0/+775
| | | | | | | | | | | | | | | | | Implement observer_ptr. * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/experimental/memory: New. * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New. * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New. * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New. * testsuite/experimental/memory/observer_ptr/make_observer.cc: New. * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New. * testsuite/experimental/memory/observer_ptr/requirements.cc: New. * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New. * testsuite/experimental/memory/observer_ptr/typedefs.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222706 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/filesystem/path.cc (path::compare): Do not copy strings.redi2015-05-012-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222704 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>redi2015-05-018-19/+158
| | | | | | | | | | | | | | | | | | | | is not available. (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat. * configure: Regenerate. * config.h.in: Regenerate. * configure.ac: Check for utime.h * include/experimental/fs_path.h (path::string<>) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword. * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir, closedir, dirent, readdir_r): Replace dummy functions with #error. (native_readdir, _Dir::advance): Use readdir when readdir_r is missing. * src/filesystem/ops.cc (do_stat, is_set): Make inline. (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime. (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod. (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set error_code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222703 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/fs_path.h (path::_List): Use vector instead ofredi2015-05-015-17/+61
| | | | | | | | | | | list. * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt. * src/filesystem/path.cc: Use std::prev instead of decrementing rvalues. Fix whitespace. * testsuite/experimental/filesystem/path/decompose/parent_path.cc: Do not decrement iterators before begin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-01 Paolo Carlini <paolo.carlini@oracle.com>paolo2015-05-012-1/+1
| | | | | | | * g++.dg/cpp0x/Wnarrowing4.C: Rename to Wnarrowing3.C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222701 138bc75d-0d04-0410-961f-82ee72b054a4
* /cppaolo2015-05-014-3/+23
| | | | | | | | | | | | | | | | | | | 2015-05-01 Paolo Carlini <paolo.carlini@oracle.com> Prathamesh Kulharni <prathamesh.kulkarni@linaro.org> PR c++/65858 * typeck2.c (check_narrowing): Set ok = true when pedwarn returns false. /testsuite 2015-05-01 Paolo Carlini <paolo.carlini@oracle.com> Prathamesh Kulharni <prathamesh.kulkarni@linaro.org> PR c++/65858 * g++.dg/cpp0x/Wnarrowing4.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222699 138bc75d-0d04-0410-961f-82ee72b054a4
* * match.pd: New simplification patterns.law2015-05-016-0/+142
| | | | | | | | | | | | (x + (x & 1)) -> ((x + 1) & ~1) (x & ~(x & y)) -> ((x & ~y)) (x | ~(x | y)) -> ((x | ~y)) * gcc.dg/20150120-1.c: New test. * gcc.dg/20150120-2.c: New test. * gcc.dg/20150120-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222697 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/debug/pr65771.c: Add "dg-add-options tls".dje2015-05-012-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222696 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/experimental/fs_dir.h: Fix use of non-reserved names.redi2015-05-015-22/+34
| | | | | | | | | * include/experimental/fs_ops.h: Likewise. * include/experimental/fs_path.h: Likewise. * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use C++11 when checking for support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222695 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/locale_classes.h (locale::facet): Delete copyredi2015-05-012-5/+16
| | | | | | operations in C++11 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222694 138bc75d-0d04-0410-961f-82ee72b054a4
* * sv.po: Update.jsm282015-05-012-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222692 138bc75d-0d04-0410-961f-82ee72b054a4
* * de.po: Update.jsm282015-05-012-156/+121
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222690 138bc75d-0d04-0410-961f-82ee72b054a4
* [doc] Update definition location of attribute_spec in documentationktkachov2015-05-013-2/+8
| | | | | | | | | * target.def (attribute_table): Mention that struct attribute_spec is defined in tree-core.h rather than tree.h * doc/tm.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222688 138bc75d-0d04-0410-961f-82ee72b054a4
* [PATCH] add sync_int_long target selector to gcc.dg/pr65345-2.crenlin2015-05-012-0/+5
| | | | | | | | | | | gcc/testsuite/ 2015-05-01 Renlin Li <renlin.li@arm.com> * gcc.dg/pr65345-2.c: Add sync_int_long target selector. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222687 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.redi2015-05-012-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222686 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.redi2015-05-013-2/+7
| | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>emsr2015-05-019-16/+28
| | | | | | | | | | | | | | | Inline one-line erasure dispatch functions. * include/experimental/forward_list (erase_if(), erase()): Inline. * include/experimental/list (erase_if(), erase()): Inline. * include/experimental/map (erase_if(*)): Inline. * include/experimental/set (erase_if(*)): Inline. * include/experimental/string (erase_if(), erase()): Inline. * include/experimental/unordered_map (erase_if(*)): Inline. * include/experimental/unordered_set (erase_if(*)): Inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222684 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2015-05-012-222/+230
| | | | | | | | * genrecog.c (test): Rename to rtx_test. Update rest of file accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222683 138bc75d-0d04-0410-961f-82ee72b054a4
* Summary: Mark help string in DEFPARAM as no-c-formatschwab2015-05-012-1/+6
| | | | | | | | PR translation/65959 * params.h (DEFPARAM): Rename msgid to nocmsgid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222682 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow bound simplification of array subreferences.mikael2015-05-014-9/+45
| | | | | | | | | | | | | | | gcc/fortran/ * simplify.c (simplify_bound_dim): Tighten the check for array fullness by also checking for absence of subreference. (simplify_bound): Don't skip simplification if the array has subreferences. (simplify_cobound): Same. gcc/testsuite/ * gfortran.dg/bound_simplification_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222681 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Make aarch64_min_divisions_for_recip_mul configurablektkachov2015-05-013-7/+33
| | | | | | | | | | | | | | | | | | | On behalf of Wilco Dijkstra 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com> * gcc/config/aarch64/aarch64-protos.h (tune_params): Add min_div_recip_mul_sf and min_div_recip_mul_df fields. * gcc/config/aarch64/aarch64.c (aarch64_min_divisions_for_recip_mul): Return value depending on target. (generic_tunings): Initialize new target settings. (cortexa53_tunings): Likewise. (cortexa57_tunings): Likewise. (thunderx_tunings): Likewise. (xgene1_tunings): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222679 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Fix Cortex-A53 shift costsktkachov2015-05-012-4/+9
| | | | | | | | | | | | On behalf of Wilco Dijkstra 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com> * gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs): Make Cortex-A53 shift costs more accurate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222678 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Handle FLOAT and UNSIGNED_FLOAT in rtx costsktkachov2015-05-012-0/+11
| | | | | | | | * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and UNSIGNED_FLOAT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222677 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Fix aarch64_rtx_costs of PLUS/MINUSktkachov2015-05-012-7/+10
| | | | | | | | | | | | On behalf of Wilco Dijkstra 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com> * gcc/config/aarch64/aarch64.c (aarch64_rtx_costs): Calculate cost of op0 and op1 in PLUS and MINUS cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222676 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.redi2015-05-0110-35/+365
| | | | | | | | | | * doc/xml/manual/status_cxx2011.xml: Update status tables. * doc/xml/manual/status_cxx2014.xml: Likewise. * doc/xml/manual/status_cxx2017.xml: New. * doc/xml/manual/using.xml: Fix typo. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222675 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/memory (pointer_safety, declare_reachable,redi2015-05-013-0/+70
| | | | | | | | undeclare_reachable, declare_no_pointers, undeclare_no_pointers, get_pointer_safety): Define. * testsuite/20_util/pointer_safety/1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222674 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Remember to cost operand 0 in FP compare-with-0.0 casektkachov2015-05-012-0/+6
| | | | | | | | | * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case): Add cost of op0 in the compare-with-fpzero case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222673 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2015-05-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222669 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-04-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>wschmidt2015-04-302-1/+6
| | | | | | | | | * gcc.target/powerpc/crypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222664 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-04-30 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2015-04-305-1/+118
| | | | | | | | | | | | | | | | | PR fortran/37131 * simplify.c (simplify_bound): Get constant lower bounds of one from array spec for assumed and explicit shape shape arrays if the lower bounds are indeed one. 2015-04-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/37131 * gfortran.dg/coarray_lib_this_image_2.f90: Adjust scan pattern. * gfortran.dg/bound_9.f90: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222661 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix spurious semicolonsdmalcolm2015-04-3011-9/+29
| | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: * builtins.c (fold_builtin_1): Remove spurious second semicolon. * cgraph.h (symtab_node::get_availability): Likewise. * opts.c (common_handle_option): Remove spurious second semicolon. * tree-ssa-loop-ivopts.c (extract_cond_operands): Likewise. * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise. gcc/cp/ChangeLog: * cp-tree.h (ARGUMENT_PACK_SELECT_ARG): Remove spurious trailing semicolon. gcc/fortran/ChangeLog: * options.c (gfc_init_options): Remove spurious second semicolon. * trans-stmt.c (gfc_trans_allocate): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222658 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Use backend interface for stack allocation.ian2015-04-305-27/+29
| | | | | | | | | | | | | Stack allocation was being done by making a temporary variable and taking its address. This does not work when allocating in a loop because every allocated variable will refer to the same address. The backend now provides a way to safely allocate in a loop. * go-gcc.cc (Gcc_backend::stack_allocation_expression): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222657 138bc75d-0d04-0410-961f-82ee72b054a4