This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/29611] New: Compiler error in inline assembly


While compiling kernel modules of 2.6.18 I hit this error. The testcase in
question is attached. This file works all fine with gcc 4.1.2 prerelease. but
GCC 4.2.0 prerelease throws the following error message.

test1.c: In function 'unknown_bootoption':
test1.c:15186: warning: asm operand 2 probably doesn't match constraints
test1.c:15186: error: impossible constraint in 'asm'

To reproduce this compile the attached preprocessed file with -O2 -c compile
time options. This work ok when -O2 is not used.


-- 
           Summary: Compiler error in inline assembly
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-*-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29611


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]