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 c/17024] New: ICE in fold_cond_expr_with_comparison, at fold-const.c:4324


The attached code triggers an ICE on legal code. Note that the ICE occurs even
in non-optimized mode. Reproduce as follows:

dogbert> gcc -c -funsafe-math-optimizations i.c
i.c: In function `i':
i.c:8: internal compiler error: in fold_cond_expr_with_comparison, at
fold-const.c:4324
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The error occurs in version 3.5.0 20040813, but not in any of the release branches.

-- 
           Summary: ICE in fold_cond_expr_with_comparison, at fold-
                    const.c:4324
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: p dot van-hoof at qub dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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