re PR target/36745 (ICE in gen_reg_rtx, at emit-rtl.c:868)
authorJakub Jelinek <jakub@redhat.com>
Mon, 14 Jul 2008 13:46:25 +0000 (15:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 14 Jul 2008 13:46:25 +0000 (15:46 +0200)
PR target/36745
* g++.dg/torture/pr36745.C: Use __SIZE_TYPE__ in size_t typedef.

From-SVN: r137785

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr36745.C

index 6cd54c634ba266046a6c55f80bca1459d0c47c49..456cc9d765adda6002dbb000ee5b183d4629983c 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/36745
+       * g++.dg/torture/pr36745.C: Use __SIZE_TYPE__ in size_t typedef.
+
 2008-07-14  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        PR target/36745
index a304c374e26c09acfbdf60de3f98cd9c12371aaf..86047f1f0d8be72a9e765539d645051feeb5e715 100644 (file)
@@ -1,7 +1,9 @@
+/* PR target/36745 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fPIC" } */
 /* { dg-require-effective-target fpic } */
-typedef long unsigned int size_t;
+
+typedef __SIZE_TYPE__ size_t;
 class QBasicAtomicInt
 {
 public: