optimization/6909: problem w/ -Os on modified loop-2c.c test case.
glen@imodulo.com
glen@imodulo.com
Sun Jun 2 13:36:00 GMT 2002
>Number: 6909
>Category: optimization
>Synopsis: problem w/ -Os on modified loop-2c.c test case.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 02 13:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Glen Nakamura
>Release: 3.1.1 20020526 (prerelease), 3.2? (experimental)
>Organization:
>Environment:
i586-pc-linux-gnu
>Description:
Modified gcc.c-torture/execute/loop-2c.c test case fails on i586-pc-linux-gnu when compiling w/ -Os. I actually noticed this problem on the 3.1 branch, but I think the mainline is also affected... I'll verify this and post a patch.
>How-To-Repeat:
gcc -Os loop-2c-new.c
./a.out
>Fix:
patch pending...
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="loop-2c-new.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="loop-2c-new.c"
aW50IGFbMl07CgpfX2lubGluZV9fIGYgKGIsIG8pCnsKICB1bnNpZ25lZCBpbnQgaTsKICBpbnQg
KnA7CiAgZm9yIChwID0gJmFbYl0sIGkgPSBiOyAtLWkgPD0gKH4wIC0gMSk7ICkKICAgICotLXAg
PSBpICogMyArIG87Cn0KCmcoaW50IGIpCnsKICBmIChiLCAoaW50KWEpOwp9CgptYWluICgpCnsK
ICBhWzBdID0gYVsxXSA9IDA7CiAgZyAoMik7CiAgaWYgKGFbMF0gIT0gKGludClhIHx8IGFbMV0g
IT0gKGludClhICsgMykKICAgIGFib3J0ICgpOwogIGV4aXQgKDApOwp9Cg==
More information about the Gcc-bugs
mailing list