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 target/39482] New: [4.3/4.4 Regression] ICE in inline_secondary_memory_needed, at config/i386/i386.c:25478


extern double log (double __x);
double foo(unsigned long int m_liOutputBufferLen)
{
  return log((double)m_liOutputBufferLen);
}

ICEs with -mno-sse2

./cc1 -quiet t.i -mno-sse2
t.i: In function 'foo':
t.i:5: internal compiler error: in inline_secondary_memory_needed, at
config/i386/i386.c:25478
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

while it is impossible to compile the call given ABI constraints we should
sorry() here, not ICE.

GCC 4.2 and before simply ignored -mno-sse2 it seems.


-- 
           Summary: [4.3/4.4 Regression] ICE in
                    inline_secondary_memory_needed, at
                    config/i386/i386.c:25478
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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