https://bugs.llvm.org/show_bug.cgi?id=40952

            Bug ID: 40952
           Summary: clang crashes if -save-temps is used with
                    -fropi/-frwpi (ARM)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: konstantin.schw...@hightec-rt.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

If clang is invoked with both -save-temps and -fropi/-frwpi, the integrated
assembler hits an assertion:
llvm-project/clang/tools/driver/cc1as_main.cpp:381: bool
ExecuteAssembler((anonymous namespace)::AssemblerInvocation &,
clang::DiagnosticsEngine &): Assertion `Opts.RelocationModel ==
"dynamic-no-pic" && "Invalid PIC model!"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to