[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-31 11:07 --- In my opinion, this is definitely a (target dependent) code generation bug, rather serious, if confirmed. As such, we should do our best to reduce it and recategorize in the right way. Any chance you can try to

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:13 --- At this moment i can't extract simple testcase. But problem indeed in miscompiletion. I am use modified testcase (additionl debug output line before assert (and iostream header include: std::cout begin==

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:15 --- Created an attachment (id=7847) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7847action=view) .ii file from gcc build object directory -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:16 --- Created an attachment (id=7848) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7848action=view) .s compiled from basic_file.cc with default oprions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:17 --- Created an attachment (id=7849) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7849action=view) .s compiled from basic_file.cc with -O2 (miscompiled version) --

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:58 --- I extract problematic compiled (with -O2) function: ---8X- #include bits/basic_file.h #include fcntl.h #include limits // For off_t::max() and min() and streamsize::max() namespace

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:58 --- Created an attachment (id=7852) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7852action=view) .s compiled from basic_file.cc with default oprions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:59 --- Created an attachment (id=7853) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7853action=view) .s compiled from basic_file.cc with -O2 (miscompiled version) --

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-31 18:20 --- Hmm, this is the reduced testcase but it was not miscompiled as far as I can see: typedef int __attribute__((__mode__(__DI__))) __int64_t; typedef __int64_t int64_t; typedef int64_t streamoff; typedef

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-31 18:29 --- Andrew, this is *definitely* target dependent: it's about such a basic feature that we would have noticed, otherwise! (btw, thanks for the reduced testcase!) --

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-31 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 18:39 --- This more simplifed version of your last testcase also catch -O2 problem: #includecassert typedef int __attribute__((__mode__(__DI__))) off_t; static long long min() throw() { return -9223372036854775807LL - 1;

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-23 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-24 00:05 --- Good news: i found commit when problem arised: http://gcc.gnu.org/ml/gcc- cvs/2003-10/msg01125.html Before this commit testcase compile without problems. After this commit testcase compilation failed. Bad news:

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-18 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-18 20:08 --- At my FreebSD 5.3 problem show-up with GCC mainline sources in range: At 2004-05-10 testcase work fine At 2004-05-14 testcase failed And i think this point to The tree-ssa branch has been merged into mainline.

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-18 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2004-12-19 00:03 --- Cannot reproduce on i686-pc-linux-gnu too. I would suggest recategorizing as 'target'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-17 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-17 18:31 --- Created an attachment (id=7772) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7772action=view) .ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-17 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-17 18:31 --- Created an attachment (id=7773) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7773action=view) .s file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 18:33 --- Hmm, it works for me on ppc-darwin with the mainline (20041215 and 20041214 and 20041213). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060

[Bug libstdc++/19060] fstream.tellp() result not changed after some output

2004-12-17 Thread wanderer at rsu dot ru
--- Additional Comments From wanderer at rsu dot ru 2004-12-17 18:44 --- First time i see this problem in september-october. Now i only fill PR. Program work for me only if it used gcc 3.4.x shared libraries. ~/pkg/gcc/bin/g++ test.cc setenv LD_LIBRARY_PATH $HOME/pkg/gcc_34/lib