This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Other (non-bug?) effects of flow/edge changes


Here's the complete list of stderr differences compiling with -W -Wall -O
in my private test suite.  The two ICEs I've already reported --
the rest illustrate the elimination of warnings.  I'm not sure
whether this is bad or good, but in the first case, it seems
to be bad, in that an uninitialized variable is no longer warned
about (this is 951101-1.f in the diff output):

	goto i
10	assign 10 to i
	end

(The `i' variable above is turned by g77 into `__g77_ASSIGN_i' in
the context of its use as what gcc would call a label type.  The
name `i' isn't used as such because it also serves as the name of
an INTEGER variable within the program.  See `-fugly-assign' in the
g77 docs, IIRC, for some more info on that issue...but I don't *think*
it should pertain to the issue of properly warning about the above
sample program.)


diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/951101-1.f ast/egcs-2.93/opt-W-Wall-O/err/951101-1.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/951101-1.f	Thu Feb 25 11:11:54 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/951101-1.f	Sun Feb 28 17:29:16 1999
@@ -1,2 +0,0 @@
-stdin: In program `MAIN__':
-stdin:1: warning: `__g77_ASSIGN_i' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/960317-1.f ast/egcs-2.93/opt-W-Wall-O/err/960317-1.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/960317-1.f	Thu Feb 25 11:12:38 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/960317-1.f	Sun Feb 28 17:30:20 1999
@@ -0,0 +1 @@
+Failed compilation:  139
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/961127-0.f ast/egcs-2.93/opt-W-Wall-O/err/961127-0.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/961127-0.f	Thu Feb 25 11:12:46 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/961127-0.f	Sun Feb 28 17:30:33 1999
@@ -2,7 +1,0 @@
-stdin:86: warning: `x' might be used uninitialized in this function
-stdin:86: warning: `y' might be used uninitialized in this function
-stdin:132: warning: `ix0' might be used uninitialized in this function
-stdin:133: warning: `iy0' might be used uninitialized in this function
-stdin:134: warning: `is0' might be used uninitialized in this function
-stdin:136: warning: `ix2' might be used uninitialized in this function
-stdin:137: warning: `iy2' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/970213-0.f ast/egcs-2.93/opt-W-Wall-O/err/970213-0.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/970213-0.f	Thu Feb 25 11:13:15 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/970213-0.f	Sun Feb 28 17:31:16 1999
@@ -11,2 +10,0 @@
-stdin: In function `sc3':
-stdin:124: warning: `i' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/970625-2.f ast/egcs-2.93/opt-W-Wall-O/err/970625-2.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/970625-2.f	Thu Feb 25 11:15:11 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/970625-2.f	Sun Feb 28 17:34:05 1999
@@ -0,0 +1,4 @@
+../../egcs-19990228/gcc/flow.c:940: Internal compiler error in function make_edges
+Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
+See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
+Failed compilation:  33
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/980104-1.f ast/egcs-2.93/opt-W-Wall-O/err/980104-1.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/980104-1.f	Thu Feb 25 11:15:17 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/980104-1.f	Sun Feb 28 17:34:13 1999
@@ -1,13 +0,0 @@
-stdin: In subroutine `yimp1':
-stdin:58: warning: `gx' might be used uninitialized in this function
-stdin:59: warning: `yi' might be used uninitialized in this function
-stdin:59: warning: `xi' might be used uninitialized in this function
-stdin:62: warning: `k' might be used uninitialized in this function
-stdin:62: warning: `jx' might be used uninitialized in this function
-stdin:62: warning: `ky' might be used uninitialized in this function
-stdin:62: warning: `kymin' might be used uninitialized in this function
-stdin:62: warning: `kymax' might be used uninitialized in this function
-stdin:62: warning: `modjx' might be used uninitialized in this function
-stdin:62: warning: `modky' might be used uninitialized in this function
-stdin:88: warning: `__g77_expr_1' might be used uninitialized in this function
-stdin:91: warning: `__g77_expr_2' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/980221-0.f ast/egcs-2.93/opt-W-Wall-O/err/980221-0.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/980221-0.f	Thu Feb 25 11:15:18 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/980221-0.f	Sun Feb 28 17:34:15 1999
@@ -1,9 +0,0 @@
-stdin: In program `main':
-stdin:82: warning: `k' might be used uninitialized in this function
-stdin:82: warning: `kymin' might be used uninitialized in this function
-stdin:82: warning: `kymax' might be used uninitialized in this function
-stdin:84: warning: `gx' might be used uninitialized in this function
-stdin:85: warning: `yi' might be used uninitialized in this function
-stdin:85: warning: `xi' might be used uninitialized in this function
-stdin:119: warning: `__g77_expr_1' might be used uninitialized in this function
-stdin:123: warning: `__g77_expr_2' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/980421-0.f ast/egcs-2.93/opt-W-Wall-O/err/980421-0.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/980421-0.f	Thu Feb 25 11:15:20 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/980421-0.f	Sun Feb 28 17:34:18 1999
@@ -7,5 +6,0 @@
-stdin:133: warning: `__g77_expr_3' might be used uninitialized in this function
-stdin: In subroutine `bbloopa2':
-stdin:165: warning: `__g77_ASSIGN_lswitch2' might be used uninitialized in this function
-stdin:172: warning: `__g77_expr_4' might be used uninitialized in this function
-stdin:176: warning: `__g77_expr_5' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/=egilp9.f ast/egcs-2.93/opt-W-Wall-O/err/=egilp9.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/=egilp9.f	Thu Feb 25 11:15:34 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/=egilp9.f	Sun Feb 28 17:34:39 1999
@@ -1,2 +0,0 @@
-stdin: In program `MAIN__':
-stdin:4: warning: `nnnnn' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/EQ.f ast/egcs-2.93/opt-W-Wall-O/err/EQ.f
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/EQ.f	Thu Feb 25 11:15:47 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/EQ.f	Sun Feb 28 17:34:58 1999
@@ -51 +50,0 @@
-stdin:257: warning: `nnnnn' might be used uninitialized in this function
diff -r -u -0 -N ast/egcs-2.93/opt-W-Wall-O/gold-err/STAMP.txt ast/egcs-2.93/opt-W-Wall-O/err/STAMP.txt
--- ast/egcs-2.93/opt-W-Wall-O/gold-err/STAMP.txt	Thu Feb 25 11:11:13 1999
+++ ast/egcs-2.93/opt-W-Wall-O/err/STAMP.txt	Sun Feb 28 17:28:15 1999
@@ -1,3 +1,3 @@
-Thu Feb 25 11:11:13 EST 1999
-lrwxrwxrwx   1 craig    develop        77 Feb 25 10:58 ./f771 -> /develop/egcs/ice-so-19990221/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.93.09/f771
-GNU F77 version egcs-2.93.09 19990221 (gcc2 ss-980929 experimental) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.93.09 19990221 (gcc2 ss-980929 experimental).
+Sun Feb 28 17:28:15 EST 1999
+lrwxrwxrwx   1 craig    develop        70 Feb 28 17:10 ./f771 -> /develop/egcs/19990228/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.93.10/f771
+GNU F77 version egcs-2.93.10 19990228 (gcc2 ss-980929 experimental) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.93.10 19990228 (gcc2 ss-980929 experimental).
@@ -8 +8 @@
-	.ident	"GCC: (GNU) egcs-2.93.09 19990221 (gcc2 ss-980929 experimental)"
+	.ident	"GCC: (GNU) egcs-2.93.10 19990228 (gcc2 ss-980929 experimental)"

Let me know if any particular test cases are desired.  (Yes, I hope
to put most of them into the test suite someday, especially the ones
clearly unburdened by copyright issues.)

        tq vm, (burley)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]