public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build
@ 2015-04-14  0:20 hjl.tools at gmail dot com
  2015-04-14  2:02 ` [Bug middle-end/65758] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2015-04-14  0:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65758
           Summary: [6 Regression] 191.fma3d in SPEC CPU 200 failed to
                    build
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com

On Linux/x86-64, r222061 gave

gfortran -c -o output.o   -DSPEC_CPU2000_LP64         -O2 -ffast-math  
output.f90
...
internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:524
0xc70167 set_lattice_value
    ../../src-trunk/gcc/tree-ssa-ccp.c:524
0xc7502a visit_assignment
    ../../src-trunk/gcc/tree-ssa-ccp.c:2268
0xc7518c ccp_visit_stmt
    ../../src-trunk/gcc/tree-ssa-ccp.c:2342
0xcf6264 simulate_stmt
    ../../src-trunk/gcc/tree-ssa-propagate.c:348
0xcf6417 process_ssa_edge_worklist
    ../../src-trunk/gcc/tree-ssa-propagate.c:422
0xcf7c18 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, edge_def**,
t
ree_node**), ssa_prop_result (*)(gphi*))
    ../../src-trunk/gcc/tree-ssa-propagate.c:896
0xc6e0d4 do_ssa_ccp
    ../../src-trunk/gcc/tree-ssa-ccp.c:2383
0xc6e0d4 execute
    ../../src-trunk/gcc/tree-ssa-ccp.c:2416
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.
specmake[3]: *** [output.o] Error 1


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

* [Bug middle-end/65758] [6 Regression] 191.fma3d in SPEC CPU 200 failed to build
  2015-04-14  0:20 [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build hjl.tools at gmail dot com
@ 2015-04-14  2:02 ` hjl.tools at gmail dot com
  2015-04-14  7:53 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2015-04-14  2:02 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-14
                 CC|                            |rguenther at suse dot de
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r222049.


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

* [Bug middle-end/65758] [6 Regression] 191.fma3d in SPEC CPU 200 failed to build
  2015-04-14  0:20 [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build hjl.tools at gmail dot com
  2015-04-14  2:02 ` [Bug middle-end/65758] " hjl.tools at gmail dot com
@ 2015-04-14  7:53 ` rguenth at gcc dot gnu.org
  2015-04-14 12:17 ` rguenth at gcc dot gnu.org
  2015-04-14 12:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-14  7:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

      SUBROUTINE USER_MESSAGE (MESSAGE)
      CHARACTER MSGL*1
      CHARACTER, INTENT(IN) :: MESSAGE*(*)
      CHARACTER(21)  :: LEADER(4)
      CHARACTER(132) :: MSG_TEXT*132
      LOGICAL, SAVE  :: FIRST
 100  IR = MIN (LM, IL+INDEX(MESSAGE(MIN(LM,IL+1):LM)//MSGL,MSGL))
      IF (FIRST) THEN
        IF (INDEX(MESSAGE(IL:IR),'WARN') .NE. 0) THEN
          K = 2
        ELSE IF (INDEX(MESSAGE(IL:IR),'INFORM') .NE. 0) THEN
          K = 3
          GO TO 100
        ENDIF
      ELSE
        IF (MESSAGE(IR:IR) .EQ. MSGL) THEN
          MSG_TEXT = LEADER(K)//MESSAGE(IL+1:IR-1)
        ENDIF
      ENDIF
      END


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

* [Bug middle-end/65758] [6 Regression] 191.fma3d in SPEC CPU 200 failed to build
  2015-04-14  0:20 [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build hjl.tools at gmail dot com
  2015-04-14  2:02 ` [Bug middle-end/65758] " hjl.tools at gmail dot com
  2015-04-14  7:53 ` rguenth at gcc dot gnu.org
@ 2015-04-14 12:17 ` rguenth at gcc dot gnu.org
  2015-04-14 12:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-14 12:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Apr 14 12:17:05 2015
New Revision: 222085

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

    PR tree-optimization/65758
    * tree-ssa-ccp.c (get_value_from_alignment): Adjust mask test
    against -1.
    (ccp_lattice_meet): Likewise.
    (bit_value_unop): Likewise.
    (bit_value_binop): Likewise.
    (bit_value_assume_aligned): Likewise.

    * gfortran.fortran-torture/compile/pr65758.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr65758.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


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

* [Bug middle-end/65758] [6 Regression] 191.fma3d in SPEC CPU 200 failed to build
  2015-04-14  0:20 [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-04-14 12:17 ` rguenth at gcc dot gnu.org
@ 2015-04-14 12:57 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-14 12:57 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-04-14 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14  0:20 [Bug middle-end/65758] New: [6 Regression] 191.fma3d in SPEC CPU 200 failed to build hjl.tools at gmail dot com
2015-04-14  2:02 ` [Bug middle-end/65758] " hjl.tools at gmail dot com
2015-04-14  7:53 ` rguenth at gcc dot gnu.org
2015-04-14 12:17 ` rguenth at gcc dot gnu.org
2015-04-14 12:57 ` 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).