This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29016] tree check: expected class 'expression', have 'exceptional' (baselink) in get_base_var, at ipa-utils.c:224



------- Comment #3 from tbm at gcc dot gnu dot org  2006-09-11 11:59 -------
(sid)451:tbm@usurper: ~] x86_64-unknown-linux-gnu-g++ -c pr29016.cc
(sid)452:tbm@usurper: ~] x86_64-unknown-linux-gnu-g++ -c -O pr29016.cc
pr29016.cc:16: internal compiler error: tree check: expected class
'expression', have 'exceptional' (baselink) in get_base_var, at ipa-utils.c:224
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1     x86_64-unknown-linux-gnu-g++ -c -O pr29016.cc
(sid)453:tbm@usurper: ~] cat pr29016.cc
typedef unsigned long int Mword;
class Kern_cnt
{
private:enum
  {
    Max_slot = 2,
  };
  static Mword (*read_kcnt_fn[Max_slot]) ();
private:static Mword read_kcnt1 ();
  static Mword read_kcnt2 ();
}
__attribute__ ((packed));
Mword (*Kern_cnt::read_kcnt_fn[Max_slot]) () =
{
read_kcnt1, read_kcnt2};
(sid)454:tbm@usurper: ~]


-- 

tbm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i486-slackware-linux        |
   GCC host triplet|i486-slackware-linux        |
 GCC target triplet|i486-slackware-linux        |
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-11 11:59:48
               date|                            |
            Summary|ICE when compiling with -Os |tree check: expected class
                   |                            |'expression', have
                   |                            |'exceptional' (baselink) in
                   |                            |get_base_var, at ipa-
                   |                            |utils.c:224


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]