aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-06-18 15:10:23 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-06-18 15:10:23 +0000
commitb506a5a2387f4a5f69a8c23840e1c733bcb1e595 (patch)
tree18edd293d0c14435ca25ef1e53b3051f9a051794 /gcc
parent4c1a901679c2dbb549916f260f3f878dcb48390a (diff)
downloadgcc-b506a5a2387f4a5f69a8c23840e1c733bcb1e595.zip
gcc-b506a5a2387f4a5f69a8c23840e1c733bcb1e595.tar.gz
gcc-b506a5a2387f4a5f69a8c23840e1c733bcb1e595.tar.bz2
expr.c (num_div_op): Take explicit location.
2009-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org> libcpp/ * expr.c (num_div_op): Take explicit location. testsuite/ * gcc.dg/cpp/arith-3.c: Add column info. From-SVN: r148662
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/cpp/arith-3.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9a7c599..caf69f5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * gcc.dg/cpp/arith-3.c: Add column info.
+
2009-06-18 Sandra Loosemore <sandra@codesourcery.com>
* gcc.target/arm/fp16-compile-none-2.c: New.
diff --git a/gcc/testsuite/gcc.dg/cpp/arith-3.c b/gcc/testsuite/gcc.dg/cpp/arith-3.c
index 3015d31..2f94e98 100644
--- a/gcc/testsuite/gcc.dg/cpp/arith-3.c
+++ b/gcc/testsuite/gcc.dg/cpp/arith-3.c
@@ -9,7 +9,7 @@
Please keep changes to arith-2.c and arith-3.c in sync. */
/* { dg-do preprocess } */
-/* { dg-options "-std=c99" } */
+/* { dg-options "-std=c99 -fshow-column" } */
#include <limits.h>
@@ -274,7 +274,7 @@
# error /* { dg-bogus "error" } */
#endif
-#if -5 / (2 - 2) /* { dg-error "division by zero" } */
+#if -5 / (2 - 2) /* { dg-error "13:division by zero" } */
#endif
#if LONG_UDIVISION != LONG_UDIVISION_ANSWER
@@ -286,7 +286,7 @@
#endif
/* Binary %. Cannot overflow. */
-#if -5 % (2 - 2) /* { dg-error "division by zero" } */
+#if -5 % (2 - 2) /* { dg-error "13:division by zero" } */
#endif
#if TARG_MIN % 1 /* { dg-bogus "overflow" } */