public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
@ 2013-02-13 22:09 zsojka at seznam dot cz
  2013-02-14  0:35 ` [Bug tree-optimization/56310] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2013-02-13 22:09 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56310
           Summary: [4.8 Regression] ICE: in decide_about_value, at
                    ipa-cp.c:3310 with -fipa-cp -fno-early-inlining
                    -fipa-cp-clone --param=ipa-cp-eval-threshold=1
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -O -fipa-cp -std=gnu++0x -fno-early-inlining -fipa-cp-clone
--param=ipa-cp-eval-threshold=1 testcase.C
testcase.C:33:1: internal compiler error: in decide_about_value, at
ipa-cp.c:3310
 }
 ^
0x12c7bed decide_about_value
        /mnt/svn/gcc-trunk/gcc/ipa-cp.c:3308
0x12ca200 decide_whether_version_node
        /mnt/svn/gcc-trunk/gcc/ipa-cp.c:3367
0x12ca200 ipcp_decision_stage
        /mnt/svn/gcc-trunk/gcc/ipa-cp.c:3495
0x12ca200 ipcp_driver
        /mnt/svn/gcc-trunk/gcc/ipa-cp.c:3537
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r195931 - crash
r192654 - OK


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
@ 2013-02-14  0:35 ` mpolacek at gcc dot gnu.org
  2013-02-14  1:12 ` mpolacek at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-14  0:35 UTC (permalink / raw)
  To: gcc-bugs


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-02-14
                 CC|                            |mpolacek at gcc dot gnu.org
      Known to work|                            |4.7.3
     Ever Confirmed|0                           |1
      Known to fail|                            |4.8.0

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-14 00:35:37 UTC ---
Confirmed.


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
  2013-02-14  0:35 ` [Bug tree-optimization/56310] " mpolacek at gcc dot gnu.org
@ 2013-02-14  1:12 ` mpolacek at gcc dot gnu.org
  2013-02-14  1:16 ` mpolacek at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-14  1:12 UTC (permalink / raw)
  To: gcc-bugs


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-14 01:12:20 UTC ---
Started with http://gcc.gnu.org/viewcvs?view=revision&revision=193298


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
  2013-02-14  0:35 ` [Bug tree-optimization/56310] " mpolacek at gcc dot gnu.org
  2013-02-14  1:12 ` mpolacek at gcc dot gnu.org
@ 2013-02-14  1:16 ` mpolacek at gcc dot gnu.org
  2013-02-19 13:00 ` jamborm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-14  1:16 UTC (permalink / raw)
  To: gcc-bugs


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2013-02-14  1:16 ` mpolacek at gcc dot gnu.org
@ 2013-02-19 13:00 ` jamborm at gcc dot gnu.org
  2013-02-20 14:38 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-02-19 13:00 UTC (permalink / raw)
  To: gcc-bugs


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|mjambor at suse dot cz      |jamborm at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-02-19 13:00:20 UTC ---
Mine.


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2013-02-19 13:00 ` jamborm at gcc dot gnu.org
@ 2013-02-20 14:38 ` rguenth at gcc dot gnu.org
  2013-02-20 15:04 ` jamborm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-02-20 14:38 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2013-02-20 14:38 ` rguenth at gcc dot gnu.org
@ 2013-02-20 15:04 ` jamborm at gcc dot gnu.org
  2013-02-21 16:09 ` jamborm at gcc dot gnu.org
  2013-02-21 19:15 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-02-20 15:04 UTC (permalink / raw)
  To: gcc-bugs


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2013-02/msg00946.htm
                   |                            |l

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-02-20 15:04:01 UTC ---
Proposed fix posted the mailing list (never mind the wrong PR number
in the subject):

http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00946.html


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2013-02-20 15:04 ` jamborm at gcc dot gnu.org
@ 2013-02-21 16:09 ` jamborm at gcc dot gnu.org
  2013-02-21 19:15 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-02-21 16:09 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-02-21 16:08:58 UTC ---
Author: jamborm
Date: Thu Feb 21 16:08:51 2013
New Revision: 196207

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196207
Log:
2013-02-21  Martin Jambor  <mjambor@suse.cz>

    PR tree-optimization/56310
    * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
    only matching indices and non-negative final offsets.
    (intersect_aggregates_with_edge): Pass src_idx to
    agg_replacements_to_vector.  Pass src_idx insstead of index to
    intersect_with_agg_replacements.

testsuite/
    * g++.dg/ipa/pr56310.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr56310.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-cp.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/56310] [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1
  2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2013-02-21 16:09 ` jamborm at gcc dot gnu.org
@ 2013-02-21 19:15 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-21 19:15 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-21 19:15:26 UTC ---
Fixed.


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

end of thread, other threads:[~2013-02-21 19:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 22:09 [Bug tree-optimization/56310] New: [4.8 Regression] ICE: in decide_about_value, at ipa-cp.c:3310 with -fipa-cp -fno-early-inlining -fipa-cp-clone --param=ipa-cp-eval-threshold=1 zsojka at seznam dot cz
2013-02-14  0:35 ` [Bug tree-optimization/56310] " mpolacek at gcc dot gnu.org
2013-02-14  1:12 ` mpolacek at gcc dot gnu.org
2013-02-14  1:16 ` mpolacek at gcc dot gnu.org
2013-02-19 13:00 ` jamborm at gcc dot gnu.org
2013-02-20 14:38 ` rguenth at gcc dot gnu.org
2013-02-20 15:04 ` jamborm at gcc dot gnu.org
2013-02-21 16:09 ` jamborm at gcc dot gnu.org
2013-02-21 19:15 ` 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).