From: Andrew Pinski <andrew.pinski@caviumnetworks.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [Committed] Add new testcase
Date: Mon, 16 Jul 2012 07:17:00 -0000 [thread overview]
Message-ID: <CA+=Sn1=Xx3040x5c4TKLUGhqW1bQP5RrEYJ-G+v4-GiBHhjPCw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
Hi,
When I was debugging a modified GCC 4.3 I ran into an ICE which was
fixed by http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00217.html .
The patch did not mention it was fixing an ICE, so I decided to add a testcase.
Committed the testcase as obvious.
Thanks,
Andrew Pinski
* gcc.dg/torture/builtins-1.c: New testcase.
[-- Attachment #2: addtestcase.diff.txt --]
[-- Type: text/plain, Size: 751 bytes --]
Index: gcc.dg/torture/builtins-1.c
===================================================================
--- gcc.dg/torture/builtins-1.c (revision 0)
+++ gcc.dg/torture/builtins-1.c (revision 0)
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-options "-fdump-rtl-expand-all" */
+/* { dg-final { cleanup-rtl-dump "expand" } } */
+int isdigit(int c)
+{
+ return c >= 0;
+}
+
+
Index: ChangeLog
===================================================================
--- ChangeLog (revision 189509)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2012-07-16 Andrew Pinski <apinski@cavium.com>
+
+ * gcc.dg/torture/builtins-1.c: New testcase.
+
2012-07-16 Hans-Peter Nilsson <hp@axis.com>
* gcc.target/cris/sync-2i.c, gcc.target/cris/sync-2s.c,
reply other threads:[~2012-07-16 7:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+=Sn1=Xx3040x5c4TKLUGhqW1bQP5RrEYJ-G+v4-GiBHhjPCw@mail.gmail.com' \
--to=andrew.pinski@caviumnetworks.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).