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 target/10964] Problem with initialization of reference to pointer


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

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
          Component|c++                         |target
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-02 04:16:53
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-06-02 04:16 -------
I can reproduce this problem on the mainline with -march=i386:
tin:~/src/gnu/gcctest>gcc -march=i386 pr10964.cc
tin:~/src/gnu/gcctest>./a.out 
pointer in Mclass is: 0xbffec97c
pointer in Bclass is: 0xbffec9f4    <--- see this is different than above
tin:~/src/gnu/gcctest>gcc  -march=i686 pr10964.cc
tin:~/src/gnu/gcctest>./a.out 
pointer in Mclass is: 0xbffec97c
pointer in Bclass is: 0xbffec97c

Marking this as a target problem because it works on i686 and not i386.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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