mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
17 lines
510 B
Diff
17 lines
510 B
Diff
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c
|
|
index 968b703..3f8e6e6 100644
|
|
--- a/gcc/c-family/c-opts.c
|
|
+++ b/gcc/c-family/c-opts.c
|
|
@@ -1438,6 +1438,12 @@ c_finish_options (void)
|
|
static void
|
|
push_command_line_include (void)
|
|
{
|
|
+ /* This can happen if disabled by -imacros for example.
|
|
+ Punt so that we don't set "<command-line>" as the filename for
|
|
+ the header. */
|
|
+ if (include_cursor > deferred_count)
|
|
+ return;
|
|
+
|
|
if (!done_preinclude)
|
|
{
|
|
done_preinclude = true;
|