Commit cdbafce1 by Paul Brook Committed by Paul Brook

dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION.

	* dwarf2out.c (loc_descriptor_from_tree): Handle
	EXPR_WITH_FILE_LOCATION.
testsuite/
	* gcc.dg/debug/debug-7.c: New test.

From-SVN: r78017
parent 5a0855a0
2004-02-18 Paul Brook <paul@codesourcery.com>
* dwarf2out.c (loc_descriptor_from_tree): Handle
EXPR_WITH_FILE_LOCATION.
2004-02-18 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.md (zero_extendqidi2, zero_extendqidi2,
......
......@@ -9001,6 +9001,9 @@ loc_descriptor_from_tree (tree loc, int addressp)
}
break;
case EXPR_WITH_FILE_LOCATION:
return loc_descriptor_from_tree (EXPR_WFL_NODE (loc), addressp);
default:
/* Leave front-end specific codes as simply unknown. This comes
up, for instance, with the C STMT_EXPR. */
......
2004-02-18 Paul Brook <paul@codesourcery.com>
* gcc.dg/debug/debug-7.c: New test.
2004-02-17 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20040217-1.c: New test.
......
/* { dg-do compile } */
/* { dg-options "-dA" } */
typedef __SIZE_TYPE__ size_t;
static inline size_t foo (int n)
{
return (n + sizeof (int) * 8 - 1) / (sizeof (int) * 8);
}
void bar (int, int *);
void baz (int n)
{
int a[foo (n)];
bar (n, a);
}
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