tree-dump.c (dump_switch_p_1): Require exact match of the option name.
* tree-dump.c (dump_switch_p_1): Require exact match of the option name. * gcc.dg/tree-prof/update-tailcall.c: Use -fdump-tree-tailc instead of -fdump-tree-tailcall. From-SVN: r121967
This commit is contained in:
parent
3d88299026
commit
702f9d782f
@ -1,3 +1,9 @@
|
||||
2007-02-14 Roger Sayle <roger@eyesopen.com>
|
||||
Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* tree-dump.c (dump_switch_p_1): Require exact match of the option
|
||||
name.
|
||||
|
||||
2007-02-14 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* passes.c (next_pass_1): Clear the next field of the copied
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-02-14 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* gcc.dg/tree-prof/update-tailcall.c: Use -fdump-tree-tailc
|
||||
instead of -fdump-tree-tailcall.
|
||||
|
||||
2007-02-14 Brooks Moses <brooks.moses@codesourcery.com>
|
||||
|
||||
* gfortran.dg/interface_10.f90: Fix comment typo.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* { dg-options "-O2 -fdump-tree-tailcall -fdump-tree-optimized" } */
|
||||
/* { dg-options "-O2 -fdump-tree-tailc -fdump-tree-optimized" } */
|
||||
__attribute__ ((noinline))
|
||||
int factorial(int x)
|
||||
{
|
||||
|
@ -1004,6 +1004,9 @@ dump_switch_p_1 (const char *arg, struct dump_file_info *dfi, bool doglob)
|
||||
if (!option_value)
|
||||
return 0;
|
||||
|
||||
if (*option_value && *option_value != '-')
|
||||
return 0;
|
||||
|
||||
ptr = option_value;
|
||||
flags = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user