Deleted Added
full compact
c-opts.c (259555) c-opts.c (259920)
1/* C/ObjC/C++ command line option handling.
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
4 Contributed by Neil Booth.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

--- 6 unchanged lines hidden (view full) ---

15FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16for more details.
17
18You should have received a copy of the GNU General Public License
19along with GCC; see the file COPYING. If not, write to the Free
20Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
2102110-1301, USA. */
22
1/* C/ObjC/C++ command line option handling.
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
4 Contributed by Neil Booth.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

--- 6 unchanged lines hidden (view full) ---

15FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16for more details.
17
18You should have received a copy of the GNU General Public License
19along with GCC; see the file COPYING. If not, write to the Free
20Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
2102110-1301, USA. */
22
23/* $FreeBSD: head/contrib/gcc/c-opts.c 259555 2013-12-18 14:53:36Z pfg $ */
23/* $FreeBSD: head/contrib/gcc/c-opts.c 259920 2013-12-26 18:09:16Z pfg $ */
24/* Merged C99 inline changes from gcc trunk 122565 2007-03-05 */
25
26#include "config.h"
27#include "system.h"
28#include "coretypes.h"
29#include "tm.h"
30#include "tree.h"
31#include "c-common.h"

--- 348 unchanged lines hidden (view full) ---

380 flag_working_directory = value;
381 break;
382
383 case OPT_U:
384 defer_opt (code, arg);
385 break;
386
387 case OPT_Wall:
24/* Merged C99 inline changes from gcc trunk 122565 2007-03-05 */
25
26#include "config.h"
27#include "system.h"
28#include "coretypes.h"
29#include "tm.h"
30#include "tree.h"
31#include "c-common.h"

--- 348 unchanged lines hidden (view full) ---

380 flag_working_directory = value;
381 break;
382
383 case OPT_U:
384 defer_opt (code, arg);
385 break;
386
387 case OPT_Wall:
388 /* APPLE LOCAL -Wmost */
389 case OPT_Wmost:
388 set_Wunused (value);
389 set_Wformat (value);
390 set_Wimplicit (value);
391 warn_char_subscripts = value;
392 warn_missing_braces = value;
390 set_Wunused (value);
391 set_Wformat (value);
392 set_Wimplicit (value);
393 warn_char_subscripts = value;
394 warn_missing_braces = value;
393 warn_parentheses = value;
395 /* APPLE LOCAL begin -Wmost --dpatel */
396 if (code != OPT_Wmost)
397 warn_parentheses = value;
398 /* APPLE LOCAL end -Wmost --dpatel */
394 warn_return_type = value;
395 warn_sequence_point = value; /* Was C only. */
396 if (c_dialect_cxx ())
397 warn_sign_compare = value;
398 warn_switch = value;
399 set_warn_strict_aliasing (value);
400 warn_strict_overflow = value;
401 warn_address = value;

--- 1198 unchanged lines hidden ---
399 warn_return_type = value;
400 warn_sequence_point = value; /* Was C only. */
401 if (c_dialect_cxx ())
402 warn_sign_compare = value;
403 warn_switch = value;
404 set_warn_strict_aliasing (value);
405 warn_strict_overflow = value;
406 warn_address = value;

--- 1198 unchanged lines hidden ---