public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/41140]  New: [4.5 Regression]  arm.c:3775:11: error: enum conversion in initialization is invalid in C++
@ 2009-08-21 15:30 danglin at gcc dot gnu dot org
  2009-08-21 16:17 ` [Bug target/41140] " rearnsha at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-08-21 15:30 UTC (permalink / raw)
  To: gcc-bugs

/home/dave/gnu/gcc/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/objdir/./prev-gcc
/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/
-B/hom
e/dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/
-B/home/dave/o
pt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/lib/ -isystem
/home/dave/op
t/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/include -isystem
/home/dave/
opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/sys-include    -c  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-pr
ototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macro
s -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/home/dave/opt/gnu/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  
-I/home/dave/opt/gnu/include \
                ../../gcc/gcc/config/arm/arm.c -o arm.o
cc1: warnings being treated as errors
../../gcc/gcc/config/arm/arm.c: In function 'aapcs_vfp_allocate':
../../gcc/gcc/config/arm/arm.c:3775:11: error: enum conversion in
initialization is invalid in C++
../../gcc/gcc/config/arm/arm.c: In function 'aapcs_vfp_allocate_return_reg':
../../gcc/gcc/config/arm/arm.c:3842:4: error: enum conversion when passing
argument 1 of 'gen_rtx_REG' is invalid in C++
../../gcc/gcc/rtl.h:1971:12: note: expected 'enum machine_mode' but argument is
of type 'int'
make[3]: *** [arm.o] Error 1

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
Target: armv5tejl-unknown-linux-gnueabi
Configured with: ../gcc/configure --host=armv5tejl-unknown-linux-gnueabi
--target=armv5tejl-unknown-linux-gnueabi
--build=armv5tejl-unknown-linux-gnueabi --enable-languages=c,c++,fortran
--enable-shared --enable-threads --disable-multilib --disable-libmudflap
--disable-libssp --enable-symvers=gnu --enable-__cxa_atexit
--disable-libstdcxx-pch --prefix=/home/dave/opt/gnu/gcc/gcc-4.5.0
--with-gmp=/home/dave/opt/gnu
Thread model: posix
gcc version 4.5.0 20090820 (experimental) [trunk revision 150976] (GCC)


-- 
           Summary: [4.5 Regression]  arm.c:3775:11: error: enum conversion
                    in initialization is invalid in C++
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org


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


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

* [Bug target/41140] [4.5 Regression]  arm.c:3775:11: error: enum conversion in initialization is invalid in C++
  2009-08-21 15:30 [Bug target/41140] New: [4.5 Regression] arm.c:3775:11: error: enum conversion in initialization is invalid in C++ danglin at gcc dot gnu dot org
@ 2009-08-21 16:17 ` rearnsha at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-08-21 16:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rearnsha at gcc dot gnu dot org  2009-08-21 16:17 -------
Fixed.  Although I posted the patch for this to the mailing list several days
ago (Aug 12 IIRC), I somehow failed to actually commit the code.  Now done.

Sorry about that.


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-08-21 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-21 15:30 [Bug target/41140] New: [4.5 Regression] arm.c:3775:11: error: enum conversion in initialization is invalid in C++ danglin at gcc dot gnu dot org
2009-08-21 16:17 ` [Bug target/41140] " rearnsha 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).