public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
@ 2005-06-05 14:59 p dot van-hoof at qub dot ac dot uk
  2005-06-05 15:00 ` [Bug c/21922] " p dot van-hoof at qub dot ac dot uk
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2005-06-05 14:59 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]

The attached code results in an ICE if compiled as follows:

dogbert> gcc -O1 -ftree-vectorize -c t.c
t.c: In function ‘c’:
t.c:4: internal compiler error: tree check: expected real_cst, have integer_cst
in const_binop, at fold-const.c:1513
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
dogbert> gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc410
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.1.0 20050605 (experimental)

This bug does not show up in the 4.0 release branch.

-- 
           Summary: internal compiler error: tree check: expected real_cst,
                    have integer_cst in const_binop, at fold-const.c:1513
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: p dot van-hoof at qub dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 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=21922


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

* [Bug c/21922] internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
  2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
@ 2005-06-05 15:00 ` p dot van-hoof at qub dot ac dot uk
  2005-06-05 15:33 ` [Bug middle-end/21922] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: p dot van-hoof at qub dot ac dot uk @ 2005-06-05 15:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From p dot van-hoof at qub dot ac dot uk  2005-06-05 15:00 -------
Created an attachment (id=9033)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9033&action=view)
code that triggers the ICE


-- 


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


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

* [Bug middle-end/21922] internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
  2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
  2005-06-05 15:00 ` [Bug c/21922] " p dot van-hoof at qub dot ac dot uk
@ 2005-06-05 15:33 ` pinskia at gcc dot gnu dot org
  2005-06-05 16:25 ` [Bug tree-optimization/21922] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 15:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
           Keywords|                            |ice-on-valid-code


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


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

* [Bug tree-optimization/21922] [4.1 Regression] internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
  2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
  2005-06-05 15:00 ` [Bug c/21922] " p dot van-hoof at qub dot ac dot uk
  2005-06-05 15:33 ` [Bug middle-end/21922] " pinskia at gcc dot gnu dot org
@ 2005-06-05 16:25 ` pinskia at gcc dot gnu dot org
  2005-06-26 22:17 ` pinskia at gcc dot gnu dot org
  2005-08-01 16:40 ` [Bug tree-optimization/21922] [4.1 Regression] ICE with -ftree-vectorize in const_binop pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 16:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 16:25 -------
Confirmed, the vectorizer is asking scalar evolution code about a floating point variable, I don't know 
where the bug should be fixed.  I want to say in scalar evolution but I don't know for sure.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |tree-optimization
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-05 16:25:15
               date|                            |
            Summary|internal compiler error:    |[4.1 Regression] internal
                   |tree check: expected        |compiler error: tree check:
                   |real_cst, have integer_cst  |expected real_cst, have
                   |in const_binop, at fold-    |integer_cst in const_binop,
                   |const.c:1513                |at fold-const.c:1513
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/21922] [4.1 Regression] internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
  2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
                   ` (2 preceding siblings ...)
  2005-06-05 16:25 ` [Bug tree-optimization/21922] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-26 22:17 ` pinskia at gcc dot gnu dot org
  2005-08-01 16:40 ` [Bug tree-optimization/21922] [4.1 Regression] ICE with -ftree-vectorize in const_binop pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 22:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-26 22:17 -------
Note to reproduce this now on the mainline, you have to remove the static as unit-at-a-time is now 
default at -O1 and above.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-06-05 16:25:15         |2005-06-26 22:17:08
               date|                            |


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


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

* [Bug tree-optimization/21922] [4.1 Regression] ICE with -ftree-vectorize in const_binop
  2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
                   ` (3 preceding siblings ...)
  2005-06-26 22:17 ` pinskia at gcc dot gnu dot org
@ 2005-08-01 16:40 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-01 16:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-01 16:40 -------
This is a dup of bug 19899.  The problem is the same.

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

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


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


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

end of thread, other threads:[~2005-08-01 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-05 14:59 [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513 p dot van-hoof at qub dot ac dot uk
2005-06-05 15:00 ` [Bug c/21922] " p dot van-hoof at qub dot ac dot uk
2005-06-05 15:33 ` [Bug middle-end/21922] " pinskia at gcc dot gnu dot org
2005-06-05 16:25 ` [Bug tree-optimization/21922] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-06-26 22:17 ` pinskia at gcc dot gnu dot org
2005-08-01 16:40 ` [Bug tree-optimization/21922] [4.1 Regression] ICE with -ftree-vectorize in const_binop 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).