summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-24 04:57:49 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-24 04:57:49 +0000
commit7c6d19502b3e308cdac7fb14983b599049d4e411 (patch)
tree04973280cd4751c0a3490cd189256c35db4d0517 /gcc/testsuite/gcc.dg/debug
parent4269dd0cd199dc351f7e966e651bef18bfaa9e2f (diff)
downloadgcc-7c6d19502b3e308cdac7fb14983b599049d4e411.tar.gz
2009-11-24 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 154487 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@154488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/debug')
-rw-r--r--gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c2
-rw-r--r--gcc/testsuite/gcc.dg/debug/pr41264-1.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
index 3a6318ea586..641712bf26f 100644
--- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
+++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
@@ -34,7 +34,7 @@
/* There are 3 DW_AT_inline attributes: one per abstract inline instance.
The value of the attribute must be 0x3, meaning the function was
actually inlined. */
-/* { dg-final { scan-assembler-times "byte.*?0x3.*? DW_AT_inline" 3 } } */
+/* { dg-final { scan-assembler-times "(?:byte|data1)\[^\n\]*0x3\[^\n\]* DW_AT_inline" 3 } } */
inline void
diff --git a/gcc/testsuite/gcc.dg/debug/pr41264-1.c b/gcc/testsuite/gcc.dg/debug/pr41264-1.c
index b5555b554ba..34bdcfe2047 100644
--- a/gcc/testsuite/gcc.dg/debug/pr41264-1.c
+++ b/gcc/testsuite/gcc.dg/debug/pr41264-1.c
@@ -1,6 +1,10 @@
/* { dg-do compile } */
+#if (__SIZEOF_INT__ <= 2)
+typedef unsigned long hashval_t;
+#else
typedef unsigned int hashval_t;
+#endif
static hashval_t __attribute__((always_inline))
iterative_hash_host_wide_int (long val, hashval_t val2)
{