Travis Vitek wrote:
Martin Sebor wrote:Travis Vitek (JIRA) wrote: [...]I've reduced the problem to the following testcase...I haven't looked at it very closely -- is this a compiler bug? MartinIt believe it is. I'm filing an external bug right now for that.
Cool. FYI, I played with it a little and here's what I reduced
it to:
extern "C" typedef void F (int);
extern "C" void bar (int) { }
int main () {
F* const f = (F*)-2;
return f == bar;
}
I sent the test case to HP.
Martin
