Reject virt-specifiers on friends and member templates
	* friend.c (do_friend): Diagnose virt-specifiers.
	* pt.c (push_template_decl_real): Diagnose virt-specifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213874 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-parser.c (c_parser_postfix_expression) <case RID_FUNCTION_NAME>:
	Add pedwarn.
	(c_parser_postfix_expression) <case RID_PRETTY_FUNCTION_NAME>:
	Likewise.
	(c_parser_postfix_expression) <case RID_C99_FUNCTION_NAME>: Likewise.

	* gcc.dg/concat.c: Add dg-options.
	* gcc.dg/func-outside-2.c: Add __extension__.
	* gcc.dg/pr19967.c: Use -std=c99.
	* gcc.dg/pr22458-1.c: Add dg-options.
	* gcc.dg/pr33676.c: Add dg-options.
	* gcc.dg/gnu-predef-1.c: New test.
	* gcc.dg/c90-func-1.c: New test.
	* gcc.dg/c90-func-2.c: New test.
	* gcc.dg/c90-func-2.h: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213875 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-12  Joel Sherrill <joel.sherrill@oarcorp.com>

	* Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213880 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-12  Joel Sherrill <joel.sherrill@oarcorp.com>

	* socket.c: For RTEMS, use correct prototype of gethostbyname_r().
	* gsocket.h Add include of <unistd.h> on RTEMS.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213884 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/62025
	* sched-deps.c (find_inc): Check if inc_insn doesn't clobber
	any registers that are used in mem_insn.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213896 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* parser.c (cp_parser_elaborated_type_specifier): Handle
	specially cp_parser_template_id returning a BASELINK.

2014-08-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* parser.c (cp_parser_diagnose_invalid_type_name,
	cp_parser_make_typename_type): Remove scope parameter.
	(cp_parser_parse_and_diagnose_invalid_type_name,
	cp_parser_elaborated_type_specifier): Adjust calls.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213897 138bc75d-0d04-0410-961f-82ee72b054a4
* Enable warning -Wreturn-type by default

* Add option -Wmissing-return
When -Wreturn-type is used, also enable -Wmissing-return

* Update tests
Enable -Wimplicit-int by default