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

             Bug #: 54478
           Summary: Fails to bootstrap with GCC 4.3.6
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: rgue...@gcc.gnu.org


Recent vec.h changes make bootstrap fail with 4.3.6:

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I/space/rguenther/src/svn/trunk/gcc
-I/space/rguenther/src/svn/trunk/gcc/build
-I/space/rguenther/src/svn/trunk/gcc/../include
-I/space/rguenther/src/svn/trunk/gcc/../libcpp/include 
-I/space/rguenther/src/svn/trunk/gcc/../libdecnumber
-I/space/rguenther/src/svn/trunk/gcc/../libdecnumber/bid -I../libdecnumber
-DCLOOG_INT_GMP    \
>                 -o build/read-rtl.o 
> /space/rguenther/src/svn/trunk/gcc/read-rtl.c -save-temps
/space/rguenther/src/svn/trunk/gcc/vec.h: In static member function 'static T&
vec_t<T>::safe_push(vec_t<T>**, T, const char*, unsigned int, const char*)
[with vec_allocation_t A = heap, T = mapping*]':
/space/rguenther/src/svn/trunk/gcc/read-rtl.c:395:   instantiated from here
/space/rguenther/src/svn/trunk/gcc/vec.h:845: warning: left-hand operand of
comma has no effect
...
/space/rguenther/src/svn/trunk/gcc/vec.h:845: error: no match for 'operator<'
in 'vec_t::reserve [with vec_allocation_t A = A, T = mapping*] < heap'
/space/rguenther/src/svn/trunk/gcc/vec.h: In static member function 'static T*
vec_t<T>::safe_push(vec_t<T>**, const T*, const char*, unsigned int, const
char*) [with vec_allocation_t A = heap, T = iterator_use]':
...

seems to parse vec<T>::safe_push<A> () not as call.

Reply via email to