public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list
Date: Thu, 27 Dec 2007 20:38:00 -0000	[thread overview]
Message-ID: <20071227203818.6873.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32455-14734@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from reichelt at gcc dot gnu dot org  2007-12-27 20:38 -------
Confirmed. Here's a reduced testcase that crashes when compiled under
i686-pc-linux-gnu:

=========================================
typedef double* va_list;

void __builtin_va_start(va_list, ...);

void foo(const char* s, ...)
{
  va_list v;
  __builtin_va_start(v, s);
}
=========================================

bug.c: In function 'foo':
bug.c:8: internal compiler error: in convert_move, at expr.c:371
Please submit a full bug report, [etc.]

I don't know whether messing around with va_list and __builtin_va_start
is allowed or not. Btw, with
  typedef void* va_list;
instead of
  typedef double* va_list;
I get a different ICE:

bug.c: In function 'foo':
bug.c:8: internal compiler error: in simplify_subreg, at simplify-rtx.c:4918
Please submit a full bug report, [etc.]

Btw, the ICE appeared in GCC 4.0.0 (GCC 3.3.x crashed, too).


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|target                      |middle-end
     Ever Confirmed|0                           |1
 GCC target triplet|hppa2.0w-hp-hpux11.11       |
           Keywords|                            |ice-on-valid-code, monitored
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-27 20:38:18
               date|                            |
            Summary|internal compiler error: in |[4.1/4.2/4.3 regression] ICE
                   |convert_move, at expr.c:362 |with modified va_list
   Target Milestone|---                         |4.1.3


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


  parent reply	other threads:[~2007-12-27 20:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 13:58 [Bug c/32455] New: internal compiler error: in convert_move, at expr.c:362 frederic dot schuh at neuf dot fr
2007-06-21 14:04 ` [Bug target/32455] " pinskia at gcc dot gnu dot org
2007-06-21 14:49 ` frederic dot schuh at neuf dot fr
2007-12-27 20:38 ` reichelt at gcc dot gnu dot org [this message]
2008-01-02 23:36 ` [Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list mmitchel at gcc dot gnu dot org
2008-01-15 15:22 ` [Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_* rguenth at gcc dot gnu dot org
2008-01-31 19:37 ` rth at gcc dot gnu dot org
2008-07-04 22:16 ` [Bug c/32455] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-11-07 17:14 ` jakub at gcc dot gnu dot org
2008-11-07 17:25 ` jakub at gcc dot gnu dot org
2009-01-10  9:05 ` jakub at gcc dot gnu dot org
2009-06-19 11:47 ` [Bug c/32455] [4.2/4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2009-06-21 22:46 ` pinskia at gcc dot gnu dot org
2010-04-06 11:20 ` [Bug c/32455] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-07-31  9:30 ` [Bug c/32455] [4.3/4.4/4.5/4.6 " rguenth 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=20071227203818.6873.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).