Opened 8 years ago
Last modified 6 years ago
#26 closed defect
Implicit conversion from zero_t do not work. — at Initial Version
| Reported by: | pabuhr | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
struct foo;
void ?{}( foo **, zero_t z ) {}
int fred() {
foo * h;
if (h) {}
}
should convert to:
if (h != ?{}(temp, 0), temp ) { ... }
Instead converts to:
if ( ((int )(__h__P4sfoo_2!=((struct foo *)0))) ) {}
Note:
See TracTickets
for help on using tickets.