public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
@ 2010-10-11 14:19 rguenth at gcc dot gnu.org
  2010-10-11 14:20 ` [Bug c/45969] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-11 14:19 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] ICE in build_binary_op, at
                    c-typeck.c:9833
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


void crash() {
    double l[4];
    if((l[0]+l[2]) && (l[1]+l[3])){
    }
}

/space/rguenther/install/gcc-4.5.1/bin/gcc -c t.c -std=c89 -m32
t.c: In function 'crash':
t.c:3:5: internal compiler error: in build_binary_op, at c-typeck.c:9833
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
  2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
@ 2010-10-11 14:20 ` rguenth at gcc dot gnu.org
  2010-10-13 21:47 ` jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-11 14:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |i?86-*-*
                 CC|                            |jsm28 at gcc dot gnu.org
   Target Milestone|---                         |4.5.2

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-11 14:20:22 UTC ---
Happens for targets with excess precision handling.


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

* [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
  2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
  2010-10-11 14:20 ` [Bug c/45969] " rguenth at gcc dot gnu.org
@ 2010-10-13 21:47 ` jsm28 at gcc dot gnu.org
  2010-10-14 15:49 ` jsm28 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2010-10-13 21:47 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.10.13 21:47:03
         AssignedTo|unassigned at gcc dot       |jsm28 at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-10-13 21:47:03 UTC ---
Testing a patch.


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

* [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
  2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
  2010-10-11 14:20 ` [Bug c/45969] " rguenth at gcc dot gnu.org
  2010-10-13 21:47 ` jsm28 at gcc dot gnu.org
@ 2010-10-14 15:49 ` jsm28 at gcc dot gnu.org
  2010-10-14 22:41 ` jsm28 at gcc dot gnu.org
  2010-10-14 22:43 ` jsm28 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2010-10-14 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-10-14 15:48:59 UTC ---
Author: jsm28
Date: Thu Oct 14 15:48:52 2010
New Revision: 165472

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165472
Log:
    PR c/45969
    * c-typeck.c (build_binary_op): Don't try to compute a semantic
    type with excess precision for boolean operations.

testsuite:
    * gcc.c-torture/compile/pr45969-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45969-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
  2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2010-10-14 15:49 ` jsm28 at gcc dot gnu.org
@ 2010-10-14 22:41 ` jsm28 at gcc dot gnu.org
  2010-10-14 22:43 ` jsm28 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2010-10-14 22:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-10-14 22:41:10 UTC ---
Author: jsm28
Date: Thu Oct 14 22:41:05 2010
New Revision: 165485

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165485
Log:
    PR c/45969
    * c-typeck.c (build_binary_op): Don't try to compute a semantic
    type with excess precision for boolean operations.

testsuite:
    * gcc.c-torture/compile/pr45969-1.c: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr45969-1.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/c-typeck.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
  2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2010-10-14 22:41 ` jsm28 at gcc dot gnu.org
@ 2010-10-14 22:43 ` jsm28 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2010-10-14 22:43 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |4.5.2, 4.6.0
         Resolution|                            |FIXED
      Known to fail|                            |4.5.0, 4.5.1

--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-10-14 22:42:38 UTC ---
Fixed for 4.5.2 and 4.6.


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

end of thread, other threads:[~2010-10-14 22:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11 14:19 [Bug c/45969] New: [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833 rguenth at gcc dot gnu.org
2010-10-11 14:20 ` [Bug c/45969] " rguenth at gcc dot gnu.org
2010-10-13 21:47 ` jsm28 at gcc dot gnu.org
2010-10-14 15:49 ` jsm28 at gcc dot gnu.org
2010-10-14 22:41 ` jsm28 at gcc dot gnu.org
2010-10-14 22:43 ` jsm28 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).