Commit 20f65b56 by Alan Modra Committed by Alan Modra

[RS6000] Bootstrap failure compiling xcoffout.c

git commit 41f70262f (svn rev 264868) exposed a signed/unsigned
comparison.  Fixed by matching the type of the local var to that of
the tree field.

	* xcoffout.c (do_block): Signed/unsigned warning fix.

From-SVN: r266555
parent dc7ca394
2018-11-28 Alan Modra <amodra@gmail.com>
* xcoffout.c (do_block): Signed/unsigned warning fix.
2018-11-28 Richard Biener <rguenther@suse.de> 2018-11-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/79351 PR tree-optimization/79351
...@@ -345,7 +345,7 @@ xcoffout_source_line (unsigned int line, unsigned int column ATTRIBUTE_UNUSED, ...@@ -345,7 +345,7 @@ xcoffout_source_line (unsigned int line, unsigned int column ATTRIBUTE_UNUSED,
This function works by walking the tree structure of blocks, This function works by walking the tree structure of blocks,
counting blocks until it finds the desired block. */ counting blocks until it finds the desired block. */
static int do_block = 0; static unsigned int do_block = 0;
static void static void
xcoffout_block (tree block, int depth, tree args) xcoffout_block (tree block, int depth, tree args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment