comparison gcc/optc-gen.awk @ 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 b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
147 # ends, for example. 147 # ends, for example.
148 while( i + 1 != n_opts && opts[i] == opts[i + 1] ) { 148 while( i + 1 != n_opts && opts[i] == opts[i + 1] ) {
149 flags[i + 1] = flags[i] " " flags[i + 1]; 149 flags[i + 1] = flags[i] " " flags[i + 1];
150 if (help[i + 1] == "") 150 if (help[i + 1] == "")
151 help[i + 1] = help[i] 151 help[i + 1] = help[i]
152 else if (help[i] != "" && help[i + 1] != help[i])
153 print "warning: multiple different help strings for " \
154 opts[i] ":\n\t" help[i] "\n\t" help[i + 1] \
155 | "cat 1>&2"
152 i++; 156 i++;
153 back_chain[i] = "N_OPTS"; 157 back_chain[i] = "N_OPTS";
154 indices[opts[i]] = j; 158 indices[opts[i]] = j;
155 } 159 }
156 j++; 160 j++;
321 325
322 for (i = 0; i < n_opt_char; i++) { 326 for (i = 0; i < n_opt_char; i++) {
323 print " " var_opt_char[i] " = ptr->" var_opt_char[i] ";"; 327 print " " var_opt_char[i] " = ptr->" var_opt_char[i] ";";
324 } 328 }
325 329
330 print " targetm.override_options_after_change ();";
326 print "}"; 331 print "}";
327 332
328 print ""; 333 print "";
329 print "/* Print optimization options from a structure. */"; 334 print "/* Print optimization options from a structure. */";
330 print "void"; 335 print "void";