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



             Bug #: 55325

           Summary: [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C

                    excess errors

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Keywords: wrong-code

          Severity: normal

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: h...@gcc.gnu.org

                CC: e...@gcc.gnu.org

              Host: x86_64-unknown-linux-gnu

            Target: cris-axis-elf, sh4-linux, i686-linux, x86_64-linux





This test previously passed, now it fails.

A patch in the revision range (last_known_working:first_known_failing)

193374:193385

exposed or caused this regression.  Since then it fails as follows:



Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/dg.exp ...

...

FAIL: g++.dg/cpp0x/constexpr-complex.C (test for excess errors)





In g++.log for cris-elf:

Executing on host:

/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/g++/../../g++

-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/g++/../../

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-complex.C 

-fno-diagnostics-show-caret  -nostdinc++

-I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf

-I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include

-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/libsupc++

-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/include/backward

-I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 

-std=c++0x  -S   -isystem

/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem

/tmp/hpautotest-gcc1/gcc/newlib/libc/include  -o constexpr-complex.s   

(timeout = 300)

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-complex.C: In

constructor 'constexpr complex::complex(float, float)':

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-complex.C:12:26:

error: unable to find numeric literal operator 'operator"" fi'



Looks like the regression is universal:

sh4-linux: <http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg01164.html>

i686-linux: <http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg01171.html>

x86_64-linux: <http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg01173.html>



Author of suspect patch in revision range CC:ed.

Reply via email to