[Bug c/37067] New: gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stefan dot bruens at rwth-aachen dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
--- Comment #2 from stefan dot bruens at rwth-aachen dot de 2008-08-09 20:37 --- The expected output is quite clear - 69f0 6a00 - but output is 69f0 0. The loop should run 10 times, as i does not overflow. d_phase does overflow after 2048 steps, but this should not

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
--- Comment #6 from stefan dot bruens at rwth-aachen dot de 2008-08-09 20:56 --- So is there any possibility to flag a variable to be expected to overflow and "wrap around"? I think there is a lot of code in the wild assuming the loop to run 10 times and d_phase to overfl

[Bug c/34710] New: FORTIFY_SOURCE matches to many patterns

2008-01-07 Thread stefan dot bruens at rwth-aachen dot de
cc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stefan dot bruens at rwth-aachen dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34710