This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27144] [4.2 regression] segfault with -O2 on x86_64 (and powerpc64)
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2006 12:42:53 -0000
- Subject: [Bug tree-optimization/27144] [4.2 regression] segfault with -O2 on x86_64 (and powerpc64)
- References: <bug-27144-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from rakdver at gcc dot gnu dot org 2006-05-02 12:42 -------
The problem is that unsigned_type_for returns a size_type for pointers, and
that happens to be signed for fortran. I am not sure whether this is not a bug
in fortran frontend -- I think some places in gcc assume that size_t is
unsigned (and standard specifies this).
I am not sure how this could pass through my testing; this must break a lot.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27144