Changeset c67158d7
- Timestamp:
- Jul 8, 2026, 5:54:34 PM (39 hours ago)
- Branches:
- master
- Children:
- d9235b6b
- Parents:
- 0fd9c68
- File:
-
- 1 edited
-
driver/cfa.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
r0fd9c68 rc67158d7 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Sep 28 21:53:54 202313 // Update Count : 48 412 // Last Modified On : Wed Jul 8 17:45:04 2026 13 // Update Count : 487 14 14 // 15 15 … … 455 455 } // if 456 456 457 args[nargs++] = "-fexceptions"; // add exception flags (unconditionally) 457 args[nargs++] = "-fexceptions"; // Generates code to propagate exceptions 458 args[nargs++] = "-fwrapv"; // fully define integer signed overflow 458 459 args[nargs++] = "-D_GNU_SOURCE"; // force gnu libraries 459 460 … … 471 472 } // if 472 473 473 if ( CFA_flag ) {474 Putenv( argv, "-N" );475 Putenv( argv, "-CFA" );476 // -CFA implies cc1 stage 2, but gcc does not pass the -o file to this stage because it believe the file is for477 // the linker. Hence, the -o file is explicit passed to cc1 stage 2 and used as cfa-cpp's output file.478 if ( o_file ) Putenv( argv, string( "-o=" ) + argv[o_file] );479 } else {480 Putenv( argv, "-L" );481 } // if482 483 474 if ( debug ) { 484 475 heading += " (debug)"; … … 486 477 } else { 487 478 heading += " (no debug)"; 479 } // if 480 481 if ( CFA_flag ) { 482 Putenv( argv, "-N" ); 483 Putenv( argv, "-CFA" ); 484 // -CFA implies cc1 stage 2, but gcc does not pass the -o file to this stage because it believes the file is for 485 // the linker. Hence, the -o file is explicit passed to cc1 stage 2 and used as cfa-cpp's output file. 486 if ( o_file ) Putenv( argv, string( "-o=" ) + argv[o_file] ); 487 } else { 488 Putenv( argv, "-L" ); 488 489 } // if 489 490
Note:
See TracChangeset
for help on using the changeset viewer.