public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48899] New: enum conversion initializing global_options_init.x_iq2000_tune
@ 2011-05-06 0:41 amylaar at gcc dot gnu.org
2011-05-09 10:21 ` [Bug target/48899] " nickc at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2011-05-06 0:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48899
Summary: enum conversion initializing
global_options_init.x_iq2000_tune
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
CC: nickc@redhat.com
Blocks: 44433,44756
Target: iq2000-elf
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -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/opt/cfarm/mpc/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber options.c -o options.o
options.c:292:3: error: enum conversion in initialization is invalid in C++
[-Werror=c++-compat]
options.c:292:3: error: (near initialization for
‘global_options_init.x_iq2000_tune’) [-Werror=c++-compat]
cc1: all warnings being treated as errors
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/48899] enum conversion initializing global_options_init.x_iq2000_tune
2011-05-06 0:41 [Bug target/48899] New: enum conversion initializing global_options_init.x_iq2000_tune amylaar at gcc dot gnu.org
@ 2011-05-09 10:21 ` nickc at gcc dot gnu.org
2011-05-09 10:23 ` nickc at redhat dot com
2012-03-05 22:40 ` amylaar at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: nickc at gcc dot gnu.org @ 2011-05-09 10:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48899
--- Comment #1 from Nick Clifton <nickc at gcc dot gnu.org> 2011-05-09 10:04:39 UTC ---
Author: nickc
Date: Mon May 9 10:04:36 2011
New Revision: 173562
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173562
Log:
PR target/48899
* config/iq2000/iq2000.opt (iq2000_tune): Initialise to
PROCESSOR_DEFAULT.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/iq2000/iq2000.opt
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/48899] enum conversion initializing global_options_init.x_iq2000_tune
2011-05-06 0:41 [Bug target/48899] New: enum conversion initializing global_options_init.x_iq2000_tune amylaar at gcc dot gnu.org
2011-05-09 10:21 ` [Bug target/48899] " nickc at gcc dot gnu.org
@ 2011-05-09 10:23 ` nickc at redhat dot com
2012-03-05 22:40 ` amylaar at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: nickc at redhat dot com @ 2011-05-09 10:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48899
--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-05-09 10:07:20 UTC ---
I have checked in a patch to initialise the iq2000_tune variable, thus
eliminating the warning.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/48899] enum conversion initializing global_options_init.x_iq2000_tune
2011-05-06 0:41 [Bug target/48899] New: enum conversion initializing global_options_init.x_iq2000_tune amylaar at gcc dot gnu.org
2011-05-09 10:21 ` [Bug target/48899] " nickc at gcc dot gnu.org
2011-05-09 10:23 ` nickc at redhat dot com
@ 2012-03-05 22:40 ` amylaar at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-03-05 22:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48899
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-03-05 22:39:08 UTC ---
I can confirm that cc1 cross-builds OK for iq2000-elf in revision 184927.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-05 22:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 0:41 [Bug target/48899] New: enum conversion initializing global_options_init.x_iq2000_tune amylaar at gcc dot gnu.org
2011-05-09 10:21 ` [Bug target/48899] " nickc at gcc dot gnu.org
2011-05-09 10:23 ` nickc at redhat dot com
2012-03-05 22:40 ` amylaar at gcc dot gnu.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).