Commit 06988296 by Jakub Jelinek

re PR target/82880 (gcc --help=target --help=optimizers hangs on mips)

	PR target/82880
	* config/mips/frame-header-opt.c (mips_register_frame_header_opt):
	Remove static keyword from f variable.

	* gcc.dg/opts-8.c: New test.

From-SVN: r255004
parent 7d2f0f9b
2017-11-21 James Cowgill <James.Cowgill@imgtec.com>
Jakub Jelinek <jakub@redhat.com>
PR target/82880
* config/mips/frame-header-opt.c (mips_register_frame_header_opt):
Remove static keyword from f variable.
2017-11-21 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/83086
......@@ -99,8 +99,7 @@ void
mips_register_frame_header_opt (void)
{
opt_pass *p = make_pass_ipa_frame_header_opt (g);
static struct register_pass_info f =
{p, "comdats", 1, PASS_POS_INSERT_AFTER };
struct register_pass_info f = { p, "comdats", 1, PASS_POS_INSERT_AFTER };
register_pass (&f);
}
......
2017-11-21 Jakub Jelinek <jakub@redhat.com>
PR target/82880
* gcc.dg/opts-8.c: New test.
2017-11-21 Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/loop-5.cpp: New test.
......
/* PR target/82880 */
/* Test we don't ICE or hang. */
/* { dg-do compile } */
/* { dg-options "--help=target --help=optimizers" } */
/* { dg-allow-blank-lines-in-output 1 } */
/* { dg-prune-output ".*" } */
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