+Fri Oct 2 21:55:58 1998 Richard Henderson <rth@cygnus.com>
+
+ * g++.old-deja/g++.other/addrof1.C: New test.
+
Thu Oct 1 19:05:20 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/981001-2.c: New test.
--- /dev/null
+typedef struct st {
+ unsigned char a;
+ unsigned char b;
+ unsigned char c;
+ unsigned char d;
+} __attribute__((aligned(4))) st;
+
+void testme(int, int, int);
+
+static inline void
+stupid_func(st s)
+{
+ testme(s.a, s.b, s.c);
+}
+
+int main()
+{
+ st s;
+
+ s.a = s.b = s.c = 216;
+ stupid_func(s);
+
+ return 0;
+}
+
+void testme(int a, int b, int c)
+{
+ if (a != 216 || b != 216 || c != 216)
+ abort();
+}