Community
cancel
Showing results for 
Search instead for 
Did you mean: 
tp5
New Contributor I
138 Views

internal error with -fno-rounding-math

$ icc -fno-rounding-math
icc: internal error: Assertion failed (shared/driver/options.c, line 1684)
$ icc --version
icc (ICC) 14.0.2 20140120
0 Kudos
5 Replies
TimP
Black Belt
138 Views

This setting presumably is the default one (maybe not capable of alteration) for icc.  Of course, internal error is a reportable bug.

pbkenned1
Employee
138 Views

It's unusual to see a compiler internal error with no input file specified (I can also reproduce the same error by providing one).  Thanks for reporting this, I'll file a defect report with the developers.

Patrick

pbkenned1
Employee
138 Views

Reported to the developers, tracking ID #DPD200254960.  I'll keep this thread updated with any news.

Patrick

Jeff_Arnold
Beginner
138 Views

The same error occurs on Mac OS as well.

pbkenned1
Employee
138 Views

Thanks for the feedback Jeff, I'll add Mac as an effected OS to the developer's problem report.

Apparently icc-14 is the first version to attempt to support -f[no-]rounding-math.  icc-13.x just reports it as an 'unknown option'.

At least -frounding-math does work in icc-14:

$ icc -V -frounding-math fp_mantissa.c && ./a.out
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

Edison Design Group C/C++ Front End, version 4.6 (Jan 20 2014 19:26:22)
Copyright 1988-2013 Edison Design Group, Inc.

GNU ld version 2.20.51.0.2-5.28.el6 20091009
mantissa:53
$

Patrick

Reply