public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722
       [not found] <bug-58946-4@http.gcc.gnu.org/bugzilla/>
@ 2013-10-31 21:25 ` pinskia at gcc dot gnu.org
  2013-10-31 22:06 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-10-31 21:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to octoploid from comment #1)
> Started with r204194.

Yes I expected failures to happen in reassoc due it not being well tested
before and now my patch is forcing the path inside reassoc being a lot more
than before.  Most likely you could get a test case that exposes this before my
patch.


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

* [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722
       [not found] <bug-58946-4@http.gcc.gnu.org/bugzilla/>
  2013-10-31 21:25 ` [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722 pinskia at gcc dot gnu.org
@ 2013-10-31 22:06 ` jakub at gcc dot gnu.org
  2013-11-04 10:31 ` jakub at gcc dot gnu.org
  2013-11-04 11:07 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-10-31 22:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.9.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is a bug in my reassoc changes, update_ops uses is_reassociable_op and
has_single_use predicates and expects to match exactly what get_ops did, but if
some SSA_NAME has say two imm uses during get_ops, one of those could be gone
because of earlier update_ops or GIMPLE_COND changes processing and then
update_ops can recurse on something get_ops has not.  Will think about it
tomorrow.


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

* [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722
       [not found] <bug-58946-4@http.gcc.gnu.org/bugzilla/>
  2013-10-31 21:25 ` [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722 pinskia at gcc dot gnu.org
  2013-10-31 22:06 ` jakub at gcc dot gnu.org
@ 2013-11-04 10:31 ` jakub at gcc dot gnu.org
  2013-11-04 11:07 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-04 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Nov  4 10:29:42 2013
New Revision: 204348

URL: http://gcc.gnu.org/viewcvs?rev=204348&root=gcc&view=rev
Log:
    PR tree-optimization/58946
    * tree-ssa-reassoc.c (maybe_optimize_range_tests): Update all
    bbs with bbinfo[idx].op != NULL before all blocks with
    bbinfo[idx].op == NULL.

    * gcc.c-torture/compile/pr58946.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr58946.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-reassoc.c


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

* [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722
       [not found] <bug-58946-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-11-04 10:31 ` jakub at gcc dot gnu.org
@ 2013-11-04 11:07 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-04 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2013-11-04 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-58946-4@http.gcc.gnu.org/bugzilla/>
2013-10-31 21:25 ` [Bug tree-optimization/58946] [4.9 Regression] internal compiler error: in operator[], at vec.h:722 pinskia at gcc dot gnu.org
2013-10-31 22:06 ` jakub at gcc dot gnu.org
2013-11-04 10:31 ` jakub at gcc dot gnu.org
2013-11-04 11:07 ` jakub 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).