Skip to content

llvm-gfortran 4.2 fails a bunch of its regression tests #2803

@llvmbot

Description

@llvmbot
Bugzilla Link 2431
Resolution FIXED
Resolved on Apr 09, 2011 07:28
Version 2.3
OS MacOS X
Attachments aint_anint_1.f90 testcase, aint_anint_1.f90 testcase
Reporter LLVM Bugzilla Contributor

Extended Description

The gfortran.dg/aint_anint_1.f90 gcc 4.2.1 testcase causes a compiler failure of the form...

Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"), function init, file /sw/src/fink.build/llvm-gcc42-2.3-1000/llvm-2.3/lib/VMCore/Instructions.cpp, line 258.
aint_anint_1.f90: In function ‘MAIN__’:
aint_anint_1.f90:1: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://developer.apple.com/bugreporter for instructions.

The error is triggered by the lines containing...

r2 = aint(r,kind=8)
r2 = anint(r,kind=8)
s2 = aint(s, kind=4)
s2 = anint(s, kind=4)

in the testcase (which is attached).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions