public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/42708] [4.5 Regression] ICE in gimplify_expr, at gimplify.c:6993
Date: Tue, 12 Jan 2010 16:08:00 -0000	[thread overview]
Message-ID: <20100112160801.11005.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42708-10053@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-01-12 16:08 -------
typedef long unsigned int size_t;
extern char *yytext;
typedef union YYSTYPE {
    char *id;
}  YYSTYPE;
extern YYSTYPE yylval;
void yylex (int b)
{
  yylval = (YYSTYPE) (b ? 0 : (char *) malloc (4));
}


#1  0x000000000080f95a in gimplify_expr (expr_p=0x7ffff7ff90d0, 
    pre_p=0x7fffffffcec8, post_p=0x7fffffff8a08, 
    gimple_test_f=0x7c83bf <is_gimple_val>, fallback=1)
    at /space/rguenther/src/svn/trunk/gcc/gimplify.c:6991
6991                  gcc_assert (TREE_CODE (*expr_p) == TRUTH_AND_EXPR
(gdb) p *expr_p
$1 = (tree) 0x7ffff7ff9070
(gdb) call debug_tree ( *expr_p)
 <c_maybe_const_expr 0x7ffff7ff9070


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |c
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-12 16:08:00
               date|                            |
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42708


  parent reply	other threads:[~2010-01-12 16:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 15:45 [Bug middle-end/42708] New: " rguenth at gcc dot gnu dot org
2010-01-12 15:46 ` [Bug middle-end/42708] " rguenth at gcc dot gnu dot org
2010-01-12 15:54 ` doko at ubuntu dot com
2010-01-12 16:08 ` rguenth at gcc dot gnu dot org [this message]
2010-01-12 23:09 ` [Bug c/42708] " jsm28 at gcc dot gnu dot org
2010-01-12 23:11 ` jsm28 at gcc dot gnu dot org
2010-02-07  4:49 ` hjl at gcc dot gnu dot org

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=20100112160801.11005.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).