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] | |
Bernd Schmidt <bernds_cb1@t-online.de> writes:
> Andrew Pinski wrote:
>> --- testfour ---
>> /* { dg-do compile } */
>> /* { dg-options "-fdump-tree-gimple" } */
>> int g(int x)
>> {
>> return (x + 10) < 0;
>> }
>> /* There should be only x >= -9 and no x + 10. */
>> /* { dg-final { scan-tree-dump-times ">= 9" 1 "gimple"} } */
>> /* { dg-final { scan-tree-dump-times "- 10" 0 "gimple"} } */
>
> Typo, should be "+ 10"?
And another possible typo: The comment says ">= -9" - but the first
dg-final only has 9?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |