--- 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:
#include
typedef int __attribute__((__mode__(__DI__))) off_t;
static long long min() throw() { return -9223372036854775807LL - 1; }
static
--- 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!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
--- 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 __int
--- 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=7853&action=view)
.s compiled from basic_file.cc with -O2 (miscompiled version)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id
--- 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=7852&action=view)
.s compiled from basic_file.cc with default oprions
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
--- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:58
---
I extract problematic compiled (with -O2) function:
---8X-
#include
#include
#include // For ::max() and min() and ::max()
namespace std
{
streamoff
__basic_file::seekoff(stre
--- 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=7849&action=view)
.s compiled from basic_file.cc with -O2 (miscompiled version)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id
--- 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=7848&action=view)
.s compiled from basic_file.cc with default oprions
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
--- 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=7847&action=view)
.ii file from gcc build object directory
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
--- 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==" <<
--- 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 red
--- 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: Thi
--- 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
--- 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."
ev
--- 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
./a.out
--- 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
--- 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=7773&action=view)
.s file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
--- 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=7772&action=view)
.ii file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
18 matches
Mail list logo