This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37393] [4.4 Regression] error: EH edge 10->12 is missing
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2008 21:04:01 -0000
- Subject: [Bug middle-end/37393] [4.4 Regression] error: EH edge 10->12 is missing
- References: <bug-37393-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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