public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37306]  New: code generation error
@ 2008-09-01  0:21 mlandis at pnmx dot com
  2008-09-01 11:22 ` [Bug c++/37306] " rguenth at gcc dot gnu dot org
  2008-12-24 23:14 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: mlandis at pnmx dot com @ 2008-09-01  0:21 UTC (permalink / raw)
  To: gcc-bugs

Version 4.3.0 20080428 (Red Hat 4.3.0-8)
the following code:

double* dr = new double[ nn ];
double aa = 28.68, bb=28.35;    // any numbers will do, the point is
                                // these numbers don't have large exponents
...
*(dr+ii) = (aa - bb) / bb;      // produces anomalous results w/large exponents

double xx = (aa - bb) / bb;     // work
*(dr+ii) = xx;                  // around

I had another example, but lost track of it after working around it, but it
also involved dealing with intermediate arithmetic results.


-- 
           Summary: code generation error
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mlandis at pnmx dot com


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


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

* [Bug c++/37306] code generation error
  2008-09-01  0:21 [Bug c++/37306] New: code generation error mlandis at pnmx dot com
@ 2008-09-01 11:22 ` rguenth at gcc dot gnu dot org
  2008-12-24 23:14 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-09-01 11:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-09-01 11:21 -------
Sorry, but we need a complete compilable testcase to reproduce the issue.
Please also make sure you are not running into PR323 (you didn't report the
architecture you see the problem).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/37306] code generation error
  2008-09-01  0:21 [Bug c++/37306] New: code generation error mlandis at pnmx dot com
  2008-09-01 11:22 ` [Bug c++/37306] " rguenth at gcc dot gnu dot org
@ 2008-12-24 23:14 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-24 23:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-12-24 23:06 -------
No answer in 3 months so closing as invalid.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2008-12-24 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-01  0:21 [Bug c++/37306] New: code generation error mlandis at pnmx dot com
2008-09-01 11:22 ` [Bug c++/37306] " rguenth at gcc dot gnu dot org
2008-12-24 23:14 ` 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).