flags.h (flag_permissive): Do not declare.
2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org> gcc/ * flags.h (flag_permissive): Do not declare. * diagnostic.c (diagnostic_report_diagnostic): Handle fpermissive option specially. * toplev.c (flag_permissive): Do not define. * c-tree.h (system_header_p): Delete unused. c-family/ * c.opt (fpermissive): Add Var(flag_permissive). From-SVN: r187123
This commit is contained in:
parent
d333c3ebce
commit
0c3641b0ea
|
@ -1,3 +1,11 @@
|
||||||
|
2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
|
* flags.h (flag_permissive): Do not declare.
|
||||||
|
* diagnostic.c (diagnostic_report_diagnostic): Handle fpermissive
|
||||||
|
option specially.
|
||||||
|
* toplev.c (flag_permissive): Do not define.
|
||||||
|
* c-tree.h (system_header_p): Delete unused.
|
||||||
|
|
||||||
2012-05-03 David S. Miller <davem@davemloft.net>
|
2012-05-03 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
PR target/52684
|
PR target/52684
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
|
* c.opt (fpermissive): Add Var(flag_permissive).
|
||||||
|
|
||||||
2012-04-30 Marc Glisse <marc.glisse@inria.fr>
|
2012-04-30 Marc Glisse <marc.glisse@inria.fr>
|
||||||
|
|
||||||
PR c++/51033
|
PR c++/51033
|
||||||
|
|
|
@ -982,7 +982,7 @@ C ObjC C++ ObjC++
|
||||||
Look for and use PCH files even when preprocessing
|
Look for and use PCH files even when preprocessing
|
||||||
|
|
||||||
fpermissive
|
fpermissive
|
||||||
C++ ObjC++
|
C++ ObjC++ Var(flag_permissive)
|
||||||
Downgrade conformance errors to warnings
|
Downgrade conformance errors to warnings
|
||||||
|
|
||||||
fplan9-extensions
|
fplan9-extensions
|
||||||
|
|
|
@ -621,10 +621,6 @@ extern int current_function_returns_null;
|
||||||
|
|
||||||
extern int current_function_returns_abnormally;
|
extern int current_function_returns_abnormally;
|
||||||
|
|
||||||
/* Nonzero means we are reading code that came from a system header file. */
|
|
||||||
|
|
||||||
extern int system_header_p;
|
|
||||||
|
|
||||||
/* Mode used to build pointers (VOIDmode means ptr_mode). */
|
/* Mode used to build pointers (VOIDmode means ptr_mode). */
|
||||||
|
|
||||||
extern enum machine_mode c_default_pointer_mode;
|
extern enum machine_mode c_default_pointer_mode;
|
||||||
|
|
|
@ -542,7 +542,8 @@ diagnostic_report_diagnostic (diagnostic_context *context,
|
||||||
diagnostic->kind = DK_ERROR;
|
diagnostic->kind = DK_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (diagnostic->option_index)
|
if (diagnostic->option_index
|
||||||
|
&& diagnostic->option_index != permissive_error_option (context))
|
||||||
{
|
{
|
||||||
diagnostic_t diag_class = DK_UNSPECIFIED;
|
diagnostic_t diag_class = DK_UNSPECIFIED;
|
||||||
|
|
||||||
|
|
|
@ -53,9 +53,6 @@ extern void set_Wstrict_aliasing (struct gcc_options *opts, int onoff);
|
||||||
|
|
||||||
extern bool final_insns_dump_p;
|
extern bool final_insns_dump_p;
|
||||||
|
|
||||||
/* Nonzero means make permerror produce warnings instead of errors. */
|
|
||||||
|
|
||||||
extern int flag_permissive;
|
|
||||||
|
|
||||||
/* Other basic status info about current function. */
|
/* Other basic status info about current function. */
|
||||||
|
|
||||||
|
|
|
@ -145,10 +145,6 @@ HOST_WIDE_INT random_seed;
|
||||||
|
|
||||||
/* -f flags. */
|
/* -f flags. */
|
||||||
|
|
||||||
/* Nonzero means make permerror produce warnings instead of errors. */
|
|
||||||
|
|
||||||
int flag_permissive = 0;
|
|
||||||
|
|
||||||
/* When non-NULL, indicates that whenever space is allocated on the
|
/* When non-NULL, indicates that whenever space is allocated on the
|
||||||
stack, the resulting stack pointer must not pass this
|
stack, the resulting stack pointer must not pass this
|
||||||
address---that is, for stacks that grow downward, the stack pointer
|
address---that is, for stacks that grow downward, the stack pointer
|
||||||
|
|
Loading…
Reference in New Issue