public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/14649] New: atan(1.0) should not be a constant expression
@ 2004-03-19 11:47 jsm28 at gcc dot gnu dot org
  2004-03-19 14:28 ` [Bug middle-end/14649] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-03-19 11:47 UTC (permalink / raw)
  To: gcc-bugs

double atan(double);
const double pi = 4*atan(1.0);

should yield an error.  The constraints on constant expressions
prohibit evaluated function calls.  This is a regression in 3.4.

-- 
           Summary: atan(1.0) should not be a constant expression
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-08 17:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 11:47 [Bug middle-end/14649] New: atan(1.0) should not be a constant expression jsm28 at gcc dot gnu dot org
2004-03-19 14:28 ` [Bug middle-end/14649] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-05-29 23:27 ` [Bug c/14649] " mmitchel at gcc dot gnu dot org
2004-05-30  1:32 ` pinskia at gcc dot gnu dot org
2004-06-07 14:17 ` roger at eyesopen dot com
2004-06-07 18:49 ` cvs-commit at gcc dot gnu dot org
2004-06-08 17:15 ` [Bug c/14649] [3.4 " cvs-commit at gcc dot gnu dot org
2004-06-08 17:52 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).