https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
Sam James changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #11 from Sam James
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #10 from Andrew Pinski ---
(In reply to Tianyang Zhou from comment #9)
> (In reply to Andrew Pinski from comment #8)).
> Hi Andrew,
>
> Instead of marking the variable as volatile. Will disable loop-eliminating
> related passes work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
Tianyang Zhou changed:
What|Removed |Added
CC||tianyang.chou at gmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #8 from Andrew Pinski ---
so this code is undefined for a few different reasons.
#1 is you can't call fprintf from an async signal (e.g. SIGALARM).
https://www.gnu.org/software/libc/manual/html_node/Formatted-Output-Functions.html
sp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
王淳洋 changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #6 from 王淳洋 ---
(In reply to Richard Biener from comment #5)
> (In reply to Richard Biener from comment #4)
> > (In reply to 王淳洋 from comment #3)
> > > #include
> > > #include
> > > #include
> > > #include
> > > unsigned long Run
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #5 from Richard Biener ---
(In reply to Richard Biener from comment #4)
> (In reply to 王淳洋 from comment #3)
> > #include
> > #include
> > #include
> > #include
> > unsigned long Run_Index;
> > void report()
> > {
> > fprintf(
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #4 from Richard Biener ---
(In reply to 王淳洋 from comment #3)
> #include
> #include
> #include
> #include
> unsigned long Run_Index;
> void report()
> {
> fprintf(stderr,"COUNT|%ld|1|lps\n", Run_Index);
> exit(0);
> }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
王淳洋 changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
Richard Biener changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
Res
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695
--- Comment #1 from 王淳洋 ---
I have tried to merge two dhry_1.c and dhry_2.c to dhry_3.c, and do below test:
gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O3
-fomit-frame-pointer -fforce-addr -ffast-math -Wall dhry_3.c -o dhry_3_reg.
11 matches
Mail list logo