'gcc-3_4-branch'.
From-SVN: r91805
--- /dev/null
+// PR middle-end/17827
+// Origin: Andre Woebbeking <Woebbeking@web.de>
+// Testcase by Volker Reichelt <reichelt@gcc.gnu.org>
+// { dg-do compile }
+
+void foo()
+{
+ if (false)
+ if (int i=0)
+ int j=i;
+}
--- /dev/null
+class tt
+{
+ static final tt tt1 = new tt();
+ tt()
+ {
+ }
+}
+
+public class PR14853
+{
+ public static void main (String[] args)
+ {
+ // This is an invalid assignment. gcj would get confused in
+ // definite assignment when compiling to object code.
+ tt.tt1 = new tt();
+ }
+}
--- /dev/null
+shouldfail