* gcc.c-torture/compile/pr23237.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104177
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-09-12 Josh Conner <jconner@apple.com>
+
+ PR middle-end/23237
+ * gcc.c-torture/compile/pr23237.c: New test.
+
2005-09-11 Richard Henderson <rth@redhat.com>
* g++.dg/other/error8.C: Update expected diagnostic text.
--- /dev/null
+/* { dg-require-effective-target named_sections } */
+
+static __attribute__ ((__section__ (".init.data"))) char *message;
+static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
+void unpack_to_rootfs(void)
+{
+ while (!message)
+ {
+ if(!actions[0])
+ return;
+ }
+}