public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27085]  New: [4.2 regression] ICE in add_virtual_operand
@ 2006-04-08 18:55 debian-gcc at lists dot debian dot org
  2006-04-08 19:06 ` [Bug tree-optimization/27085] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-04-08 18:55 UTC (permalink / raw)
  To: gcc-bugs

[ forwarded from http://bugs.debian.org/361441 ]

% cat ice.c 
typedef struct {
    int array_inputs;
} TNLcontext;

void f(void *);

void _tnl_upgrade_client_data (void *swtnl_context) {
    f(&((TNLcontext *) swtnl_context)->array_inputs);
    int is_writeable = 0;
    int *inputs = &((TNLcontext *) swtnl_context)->array_inputs;
    f(&is_writeable);
    *inputs = 0;
}

% gcc -c -O2 ice.c    
ice.c: In function '_tnl_upgrade_client_data':
ice.c:7: internal compiler error: in add_virtual_operand, at
tree-ssa-operands.c:1354
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

No problem with 4.1.

    Falk


-- 
           Summary: [4.2 regression] ICE in add_virtual_operand
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
@ 2006-04-08 19:06 ` pinskia at gcc dot gnu dot org
  2006-04-09 10:10 ` debian-gcc at lists dot debian dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-08 19:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
  2006-04-08 19:06 ` [Bug tree-optimization/27085] " pinskia at gcc dot gnu dot org
@ 2006-04-09 10:10 ` debian-gcc at lists dot debian dot org
  2006-04-10 11:54 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-04-09 10:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from debian-gcc at lists dot debian dot org  2006-04-09 10:10 -------
Seems to occur quite frequently, here's another test case:

struct GdkColor {
    unsigned long pixel;
    unsigned short red;
};

struct GtkStyle {
    struct GdkColor bg;
};

struct GtkStyle *gtk_style_new (void);
void pthreada_create(unsigned long *);

void start_synaescope(void) {
    unsigned long synaescope_thread;
    struct GtkStyle *style = gtk_style_new();
    struct GdkColor *color = &style->bg;
    color->red = 0;
    pthreada_create(&synaescope_thread);
}


    Falk


-- 


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
  2006-04-08 19:06 ` [Bug tree-optimization/27085] " pinskia at gcc dot gnu dot org
  2006-04-09 10:10 ` debian-gcc at lists dot debian dot org
@ 2006-04-10 11:54 ` reichelt at gcc dot gnu dot org
  2006-04-10 16:35 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-10 11:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-04-10 11:54 -------
Probably related to PR 26626.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2006-04-10 11:54 ` reichelt at gcc dot gnu dot org
@ 2006-04-10 16:35 ` pinskia at gcc dot gnu dot org
  2006-05-02  8:01 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-10 16:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-04-10 16:35 -------
It is a dup, Daniel asked me yesterday to close it as one but I did not get
around to it til today.

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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2006-04-10 16:35 ` pinskia at gcc dot gnu dot org
@ 2006-05-02  8:01 ` pinskia at gcc dot gnu dot org
  2006-05-02  8:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-02  8:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-05-02 08:01 -------
(In reply to comment #1)
> Seems to occur quite frequently, here's another test case:
> 

Can you file that into a different bug?
As it is a different issue.

Actually the orginal testcase here was not fixed by the patch which is going to
fix PR 26626 either.
So reopening.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
           Keywords|                            |ice-on-valid-code
         Resolution|DUPLICATE                   |


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2006-05-02  8:01 ` pinskia at gcc dot gnu dot org
@ 2006-05-02  8:02 ` pinskia at gcc dot gnu dot org
  2006-05-17 12:49 ` tbm at cyrius dot com
  2006-05-17 16:45 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-02  8:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

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-05-02 08:02:00
               date|                            |


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
                   ` (5 preceding siblings ...)
  2006-05-02  8:02 ` pinskia at gcc dot gnu dot org
@ 2006-05-17 12:49 ` tbm at cyrius dot com
  2006-05-17 16:45 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2006-05-17 12:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2006-05-17 12:49 -------
(In reply to comment #4)
> Actually the orginal testcase here was not fixed by the patch which is going to
> fix PR 26626 either.
> So reopening.

Daniel, since you fixed 26626, do you think you could take a look at this one
too?


-- 


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


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

* [Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand
  2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
                   ` (6 preceding siblings ...)
  2006-05-17 12:49 ` tbm at cyrius dot com
@ 2006-05-17 16:45 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-17 16:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-05-17 16:45 -------
Both of the testcases here were fixed by the patch for PR 27373.

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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-05-17 16:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-08 18:55 [Bug tree-optimization/27085] New: [4.2 regression] ICE in add_virtual_operand debian-gcc at lists dot debian dot org
2006-04-08 19:06 ` [Bug tree-optimization/27085] " pinskia at gcc dot gnu dot org
2006-04-09 10:10 ` debian-gcc at lists dot debian dot org
2006-04-10 11:54 ` reichelt at gcc dot gnu dot org
2006-04-10 16:35 ` pinskia at gcc dot gnu dot org
2006-05-02  8:01 ` pinskia at gcc dot gnu dot org
2006-05-02  8:02 ` pinskia at gcc dot gnu dot org
2006-05-17 12:49 ` tbm at cyrius dot com
2006-05-17 16:45 ` 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).