public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31953]  New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
@ 2007-05-16 13:36 tbm at cyrius dot com
  2007-05-16 14:04 ` [Bug tree-optimization/31953] " tbm at cyrius dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2007-05-16 13:36 UTC (permalink / raw)
  To: gcc-bugs

This worked with 4.3.0 20070422 but fails now with 20070515:

(sid)23934:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 mc-view.i
view.c: In function 'toggle_hexedit_mode':
view.c:2045: internal compiler error: in set_value_range, at tree-vrp.c:305
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.3 Regression] ICE in set_value_range, at tree-
                    vrp.c:305
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
@ 2007-05-16 14:04 ` tbm at cyrius dot com
  2007-05-16 14:43 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2007-05-16 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-05-16 15:04 -------
Reduced testcase:

struct WView
{
  int hexedit_mode:1;
};
toggle_hexedit_mode (struct WView *view)
{
  if (view->hexedit_mode)
    {
    }
  else
    {
      view->hexedit_mode = !view->hexedit_mode;
    }
}


-- 


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
  2007-05-16 14:04 ` [Bug tree-optimization/31953] " tbm at cyrius dot com
@ 2007-05-16 14:43 ` rguenth at gcc dot gnu dot org
  2007-05-17  4:02 ` ian at airs dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-16 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-05-16 15:43 -------
Confirmed.


-- 

rguenth 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         |2007-05-16 15:43:17
               date|                            |
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
  2007-05-16 14:04 ` [Bug tree-optimization/31953] " tbm at cyrius dot com
  2007-05-16 14:43 ` rguenth at gcc dot gnu dot org
@ 2007-05-17  4:02 ` ian at airs dot com
  2007-05-18  5:38 ` ian at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ian at airs dot com @ 2007-05-17  4:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ian at airs dot com  2007-05-17 05:02 -------
Created an attachment (id=13566)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13566&action=view)
Proposed patch

I'm testing this patch.


-- 


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-05-17  4:02 ` ian at airs dot com
@ 2007-05-18  5:38 ` ian at gcc dot gnu dot org
  2007-05-18  5:41 ` ian at gcc dot gnu dot org
  2007-05-18  5:54 ` ian at airs dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ian at gcc dot gnu dot org @ 2007-05-18  5:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ian at gcc dot gnu dot org  2007-05-18 06:37 -------
Subject: Bug 31953

Author: ian
Date: Fri May 18 05:37:27 2007
New Revision: 124823

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124823
Log:
./:
        PR tree-optimization/31953
        * tree-vrp.c (set_value_range_to_value): Add equiv parameter.
        Change all callers.
        (set_value_range_to_null): Call set_value_range_to_value.
        (extract_range_from_comparison): Likewise.
testsuite/:
        PR tree-optimization/31953
        * gcc.c-torture/compile/pr31953.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr31953.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-05-18  5:38 ` ian at gcc dot gnu dot org
@ 2007-05-18  5:41 ` ian at gcc dot gnu dot org
  2007-05-18  5:54 ` ian at airs dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ian at gcc dot gnu dot org @ 2007-05-18  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ian at gcc dot gnu dot org  2007-05-18 06:40 -------
Subject: Bug 31953

Author: ian
Date: Fri May 18 05:40:21 2007
New Revision: 124824

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124824
Log:
./:
        PR tree-optimization/31953
        * tree-vrp.c (set_value_range_to_value): Add equiv parameter.
        Change all callers.
        (set_value_range_to_null): Call set_value_range_to_value.
        (extract_range_from_comparison): Likewise.
testsuite/:
        PR tree-optimization/31953
        * gcc.c-torture/compile/pr31953.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/pr31953.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/31953] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305
  2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-05-18  5:41 ` ian at gcc dot gnu dot org
@ 2007-05-18  5:54 ` ian at airs dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ian at airs dot com @ 2007-05-18  5:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ian at airs dot com  2007-05-18 06:53 -------
Fixed on mainline and 4.2 branch.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.3.0                       |4.2.1


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


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

end of thread, other threads:[~2007-05-18  5:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-16 13:36 [Bug tree-optimization/31953] New: [4.3 Regression] ICE in set_value_range, at tree-vrp.c:305 tbm at cyrius dot com
2007-05-16 14:04 ` [Bug tree-optimization/31953] " tbm at cyrius dot com
2007-05-16 14:43 ` rguenth at gcc dot gnu dot org
2007-05-17  4:02 ` ian at airs dot com
2007-05-18  5:38 ` ian at gcc dot gnu dot org
2007-05-18  5:41 ` ian at gcc dot gnu dot org
2007-05-18  5:54 ` ian at airs dot com

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).