comparison gcc/params.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
30 values. */ 30 values. */
31 31
32 param_info *compiler_params; 32 param_info *compiler_params;
33 33
34 /* The number of entries in the table. */ 34 /* The number of entries in the table. */
35
36 static size_t num_compiler_params; 35 static size_t num_compiler_params;
37 36
38 /* Add the N PARAMS to the current list of compiler parameters. */ 37 /* Add the N PARAMS to the current list of compiler parameters. */
39 38
40 void 39 void
83 } 82 }
84 83
85 /* If we didn't find this parameter, issue an error message. */ 84 /* If we didn't find this parameter, issue an error message. */
86 error ("invalid parameter %qs", name); 85 error ("invalid parameter %qs", name);
87 } 86 }
87
88 /* Return the current value of num_compiler_params, for the benefit of
89 plugins that use parameters as features. */
90
91 size_t
92 get_num_compiler_params (void)
93 {
94 return num_compiler_params;
95 }