public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc"
@ 2007-07-13 0:20 hlinnaka at iki dot fi
2007-07-13 0:21 ` [Bug c/32750] " hlinnaka at iki dot fi
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hlinnaka at iki dot fi @ 2007-07-13 0:20 UTC (permalink / raw)
To: gcc-bugs
The attached test case produces this warning:
$ gcc -save-temps -O2 shortened.c -o shortened
shortened.s: Assembler messages:
shortened.s:21: Warning: 00000003fffffffc shortened to 00000000fffffffc
This only happens with -O2, not with -O0 or -O1.
I can reproduce this on the following versions (these are all from prebuilt
Debian packages):
gcc-4.0 (GCC) 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)
gcc-4.1 (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
The following versions seem to be unaffected:
gcc-3.4 (GCC) 3.4.6 (Debian 3.4.6-5)
gcc-4.2 (GCC) 4.2.1 20070627 (prerelease) (Debian 4.2-20070627-1)
--
Summary: Bogus warning "00000003fffffffc shortened to
00000000fffffffc"
Product: gcc
Version: 4.0.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hlinnaka at iki dot fi
GCC build triplet: i486-pc-linux-gnu
GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/32750] Bogus warning "00000003fffffffc shortened to 00000000fffffffc"
2007-07-13 0:20 [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc" hlinnaka at iki dot fi
@ 2007-07-13 0:21 ` hlinnaka at iki dot fi
2007-07-13 0:24 ` [Bug target/32750] " hlinnaka at iki dot fi
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hlinnaka at iki dot fi @ 2007-07-13 0:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hlinnaka at iki dot fi 2007-07-13 00:21 -------
Created an attachment (id=13906)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13906&action=view)
Test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/32750] Bogus warning "00000003fffffffc shortened to 00000000fffffffc"
2007-07-13 0:20 [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc" hlinnaka at iki dot fi
2007-07-13 0:21 ` [Bug c/32750] " hlinnaka at iki dot fi
@ 2007-07-13 0:24 ` hlinnaka at iki dot fi
2010-02-21 0:48 ` manu at gcc dot gnu dot org
2010-02-21 0:49 ` manu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hlinnaka at iki dot fi @ 2007-07-13 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hlinnaka at iki dot fi 2007-07-13 00:24 -------
Created an attachment (id=13907)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13907&action=view)
Preprocessed file from the testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/32750] Bogus warning "00000003fffffffc shortened to 00000000fffffffc"
2007-07-13 0:20 [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc" hlinnaka at iki dot fi
2007-07-13 0:21 ` [Bug c/32750] " hlinnaka at iki dot fi
2007-07-13 0:24 ` [Bug target/32750] " hlinnaka at iki dot fi
@ 2010-02-21 0:48 ` manu at gcc dot gnu dot org
2010-02-21 0:49 ` manu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-21 0:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from manu at gcc dot gnu dot org 2010-02-21 00:48 -------
4.1.x is already too old, so if you cannot reproduce it in a recent version, we
consider this FIXED.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/32750] Bogus warning "00000003fffffffc shortened to 00000000fffffffc"
2007-07-13 0:20 [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc" hlinnaka at iki dot fi
` (2 preceding siblings ...)
2010-02-21 0:48 ` manu at gcc dot gnu dot org
@ 2010-02-21 0:49 ` manu at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-21 0:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from manu at gcc dot gnu dot org 2010-02-21 00:48 -------
Thanks for the report, nonetheless.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32750
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-21 0:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-13 0:20 [Bug c/32750] New: Bogus warning "00000003fffffffc shortened to 00000000fffffffc" hlinnaka at iki dot fi
2007-07-13 0:21 ` [Bug c/32750] " hlinnaka at iki dot fi
2007-07-13 0:24 ` [Bug target/32750] " hlinnaka at iki dot fi
2010-02-21 0:48 ` manu at gcc dot gnu dot org
2010-02-21 0:49 ` manu 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).