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]

[Bug optimization/14690] New: [3.4 regression] Miscompiled POOMA tests


g++-3.4 (GCC) 3.4.0 20040319 (prerelease) miscompiles the
src/Layout/tests/ugl_test2.cpp
src/Functions/tests/rngArray.cpp
test with -g -fno-exceptions in an unoptimized build.

This is a regression to g++-3.3 (GCC) 3.3.4 20040301 (prerelease)
which does fine with this testcases (and flags).
It is also a regression from g++ (GCC) 3.4.0 20040302 (prerelease)
which does fine with this testcases too.

POOMA is current CVS, configured with --serial --debug.


In an optimized build using -g -O2 -fno-exceptions, the
src/Functions/tests/rngArray.cpp
testcase is miscompiled which is a regression to
This is a regression to g++-3.3 (GCC) 3.3.4 20040301 (prerelease)
which does fine with this testcases (and flags).
It does not work with g++ (GCC) 3.4.0 20040302 (prerelease).
It does work with -O instead of -O2 though.

Note that g++ (GCC) 3.4.0 20040302 is the newest g++ I have available before the
failing release.

I'm not so worried about the rngArray failure, but about the ugl_test2 failure
which indicates a C++ correctness problem probably related to Marks massive C++
fixes. (pls. assign this PR to him)

Please ping me, if you like me to provide a preprocessed testcase as this will
be huge and probably not suitable for debugging this kind of problems.

Richard.

-- 
           Summary: [3.4 regression] Miscompiled POOMA tests
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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