[LLVMbugs] [Bug 8698] New: Internal compiler error on logical and/or of floating-point expression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 26 06:59:29 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8698

           Summary: Internal compiler error on logical and/or of
                    floating-point expression
           Product: dragonegg
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: bugzilla at lklundin.dk
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5835)
 --> (http://llvm.org/bugs/attachment.cgi?id=5835)
Logical-or-program to trigger internal compiler error

The attached 3 lines of source code causes the command
llvm-gcc -c -o /dev/null cpl_geom_img.c -std=c99
to fail with

*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | dragonegg
PLUGIN_FINISH                    | dragonegg
PLUGIN_START_UNIT                | dragonegg
cpl_geom_img.c: In function ‘my_func’:
cpl_geom_img.c:2:5: internal compiler error: in build_binary_op, at
c-typeck.c:9849
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

on a 32-bit Ubuntu 10.10 installation.

The compilation also fails with -std=c89 (and -std=iso9899:199409).

The compilation also fails if the type is changed from double to float.

The compilation does not fail if the floating-point expression is compared to
0.0.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list