This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] improve C++ code by changing fold-const.c



On Jun 2, 2004, at 15:00, Diego Novillo wrote:


On Wed, 2004-06-02 at 14:55, Andrew Pinski wrote:

+/* We should removed the casts from pointers to references and caused
             ^^^
have


+
+/* We should removed the casts from pointers to references and caused
             ^^^
have


Woops, sorry about that.

Fixed thusly:

2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>

        * g++.dg/tree-ssa/ssa-sra-1.C: Fix comment.
        * g++.dg/tree-ssa/ssa-sra-2.C: Likewise.

Index: ssa-sra-1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/tree-ssa/ssa-sra-1.C,v
retrieving revision 1.1
diff -u -p -r1.1 ssa-sra-1.C
--- ssa-sra-1.C	2 Jun 2004 18:56:54 -0000	1.1
+++ ssa-sra-1.C	2 Jun 2004 19:07:04 -0000
@@ -55,6 +55,6 @@ void temp()
    link_error();
 }

-/* We should removed the casts from pointers to references and caused SRA to happen. */
+/* We should have removed the casts from pointers to references and caused SRA to happen. */


 /* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */
Index: ssa-sra-2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/tree-ssa/ssa-sra-2.C,v
retrieving revision 1.1
diff -u -p -r1.1 ssa-sra-2.C
--- ssa-sra-2.C	2 Jun 2004 18:56:54 -0000	1.1
+++ ssa-sra-2.C	2 Jun 2004 19:07:04 -0000
@@ -47,5 +47,5 @@ void test()
     link_error();
 }

-/* We should removed the casts from pointers to references and caused SRA to happen. */
+/* We should have removed the casts from pointers to references and caused SRA to happen. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]