This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/7656: warning: comparison between signed and unsigned


>Number:         7656
>Category:       c
>Synopsis:       warning: comparison between signed and unsigned
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          mistaken
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 08:46:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     wharms@bfs.de
>Release:        gcc-3.2
>Organization:
>Environment:
Linux alpha 2.2.12
gcc version 2.95.2 19991024 (release)
gcc-3.2
./configure
./make
>Description:
gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -
I. -I./. -I./config -I./../include combine.c -o combine.o
combine.c: In function `combine_simplify_rtx':
combine.c:4106: warning: comparison between signed and unsigned
combine.c: In function `simplify_if_then_else':
combine.c:4866: warning: comparison between signed and unsigned
combine.c:4881: warning: comparison between signed and unsigned
combine.c: In function `force_to_mode':
combine.c:6774: warning: comparison between signed and unsigned
combine.c: In function `simplify_shift_const':
combine.c:8996: warning: comparison between signed and unsigned
combine.c:9114: warning: comparison between signed and unsigned
combine.c:9156: warning: comparison between signed and unsigned
combine.c:9190: warning: comparison between signed and unsigned
combine.c:9347: warning: comparison between signed and unsigned
combine.c:9402: warning: comparison between signed and unsigned
combine.c:9421: warning: comparison between signed and unsigned
combine.c:9445: warning: comparison between signed and unsigned
combine.c:9510: warning: comparison between signed and unsigned
combine.c: In function `recog_for_combine':
combine.c:9703: warning: pointer targets in passing arg 1 of `do_SUBST_INT' diff
er in signedness
combine.c: In function `simplify_comparison':
combine.c:10489: warning: comparison between signed and unsigned
combine.c:11028: warning: comparison between signed and unsigned
combine.c:11030: warning: comparison between signed and unsigned



gcc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -
I. -I./. -I./config -I./../include regclass.c -o regclass.o

regclass.c: In function `init_reg_sets_1':
regclass.c:490: warning: comparison between signed and unsigned
regclass.c: In function `choose_hard_reg_mode':
regclass.c:700: warning: comparison between signed and unsigned
regclass.c:710: warning: comparison between signed and unsigned
regclass.c:720: warning: comparison between signed and unsigned
regclass.c:730: warning: comparison between signed and unsigned
regclass.c:741: warning: comparison between signed and unsigned
regclass.c: In function `record_reg_classes':
regclass.c:1869: warning: comparison between signed and unsigned
regclass.c:1876: warning: comparison between signed and unsigned
regclass.c:1882: warning: comparison between signed and unsigned
regclass.c:1889: warning: comparison between signed and unsigned
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]