public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/28268]  New: [4.2 regression] ICE with simple vector operations
@ 2006-07-05 12:28 reichelt at gcc dot gnu dot org
  2006-07-05 15:40 ` [Bug middle-end/28268] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-05 12:28 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on mainline:

============================================================
int __attribute__((vector_size(8))) a;

void foo()
{
    a += a*a;
}
============================================================

bug.c: In function 'foo':
bug.c:5: internal compiler error: in fold_convert, at fold-const.c:2089
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2 regression] ICE with simple vector operations
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
@ 2006-07-05 15:40 ` pinskia at gcc dot gnu dot org
  2006-07-05 16:04 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-05 15:40 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.2.0


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
  2006-07-05 15:40 ` [Bug middle-end/28268] " pinskia at gcc dot gnu dot org
@ 2006-07-05 16:04 ` pinskia at gcc dot gnu dot org
  2006-07-05 16:21 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-05 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-05 16:04 -------
The ICE was exposed by:
2006-05-27  Richard Guenther  <rguenther@suse.de>

        PR middle-end/27773
        * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
        to produce a constant of value 1 of generic type.

        * gcc.dg/torture/pr27773.c: New testcase.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-05 16:04:00
               date|                            |


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
  2006-07-05 15:40 ` [Bug middle-end/28268] " pinskia at gcc dot gnu dot org
  2006-07-05 16:04 ` pinskia at gcc dot gnu dot org
@ 2006-07-05 16:21 ` rguenth at gcc dot gnu dot org
  2006-07-06 10:20 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-05 16:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-07-05 16:04:00         |2006-07-05 16:21:20
               date|                            |


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-07-05 16:21 ` rguenth at gcc dot gnu dot org
@ 2006-07-06 10:20 ` patchapp at dberlin dot org
  2006-07-07 16:30 ` rguenth at gcc dot gnu dot org
  2006-07-07 16:31 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2006-07-06 10:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from patchapp at dberlin dot org  2006-07-06 10:20 -------
Subject: Bug number PR28268

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00203.html


-- 


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-07-06 10:20 ` patchapp at dberlin dot org
@ 2006-07-07 16:30 ` rguenth at gcc dot gnu dot org
  2006-07-07 16:31 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-07 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2006-07-07 16:30 -------
Subject: Bug 28268

Author: rguenth
Date: Fri Jul  7 16:30:36 2006
New Revision: 115263

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115263
Log:
2006-07-07   Richard Guenther  <rguenther@suse.de>

        PR middle-end/28268
        * tree.h (build_one_cst): Declare.
        * tree.c (build_one_cst): New function.
        * tree-ssa-math-opts.c (get_constant_one): Remove.
        (insert_reciprocals): Use build_one_cst.
        * fold-const.c (fold_plusminus_mult): Likewise.

        * gcc.dg/torture/pr28268.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr28268.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c
    trunk/gcc/tree.c
    trunk/gcc/tree.h


-- 


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


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

* [Bug middle-end/28268] [4.2 regression] ICE with simple vector operations
  2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-07-07 16:30 ` rguenth at gcc dot gnu dot org
@ 2006-07-07 16:31 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-07 16:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2006-07-07 16:31 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-07-07 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 12:28 [Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations reichelt at gcc dot gnu dot org
2006-07-05 15:40 ` [Bug middle-end/28268] " pinskia at gcc dot gnu dot org
2006-07-05 16:04 ` pinskia at gcc dot gnu dot org
2006-07-05 16:21 ` rguenth at gcc dot gnu dot org
2006-07-06 10:20 ` patchapp at dberlin dot org
2006-07-07 16:30 ` rguenth at gcc dot gnu dot org
2006-07-07 16:31 ` rguenth 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).