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++/12123] segfault for a C++ program with a compilicated array initializer


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


kazu at cs dot umass dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at cs dot umass dot edu
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|h8300-unknown-coff          |i686-pc-linux-gnu
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-01 12:19:59
               date|                            |
            Summary|H8300 ICE for C++ program   |segfault for a C++ program
                   |                            |with a compilicated array
                   |                            |initializer


------- Additional Comments From kazu at cs dot umass dot edu  2003-09-01 12:19 -------
Minimized down to

int g;

struct foo {
  int a;
  int b;
};

struct foo bar = {
  0,
  (((int) &g) & 0xFFFFFF)
};

Confirmed with gcc-3.4 on i686-pc-linux-gnu (native).
Confirmed with gcc-3.2.2 (RH9) on i686-pc-linux-gnu (native).
Confirmed with gcc-3.4 on i686-pc-linux-gnu cross h8300-hms.


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