[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2010-06-13 17:30 --- This column information: t.c:2:11: note: generated from here __asm__ ("frob%0" : "+r" (X)); ^ I am not going to get into a reopen war with you anyway. I am just trying to make a list of the diagnostic i

[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-06-13 17:18 --- >The column information is wrong. What column information :). >The diagnostic markers are inconsistent (Error versus error). Report that to the binutils project. >This depends on the gnu assembler, which is not t

[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-06-13 16:59 --- The column information is wrong. The diagnostic markers are inconsistent (Error versus error). This depends on the gnu assembler, which is not the default in many places. -- manu at gcc dot gnu dot org changed:

[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-06-13 16:49 --- Now with Apple's as we get the weird error message you pointed out but that is because apple's as does not support the change in line info we output: # 2 "t.c" 1 frob%eax # 0 "" 2 -- pinskia at gcc do

[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-06-13 16:47 --- GNU assembler (GNU Binutils for Debian) 2.18.0.20080103 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44527

[Bug inline-asm/44527] improve diagnostics in inline assembly

2010-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-13 16:47 --- Hmm, with a newer binutils we get a better error message: t.c: Assembler messages: t.c:2: Error: no such instruction: `frob %eax' -- pinskia at gcc dot gnu dot org changed: What|Removed