This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17724] New: [4.0 Regression] wrong dominator (eh/fold all builtins) related


namespace ACE_OS {char *strcpy (char *s, const char *t);}
extern "C" char *strcpy (char *__restrict __dest, __const char *__restrict __src)  throw ();
inline char *ACE_OS::strcpy (char *s, const char *t){return ::strcpy (s, t); }
struct decon{~decon();};
int fg();
void f();
int main (int, char *[])
{
  decon cmd_opts;
  int option;
  char config_file[4096];
  ACE_OS::strcpy (config_file, "HAStatus.conf");
  while ((option = fg()) != (-1))
    if (option)
       return -1;
  return 0;
}

-- 
           Summary: [4.0 Regression] wrong dominator (eh/fold all builtins)
                    related
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, EH
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]