public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50758] New: [4.7 Regression] Bootstrap fails at stage 2 on x86_64-apple-darwin10: error: variable 'token_no' set but not used
@ 2011-10-17 13:38 dominiq at lps dot ens.fr
  2011-10-17 14:35 ` [Bug bootstrap/50758] " howarth at nitro dot med.uc.edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-10-17 13:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50758

             Bug #: 50758
           Summary: [4.7 Regression] Bootstrap fails at stage 2 on
                    x86_64-apple-darwin10: error: variable 'token_no' set
                    but not used
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: dodji@gcc.gnu.org


At revision 180087 bootstrap fails at stage 2 on x86_64-apple-darwin10:

/opt/gcc/build_w/./prev-gcc/g++ -B/opt/gcc/build_w/./prev-gcc/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.8.0/bin/ -nostdinc++
-B/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-B/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs
-I/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/include/x86_64-apple-darwin10.8.0
-I/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/include
-I/opt/gcc/work/libstdc++-v3/libsupc++
-L/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-L/opt/gcc/build_w/prev-x86_64-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs 
-I../../work/libcpp -I. -I../../work/libcpp/../include
-I../../work/libcpp/include -I/opt/sw64/include -g -O2 -mdynamic-no-pic
-gtoggle -W -Wall -Wwrite-strings -Wmissing-format-attribute -pedantic
-Wno-long-long -Werror -I../../work/libcpp -I. -I../../work/libcpp/../include
-I../../work/libcpp/include -I/opt/sw64/include -c -o line-map.o -MT line-map.o
-MMD -MP -MF .deps/line-map.Tpo ../../work/libcpp/line-map.c
../../work/libcpp/line-map.c: In function 'source_location
linemap_macro_map_loc_to_exp_point(const line_map*, source_location)':
../../work/libcpp/line-map.c:628:12: error: variable 'token_no' set but not
used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

This code was introduced at revision 180081.
AFAIU the code, the warning seems bogus.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-17 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 13:38 [Bug bootstrap/50758] New: [4.7 Regression] Bootstrap fails at stage 2 on x86_64-apple-darwin10: error: variable 'token_no' set but not used dominiq at lps dot ens.fr
2011-10-17 14:35 ` [Bug bootstrap/50758] " howarth at nitro dot med.uc.edu
2011-10-17 15:12 ` rguenth at gcc dot gnu.org
2011-10-17 15:27 ` dodji at seketeli dot org
2011-10-17 15:42 ` dominiq at lps dot ens.fr
2011-10-17 15:56 ` dodji at seketeli dot org
2011-10-17 19:40 ` dominiq at lps dot ens.fr
2011-10-17 19:57 ` dominiq at lps dot ens.fr

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).