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
This commit is contained in:
parent
7d2f0f9b61
commit
0698829670
4 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
6
gcc/testsuite/gcc.dg/opts-8.c
Normal file
6
gcc/testsuite/gcc.dg/opts-8.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* 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 ".*" } */
|
Loading…
Add table
Reference in a new issue