summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-03 21:22:10 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-03 21:22:10 +0000
commite522a60472ab6e2c12be7944eac3f6d62d4f64bb (patch)
tree9c4233d4502ee9e2a111926323f9eef01f8f6152 /gcc/testsuite/c-c++-common
parent408ebd8b33c5ab1ccd4375fd1a6f094113be81d8 (diff)
downloadgcc-e522a60472ab6e2c12be7944eac3f6d62d4f64bb.tar.gz
gcc/ChangeLog:
2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org> * tree-pretty-print.c (dump_location): Make it extern. Dump also the column. * tree-pretty-print.h (dump_location): Declare. * gimple-pretty-print.c (dump_gimple_phi): Use dump_location. (pp_gimple_stmt_1): Likewise. (dump_implicit_edges): Likewise. * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and LOCATION_LINE. gcc/testsuite/ChangeLog: 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org> * gcc.dg/tm/debug-1.c: Update regex. * c-c++-common/raw-string-18.c: Update regex. * c-c++-common/raw-string-19.c: Update regex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215879 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/c-c++-common')
-rw-r--r--gcc/testsuite/c-c++-common/raw-string-18.c2
-rw-r--r--gcc/testsuite/c-c++-common/raw-string-19.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/c-c++-common/raw-string-18.c b/gcc/testsuite/c-c++-common/raw-string-18.c
index 8d4381d1310..01dd339b180 100644
--- a/gcc/testsuite/c-c++-common/raw-string-18.c
+++ b/gcc/testsuite/c-c++-common/raw-string-18.c
@@ -17,5 +17,5 @@ main ()
}
/* Verify call to foo is on line 15. */
-/* { dg-final { scan-tree-dump ": 15\[]:]\[^\n\r]*foo" "optimized" } } */
+/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/c-c++-common/raw-string-19.c b/gcc/testsuite/c-c++-common/raw-string-19.c
index 08121a89f84..abbecfb950f 100644
--- a/gcc/testsuite/c-c++-common/raw-string-19.c
+++ b/gcc/testsuite/c-c++-common/raw-string-19.c
@@ -17,6 +17,6 @@ main ()
}
/* Verify call to foo is on line 15. */
-/* { dg-final { scan-tree-dump ": 15\[]:]\[^\n\r]*foo" "optimized" } } */
+/* { dg-final { scan-tree-dump "c:15:\[^\n\r\]*foo" "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
/* { dg-final { cleanup-saved-temps } } */