Deleted Added
full compact
gcc.c (259563) gcc.c (260011)
1/* Compiler driver program that can handle many languages.
2 Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 Inc.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

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

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
23This paragraph is here to try to keep Sun CC from dying.
24The number of chars here seems crucial!!!! */
25
1/* Compiler driver program that can handle many languages.
2 Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 Inc.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

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

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
23This paragraph is here to try to keep Sun CC from dying.
24The number of chars here seems crucial!!!! */
25
26/* $FreeBSD: stable/10/contrib/gcc/gcc.c 259563 2013-12-18 19:07:29Z pfg $ */
26/* $FreeBSD: stable/10/contrib/gcc/gcc.c 260011 2013-12-28 20:02:49Z pfg $ */
27
28/* This program is the user interface to the C compiler and possibly to
29other compilers. It is used because compilation is a complicated procedure
30which involves running several programs and passing temporary files between
31them, forwarding the users switches to those programs selectively,
32and deleting the temporary files at the end.
33
34CC recognizes how to compile each input file by suffixes in the file names.

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

2969 errmsg = pex_run (pex,
2970 ((i + 1 == n_commands ? PEX_LAST : 0)
2971 | (string == commands[i].prog ? PEX_SEARCH : 0)),
2972 string, (char * const *) commands[i].argv,
2973 NULL, NULL, &err);
2974 if (errmsg != NULL)
2975 {
2976 if (err == 0)
27
28/* This program is the user interface to the C compiler and possibly to
29other compilers. It is used because compilation is a complicated procedure
30which involves running several programs and passing temporary files between
31them, forwarding the users switches to those programs selectively,
32and deleting the temporary files at the end.
33
34CC recognizes how to compile each input file by suffixes in the file names.

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

2969 errmsg = pex_run (pex,
2970 ((i + 1 == n_commands ? PEX_LAST : 0)
2971 | (string == commands[i].prog ? PEX_SEARCH : 0)),
2972 string, (char * const *) commands[i].argv,
2973 NULL, NULL, &err);
2974 if (errmsg != NULL)
2975 {
2976 if (err == 0)
2977 fatal (errmsg);
2977 fatal ("%s", errmsg);
2978 else
2979 {
2980 errno = err;
2981 pfatal_with_name (errmsg);
2982 }
2983 }
2984
2985 if (string != commands[i].prog)

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

6520 }
6521
6522 if (print_help_list)
6523 {
6524 display_help ();
6525
6526 if (! verbose_flag)
6527 {
2978 else
2979 {
2980 errno = err;
2981 pfatal_with_name (errmsg);
2982 }
2983 }
2984
2985 if (string != commands[i].prog)

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

6520 }
6521
6522 if (print_help_list)
6523 {
6524 display_help ();
6525
6526 if (! verbose_flag)
6527 {
6528 printf (_("\nFor bug reporting instructions, please see:\n"));
6528 printf ("%s", _("\nFor bug reporting instructions, please see:\n"));
6529 printf ("%s.\n", bug_report_url);
6530
6531 return (0);
6532 }
6533
6534 /* We do not exit here. Instead we have created a fake input file
6535 called 'help-dummy' which needs to be compiled, and we pass this
6536 on the various sub-processes, along with the --help switch. */

--- 1414 unchanged lines hidden ---
6529 printf ("%s.\n", bug_report_url);
6530
6531 return (0);
6532 }
6533
6534 /* We do not exit here. Instead we have created a fake input file
6535 called 'help-dummy' which needs to be compiled, and we pass this
6536 on the various sub-processes, along with the --help switch. */

--- 1414 unchanged lines hidden ---