public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49402] New: Duplicate use of v850.opt
@ 2011-06-14 9:16 amylaar at gcc dot gnu.org
2011-06-14 15:31 ` [Bug target/49402] " 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-06-14 9:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402
Summary: Duplicate use of v850.opt
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: 47093
Target: v850-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
-DGENERATOR_FILE -I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build
-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 \
-o build/genflags.o ../../../gcc/gcc/genflags.c
In file included from ./tm.h:14:0,
from ../../../gcc/gcc/genflags.c:27:
./options.h:3422:0: error: "MASK_US_BIT_SET" redefined [-Werror]
./options.h:3421:0: note: this is the location of the previous definition
./options.h:3424:0: error: "MASK_APP_REGS" redefined [-Werror]
./options.h:3423:0: note: this is the location of the previous definition
./options.h:3426:0: error: "MASK_BIG_SWITCH" redefined [-Werror]
./options.h:3425:0: note: this is the location of the previous definition
./options.h:3428:0: error: "MASK_DEBUG" redefined [-Werror]
./options.h:3427:0: note: this is the location of the previous definition
./options.h:3430:0: error: "MASK_DISABLE_CALLT" redefined [-Werror]
./options.h:3429:0: note: this is the location of the previous definition
./options.h:3432:0: error: "MASK_EP" redefined [-Werror]
./options.h:3431:0: note: this is the location of the previous definition
./options.h:3434:0: error: "MASK_GHS" redefined [-Werror]
./options.h:3433:0: note: this is the location of the previous definition
The v850-elf build fails with:
./options.h:3436:0: error: "MASK_JUMP_TABLES_IN_DATA_SECTION" redefined
[-Werror]
./options.h:3435:0: note: this is the location of the previous definition
./options.h:3438:0: error: "MASK_LONG_CALLS" redefined [-Werror]
./options.h:3437:0: note: this is the location of the previous definition
./options.h:3440:0: error: "MASK_NO_STRICT_ALIGN" redefined [-Werror]
./options.h:3439:0: note: this is the location of the previous definition
./options.h:3442:0: error: "MASK_PROLOG_FUNCTION" redefined [-Werror]
./options.h:3441:0: note: this is the location of the previous definition
./options.h:3444:0: error: "MASK_SMALL_SLD" redefined [-Werror]
./options.h:3443:0: note: this is the location of the previous definition
./options.h:3446:0: error: "MASK_V850" redefined [-Werror]
./options.h:3445:0: note: this is the location of the previous definition
./options.h:3448:0: error: "MASK_V850E" redefined [-Werror]
./options.h:3447:0: note: this is the location of the previous definition
./options.h:3450:0: error: "MASK_V850E1" redefined [-Werror]
./options.h:3449:0: note: this is the location of the previous definition
./options.h:3452:0: error: "MASK_V850E2" redefined [-Werror]
./options.h:3451:0: note: this is the location of the previous definition
./options.h:3454:0: error: "MASK_V850E2V3" redefined [-Werror]
./options.h:3453:0: note: this is the location of the previous definition
./options.h:3455:2: error: #error too many target masks
cc1: all warnings being treated as errors
make[2]: *** [build/genflags.o] Error 1
I see that v850.opt ends up being used twice:
amylaar@gcc20:~/pr46489/jun13/multi2/v850-elf/gcc$ grep 'v850\.opt' *
config.log:extra_opt_files=' $(srcdir)/config/v850/v850.opt
$(srcdir)/config/v850/v850.opt'
config.status:S["extra_opt_files"]=" $(srcdir)/config/v850/v850.opt
$(srcdir)/config/v850/v850.opt"
Makefile:extra_opt_files= $(srcdir)/config/v850/v850.opt
$(srcdir)/config/v850/v850.opt
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49402] Duplicate use of v850.opt
2011-06-14 9:16 [Bug target/49402] New: Duplicate use of v850.opt amylaar at gcc dot gnu.org
@ 2011-06-14 15:31 ` nickc at gcc dot gnu.org
2011-06-14 15:33 ` nickc at redhat dot com
2011-06-14 17:44 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: nickc at gcc dot gnu.org @ 2011-06-14 15:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402
--- Comment #1 from Nick Clifton <nickc at gcc dot gnu.org> 2011-06-14 15:30:15 UTC ---
Author: nickc
Date: Tue Jun 14 15:30:05 2011
New Revision: 175030
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175030
Log:
PR target/49403
* config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter.
PR target/49402
* config.gcc(v850*-*-*): Avoid duplication of v850.opt.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/v850/v850.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49402] Duplicate use of v850.opt
2011-06-14 9:16 [Bug target/49402] New: Duplicate use of v850.opt amylaar at gcc dot gnu.org
2011-06-14 15:31 ` [Bug target/49402] " nickc at gcc dot gnu.org
@ 2011-06-14 15:33 ` nickc at redhat dot com
2011-06-14 17:44 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: nickc at redhat dot com @ 2011-06-14 15:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402
--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-06-14 15:32:49 UTC ---
Fixed in mainline.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49402] Duplicate use of v850.opt
2011-06-14 9:16 [Bug target/49402] New: Duplicate use of v850.opt amylaar at gcc dot gnu.org
2011-06-14 15:31 ` [Bug target/49402] " nickc at gcc dot gnu.org
2011-06-14 15:33 ` nickc at redhat dot com
@ 2011-06-14 17:44 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2011-06-14 17:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2011-06-14 17:44:04 UTC ---
.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-14 17:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 9:16 [Bug target/49402] New: Duplicate use of v850.opt amylaar at gcc dot gnu.org
2011-06-14 15:31 ` [Bug target/49402] " nickc at gcc dot gnu.org
2011-06-14 15:33 ` nickc at redhat dot com
2011-06-14 17:44 ` ubizjak at gmail dot com
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).