https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100392
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Summary|compiling result of "g++ -E |[11/12 Regression]
|-fdirectives-only" causes |compiling result of "g++ -E
|"error: stray ‘#’ in |-fdirectives-only" causes
|program" if no newline at |"error: stray ‘#’ in
|EOF |program" if no newline at
| |EOF
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |11.2
Last reconfirmed| |2021-05-03
Status|UNCONFIRMED |NEW
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.r11-205 -quiet -fdirectives-only -E
test.cpp -o test.ii; tail -n 2 test.ii
extern const int ksc5601_hangul_to_unicode[2350];
# 2 "test.cpp" 2
Starting with r11-206-gb224c3763e018e8bdd0047b3eb283992fb655ce0
we ICEd on it, and starting with
r11-7093-gac16f4327fef5dfc288409371a61649253353ef7
we emit:
/opt/notnfs/gcc-bisect/obj/gcc/cc1plus.r11-7093 -quiet -fdirectives-only -E
test.cpp -o test.ii; tail -n 2 test.ii
# 1 "test.h" 1
extern const int ksc5601_hangul_to_unicode[2350];# 2 "test.cpp" 2