------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-06 21:04 -------
Reduced testcase:
struct __attribute__((visibility("default"))) QString {
  inline ~QString();
  bool isEmpty() const;
};
extern "C" {
  extern void __error_noreturn (__const char *__format, ...) __asm__ (""
"error")   __attribute__ ((__noreturn__));
  extern __inline __attribute__ ((__always_inline__)) __attribute__
((__gnu_inline__, __artificial__)) void error (__const char *__format, ...) {
    __error_noreturn ( __format, __builtin_va_arg_pack ());
  }
};
void parseArgs() {
  QString loadHdrFilename;
  if (loadHdrFilename.isEmpty())
    error( "Wrong combination of parameters.");
}

--- CUT ---
Related (and maybe a dup) to PR 37337.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-06 21:04:01
               date|                            |
            Summary|[4.4 Regression] error: EH  |[4.4 Regression] error: EH
                   |edge 10->12 is missing      |edge 10->12 is missing
   Target Milestone|---                         |4.4.0


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

Reply via email to