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]

c++/8590: Hello World


>Number:         8590
>Category:       c++
>Synopsis:       Hello World
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 15 03:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Bleile
>Release:        gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>Organization:
>Environment:
RedHat 8.0
>Description:
a call to:

splineIter v = vertices.begin();

new SplineSegment(v,derivates[di+1],derivates[di+2],*(++v));

SplineSegment::SplineSegment( const vector3d &a, const vector3d &b,
                              const vector3d &c, const vector3d &d ){...}

a and d are always identical. looks like the increment is
done AFTER the function call. Old gcc and the intel compiler
worked properly.
>How-To-Repeat:

>Fix:
pass already incremented iterators.....
>Release-Note:
>Audit-Trail:
>Unformatted:


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