c/674: -omagic and -o magic have different effects

anthonyu@yahoo.com anthonyu@yahoo.com
Mon Oct 23 03:26:00 GMT 2000


>Number:         674
>Category:       c
>Synopsis:       -omagic and -o magic have different effects
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 23 03:26:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     me
>Release:        2.95.1
>Organization:
>Environment:
i586-pc-linux-gnu
>Description:
anthonyu@original:~/dentist-0.7[1]$ ls magic a.out
/bin/ls: magic: No such file or directory
/bin/ls: a.out: No such file or directory
anthonyu@original:~/dentist-0.7[1]$ gcc -omagic magic.c
anthonyu@original:~/dentist-0.7[0]$ ls magic a.out
/bin/ls: magic: No such file or directory
a.out*
anthonyu@original:~/dentist-0.7[1]$ rm a.out 
anthonyu@original:~/dentist-0.7[0]$ gcc -o magic magic.c
anthonyu@original:~/dentist-0.7[0]$ ls magic a.out
/bin/ls: a.out: No such file or directory
magic*
>How-To-Repeat:
-omagic and/or -o magic
>Fix:
Depends on which behavior is the feature, and which is the bug. :)

I will correct it if given direction on the preferred behavior.

Thanks!
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list