public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/45741] [4.6 Regression] ICE: SIGSEGV in string_constant (expr.c:9863) when parsing memcmp()
Date: Fri, 24 Sep 2010 16:25:00 -0000	[thread overview]
Message-ID: <20100924162500.cbfkG9l9_-rpByxlUe4L1dHsgJMIgzru64jjFe1SLt4@z> (raw)
In-Reply-To: <bug-45741-4@http.gcc.gnu.org/bugzilla/>

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

Zdenek Sojka <zsojka at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-09-21 17:37:53         |2010-09-24 17:37:53
               date|                            |

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-09-24 16:24:53 UTC ---
Author: hubicka
Date: Fri Sep 24 16:24:45 2010
New Revision: 164602

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164602
Log:

    PR tree-optimization/45738
    PR tree-optimization/45741
    * expr.c (string_constant): Allow CONST_DECL too;
    check that DECL_INITIAL is set.
    * varpool.c (const_value_known_p): Only look into VAR_DECL
    and CONST_DECL.

    * gcc.c-torture/compile/pr45741.c: New.
    * gfortran.fortran-torture/compile/pr45738.f90: New.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45771.c
    trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr45738.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varpool.c

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


       reply	other threads:[~2010-09-24 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-45741-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 16:25 ` hubicka at gcc dot gnu.org [this message]
2010-09-24 16:29 ` hubicka at gcc dot gnu.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=20100924162500.cbfkG9l9_-rpByxlUe4L1dHsgJMIgzru64jjFe1SLt4@z \
    --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).