Closed Bug 492702 Opened 17 years ago Closed 17 years ago

gcc 4.5 doesn't have GIMPLE_TUPLE_P

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bradh, Assigned: taras.mozilla)

References

Details

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.2 (like Gecko) Fedora/4.2.2-12.fc9 Build Identifier: hg tip changeset: 432:e261f4cd4fff During compilation of dehydra tip against gcc trunk, I get this: /opt/gccsvn/bin/gcc -MD -g3 -Wall -fPIC -DXP_UNIX -DIN_GCC -DHAVE_CONFIG_H -I/home/bradh/devel/gcc-build/gcc -I/home/bradh/devel/gcc-svn/gcc -I/home/bradh/devel/gcc-svn/gcc/. -I/home/bradh/devel/gcc-svn/gcc/../include -I/home/bradh/devel/gcc-svn/gcc/../libcpp/include -I/home/bradh/devel/gcc-svn/gcc/../libdecnumber -I/home/bradh/devel/gcc-svn/gcc/../libdecnumber/bid -I/home/bradh/devel/gcc-build/libdecnumber -I/home/bradh/devel/gcc-build -I/home/bradh/devel/gcc-svn/gcc/cp -I/opt/spidermonkey/include/js -I/opt/spidermonkey/lib -I//home/bradh/local/include/js/ -c treehydra.c treehydra.c: In function ‘lazy_tree_node’: treehydra.c:158: warning: implicit declaration of function ‘GIMPLE_TUPLE_P’ It turns out that a gimple tree is always a tuple now. As a workaround, just define it as something that always returns true. Reproducible: Always Steps to Reproduce: 1. Build dehydra against gcc trunk 2. 3. Actual Results: warning message, as shown above Expected Results: Clean compilation Will attach patch.
Blocks: 484865
Attached patch [bad patch - ignore] (obsolete) — Splinter Review
Attachment #377096 - Attachment description: patch to deal with missing GIMPLE_TUPLE_P → [bad patch - ignore]
Attachment #377096 - Attachment is obsolete: true
Attachment #377098 - Flags: review?(tglek)
Attached patch alternativeSplinter Review
Lets try a different approach. I like to move the code forward rather than keep using obsolete constructs. Can you check that this solves the issue for you?
Attachment #377098 - Attachment is obsolete: true
Attachment #377199 - Flags: review?(bradh)
Attachment #377098 - Flags: review?(tglek)
I can't edit the attachment, but the patch works for me. Recommend that patch be committed.
Alternative patch has been committed. Nothing further required.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee: nobody → tglek
Comment on attachment 377199 [details] [diff] [review] alternative Taras, Can you remove the review on this? I can't seem to edit it, and BMO is now sending me nuisance alerts once a week. Brad
Attachment #377199 - Flags: review?(bradh)
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: