Bug 21927 - [4.1 regression] irix bootstrap failure in expr.c
Summary: [4.1 regression] irix bootstrap failure in expr.c
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Eric Christopher
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2005-06-06 01:32 UTC by David Billinghurst
Modified: 2005-06-15 03:24 UTC (History)
2 users (show)

See Also:
Host: mips-sgi-irix6.5
Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5
Known to work:
Known to fail:
Last reconfirmed: 2005-06-06 04:54:38


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Billinghurst 2005-06-06 01:32:47 UTC
irix6.5 bootstrap fails in expr.c due to a warning (below).
Last successful build was cvs from Thu Jun  2 10:07:19 GMT 2005
http://gcc.gnu.org/ml/gcc-testresults/2005-06/msg00131.html


stage1/xgcc -Bstage1/ -B/disk4/billingd/tmp/gcc/mips-sgi-irix6.5/bin/ -c   -g -
O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -
I/disk4/billingd/src/gcc/gcc -I/disk4/billingd/src/gcc/gcc/. -
I/disk4/billingd/src/gcc/gcc/../include -
I/disk4/billingd/src/gcc/gcc/../libcpp/include -
I/usr/local/include  /disk4/billingd/src/gcc/gcc/expr.c -o expr.o
cc1: warnings being treated as errors
/disk4/billingd/src/gcc/gcc/expr.c: In function 'do_store_flag':
/disk4/billingd/src/gcc/gcc/expr.c:8733: warning: comparison is always true 
due to limited range of data type
Comment 1 Andrew Pinski 2005-06-06 01:37:12 UTC
Confirmed, caused by:
2005-06-02  Eric Christopher  <echristo@redhat.com>

        * config/mips/mips.h (processor_type): Remove PROCESSOR_DEFAULT,
        add PROCESSOR_MAX.
        (mips_rtx_cost_data): New datatype.
        (MEMORY_MOVE_COST): Use data from structure.
        (BRANCH_COST): Ditto.
Comment 2 Eric Christopher 2005-06-06 04:54:38 UTC
Hunh. Saw the warning, no idea how my patch caused it, but I'll look.
Comment 3 Eric Christopher 2005-06-06 05:04:07 UTC
oh, I see. Didn't think BRANCH_COST could ever be negative...?

Comment 4 Eric Christopher 2005-06-06 05:14:27 UTC
http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00433.html
Comment 5 Andrew Pinski 2005-06-15 03:24:34 UTC
Fixed.