[Bug driver/41024] driver passes wrong parameter to as

2009-09-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2009-09-05 14:14 --- Subject: Bug 41024 Author: fxcoudert Date: Sat Sep 5 14:14:28 2009 New Revision: 151450 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151450 Log: PR target/41024 * config/i386/mingw-w64.

[Bug driver/41024] driver passes wrong parameter to as

2009-09-05 Thread ktietz at gcc dot gnu dot org
--- Comment #5 from ktietz at gcc dot gnu dot org 2009-09-05 13:14 --- > I am retesting it. I think {v:-v} is better here. This patch works fine. Could you post a patch for it. It is pre-approved. Thanks, Kai Index: mingw-w64.h =

[Bug driver/41024] driver passes wrong parameter to as

2009-09-05 Thread ktietz at gcc dot gnu dot org
--- Comment #4 from ktietz at gcc dot gnu dot org 2009-09-05 11:20 --- (In reply to comment #3) > (In reply to comment #2) > > Ok, could you sent a patch for it. It is pre-approved by me. > > I can't test it, have you? > I am retesting it. I think {v:-v} is better here. -- http:/

[Bug driver/41024] driver passes wrong parameter to as

2009-09-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-09-05 10:14 --- (In reply to comment #2) > Ok, could you sent a patch for it. It is pre-approved by me. I can't test it, have you? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41024

[Bug driver/41024] driver passes wrong parameter to as

2009-09-05 Thread ktietz at gcc dot gnu dot org
--- Comment #2 from ktietz at gcc dot gnu dot org 2009-09-05 10:02 --- (In reply to comment #1) > It's because of this in gcc/config/i386/mingw-w64.h: > > #define ASM_SPEC "%{v:-V} %{n} %{T} %{Ym,*} %{Yd,*} \ > %{Wa,*:%*} %{m32:--32} %{m64:--64}" > > > The "%{v:-V}" part is what's tr

[Bug driver/41024] driver passes wrong parameter to as

2009-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2009-09-03 14:40 --- It's because of this in gcc/config/i386/mingw-w64.h: #define ASM_SPEC "%{v:-V} %{n} %{T} %{Ym,*} %{Yd,*} \ %{Wa,*:%*} %{m32:--32} %{m64:--64}" The "%{v:-V}" part is what's triggering what you see. Now, the que