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

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