Bug 39721 - [4.5 Regression][cond-optab] worse register allocation on mn10300
Summary: [4.5 Regression][cond-optab] worse register allocation on mn10300
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.5.0
: P4 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 39714
  Show dependency treegraph
 
Reported: 2009-04-10 12:50 UTC by Paolo Bonzini
Modified: 2024-06-08 01:24 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Bonzini 2009-04-10 12:50:12 UTC
/* -O2  */

int dialog_calendar(int state)
{
  int *obj = (state == 1 ? &state : 0);
  return (obj == &state);
}
Comment 1 Paolo Bonzini 2009-07-14 21:25:11 UTC
(This is peak-gcc-src/gcc/testsuite/gcc.c-torture/compile/pr38564.c).

I cannot reproduce this anymore.