#14460: GCC-4.8.0 miscompiles some sig_on() statements
----------------------------------------------------------------+-----------
Reporter: jdemeyer |
Owner: GeorgSWeber
Type: defect |
Status: closed
Priority: critical |
Milestone: sage-5.9
Component: build |
Resolution: fixed
Keywords: | Work
issues:
Report Upstream: Fixed upstream, but not in a stable release. |
Reviewers: Jean-Pierre Flori
Authors: Jeroen Demeyer | Merged
in: sage-5.9.rc0
Dependencies: |
Stopgaps:
----------------------------------------------------------------+-----------
Comment (by jdemeyer):
Replying to [comment:27 jpflori]:
> gcc 4.8.0 (and so 4.8.1 as well) correctly compiles sig_on statements.
Same answer as I made before: what makes you think that this is true?
> But then why not treat cases where -O3 is passed to CFLAGS and R
miscompiles and so on...
I never said we shouldn't fix that. But this is a less serious issue,
since `-fipa-cp-clone` is not added by the default R flags of `-O2`.
Assuming the user does not use custom `CFLAGS`, adding `-fno-ipa-cp-clone`
will not make a difference.
> (By the way I've remarked that Python has the bad habit to override
CFLAGS by adding the content of an OPT variable on the compile command
line...)
At least, the flags added by Sage come at the very end of the command
line.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14460#comment:28>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.