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 10913] New: mips-elf ICE in text_section at varasm.c: 241


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: mips-elf ICE in text_section at varasm.c: 241
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dhazeghi@yahoo.com
                CC: gcc-bugs@gcc.gnu.org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mips-elf

On gcc 3.2.3, 3.3 branch (20030520) and mainline (20030520) using target mips-elf and 
optimization level of -O1 or higher, I get:

../branch/objdir/ice.cpp:14: Internal compiler error in text_section, at 
   varasm.c:241
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

ice.cpp (taken from PR7443 testcase):
void another_function();

// This function should return true in the following cases:
//              0 <= u <= 0x70000000
//     0xf0000000 <  u <= 0xffffffff
bool bad_fn1(unsigned u)
{
    if( 0xf0000000u - u >= 0x80000000u )
    {
        another_function();
        return true;
    }
    return false;
}



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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