public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/28544]  New: [4.2 regression] ICE in add_virtual_operand, at tree-ssa-operands.c:1309
@ 2006-07-30 13:48 tbm at cyrius dot com
  2006-07-30 13:53 ` [Bug tree-optimization/28544] " pinskia at gcc dot gnu dot org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: tbm at cyrius dot com @ 2006-07-30 13:48 UTC (permalink / raw)
  To: gcc-bugs

I get the following gcc 4.2 regression:

11031:tbm@deprecation: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O2
mysql-sp_cache.cc
mysql-sp_cache.cc: In function 'void sp_cache_invalidate()':
mysql-sp_cache.cc:20: internal compiler error: in add_virtual_operand, at
tree-ssa-operands.c:1309
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
11032:tbm@deprecation: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O mysql-sp_cache.cc
11033:tbm@deprecation: ~] g++-4.1 -c -O2 mysql-sp_cache.cc
11034:tbm@deprecation: ~] g++-4.0 -c -O2 mysql-sp_cache.cc
11035:tbm@deprecation: ~] cat mysql-sp_cache.cc
extern "C"
{
  extern "C"
  {
    typedef unsigned long int ulong;
  }
  typedef struct
  {
    volatile int counter;
  }
  atomic_t;
  static __inline__ void atomic_inc (atomic_t * v)
  {
    __asm__ __volatile__ ("lock ; "
                          "incl %0":"=m" (v->counter):"m" (v->counter));
  }
}
static ulong volatile Cversion = 0;
void
sp_cache_invalidate ()
{
  atomic_inc ((atomic_t *) & Cversion);
}


-- 
           Summary: [4.2 regression] ICE in add_virtual_operand, at tree-
                    ssa-operands.c:1309
           Product: gcc
           Version: 4.2.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=28544


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

end of thread, other threads:[~2007-03-12 19:12 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30 13:48 [Bug tree-optimization/28544] New: [4.2 regression] ICE in add_virtual_operand, at tree-ssa-operands.c:1309 tbm at cyrius dot com
2006-07-30 13:53 ` [Bug tree-optimization/28544] " pinskia at gcc dot gnu dot org
2006-07-30 13:55 ` tbm at cyrius dot com
2006-07-30 13:59 ` tbm at cyrius dot com
2006-07-30 14:26 ` pinskia at gcc dot gnu dot org
2006-07-30 14:44 ` pinskia at gcc dot gnu dot org
2006-07-30 14:45 ` pinskia at gcc dot gnu dot org
2006-07-31 23:39 ` mmitchel at gcc dot gnu dot org
2006-08-08 15:54 ` janis at gcc dot gnu dot org
2006-08-09 14:38 ` dberlin at gcc dot gnu dot org
2006-08-09 14:40 ` dberlin at gcc dot gnu dot org
2006-09-02 13:27 ` tbm at cyrius dot com
2006-09-02 13:27 ` tbm at cyrius dot com
2006-09-02 16:29 ` pinskia at gcc dot gnu dot org
2006-09-02 16:34 ` tbm at cyrius dot com
2006-11-27 12:58 ` [Bug tree-optimization/28544] [4.2/4.3 " bero at arklinux dot org
2006-11-27 13:54 ` dberlin at dberlin dot org
2007-02-01 16:40 ` [Bug tree-optimization/28544] [4.2 " rguenth at gcc dot gnu dot org
2007-02-01 16:41 ` rguenth at gcc dot gnu dot org
2007-02-04 17:23 ` howarth at nitro dot med dot uc dot edu
2007-02-19 23:34 ` mmitchel at gcc dot gnu dot org
2007-02-19 23:42 ` dberlin at gcc dot gnu dot org
2007-03-12 18:28 ` mmitchel at gcc dot gnu dot org
2007-03-12 19:09 ` dberlin at gcc dot gnu dot org
2007-03-12 19:12 ` dberlin 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).