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++/14769] Block extern incorrectly resolved to file-scope internal linkage object


------- Additional Comments From algrant at acm dot org  2004-03-29 14:31 -------
1) add a second translation unit
  extern int i = 5;

2) compile, link, and run the two translation units.  If it prints 5 it's ok, 
if it prints 123 it's broken.  For me it prints 123.



-- 


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


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