------- Comment #3 from pinskia at gcc dot gnu dot org  2008-12-23 17:04 -------
Very reduced testcase:
int dialog_calendar(int state)
{
  int *obj = (state == 1 ? &state : 0);
  return (obj == &state);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
          Component|c                           |tree-optimization
   GCC host triplet|x86_64-suse-linux           |
            Summary|ice for legal code with -O3 |[4.4 Regression] ice for
                   |                            |legal code with -O2
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38608

Reply via email to