+2015-12-01 Jan Hubicka <hubicka@ucw.cz>
+
+ * c-common.c (parse_optimize_options): Do not silently ignore
+ -fstrict-aliasing changes.
+
2015-12-01 Jan Hubicka <hubicka@ucw.cz>
* lto-streamer-out.c (hash_tree): Do not stream TYPE_ALIAS_SET.
bool ret = true;
unsigned opt_argc;
unsigned i;
- int saved_flag_strict_aliasing;
const char **opt_argv;
struct cl_decoded_option *decoded_options;
unsigned int decoded_options_count;
for (i = 1; i < opt_argc; i++)
opt_argv[i] = (*optimize_args)[i];
- saved_flag_strict_aliasing = flag_strict_aliasing;
-
/* Now parse the options. */
decode_cmdline_options_to_array_default_mask (opt_argc, opt_argv,
&decoded_options,
targetm.override_options_after_change();
- /* Don't allow changing -fstrict-aliasing. */
- flag_strict_aliasing = saved_flag_strict_aliasing;
-
optimize_args->truncate (0);
return ret;
}
+2015-12-01 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.c-torture/execute/alias-1.c: New testcase.
+
2015-12-01 Marek Polacek <polacek@redhat.com>
PR tree-optimization/64769