2013-06-20  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57584
	* tree-ssa-loop-niter.c (expand_simple_operations): Avoid including
	SSA names into the expanded expression that take part in
	abnormal coalescing.

	* gcc.dg/torture/pr57584.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200237 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57633
        * io/list_read.c (next_char, eat_separator): Don't set EOL for \r.

2013-06-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57633
        * gfortran.dg/list_read_11.f90: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200238 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Richard Biener  <rguenther@suse.de>

	* data-streamer-in.c (streamer_read_uhwi): Optimize single
	byte case, inline streamer_read_uchar and defer section
	overrun check.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200239 138bc75d-0d04-0410-961f-82ee72b054a4
        PR rtl-optimization/57425
        PR rtl-optimization/57569
        * alias.c (write_dependence_p): Remove parameters mem_mode and
        canon_mem_addr.  Add parameters x_mode, x_addr and x_canonicalized.
        Changed all callers.
        (canon_anti_dependence): Get comments and semantics in sync.
        Add parameter mem_canonicalized.  Changed all callers.
        * rtl.h (canon_anti_dependence): Update prototype.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200241 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Matthias Klose  <doko@ubuntu.com>

        * libtool-version: Bump soversion.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200242 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Matthias Klose  <doko@ubuntu.com>

        * pkg.m4 (PKG_CHECK_MODULES): Use AC_PATH_TOOL to check for pkg-config.
        * classpath/m4/pkg.m4 (PKG_CHECK_MODULES): Likewise.
        * configure: Regenerate.
        * classpath/configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200244 138bc75d-0d04-0410-961f-82ee72b054a4

	* lto-cgraph.c (input_symtab): Do not set cgraph state.
	* lto.c (read_cgraph_and_symbols): Set cgraph state.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200247 138bc75d-0d04-0410-961f-82ee72b054a4
        * gcc.dg/tree-ssa/forwprop-28.c: Add missing dg-final.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200248 138bc75d-0d04-0410-961f-82ee72b054a4
	* ada/acats/tests/gcc: Delete.
	* gnat.dg/style: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200249 138bc75d-0d04-0410-961f-82ee72b054a4
libitm: Fix handling of reentrancy in the HTM fastpath.

	PR libitm/57643
	* beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in
	the HTM fastpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200250 138bc75d-0d04-0410-961f-82ee72b054a4
libitm: Handle HTM fastpath in status query functions.

	* query.cc (_ITM_inTransaction): Abort when using the HTM fastpath.
	(_ITM_getTransactionId): Same.
	* config/x86/target.h (htm_transaction_active): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200251 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Iain Sandoe  <iain@codesourcery.com>
	        Cesar Philippidis  <cesar@codesourcery.com>

		* testsuite/lib/libitm.exp: Reorder lib loads into dependency order.
		Do not load_gcc_lib gcc-dg.exp and add a comment as to why.
		* testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp.
		* testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200252 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-20  Iain Sandoe  <iain@codesourcery.com>
	        Cesar Philippidis  <cesar@codesourcery.com>

		* testsuite/lib/libgomp.exp: Reorder lib loads into dependency order.
		Do not load_gcc_lib gcc-dg.exp and add a comment as to why.
		* testsuite/libgomp.c/c.exp: load_gcc_lib gcc-dg.exp.
		* testsuite/libgomp.fortran/fortran.exp: Likewise.
		* testsuite/libgomp.graphite/graphite.exp: Likewise.
		* testsuite/libgomp.c++/c++.exp: load_gcc_lib gcc-dg.exp.
		Use dg-runtest rather than gfortran-dg-runtest.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200253 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/fpu-387.h (_FPU_MASK_ALL): New.
	(_FPU_EX_ALL): Ditto.
	(set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to
	clear stalled exception flags.  Correctly clear stalled SSE
	exception flags.  Simplify code.
	(get_fpu_except_flags): Simplify code.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200255 138bc75d-0d04-0410-961f-82ee72b054a4
	* ChangeLog: Add some missing lines.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200256 138bc75d-0d04-0410-961f-82ee72b054a4
        PR tree-optimization/57660
        * gcc.dg/tree-ssa/forwprop-28.c: Don't run test on various
        * targets
        based on their branch cost.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200258 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/57655
	* config/i386/i386.c (construct_container): Report error if
	long double is used with disabled x87 float returns.

testsuite/ChangeLog:

	PR target/57655
	* gcc.target/i386/pr57655.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200260 138bc75d-0d04-0410-961f-82ee72b054a4
	* cp-tree.h (DECL_TEMPLATE_PARMS, DECL_TEMPLATE_RESULT)
	(DECL_TEMPLATE_INSTANTIATIONS, DECL_TEMPLATE_SPECIALIZATIONS): Use
	TEMPLATE_DECL_CHECK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200262 138bc75d-0d04-0410-961f-82ee72b054a4
	* pt.c (process_partial_specialization): Build a TEMPLATE_DECL for
	a partial specialization.
	(tsubst_decl): Don't clobber CLASSTYPE_TI_TEMPLATE of a partial
	specialization.
	(most_specialized_class): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200263 138bc75d-0d04-0410-961f-82ee72b054a4
	* system.h: Include <cstdlib> as well as <stdlib.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200265 138bc75d-0d04-0410-961f-82ee72b054a4