Commit e96fee3e by Jakub Jelinek Committed by Jakub Jelinek

opts.c (decode_options): If optimize is bigger than 255, set it to 255.

	* opts.c (decode_options): If optimize is bigger than 255,
	set it to 255.

	* gcc.dg/O16384.c: New test.

From-SVN: r154699
parent 85539630
2009-11-27 Jakub Jelinek <jakub@redhat.com>
* opts.c (decode_options): If optimize is bigger than 255,
set it to 255.
2009-11-26 Richard Henderson <rth@redhat.com>
* config/i386/sse.md (mulv16qi3): Change back from an expander
......@@ -829,6 +829,8 @@ decode_options (unsigned int argc, const char **argv)
if (optimize_val != -1)
{
optimize = optimize_val;
if ((unsigned int) optimize > 255)
optimize = 255;
optimize_size = 0;
}
}
......
2009-11-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/O16384.c: New test.
2009-11-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/35112
......
/* Test insane -O argument. */
/* { dg-do compile } */
/* { dg-options "-O16384" } */
__attribute__((__optimize__(16396), __noinline__)) void
foo (void)
{
}
int
main (void)
{
foo ();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment