public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63883] New: [5.0 Regression] ICE at -O1 -ffast-math
@ 2014-11-15  7:28 Joost.VandeVondele at mat dot ethz.ch
  2014-11-15  7:55 ` [Bug middle-end/63883] [5 " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-11-15  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63883
           Summary: [5.0 Regression] ICE at -O1 -ffast-math
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

in the day between r217531 and r217599 the following (reduced) testcase started
failing on trunk:

> cat bug.f90
  SUBROUTINE influence_factor ( gftype, error )
    INTEGER, PARAMETER :: dp=8
    INTEGER :: k,n,lb(3),ub(3),dim,pt
    COMPLEX(KIND=dp)                         :: b_m, exp_m, sum_m
    DO k = 0, n-2
       DO pt = lb (dim), ub (dim)
          sum_m = CMPLX ( 0.0_dp, 0.0_dp,KIND=dp)
          b_m = exp_m ** ( n - 1 ) / sum_m
       END DO
    END DO
  END SUBROUTINE influence_factor

> gfortran -c -O1 -ffast-math bug.f90
gfortran: internal compiler error: Segmentation fault (program f951)
0x40c116 execute
    ../../gcc/gcc/gcc.c:2912
0x40c2ae do_spec_1
    ../../gcc/gcc/gcc.c:4837
0x40e94b process_brace_body
    ../../gcc/gcc/gcc.c:6120
0x40e94b handle_braces
    ../../gcc/gcc/gcc.c:6034
0x40cb71 do_spec_1
    ../../gcc/gcc/gcc.c:5491
0x40e94b process_brace_body
    ../../gcc/gcc/gcc.c:6120
0x40e94b handle_braces
    ../../gcc/gcc/gcc.c:6034
0x40cb71 do_spec_1
    ../../gcc/gcc/gcc.c:5491
0x40c9de do_spec_1
    ../../gcc/gcc/gcc.c:5606
0x40e94b process_brace_body
    ../../gcc/gcc/gcc.c:6120
0x40e94b handle_braces
    ../../gcc/gcc/gcc.c:6034
0x40cb71 do_spec_1
    ../../gcc/gcc/gcc.c:5491
0x40e94b process_brace_body
    ../../gcc/gcc/gcc.c:6120
0x40e94b handle_braces
    ../../gcc/gcc/gcc.c:6034
0x40cb71 do_spec_1
    ../../gcc/gcc/gcc.c:5491
0x40def3 do_spec_2
    ../../gcc/gcc/gcc.c:4538
0x410568 do_spec(char const*)
    ../../gcc/gcc/gcc.c:4505
0x410987 driver::do_spec_on_infiles() const
    ../../gcc/gcc/gcc.c:7674
0x410ff0 driver::main(int, char**)
    ../../gcc/gcc/gcc.c:6911
Please submit a full bug report,


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

* [Bug middle-end/63883] [5 Regression] ICE at -O1 -ffast-math
  2014-11-15  7:28 [Bug middle-end/63883] New: [5.0 Regression] ICE at -O1 -ffast-math Joost.VandeVondele at mat dot ethz.ch
@ 2014-11-15  7:55 ` mpolacek at gcc dot gnu.org
  2014-11-17  9:35 ` rguenth at gcc dot gnu.org
  2014-11-17  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-11-15  7:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-15
                 CC|                            |mpolacek at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |5.0
            Summary|[5.0 Regression] ICE at -O1 |[5 Regression] ICE at -O1
                   |-ffast-math                 |-ffast-math
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed, started with r217545.


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

* [Bug middle-end/63883] [5 Regression] ICE at -O1 -ffast-math
  2014-11-15  7:28 [Bug middle-end/63883] New: [5.0 Regression] ICE at -O1 -ffast-math Joost.VandeVondele at mat dot ethz.ch
  2014-11-15  7:55 ` [Bug middle-end/63883] [5 " mpolacek at gcc dot gnu.org
@ 2014-11-17  9:35 ` rguenth at gcc dot gnu.org
  2014-11-17  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-17  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Duplicate.

*** This bug has been marked as a duplicate of bug 63898 ***


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

* [Bug middle-end/63883] [5 Regression] ICE at -O1 -ffast-math
  2014-11-15  7:28 [Bug middle-end/63883] New: [5.0 Regression] ICE at -O1 -ffast-math Joost.VandeVondele at mat dot ethz.ch
  2014-11-15  7:55 ` [Bug middle-end/63883] [5 " mpolacek at gcc dot gnu.org
  2014-11-17  9:35 ` rguenth at gcc dot gnu.org
@ 2014-11-17  9:39 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-17  9:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Nov 17 09:38:48 2014
New Revision: 217652

URL: https://gcc.gnu.org/viewcvs?rev=217652&root=gcc&view=rev
Log:
2014-11-17  Richard Biener  <rguenther@suse.de>

    PR middle-end/63898
    PR middle-end/63883
    * gfortran.dg/pr63883.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr63883.f90
Modified:
    trunk/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2014-11-17  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15  7:28 [Bug middle-end/63883] New: [5.0 Regression] ICE at -O1 -ffast-math Joost.VandeVondele at mat dot ethz.ch
2014-11-15  7:55 ` [Bug middle-end/63883] [5 " mpolacek at gcc dot gnu.org
2014-11-17  9:35 ` rguenth at gcc dot gnu.org
2014-11-17  9:39 ` 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).