vax.h (VMS_TARGET): Remove.

gcc/
	* config/vax/vax.h (VMS_TARGET): Remove.

cp/
	* decl.c (finish_function): Remove code conditional on VMS_TARGET.

From-SVN: r188729
This commit is contained in:
Steven Bosscher 2012-06-18 11:34:28 +00:00
parent 3928c098e4
commit d421b10cd1
4 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2012-06-18 Steven Bosscher <steven@gcc.gnu.org>
* config/vax/vax.h (VMS_TARGET): Remove.
2012-06-18 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (extract_range_from_assert): Split out range

View File

@ -35,8 +35,6 @@ along with GCC; see the file COPYING3. If not see
} \
while (0)
#define VMS_TARGET 0
/* Use -J option for long branch support with Unix assembler. */
#define ASM_SPEC "-J"

View File

@ -1,3 +1,7 @@
2012-06-18 Steven Bosscher <steven@gcc.gnu.org>
* decl.c (finish_function): Remove code conditional on VMS_TARGET.
2012-06-15 Marc Glisse <marc.glisse@inria.fr>
PR c++/51033

View File

@ -13461,16 +13461,9 @@ finish_function (int flags)
there's no need to add any extra bits. */
if (!DECL_CLONED_FUNCTION_P (fndecl))
{
/* Make it so that `main' always returns 0 by default. */
if (DECL_MAIN_P (current_function_decl))
{
/* Make it so that `main' always returns 0 by default (or
1 for VMS). */
#if VMS_TARGET
finish_return_stmt (integer_one_node);
#else
finish_return_stmt (integer_zero_node);
#endif
}
finish_return_stmt (integer_zero_node);
if (use_eh_spec_block (current_function_decl))
finish_eh_spec_block (TYPE_RAISES_EXCEPTIONS