public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49809] New: [4.7 regression] gimple_check failure at -O3
@ 2011-07-21 20:24 ebotcazou at gcc dot gnu.org
  2011-07-22 10:51 ` [Bug tree-optimization/49809] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-21 20:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 regression] gimple_check failure at -O3
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ebotcazou@gcc.gnu.org
                CC: rsandifo@gcc.gnu.org


Created attachment 24805
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24805
Reduced testcase

The patch

2011-07-19  Richard Sandiford  <richard.sandiford@linaro.org>

    PR tree-optimization/49742
    * tree-data-ref.c (get_references_in_stmt): Treat the lhs of a call
    as a potential write.

has introduced regressions in Ada of the form:

+===========================GNAT BUG DETECTED==============================+
| 4.7.0 20110720 (experimental) [trunk revision 176495] (i586-suse-linux-gnu)
GCC error:|
| gimple check: expected gimple_assign(error_mark), have                   |
|     gimple_call(block) in gimple_assign_lhs, at gimple.h:1736         

Reduced testcase suitable for the gnat.dg testsuite attached (to be
gnatchop-ed)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-25 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 20:24 [Bug tree-optimization/49809] New: [4.7 regression] gimple_check failure at -O3 ebotcazou at gcc dot gnu.org
2011-07-22 10:51 ` [Bug tree-optimization/49809] " rguenth at gcc dot gnu.org
2011-07-25  9:44 ` rsandifo at gcc dot gnu.org
2011-07-25 14:52 ` rsandifo at gcc dot gnu.org
2011-07-25 14:56 ` rsandifo at gcc dot gnu.org

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