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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bradh, Assigned: taras.mozilla)
References
Details
Attachments
(1 file, 2 obsolete files)
|
1.08 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•17 years ago
|
||
| Reporter | ||
Updated•17 years ago
|
Attachment #377096 -
Attachment description: patch to deal with missing GIMPLE_TUPLE_P → [bad patch - ignore]
| Reporter | ||
Comment 2•17 years ago
|
||
Attachment #377096 -
Attachment is obsolete: true
| Reporter | ||
Updated•17 years ago
|
Attachment #377098 -
Flags: review?(tglek)
| Assignee | ||
Comment 3•17 years ago
|
||
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)
| Reporter | ||
Comment 4•17 years ago
|
||
I can't edit the attachment, but the patch works for me.
Recommend that patch be committed.
| Reporter | ||
Comment 5•17 years ago
|
||
Alternative patch has been committed. Nothing further required.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → tglek
| Reporter | ||
Comment 6•14 years ago
|
||
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
Updated•14 years ago
|
Attachment #377199 -
Flags: review?(bradh)
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•4 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•