On Mon, Dec 12, 2016 at 09:32:30AM -0700, Jeff Law wrote: > On 12/09/2016 03:20 AM, Bin Cheng wrote: > >Hi, > >PR78652 was fixed by patch for PR77856, this patch adds a test for it. Test > >result checked, is it OK? > > > >Thanks, > >bin > > > >gcc/testsuite/ChangeLog > >2016-12-07 Bin Cheng <bin.ch...@arm.com> > > > > PR rtl-optimization/78652 > > * gcc.c-torture/execute/pr78652.c: New test. > > > You need to restrict it to targets with named section support -- or -- > remove the attribute section from main. > > /* { dg-require-effective-target named_sections } */
If the testcase fails before r243038 without the attribute and succeeds with it, I'd strongly prefer the latter option - remove the attribute. Jakub