[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-26 Thread hadrien-gcc at psydk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 --- Comment #3 from Hadrien --- Thank you for your messages. I called the 'file' command on a .so and an executable, they both show the same kind of information. I understand that a program like the file explorer can get confused. As everything

[Bug other/78109] New: ld with -pie creates a shared library instead of an executable

2016-10-25 Thread hadrien-gcc at psydk dot org
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: hadrien-gcc at psydk dot org Target Milestone: --- I'm using Ubuntu 16.10 which ships with gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) I found that most executables in /bi

[Bug c++/70092] New: Enhance -Wunused-but-set-parameter when the parameter is also read

2016-03-05 Thread hadrien-gcc at psydk dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hadrien-gcc at psydk dot org Target Milestone: --- I found a bogus piece of code in a real program, here is a simplified version: bool getValue(int value) { value = 42