2011-06-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38752
* gcc.c-torture/compile/pr38752.c: New testcase.
From-SVN: r175684
+2011-06-30 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/38752
+ * gcc.c-torture/compile/pr38752.c: New testcase.
+
2011-06-30 Ira Rosen <ira.rosen@linaro.org>
* gcc.dg/vect/slp-widen-mult-half.c: New test.
--- /dev/null
+typedef struct
+{
+ int baddr;
+} mstruct_t;
+
+static struct
+{
+ unsigned int mapnum;
+ mstruct_t unused;
+} mtab;
+
+static mstruct_t *mactab = &mtab.unused;
+
+int
+main(void)
+{
+ int i;
+ int addr;
+
+ for (i=1; i <= mtab.mapnum; i++)
+ if (addr < mactab[i].baddr)
+ break;
+ return 0;
+}
+