Fix previous checkin.
PR debug/12934 * dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION. testsuite/ * gcc.dg/debug/debug-7.c: New test. From-SVN: r78018
This commit is contained in:
parent
cdbafce136
commit
c5fe50362f
@ -1,5 +1,6 @@
|
||||
2004-02-18 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
PR debug/12934
|
||||
* dwarf2out.c (loc_descriptor_from_tree): Handle
|
||||
EXPR_WITH_FILE_LOCATION.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
2004-02-18 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
PR debug/12934
|
||||
* gcc.dg/debug/debug-7.c: New test.
|
||||
|
||||
2004-02-17 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
@ -1,17 +1,16 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-dA" } */
|
||||
/* PR debug/12934. */
|
||||
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
|
||||
static inline size_t foo (int n)
|
||||
static inline int foo ()
|
||||
{
|
||||
return (n + sizeof (int) * 8 - 1) / (sizeof (int) * 8);
|
||||
return 42;
|
||||
}
|
||||
|
||||
void bar (int, int *);
|
||||
void bar (int *);
|
||||
|
||||
void baz (int n)
|
||||
void baz ()
|
||||
{
|
||||
int a[foo (n)];
|
||||
bar (n, a);
|
||||
int a[foo ()];
|
||||
bar (a);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user