public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS
Date: Tue, 28 Jun 2005 12:43:00 -0000	[thread overview]
Message-ID: <20050628124331.621.qmail@sourceware.org> (raw)
In-Reply-To: <20050628070207.22212.laurent@guerby.net>


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-06-28 12:43 -------
--  Testcase for segfault in is_gimple_variable, compile with -O1:

procedure Bug is
   package B is
      function "*" (L  : Natural; R : String) return String;
   end B;
   package body B is
      function "*" (L  : Natural; R : String) return String
      is
         Result : String (1 .. L * R'Length);
         P : Integer := 1;
      begin
         for J in 1 .. L loop
            Result (P .. P + R'Length - 1) := R;
            P := P + R'Length;
         end loop;
         return Result;
      end "*";
   end B;
   use B;
   S : String := "";
begin
   S := 1 * "";
end Bug;
--

Confirmed on x86_64.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-28 12:43:30
               date|                            |
            Summary|SEGV in is_gimple_variable  |[4.1 Regression] SEGV in
                   |during loop-ivopts while    |is_gimple_variable during
                   |building Ada RTS            |loop-ivopts while building
                   |                            |Ada RTS
   Target Milestone|---                         |4.1.0


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


  parent reply	other threads:[~2005-06-28 12:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  7:02 [Bug ada/22212] New: " laurent at guerby dot net
2005-06-28 10:43 ` [Bug ada/22212] " laurent at guerby dot net
2005-06-28 12:43 ` belyshev at depni dot sinp dot msu dot ru [this message]
2005-06-28 21:12 ` [Bug tree-optimization/22212] [4.1 Regression] " belyshev at depni dot sinp dot msu dot ru
2005-06-28 22:09 ` pinskia at gcc dot gnu dot org
2005-06-29  6:13 ` laurent at guerby dot net
2005-06-29 21:47 ` pinskia at gcc dot gnu dot org
2005-06-30 12:31 ` rakdver at gcc dot gnu dot org
2005-06-30 18:09 ` giovannibajo at libero dot it
2005-06-30 21:04 ` laurent at guerby dot net
2005-06-30 23:04 ` laurent at guerby dot net
2005-07-02 13:08 ` laurent at guerby dot net
2005-07-02 16:04 ` kenner at vlsi1 dot ultra dot nyu dot edu
2005-07-06  8:16 ` rakdver at gcc dot gnu dot org
2005-07-06  9:13 ` belyshev at depni dot sinp dot msu dot ru

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=20050628124331.621.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).