public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14908] New: [tree-ssa regression] ICE with -O2 -ffast-math in final_scan_insn()
@ 2004-04-10 15:20 martin at mpa-garching dot mpg dot de
  2004-04-10 15:47 ` [Bug target/14908] [tree-ssa regression] [merge] " pinskia at gcc dot gnu dot org
  2004-04-14  6:21 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-04-10 15:20 UTC (permalink / raw)
  To: gcc-bugs

This bug is tree-ssa's analogon to target/14888.
Most likely the next merge of mainline into tree-ssa will fix it.

~/tmp>cat bug.cc
class xcomplex
  {
  public:
    float re, im;

    xcomplex &operator*= (const float &fact)
      { re*=fact; im*=fact; return *this; }
  };

void foo (xcomplex &almT, xcomplex &almG)
  {
  double gb;
  almT*=gb;
  almG*=gb*42;
  }

~/tmp>g++ -v -O2 -ffast-math -c ./bug.cc
Reading specs from /afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-t
ree-ssa/specs
Configured with: /scratch/gcc-ssa/configure --prefix=/afs/mpa/data/martin/ugcc-s
sa --enable-languages=c++,f95 --disable-checking --with-gmp=/afs/mpa/data/martin
/mygmp
Thread model: posix
gcc version 3.5-tree-ssa 20040410 (merged 20040331)
 /afs/mpa/data/martin/ugcc-ssa/libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/cc1plu
s -quiet -v -D_GNU_SOURCE ./bug.cc -quiet -dumpbase bug.cc -mtune=pentiumpro -au
xbase bug -O2 -version -ffast-math -o /tmp/cc6oieEa.s
ignoring nonexistent directory "/afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-li
nux-gnu/3.5-tree-ssa/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../../.
./include/c++/3.5-tree-ssa
 /afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../../.
./include/c++/3.5-tree-ssa/i686-pc-linux-gnu
 /afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../../.
./include/c++/3.5-tree-ssa/backward
 /usr/local/include
 /afs/mpa/data/martin/ugcc-ssa/include
 /afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/include
 /usr/include
End of search list.
GNU C++ version 3.5-tree-ssa 20040410 (merged 20040331) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20040410 (merged 20040331).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63318
./bug.cc: In function `void foo(xcomplex&, xcomplex&)':
./bug.cc:15: error: could not split insn
(insn:TI 10 50 3 (set (reg:SF 8 st)
        (float_truncate:SF (reg:DF 8 st))) 91 {truncdfsf2_noop} (nil)
    (nil))
./bug.cc:15: internal compiler error: in final_scan_insn, at final.c:2431
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [tree-ssa regression] ICE with -O2 -ffast-math in
                    final_scan_insn()
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org,martin at mpa-garching
                    dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug target/14908] [tree-ssa regression] [merge] ICE with -O2 -ffast-math in final_scan_insn()
  2004-04-10 15:20 [Bug target/14908] New: [tree-ssa regression] ICE with -O2 -ffast-math in final_scan_insn() martin at mpa-garching dot mpg dot de
@ 2004-04-10 15:47 ` pinskia at gcc dot gnu dot org
  2004-04-14  6:21 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-10 15:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-10 15:27 -------
Confirmed, waiting for a merge.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-10 15:27:11
               date|                            |
            Summary|[tree-ssa regression] ICE   |[tree-ssa regression]
                   |with -O2 -ffast-math in     |[merge] ICE with -O2 -ffast-
                   |final_scan_insn()           |math in final_scan_insn()
   Target Milestone|---                         |tree-ssa


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


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

* [Bug target/14908] [tree-ssa regression] [merge] ICE with -O2 -ffast-math in final_scan_insn()
  2004-04-10 15:20 [Bug target/14908] New: [tree-ssa regression] ICE with -O2 -ffast-math in final_scan_insn() martin at mpa-garching dot mpg dot de
  2004-04-10 15:47 ` [Bug target/14908] [tree-ssa regression] [merge] " pinskia at gcc dot gnu dot org
@ 2004-04-14  6:21 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-14  6:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-14 01:45 -------
Yep the merge from the mainline fixed this so closing as a dup of bug 14888.

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

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


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


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

end of thread, other threads:[~2004-04-14  1:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-10 15:20 [Bug target/14908] New: [tree-ssa regression] ICE with -O2 -ffast-math in final_scan_insn() martin at mpa-garching dot mpg dot de
2004-04-10 15:47 ` [Bug target/14908] [tree-ssa regression] [merge] " pinskia at gcc dot gnu dot org
2004-04-14  6:21 ` pinskia at gcc dot gnu dot 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).