Whole program optimization and functions-only-called-once.
Toon Moene
toon@moene.org
Tue Nov 17 14:14:00 GMT 2009
Toon Moene wrote:
> [ You say you want a resolution ....
> well, you can count me out. ]
What I get is this:
resolution = 209 <AC><C0>N^B, t = 0
lto1: internal compiler error: Invalid line in the resolution file.
after adding the following code to lto/lto.c:
$ svn diff
Index: lto.c
===================================================================
--- lto.c (revision 154244)
+++ lto.c (working copy)
@@ -294,7 +294,10 @@
t = fscanf (resolution, "%u %26s %*[^\n]\n", &index, r_str);
if (t != 2)
+ {
+ fprintf (stderr, "resolution = %u %s, t = %d\n", index, r_str, t);
internal_error ("Invalid line in the resolution file.");
+ }
if (index > max_index)
max_index = index;
Hope this helps,
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html
More information about the Gcc-patches
mailing list