public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer
@ 2015-07-04  4:11 miyuki at gcc dot gnu.org
  2015-07-04 23:48 ` [Bug tree-optimization/66759] " kugan at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-07-04  4:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

            Bug ID: 66759
           Summary: [6 Regression] ICE in generic-match.c on 456.hmmer
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: miyuki at gcc dot gnu.org
  Target Milestone: ---

$ cat weight.i
int a, b;
float c;
int fn2();
void fn1() {
  if (fn2() <= 1. - c)
    b = a;
}

$ cc1 -Ofast weight.i
weight.i: In function 'fn1':
weight.i:7:1: internal compiler error: Segmentation fault
 }
 ^
0xbb59ff crash_signal
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/toplev.c:360
0x9414e3 tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/tree.h:2980
0x9414e3 generic_simplify(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        /home/jenkins/workspace/build-gcc-trunk/build/gcc/generic-match.c:14669
0x823647 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/fold-const.c:9413
0x8319ea fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/fold-const.c:13378
0x823789 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/fold-const.c:9411
0xcdc36b combine_cond_expr_cond
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/tree-ssa-forwprop.c:405
0xcdef80 forward_propagate_into_comparison_1
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/tree-ssa-forwprop.c:478
0xce3cf2 forward_propagate_into_gimple_cond
        /home/jenkins/workspace/build-gcc-trunk/src/gcc/tree-ssa-forwprop.c:551
0xce3cf2 execute
       
/home/jenkins/workspace/build-gcc-trunk/src/gcc/tree-ssa-forwprop.c:2408
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.

Started between r225351 and r225388.


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

* [Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer
  2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
@ 2015-07-04 23:48 ` kugan at gcc dot gnu.org
  2015-07-05 23:06 ` miyuki at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-07-04 23:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kugan at gcc dot gnu.org

--- Comment #1 from kugan at gcc dot gnu.org ---
Most likely started with r225375


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

* [Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer
  2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
  2015-07-04 23:48 ` [Bug tree-optimization/66759] " kugan at gcc dot gnu.org
@ 2015-07-05 23:06 ` miyuki at gcc dot gnu.org
  2015-07-06  7:16 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-07-05 23:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

--- Comment #2 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
(In reply to kugan from comment #1)
> Most likely started with r225375

Indeed.


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

* [Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer
  2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
  2015-07-04 23:48 ` [Bug tree-optimization/66759] " kugan at gcc dot gnu.org
  2015-07-05 23:06 ` miyuki at gcc dot gnu.org
@ 2015-07-06  7:16 ` rguenth at gcc dot gnu.org
  2015-07-06 10:38 ` rguenth at gcc dot gnu.org
  2015-07-07 11:05 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-06  7:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-07-06
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.


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

* [Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer
  2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-07-06  7:16 ` rguenth at gcc dot gnu.org
@ 2015-07-06 10:38 ` rguenth at gcc dot gnu.org
  2015-07-07 11:05 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-06 10:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jul  6 10:37:33 2015
New Revision: 225449

URL: https://gcc.gnu.org/viewcvs?rev=225449&root=gcc&view=rev
Log:
2015-07-06  Richard Biener  <rguenther@suse.de>

        PR middle-end/66759
        * match.pd: Add missing constraint of y to REAL_CST in
        REAL_CST - x CMP y to y - CST CMP x simplification.

        * gcc.dg/torture/pr66759.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr66759.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer
  2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-07-06 10:38 ` rguenth at gcc dot gnu.org
@ 2015-07-07 11:05 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-07 11:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 66770 has been marked as a duplicate of this bug. ***


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-04  4:11 [Bug tree-optimization/66759] New: [6 Regression] ICE in generic-match.c on 456.hmmer miyuki at gcc dot gnu.org
2015-07-04 23:48 ` [Bug tree-optimization/66759] " kugan at gcc dot gnu.org
2015-07-05 23:06 ` miyuki at gcc dot gnu.org
2015-07-06  7:16 ` rguenth at gcc dot gnu.org
2015-07-06 10:38 ` rguenth at gcc dot gnu.org
2015-07-07 11:05 ` rguenth 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).