[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2020-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2020-04-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 --- Comment #7 from Martin Sebor --- Rather than suppressing the warning via a pragma, would replacing the call to deps_add_target (d, "-", 1); with d->targets.push (xstrdup (t)); be a better solution? Unless I've overlooked something it sho

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #6

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Andreas Krebbel changed: What|Removed |Added Priority|P3 |P2 --- Comment #5 from Andreas Krebbel

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 --- Comment #4 from Andreas Krebbel --- (In reply to Andrew Pinski from comment #3) > Are you saying the warning shows up which causes the bootstrap to fail? > Because at runtime there should be no out of bounds access. Yes. It is just the warni

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 --- Comment #3 from Andrew Pinski --- Are you saying the warning shows up which causes the bootstrap to fail? Because at runtime there should be no out of bounds access.

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 --- Comment #2 from Andreas Krebbel --- Created attachment 47430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47430&action=edit reduced testcase on x86_64: cc1plus -quiet -O2 t.cc -Wall --param max-inline-insns-auto=80 t.cc: In functio

[Bug bootstrap/92828] array out of bounds access in libcpp/mkdeps.c

2019-12-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92828 Andrew Pinski changed: What|Removed |Added Keywords||build --- Comment #1 from Andrew Pinski