Files
gcc/libcpp
Lewis Hyatt 18cace4674 libcpp: Fix ICE lexing invalid raw string in a deferred pragma [PR117118]
The PR shows that we ICE after lexing an invalid unterminated raw string,
because lex_raw_string() pops the main buffer unexpectedly. Resolve by
handling this case the same way as for other directives.

libcpp/ChangeLog:
	PR preprocessor/117118
	* lex.cc (lex_raw_string): Treat an unterminated raw string the same
	way for a deferred pragma as is done for other directives.

gcc/testsuite/ChangeLog:
	PR preprocessor/117118
	* c-c++-common/raw-string-directive-3.c: New test.
	* c-c++-common/raw-string-directive-4.c: New test.
2024-11-23 13:44:38 -05:00
..
2024-09-20 17:36:00 +00:00
2024-11-19 00:19:52 +00:00
2024-10-25 10:03:17 +02:00
2024-10-25 10:03:17 +02:00
2024-11-15 08:43:48 +01:00
2024-11-18 09:18:17 +01:00
2024-01-03 12:19:35 +01:00
2024-11-17 16:23:21 +01:00
2024-11-18 09:18:17 +01:00
2024-01-03 12:19:35 +01:00
2024-10-25 10:03:17 +02:00
2024-01-03 12:19:35 +01:00