Commit f615b74e by Jeff Law Committed by Jeff Law

re PR rtl-optimization/91173 (ICE: in int_mode_for_mode, at stor-layout.c:403)

	PR rtl-optimization/91173
	* g++.dg/pr91173.C: New test.

From-SVN: r273531
parent f0593c53
2019-07-16 Jeff Law <law@redhat.com>
PR rtl-optimization/91173
* g++.dg/pr91173.C: New test.
2019-07-16 Wilco Dijkstra <wdijkstr@arm.com> 2019-07-16 Wilco Dijkstra <wdijkstr@arm.com>
PR target/89190 PR target/89190
......
class a {
int b;
void *c;
public:
bool aa();
int &ab() {
if (aa()) {
void *d(c);
return static_cast<int *>(d)[b];
}
return *(int *)0;
}
};
typedef enum {E} e;
class f : public a {
int g;
public:
int ac() {
if (g)
return 1;
return ac();
}
};
int *ad;
struct h {
static int ae(e, int *m) {
f ag;
int *ah;
while (!0) {
ad = &ag.ab();
ah = ad + ag.ac();
while (ad < ah)
*m = *ad++;
}
}
};
template <class, class>
void i(int *, int *, int, int *, e n, int *o) {
h::ae(n, o);
}
int aq, ar, as, at, au;
void aw() { i<int, bool>(&aq, &ar, as, &at, (e)0, &au); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment