Project Stage 1 - `-fdump-tree-pass AND -fdump-rtl-pass`

Intro

In this post, we will continue working on Project Stage 1. We are going to test the options `-fdump-tree-pass`and `-fdump-rtl-pass`.

Progress

I tried those commands in various ways; however, they didn't work.

hshin41@aarch64-003:~/third_experiment$ gcc -fdump-tree-all -fdump-tree-pass test.c -o test
cc1: error: unrecognized command-line option ‘-fdump-tree-pass’; did you mean ‘-fdump-tree-all’?

//
hshin41@aarch64-003:~/third_experiment$ gcc -fdump-tree-pass -fdump-rtl-all test.c - o test
cc1: error: unrecognized command-line option ‘-fdump-tree-pass’; did you mean ‘-fdump-tree-all’?
//
hshin41@aarch64-003:~/third_experiment$ gcc -fdump-tree-pass -fdump-rtl-all test.c -o test
cc1: error: unrecognized command-line option ‘-fdump-tree-pass’; did you mean ‘-fdump-tree-all’?
//
hshin41@aarch64-003:~/third_experiment$ gcc -fdump-tree-all -fdump-rtl-pass test.c -o test
cc1: error: unrecognized command-line option ‘-fdump-rtl-pass’
//
hshin41@aarch64-003:~/third_experiment$ gcc -fdump-rtl-pass test.c -o test
cc1: error: unrecognized command-line option ‘-fdump-rtl-pass’
//
hshin41@aarch64-003:~/third_experiment$ gcc -fdump-tree-pass test.c -o test
cc1: error: unrecognized command-line option ‘-fdump-tree-pass’; did you mean ‘-fdump-tree-all’?
None of them worked. I used GCC that I downloaded and built

Comments

popular posts in this blog

Project Stage 2 - part 2 : Clone-Pruning Analysis Pass

Project Stage 2 part 4 - Testing clone-test-core.c file with Modified GCC file and making further modification

Project Stage 2 part 3 - Compile a program with revised GCC