public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned
@ 2006-01-29 23:13 danglin at gcc dot gnu dot org
2006-01-29 23:29 ` [Bug driver/26021] " danglin at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-01-29 23:13 UTC (permalink / raw)
To: gcc-bugs
/mnt/gnu/gcc-3.3/objdir/./prev-gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/./prev-gcc/
-B
/opt/gnu64/gcc/gcc-4.2.0/hppa64-hp-hpux11.11/bin/ -g -O2 -DIN_GCC -W -Wall
-
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wmissing-f
ormat-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
-I
../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/
opt/gnu64/gcc/gcc-4.2.0/include -I../../gcc/gcc/../libdecnumber
-I../libdecnumb
er \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/opt/gnu64/
gcc/gcc-4.2.0/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/opt/gnu64/gcc/gcc-4.2.0/li
bexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.2.0\"
-DDEFAULT_TARGET_MACHINE=\"hppa6
4-hp-hpux11.11\" -DSTANDARD_BINDIR_PREFIX=\"/opt/gnu64/gcc/gcc-4.2.0/bin/\"
-DTO
OLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes"
!
= "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" ||
ec
ho "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc/gcc/gcc.c -o gcc.o)
cc1: warnings being treated as errors
../../gcc/gcc/gcc.c: In function 'process_command':
../../gcc/gcc/gcc.c:3866: warning: comparison between signed and unsigned
../../gcc/gcc/gcc.c:4026: warning: comparison between signed and unsigned
make[3]: *** [gcc.o] Error 1
make[3]: Leaving directory `/mnt/gnu/gcc-3.3/objdir/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/gnu/gcc-3.3/objdir'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/gnu/gcc-3.3/objdir'
make: *** [bootstrap] Error 2
Sun Jan 29 17:29:29 EST 2006
--
Summary: gcc.c:3866: warning: comparison between signed and
unsigned
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
@ 2006-01-29 23:29 ` danglin at gcc dot gnu dot org
2006-01-29 23:31 ` [Bug driver/26021] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-01-29 23:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from danglin at gcc dot gnu dot org 2006-01-29 23:29 -------
It appears that this problem was exposed by:
2006-01-28 Zack Weinberg <zackw@panix.com>
* c.opt: Add -W(no-)overlength-strings.
* doc/invoke.texi: Document it.
* c-opts.c (c_common_handle_option): -pedantic implies
-Woverlength-strings, if not explicitly disabled already.
(c_common_post_options): -Woverlength-strings defaults to off, and
is always off for C++.
* c-common.c (fix_string_type): Issue warning about strings longer
than is portable only if warn_overlength_strings. Rearrange code
a little for clarity.
* configure.in: Check for -Wno-overlength-strings as well before
enabling -pedantic in stage 1.
* Makefile.in (STRICT2_WARN): Add -Wno-overlength-strings.
(gcc.o-warn, insn-automata.o-warn, build/gencondmd.o-warn): Delete.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
2006-01-29 23:29 ` [Bug driver/26021] " danglin at gcc dot gnu dot org
@ 2006-01-29 23:31 ` pinskia at gcc dot gnu dot org
2006-01-29 23:32 ` danglin at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-29 23:31 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Summary|gcc.c:3866: warning: |[4.2 Regression] gcc.c:3866:
|comparison between signed |warning: comparison between
|and unsigned |signed and unsigned
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
2006-01-29 23:29 ` [Bug driver/26021] " danglin at gcc dot gnu dot org
2006-01-29 23:31 ` [Bug driver/26021] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-01-29 23:32 ` danglin at gcc dot gnu dot org
2006-01-30 0:41 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-01-29 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from danglin at gcc dot gnu dot org 2006-01-29 23:31 -------
Also occurs on hppa-unknown-linux-gnu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-01-29 23:32 ` danglin at gcc dot gnu dot org
@ 2006-01-30 0:41 ` pinskia at gcc dot gnu dot org
2006-01-31 1:04 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-30 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-30 00:41 -------
These show up when MODIFY_TARGET_NAME is defined.
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-01-30 00:41:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-01-30 0:41 ` pinskia at gcc dot gnu dot org
@ 2006-01-31 1:04 ` dave at hiauly1 dot hia dot nrc dot ca
2006-02-02 0:09 ` sje at cup dot hp dot com
2006-02-02 1:12 ` dave at hiauly1 dot hia dot nrc dot ca
6 siblings, 0 replies; 8+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-01-31 1:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2006-01-31 01:04 -------
Subject: Re: [4.2 Regression] gcc.c:3866: warning: comparison between signed
and unsigned
> These show up when MODIFY_TARGET_NAME is defined.
This is a macro that I hadn't noticed before. It seems the PA is
the only port to define it. The driver options for it don't appear
to be documented. It was added by Richard Kenner in 2000 at the request
of HP. I doubt it works very well as the default target names in use
now don't allow the arbitrary addition and removal of 64 to select
between 32 and 64-bit targets. Thus, I'm wondering whether this macro
shouldn't just be deleted.
I'll ping Steve.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-01-31 1:04 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-02-02 0:09 ` sje at cup dot hp dot com
2006-02-02 1:12 ` dave at hiauly1 dot hia dot nrc dot ca
6 siblings, 0 replies; 8+ messages in thread
From: sje at cup dot hp dot com @ 2006-02-02 0:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from sje at cup dot hp dot com 2006-02-02 00:08 -------
The defect number was not put in the ChangeLog file but this was fixed in GCC
subversion revision 110476. The change was to trunk/gcc/gcc.c.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug driver/26021] [4.2 Regression] gcc.c:3866: warning: comparison between signed and unsigned
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-02-02 0:09 ` sje at cup dot hp dot com
@ 2006-02-02 1:12 ` dave at hiauly1 dot hia dot nrc dot ca
6 siblings, 0 replies; 8+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-02-02 1:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2006-02-02 01:12 -------
Subject: Re: [4.2 Regression] gcc.c:3866: warning: comparison between signed
and unsigned
> The defect number was not put in the ChangeLog file but this was fixed in GCC
> subversion revision 110476. The change was to trunk/gcc/gcc.c.
Thanks. I had worked out the same change last night. Still wondering
if the MODIFY_TARGET_NAME define in pa.h is useful.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-02 1:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-29 23:13 [Bug driver/26021] New: gcc.c:3866: warning: comparison between signed and unsigned danglin at gcc dot gnu dot org
2006-01-29 23:29 ` [Bug driver/26021] " danglin at gcc dot gnu dot org
2006-01-29 23:31 ` [Bug driver/26021] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-01-29 23:32 ` danglin at gcc dot gnu dot org
2006-01-30 0:41 ` pinskia at gcc dot gnu dot org
2006-01-31 1:04 ` dave at hiauly1 dot hia dot nrc dot ca
2006-02-02 0:09 ` sje at cup dot hp dot com
2006-02-02 1:12 ` dave at hiauly1 dot hia dot nrc dot ca
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).