Summary: | gcc-4.3.1: stripping trailing backspace from args fools gcc | ||
---|---|---|---|
Product: | gcc | Reporter: | mmokrejs |
Component: | other | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.3.1 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
mmokrejs
2008-09-26 15:39:35 UTC
Happens also with 4.2.1 but not with 3.3.6. Subject: Re: New: gcc-4.3.1: stripping trailing backspace from args fools gcc What exact problem are you trying to report here? Quoting a space with \ to the shell causes it to not split the arguments into two words, which means gcc receives an argv[1] = "-g3 -O0" which is obviously bogus. The error is correct. It seems like you are confusing a 'make' feature of continuation lines with the \-newline sequence. But that's not what you're demonstrating here, which is shell quoting. I would actually think that the backslash should be removed by the shell but it is obviously not what happens. I believe your explanation is correct and gcc-3.3.6 did not have the check. However, it works with 3.3.6 while not with newer versions. ;-) My real problem is https://bugzilla.mozilla.org/show_bug.cgi?id=455468 . Clues? Not a gcc bug. |