<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>49210</bug_id>
          
          <creation_ts>2004-04-27 14:34 0000</creation_ts>
          <short_desc>app-text/tree-1.4 fails to compile with gcc 3.4</short_desc>
          <delta_ts>2004-04-27 22:38:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>48528</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mikko.tiihonen@iki.fi</reporter>
          <assigned_to>mr_bones_@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mikko.tiihonen@iki.fi</who>
            <bug_when>2004-04-27 14:34:35 0000</bug_when>
            <thetext>gcc -march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb --param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000 --param max-pending-list-length=100 --param max-gcse-passes=4 --param max-gcse-memory=104857600 --param max-crossjump-edges=400 -DLINUX_BIGFILE    -c -o tree.o tree.c
tree.c: In function `url_encode&apos;:
tree.c:1086: error: label at end of compound statement


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mikko.tiihonen@iki.fi</who>
            <bug_when>2004-04-27 14:35:42 0000</bug_when>
            <thetext>Created an attachment (id=30186)
Removes the offending function completely because it is never called.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robmoss@gentoo.org</who>
            <bug_when>2004-04-27 16:41:58 0000</bug_when>
            <thetext>The other solution, of course, is just to change the line:

default:

to instead read:

default:;

If this function is to be used in the future it would be as well to do this instead. If it&apos;s leftover cruft then get rid of it. But I&apos;m always dubious about getting rid of functions completely.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-04-27 16:55:27 0000</bug_when>
            <thetext>went with just adding the semi.  Thanks for the bug report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>30186</attachid>
            <date>2004-04-27 14:35 0000</date>
            <desc>Removes the offending function completely because it is never called.</desc>
            <filename>tree-gcc-3.4.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRyZWUuY34JMjAwMy0wMi0wNiAxODoyNDoxMS4wMDAwMDAwMDAgKzAyMDAKKysrIHRyZWUu
YwkyMDA0LTA0LTI4IDAwOjMyOjAxLjQ2MDk4MzM2MSArMDMwMApAQCAtMTA3MSwyMiArMTA3MSw2
IEBACiAgIH0KIH0KIAotdm9pZCB1cmxfZW5jb2RlKEZJTEUgKmZkLCBjaGFyICpzKQotewotICBm
b3IoOypzO3MrKykgewotICAgIHN3aXRjaCgqcykgewotICAgICAgY2FzZSAnICc6Ci0gICAgICBj
YXNlICc8JzoKLSAgICAgIGNhc2UgJz4nOgotICAgICAgY2FzZSAnJic6Ci0gICAgICBjYXNlICci
JzoKLSAgICAgIGNhc2UgJz8nOgotICAgICAgY2FzZSAnKyc6Ci0gICAgICBkZWZhdWx0OgotICAg
IH0KLSAgfQotfQotCiB2b2lkIHNhdmVpbm8oaW5vX3QgaW5vZGUsIGRldl90IGRldmljZSkKIHsK
ICAgc3RydWN0IGlub3RhYmxlICppdCwgKmlwLCAqcHA7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>