------- Comment #3 from anhtuyen at ca dot ibm dot com 2010-09-09 20:12 ------- (In reply to comment #2) > The output seems perfectly fine to me: at the end of Stage 1 we have 0x7b, > exactly what one gets from printf("%p", (void*)123), per 22.2.2.2.2/12, then, > per Table 61, padding is added after x, thus 0x@@@@@@7b. >
Using the ios::internal flags, the format has changed from @@@@@@0x7b (gcc 4.1.2) to 0x@@@@@@7b (gcc 4.4.4) . One of them must be incorrect, at the very least. -- anhtuyen at ca dot ibm dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45618