I have the following pattern.

-O0, -O3: no failing assert
-O1, -O2: failing assert

But no apparent reason since -O3 is a superset of -O2

gcc -c -Q -O3 --help=optimizers > /tmp/O3-opts
gcc -c -Q -O2 --help=optimizers > /tmp/O2-opts
diff /tmp/O2-opts /tmp/O3-opts | grep enabled

>   -fgcse-after-reload                         [enabled]
>   -finline-functions                          [enabled]
>   -fipa-cp-clone                              [enabled]
>   -fpredictive-commoning                      [enabled]
>   -ftree-vectorize                            [enabled]
>   -funswitch-loops                            [enabled]

-- 
powertop: powertop.c:113: push_line_pid: Assertion `strlen(string) > 0' failed. 
https://bugs.launchpad.net/bugs/554983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to